/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | promif_impl.h | 48 extern int promif_getprop(void *p); 50 extern int promif_nextprop(void *p); 51 extern int promif_nextnode(void *p); 52 extern int promif_childnode(void *p); 54 extern int promif_enter_mon(void *p); 56 extern int promif_reboot(void *p); 57 extern int promif_write(void *p); 58 extern int promif_read(void *p); 59 extern int promif_interpret(void *p); 63 extern int promif_setprop(void *p); [all …]
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prcontrol.c | 574 proc_t *p; in pr_control() local 860 proc_t *p; in pr_control32() local 1495 proc_t *p; in pr_wait_die() local 1742 if ((p->p_flag & SSYS) || p->p_as == &kas) in pr_set() 1776 if ((p->p_flag & SSYS) || p->p_as == &kas) in pr_unset() 1976 if ((p->p_flag & SSYS) || p->p_as == &kas) in pr_watch() 2063 clear_watched_area(p, pwa) : set_watched_area(p, pwa); in pr_watch() 2251 if ((p->p_flag & SSYS) || p->p_as == &kas) in pr_rdwr() 2573 return (p); in pr_cancel_watch() 2587 while (p != NULL && pr_allstopped(p, 0) > 0) { in pr_cancel_watch() [all …]
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/ |
H A D | color.c | 181 for ( p = name; *p && (*p == ' ' || *p == ':'); p++ ) ; in newcolor() 183 for ( i = 0; i < sizeof(color) - 1 && *p != '\n' && *p; i++, p++ ) in newcolor() 184 if ( isupper(*p) ) in newcolor() 185 color[i] = tolower(*p); in newcolor() 186 else color[i] = *p; in newcolor() 231 for ( p = color; *p && *p != ' '; p++ ) in setcolor() 232 putc(*p, tf); in setcolor() 233 for ( ; *p && *p == ' '; p++ ) ; in setcolor() 234 if ( strncmp(p, "on ", 3) == 0 ) p += 3; in setcolor() 235 if ( *p != '\0' ) { in setcolor() [all …]
|
/illumos-gate/usr/src/cmd/pginfo/ |
H A D | pginfo.pl | 176 if (!$p) { 210 my @all_cpus = $p->cpus($p->root()); 310 my @cpu_list = $p->uniqsort(map { $p->cpus($_) } @pgs); 425 my $p = shift; 446 my $p = shift; 464 my $p = shift; 487 my $p = shift; 508 pg_print_node ($p, $pg); 535 my $p = shift; 592 my $p = shift; [all …]
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | getdev.c | 637 for (p = devicelist.head->next; p; p = p->next) *q++ = p->name; in buildreturnlist() 868 for (p = criteria; !failed && (p->fcn != ENDLIST); p++) { in matchallcriteria() 879 failed = !matches(ent->alias, p->cmp, p->fcn); in matchallcriteria() 883 failed = !matches(ent->cdevice, p->cmp, p->fcn); in matchallcriteria() 887 failed = !matches(ent->bdevice, p->cmp, p->fcn); in matchallcriteria() 900 if (!matches(q->val, p->cmp, p->fcn)) in matchallcriteria() 968 for (p = criteria; !matched && (p->fcn != ENDLIST); p++) { in matchanycriteria() 979 matched = matches(ent->alias, p->cmp, p->fcn); in matchanycriteria() 983 matched = matches(ent->cdevice, p->cmp, p->fcn); in matchanycriteria() 987 matched = matches(ent->bdevice, p->cmp, p->fcn); in matchanycriteria() [all …]
|
/illumos-gate/usr/src/uts/common/ipp/ipgpc/ |
H A D | table.c | 59 ht_node_t *p; in ht_insert() local 88 if (((p->key == key) && (p->info == 1)) || in ht_insert() 98 p = p->next; in ht_insert() 103 p->key = key; in ht_insert() 104 p->info = 1; in ht_insert() 135 if ((p->key == key) && (p->info == 1)) { in ht_search() 138 p = p->next; in ht_search() 200 ht_node_t *p; in ht_remove() local 235 if ((p->next->key == key) && (p->next->info == 1)) { in ht_remove() 248 p->next = p->next->next; in ht_remove() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/optim/ |
H A D | canonical-cmp.c | 4 sint seq(sint p, sint a) { return (123 == p) ? a : 0; } in seq() argument 5 sint sne(sint p, sint a) { return (123 != p) ? a : 0; } in sne() argument 7 sint slt(sint p, sint a) { return (123 > p) ? a : 0; } in slt() argument 8 sint sle(sint p, sint a) { return (123 >= p) ? a : 0; } in sle() argument 9 sint sge(sint p, sint a) { return (123 <= p) ? a : 0; } in sge() argument 10 sint sgt(sint p, sint a) { return (123 < p) ? a : 0; } in sgt() argument 12 uint ueq(uint p, uint a) { return (123 == p) ? a : 0; } in ueq() argument 13 uint une(uint p, uint a) { return (123 != p) ? a : 0; } in une() argument 15 uint ubt(uint p, uint a) { return (123 > p) ? a : 0; } in ubt() argument 16 uint ube(uint p, uint a) { return (123 >= p) ? a : 0; } in ube() argument [all …]
|
/illumos-gate/usr/src/lib/libnsl/nsl/ |
H A D | t_free.c | 49 } p; in _tx_free() local 62 free(p.bind->addr.buf); in _tx_free() 69 free(p.call->addr.buf); in _tx_free() 71 free(p.call->opt.buf); in _tx_free() 73 free(p.call->udata.buf); in _tx_free() 80 free(p.opt->opt.buf); in _tx_free() 87 free(p.dis->udata.buf); in _tx_free() 94 free(p.udata->addr.buf); in _tx_free() 96 free(p.udata->opt.buf); in _tx_free() 105 free(p.uderr->addr.buf); in _tx_free() [all …]
|
/illumos-gate/usr/src/cmd/auditd/ |
H A D | auditd.c | 178 plugin_t *p; in main() local 374 p = p->plg_next; in main() 472 char *p, *q; in isa_ified() local 539 q = p; in init_plugin() 540 p = p->plg_next; in init_plugin() 578 return (p); in init_plugin() 638 (void *)p, p->plg_path)); in loadauditlist() 640 p = p->plg_next; in loadauditlist() 696 p->plg_path, p->plg_to_be_removed, p->plg_cnt)); in loadauditlist() 697 p->plg_removed = p->plg_to_be_removed; in loadauditlist() [all …]
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | system-kernel.man4p.inc | 17 link path=usr/share/man/man4p/AH.4p target=ipsecah.4p 18 link path=usr/share/man/man4p/ARP.4p target=arp.4p 19 link path=usr/share/man/man4p/ESP.4p target=ipsecesp.4p 20 link path=usr/share/man/man4p/ICMP.4p target=icmp.4p 21 link path=usr/share/man/man4p/IP.4p target=ip.4p 22 link path=usr/share/man/man4p/NDP.4p target=ndp.4p 23 link path=usr/share/man/man4p/SCTP.4p target=sctp.4p 24 link path=usr/share/man/man4p/TCP.4p target=tcp.4p 25 link path=usr/share/man/man4p/UDP.4p target=udp.4p 30 link path=usr/share/man/man4p/if.4p target=if_tcp.4p [all …]
|
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | lpsched-printers.c | 144 if ((svc == NULL) || (p == NULL) || (dest == NULL)) in lpsched_printer_configuration_to_attributes() 182 papiAttributeListAddLPString(&p->attributes, in lpsched_printer_configuration_to_attributes() 301 PPDFileToAttributesList(&p->attributes, buf); in lpsched_printer_configuration_to_attributes() 316 if (p == NULL) in printer_status_to_attributes() 345 papiAttributeListAddString(&p->attributes, PAPI_ATTR_EXCL, in printer_status_to_attributes() 348 lpsched_printer_defaults(&p->attributes); in printer_status_to_attributes() 364 if ((svc == NULL) || (p == NULL)) in lpsched_class_configuration_to_attributes() 391 papiAttributeListAddString(&p->attributes, in lpsched_class_configuration_to_attributes() 405 if (p == NULL) in class_status_to_attributes() 423 papiAttributeListAddString(&p->attributes, PAPI_ATTR_EXCL, in class_status_to_attributes() [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | lcl_sv.c | 338 while (*p && *p != '\n' && *p != ' ' && *p != '\t' && *p != '#') in irs_lclsv_fnxt() 339 ++p; in irs_lclsv_fnxt() 340 if (*p == '\0' || *p == '#' || *p == '\n') in irs_lclsv_fnxt() 343 while (*p == ' ' || *p == '\t') in irs_lclsv_fnxt() 344 p++; in irs_lclsv_fnxt() 345 if (*p == '\0' || *p == '#' || *p == '\n') in irs_lclsv_fnxt() 355 while (*p && *p != '\n' && *p != ' ' && *p != '\t' && *p != '#') in irs_lclsv_fnxt() 358 while (*p == ' ' || *p == '\t') { in irs_lclsv_fnxt() 360 while (*p == ' ' || *p == '\t') in irs_lclsv_fnxt() 362 if (*p == '\0' || *p == '#' || *p == '\n') in irs_lclsv_fnxt() [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/backend/ |
H A D | pointer-sub.c | 1 long subv0(void *p, int a) { return p - ((void*)0); } in subv0() argument 2 long subvc(void *p, int a) { return p - ((void*)8); } in subvc() argument 3 long subva(void *p, int a) { return p - ((void*)a); } in subva() argument 4 long subvq(void *p, void *q) { return p - q; } in subvq() argument 6 long subi0(int *p, int a) { return p - ((int *)0); } in subi0() argument 7 long subic(int *p, int a) { return p - ((int *)8); } in subic() argument 8 long subia(int *p, int a) { return p - ((int *)a); } in subia() argument 9 long subiq(int *p, int *q) { return p - q; } in subiq() argument 11 long subvm3(void *p, int a) { return (p - ((void*)0)) * 3; } in subvm3() argument 12 long subvx3(void *p, int a) { return (p - ((void*)0)) ^ 3; } in subvx3() argument
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | promptusr.c | 45 krb5_uio p; in krb5_os_get_tty_uio() local 68 for (p = uio; p; p = p->next) { in krb5_os_get_tty_uio() 69 if (p->prompt) { in krb5_os_get_tty_uio() 114 for (p = uio; p; p = p->next) { in krb5_os_get_tty_uio() 116 memset(p->response, 0, strlen(p->response)); in krb5_os_get_tty_uio() 118 p->response = 0; in krb5_os_get_tty_uio() 133 for (p = uio; p; p = next) { in krb5_free_uio() 134 next = p->next; in krb5_free_uio() 135 if (p->prompt && (p->flags & KRB5_UIO_FREE_PROMPT)) in krb5_free_uio() 137 if (p->response) in krb5_free_uio() [all …]
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_targets.c | 152 for (p = (char *)scopes; p; p++) { in slp_new_target_list() 153 p = slp_utf_strchr(p, ','); in slp_new_target_list() 282 for (p = p->next; p; p = p->next) { in slp_next_failover() 285 if (!p->da->used && !p->da->failed) in slp_next_failover() 293 return (void *)(p ? &(p->da->sin) : NULL); in slp_get_target_sin() 436 for (p = *tel; p; p = p->next) in add_da_entry() 439 for (; p && proximity < p->proximity; ) in add_da_entry() 440 p = p->next; in add_da_entry() 459 for (p = *tel; p->next; ) in add_da_entry() 460 p = p->next; in add_da_entry() [all …]
|
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | bootprop.c | 65 #define strequal(p, q) (strcmp((p), (q)) == 0) argument 121 struct bplist *p; in bgetproplen() local 128 for (p = (struct bplist *)bprop_tab; p->name != (char *)0; p++) { in bgetproplen() 152 if (p->size != 0) in bgetproplen() 153 return (p->size); in bgetproplen() 170 struct bplist *p; in bgetprop() local 200 for (p = (struct bplist *)bprop_tab; p->name != (char *)0; p++) { in bgetprop() 220 if (p->size != 0) { in bgetprop() 221 bcopy(p->val, buf, p->size); in bgetprop() 242 struct bplist *p; in bnextprop() local [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | eqn_html.c | 58 eqn_box(p, bp->first); in eqn_box() 88 print_tagq(p, cell); in eqn_box() 91 print_tagq(p, row); in eqn_box() 211 eqn_box(p, bp->first); in eqn_box() 217 print_tagq(p, t); in eqn_box() 221 print_text(p, bp->top); in eqn_box() 222 print_tagq(p, t); in eqn_box() 226 print_tagq(p, post); in eqn_box() 228 eqn_box(p, bp->next); in eqn_box() 242 eqn_box(p, bp); in print_eqn() [all …]
|
/illumos-gate/usr/src/uts/common/ktli/ |
H A D | t_kalloc.c | 78 } p; in t_kalloc() local 94 *ptr = ((char *)p.bind); in t_kalloc() 108 *ptr = ((char *)p.call); in t_kalloc() 115 *ptr = ((char *)p.opt); in t_kalloc() 122 *ptr = ((char *)p.dis); in t_kalloc() 130 p.udata->addr.maxlen = p.udata->addr.len = 0; in t_kalloc() 135 p.udata->opt.maxlen = p.udata->opt.len = 0; in t_kalloc() 143 p.udata->udata.maxlen = p.udata->udata.len = 0; in t_kalloc() 145 *ptr = (char *)p.udata; in t_kalloc() 154 *ptr = (char *)p.uderr; in t_kalloc() [all …]
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | blok.c | 100 q = p; in alloc() 101 p = (struct blk *)(Rcheat(p->word) & ~BUSY); in alloc() 179 if ((p = (struct blk *)ap) && p < bloktop && p > (struct blk *)brkbegin) 182 chkbptr(p); 184 --p; 185 p->word = (struct blk *)(Rcheat(p->word) & ~BUSY); 228 if (busy(p)) in chkbptr() 233 if (p >= q) in chkbptr() 236 p = q; in chkbptr() 263 if (p >= q) in chkmem() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | fs3d.h | 36 #define iview(p) ((p)->st_spare1) argument 37 #define IVIEW(p,v) ((p)->st_spare1=(v)) argument 40 #define iview(p) ((p)->st_spare4[0]) argument 41 #define IVIEW(p,v) ((p)->st_spare4[0]=(v)) argument 44 #define iview(p) ((p)->st_extra[0]) argument 45 #define IVIEW(p,v) ((p)->st_extra[0]=(v)) argument 48 #define iview(p) ((p)->st_pad4[0]) argument 49 #define IVIEW(p,v) ((p)->st_pad4[0]=(v)) argument 52 #define iview(p) ((S_ISBLK((p)->st_mode)||S_ISCHR((p)->st_mode))?0:(p)->st_rdev) argument 53 #define IVIEW(p,v) do{if(!S_ISBLK((p)->st_mode)&&!S_ISCHR((p)->st_mode))(p)->st_rdev=(v);}while(0) argument [all …]
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_list.c | 47 q->dl_prev = p; in dt_list_append() 50 if (p != NULL) { in dt_list_append() 52 p->dl_next = q; in dt_list_append() 65 dlp->dl_next = p; in dt_list_prepend() 67 p->dl_next = q; in dt_list_prepend() 71 q->dl_prev = p; in dt_list_prepend() 84 if (p == NULL || p->dl_next == NULL) { in dt_list_insert() 90 q->dl_prev = p; in dt_list_insert() 91 p->dl_next = q; in dt_list_insert() 101 p->dl_prev->dl_next = p->dl_next; in dt_list_delete() [all …]
|
/illumos-gate/usr/src/common/bignum/amd64/ |
H A D | bignum_amd64_asm.S | 256 adcq $0, %rdx / p += cy 267 adcq $0, %rdx / p += cy 278 adcq $0, %rdx / p += cy 289 adcq $0, %rdx / p += cy 300 adcq $0, %rdx / p += cy 311 adcq $0, %rdx / p += cy 322 adcq $0, %rdx / p += cy 331 adcq $0, %rdx / p += cy 349 adcq $0, %rdx / p += cy 361 adcq $0, %rdx / p += cy [all …]
|
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | gnu_msgs.c | 41 m = p->msg; in search_msg() 42 for (m = p->msg; (i = p->thash[idx]) != 0; in search_msg() 75 while (p) { in output_all_gnu_mo_files() 90 if (p->header) in output_all_gnu_mo_files() 93 p->msg = (struct messages *)Xrealloc(p->msg, in output_all_gnu_mo_files() 99 qsort(p->msg, p->nmsg, sizeof (struct messages), in output_all_gnu_mo_files() 119 m = p->msg; in output_all_gnu_mo_files() 130 p->nmsg); in output_all_gnu_mo_files() 132 p->nmsg); in output_all_gnu_mo_files() 193 free(p); in output_all_gnu_mo_files() [all …]
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | refer4.c | 43 char *p; in append() local 47 for (p = buff; *p; p++) in append() 49 lch = *--p; in append() 51 *p = '\0'; in append() 61 *p = '\0'; in append() 72 for (p = buff; *p; p++) in append() 78 *p = '\0'; in append() 97 while (*p) in trimnl() 98 p++; in trimnl() 99 p--; in trimnl() [all …]
|
/illumos-gate/usr/src/cmd/awk/ |
H A D | b.c | 243 parent(left(p)) = p; in penter() 249 parent(left(p)) = p; in penter() 250 parent(right(p)) = p; in penter() 308 for (i = 0, p = (uschar *)*pp; i < 2 && isxdigit(*p); i++, p++) { in hexstr() 311 else if (*p >= 'a' && *p <= 'f') in hexstr() 313 else if (*p >= 'A' && *p <= 'F') in hexstr() 366 op = p; in cclenter() 421 int *p; in cfoll() local 591 q = p; in pmatch() 650 q = p; in nematch() [all …]
|