/illumos-gate/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_harmless.c | 109 safe_strncpy(char *targ, char *src, unsigned spaceavail) argument 115 strncpy(targ,src,goodcount); 116 targ[goodcount] = 0;
|
H A D | dwarf_util.c | 399 unsigned char *targ = (unsigned char *) s1; local 403 targ[3] = src[0]; 404 targ[2] = src[1]; 405 targ[1] = src[2]; 406 targ[0] = src[3]; 408 targ[7] = src[0]; 409 targ[6] = src[1]; 410 targ[5] = src[2]; 411 targ[4] = src[3]; 412 targ[ [all...] |
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | sgen_link.c | 161 uint_t targ, lun; local 166 if (sscanf(baddr, "%X,%X", &targ, &lun) != 2) 170 di_minor_name(minor), cnum, targ, lun) >= sizeof (lpath))
|
H A D | disk_link.c | 191 uint_t targ = 0; local 197 (void) sscanf(addr, "%X,%X", &targ, &lun); 199 targ = di_instance(node); 202 (void) snprintf(disk, sizeof (disk), "t%dd%d", targ, lun); 243 int targ; local 250 targ = *intp; 257 (void) sprintf(disk, "t%dd%d", targ, lun); 474 uint_t targ; local 479 targ = strtol(addr, (char **)NULL, 10); 481 res = decode_xen_device(targ, [all...] |
/illumos-gate/usr/src/uts/sun4v/io/n2rng/ |
H A D | n2rng_kcf.c | 181 unregister_task(void *targ) argument 183 n2rng_t *n2rng = (n2rng_t *)targ;
|
H A D | n2rng.c | 60 static void n2rng_config_task(void * targ); 1360 n2rng_config_task(void *targ) argument 1362 n2rng_t *n2rng = (n2rng_t *)targ;
|
/illumos-gate/usr/src/uts/intel/ia32/os/ |
H A D | sysi86.c | 445 proc_t *targ = p; local 452 targ = cp; 459 ASSERT(removepctx(targ, targ, ldt_savectx, ldt_restorectx, 462 installpctx(targ, targ, ldt_savectx, ldt_restorectx, 472 mutex_enter(&targ->p_lock); 473 t = targ->p_tlist; 476 } while ((t = t->t_forw) != targ->p_tlist); 477 mutex_exit(&targ [all...] |
/illumos-gate/usr/src/cmd/csplit/ |
H A D | csplit.c | 60 char *targ; /* Arg ptr for error messages */ variable 74 #define PERROR(x) fatal("%s: Illegal Regular Expression\n", targ); 170 targ = *argv; 458 fatal("%s: missing '}'\n", targ); 462 fatal("%s: Repeat count too large\n", targ); 468 fatal("Illegal repeat count: %s\n", targ); 479 fatal("No operation for %s\n", targ); 506 fatal("%s: missing delimiter\n", targ); 546 fatal("Interrupt - program aborted at arg '%s'\n", targ); 568 fatal("%s - out of range\n", targ); [all...] |
/illumos-gate/usr/src/uts/common/io/cpqary3/ |
H A D | cpqary3.c | 620 uint32_t targ; local 695 for (targ = 0; targ < CPQARY3_MAX_TGT; targ++) { 696 if (cpqary3p->cpqary3_tgtp[targ] == NULL) 698 MEM_SFREE(cpqary3p->cpqary3_tgtp[targ],
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/ |
H A D | main.c | 372 char *cp, *targ; local 386 targ = argv[argc - 1]; 398 targ = finddelimiter(cp); 399 *targ++ = 0; 432 cp = argc == 2 ? tail(targ) : argv[1]; 441 cp, hostname, targ, mode); 443 tftp_sendfile(fd, targ, mode); 448 if (strlen(targ) + 1 >= sizeof (buf)) { 449 (void) fprintf(stderr, "tftp: filename too long: %s\n", targ); 454 if (snprintf(buf, sizeof (buf), "%s/%s", targ, argtai [all...] |
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_subr.c | 641 tree_walk_arg_t *targ = (tree_walk_arg_t *)arg; local 645 client->module->name, cmd, targ->flag); 652 hdl->seq_num = targ->seq_num + 1; 699 targ->flag, &info, &error, client_props, &depend_info); 703 if (((targ->flag & RCM_QUERY_CANCEL) == 0) && 708 if ((targ->flag & RCM_QUERY) == 0) { 711 } else if ((targ->flag & RCM_QUERY_CANCEL) == 0) { 724 if ((targ->flag & RCM_QUERY) == 0) { 726 } else if ((targ->flag & RCM_QUERY_CANCEL) == 0) { 734 client->pid, targ 937 tree_walk_arg_t *targ = (tree_walk_arg_t *)arg; local 1395 tree_walk_arg_t *targ = (tree_walk_arg_t *)arg; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_probe.c | 220 struct sockaddr_storage targ; /* target address */ local 257 bzero(&targ, sizeof (targ)); 258 targ.ss_family = pii->pii_af; 263 addr6 = &((struct sockaddr_in6 *)&targ)->sin6_addr; 275 addr4 = &((struct sockaddr_in *)&targ)->sin_addr; 301 (struct sockaddr *)&targ, targaddrlen);
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sbd_mem.c | 1045 int src, targ; local 1049 targ = sbp->sb_num; 1054 f, src, targ);
|
/illumos-gate/usr/src/cmd/mv/ |
H A D | mv.c | 2009 open_target_srctarg_attrdirs(char *src, char *targ) argument 2015 if ((targfd = open(targ, O_RDONLY)) == -1) { 2023 " %s: "), cmd, targ); 2069 " directory for %s: "), cmd, targ);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | rcp.c | 196 char *targ; local 526 if (targ = colon(argv[argc - 1])) 527 toremote(targ, argc, argv); 539 toremote(char *targ, int argc, char *argv[]) argument 550 *targ++ = 0; 551 if (*targ == 0) 552 targ = "."; 586 thost, targ); 593 thost, targ); 605 "%s -t %s", cmd, targ); 1417 char ch, *targ, *why; local [all...] |
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | ata_common.c | 79 uchar_t targ, uchar_t lun); 457 uchar_t targ; local 488 for (targ = 0; targ < ATA_MAXTARG; targ++) { 490 ata_drvp = ata_init_drive(ata_ctlp, targ, 0); 515 ata_init_drive(ata_ctlp, targ, lun)) != NULL) { 771 int targ; local 784 targ = ddi_prop_get_int(DDI_DEV_T_ANY, tdip, DDI_PROP_DONTPASS, 786 if (targ 1163 ata_init_drive( ata_ctl_t *ata_ctlp, uchar_t targ, uchar_t lun) argument 3700 uchar_t targ; local [all...] |
H A D | ata_disk.c | 791 int targ; local 793 targ = ddi_prop_get_int(DDI_DEV_T_ANY, r, DDI_PROP_DONTPASS, 797 ddi_driver_name(d), ddi_get_instance(d), targ, 0); 1168 "targ %d, lun %d lastlun 0x%x\n", 3113 "%s unable to enable write cache targ=%d", 3125 "%s unable to disable write cache targ=%d",
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_ctf.c | 2112 ctf_file_t *targ = arg; local 2115 if (ctf_add_type(targ, mcip->mci_fp, mcip->mci_id) == CTF_ERR) {
|
/illumos-gate/usr/src/cmd/ed/ |
H A D | ed.c | 292 static void targ(struct Fspec *); 2847 case 't': if (havespec) targ(f); 2882 targ(struct Fspec *f) function
|
/illumos-gate/usr/src/uts/sparc/dtrace/ |
H A D | fbt.c | 486 uintptr_t targ = FBT_BPRDEST(instr, first); local 495 *tinstr = FBT_BAA((uintptr_t)tinstr - base + va, targ);
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_ndp.c | 1405 in6_addr_t targ; local 1423 ip_ndp_find_addresses(mp, &iras, ill, &targ, &haddr, &haddrlen); 1453 ipif = ipif_lookup_addr_v6(&targ, ill, ALL_ZONES, ipst); 1478 inet_ntop(AF_INET6, &targ, sbuf, sizeof (sbuf)),
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | seg_vn.c | 3135 * relocate a bunch of smaller targ pages into one large repl page. all targ 3141 segvn_relocate_pages(page_t **targ, page_t *replacement) argument 3161 pp = targ[i]; 3184 ASSERT(page_pptonum(targ[i + j]) == 3185 page_pptonum(targ[i]) + j); 3207 targ[i] = repl; 3208 page_downgrade(targ[i]); 3318 * system reclaimed pages from cachelist targ pages will be physically 3319 * contiguous with 0 p_szc. in this case just upgrade szc of targ [all...] |
H A D | vm_page.c | 4753 page_t *targ; local 4780 targ = *target; 4781 ASSERT(PAGE_EXCL(targ)); 4782 ASSERT(!PP_ISFREE(targ)); 4783 szc = targ->p_szc; 4786 pfn = targ->p_pagenum; 4805 if (grouplock != 0 && !group_page_trylock(targ, SE_EXCL)) { 4806 VM_STAT_ADD(vmm_vmstats.ppr_relocnolock[targ->p_szc]); 4814 szc = targ->p_szc; 4819 npgs = page_get_pagecnt(targ [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | DNSCommon.c | 2117 const mDNSu8 *targ = result; local 2118 while (targ + *name < end) 2123 for (i=0; i <= *name; i++) if (targ[i] != name[i]) break; 2125 targ += 1 + *name; // Else, did match, so advance target pointer 2127 if (*name == 0 && *targ == 0) return(result); // If no more labels, we found a match! 2131 if (targ[0] < 0x40) continue; // If length value, continue to check next label 2132 if (targ[0] < 0xC0) break; // If 40-BF, not valid 2133 if (targ+1 >= end) break; // Second byte not present! 2134 pointertarget = base + (((mDNSu16)(targ[0] & 0x3F)) << 8) + targ[ [all...] |
/illumos-gate/usr/src/uts/sun4u/starfire/io/ |
H A D | idn_proto.c | 2858 uint_t targ; local 2931 targ = 0xf0; 2933 targ = 0; 2955 targ |= domid & 0x0f; 2956 (void) timeout(idn_link_established, (void *)(uintptr_t)targ, 50);
|