/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.set.c | 39 tchar *p; in doset() local 113 tchar *p = value(S_histchars /* "histchars" */); in doset() local 148 asx(tchar *vp, int subscr, tchar *p) in asx() 179 tchar *p; in dolet() local 282 operate(tchar op, tchar *vp, tchar *p) in operate() 473 setq(tchar *name, tchar **vec, struct varent *p) in setq() 551 unsetv1(struct varent *p) in unsetv1() 653 #define rright(p) (\ argument 659 #define rleft(p) (\ argument 672 balance(struct varent *p, int f, int d) in balance() [all …]
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | pci_ahci.c | 232 struct ahci_port *p; in ahci_generate_intr() local 278 ahci_port_intr(struct ahci_port *p) in ahci_port_intr() 462 ahci_check_stopped(struct ahci_port *p) in ahci_check_stopped() 481 ahci_port_stop(struct ahci_port *p) in ahci_port_stop() 1863 ahci_handle_port(struct ahci_port *p) in ahci_handle_port() 1895 struct ahci_port *p; in ata_ioreq_cb() local 1969 struct ahci_port *p; in atapi_ioreq_cb() local 2229 uint32_t *p = &sc->cap; in pci_ahci_host_read() local 2269 uint32_t *p= &sc->port[port].clb; in pci_ahci_port_read() local 2347 int p, ret; in pci_ahci_legacy_config() local [all …]
|
/illumos-gate/usr/src/common/smbsrv/ |
H A D | smb_string.c | 67 char *p = s; in strsubst() local 100 char *p = buf; in strcanon() local 208 char *p = s; in smb_strupr() local 239 char *p = s; in smb_strlwr() local 269 const char *p = s; in smb_isstrlwr() local 300 const char *p = s; in smb_isstrupr() local 453 char *p; in smb_unc_init() local
|
/illumos-gate/usr/src/cmd/tip/ |
H A D | tip.c | 56 char *p; in main() local 314 prompt(char *s, char *p, size_t len) in prompt() 406 esctable_t *p; in escape() local 427 int *p; in speed() local 436 any(char c, char *p) in any() 448 char *p = buf, c, *q; in interp() local 491 esctable_t *p; in help() local 555 char *p = s; in sname() local
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_readdir.c | 350 struct autofs_rddir_cache *p; in autofs_rddir_cache_enter() local 399 struct autofs_rddir_cache *p; in autofs_rddir_cache_lookup() local 426 struct off_tbl *p, *next = NULL; in free_offset_tbl() local 440 struct dir_entry *p, *next = NULL; in free_dir_list() local 451 autofs_rddir_cache_entry_free(struct autofs_rddir_cache *p) in autofs_rddir_cache_entry_free() 471 struct autofs_rddir_cache *p, *prev; in autofs_rddir_cache_delete() local 511 struct dir_entry *p; in build_dir_entry_list() local 564 struct autofs_rddir_cache *p, *next = NULL; in cache_cleanup() local
|
/illumos-gate/usr/src/boot/include/ |
H A D | stdio.h | 473 #define __sputc(c, p) \ argument 487 #define __sfeof(p) (((p)->_flags & __SEOF) != 0) argument 488 #define __sferror(p) (((p)->_flags & __SERR) != 0) argument 490 #define __sfileno(p) ((p)->_file) argument 493 #define feof(p) (!__isthreaded ? __sfeof(p) : (feof)(p)) argument 494 #define ferror(p) (!__isthreaded ? __sferror(p) : (ferror)(p)) argument 498 #define fileno(p) (!__isthreaded ? __sfileno(p) : (fileno)(p)) argument 512 #define feof_unlocked(p) __sfeof(p) argument 513 #define ferror_unlocked(p) __sferror(p) argument 514 #define clearerr_unlocked(p) __sclearerr(p) argument [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | rctl.c | 217 rcop_no_usage(struct rctl *r, struct proc *p) in rcop_no_usage() 231 rcop_no_test(struct rctl *r, struct proc *p, rctl_entity_p_t *e, in rcop_no_test() 513 rctl_entity_obtain_rset(rctl_dict_entry_t *rcd, struct proc *p) in rctl_entity_obtain_rset() 946 rctl_model_maximum(rctl_dict_entry_t *rde, struct proc *p) in rctl_model_maximum() 1409 rctl_set_tearoff(rctl_set_t *set, struct proc *p) in rctl_set_tearoff() 1561 int (*cbop)(rctl_hndl_t, struct proc *p, rctl_entity_p_t *e, rctl_t *, in rctl_local_op() 1631 struct proc *p) in rctl_local_get() 1862 rctl_val_t *alloc_values, struct proc *p) in rctl_local_insert_all() 1970 rctl_val_t *alloc_values, struct proc *p) in rctl_local_replace_all() 2021 struct proc *p) in rctl_local_replace() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_list.c | 43 mdb_list_t *p = mlp->ml_prev; /* p = tail list element */ in mdb_list_append() local 62 mdb_list_t *p = new; /* p = new list element */ in mdb_list_prepend() local 81 mdb_list_t *p = after_me; in mdb_list_insert() local 98 mdb_list_t *p = existing; in mdb_list_delete() local
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_pwr.c | 57 pci_pwr_chld_t *p; in pci_pwr_get_info() local 82 pci_pwr_chld_t *p; in pci_pwr_create_info() local 161 pci_pwr_add_components(pci_pwr_t *pwr_p, dev_info_t *cdip, pci_pwr_chld_t *p) in pci_pwr_add_components() 210 pci_pwr_update_comp(pci_pwr_t *pwr_p, pci_pwr_chld_t *p, int comp, in pci_pwr_update_comp() 602 pci_pwr_chld_t *p; in pci_pwr_suspend() local 686 pci_pwr_component_busy(pci_pwr_t *p) in pci_pwr_component_busy() 707 pci_pwr_component_idle(pci_pwr_t *p) in pci_pwr_component_idle()
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | devtab.c | 204 char *p, *q; /* Temp pointers */ in getfld() local 272 char *p, *q; /* Temps */ in getquoted() local 315 char *p, *q; /* Temp pointers */ in getattrval() local 412 char *p; /* Temp pointer */ in getnextrec() local 620 char *p; /* Temp pointer */ in _validalias() local 682 char *p, *q; /* Tmp char ptrs */ in _getdevtabent() local 840 struct attrval *p; /* Structure being freed */ in _freedevtabent() local
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_mip.c | 205 uchar_t *p; in interpret_extensions() local 277 void interpret_icmp_mip_ext(uchar_t *p, int len) { in interpret_icmp_mip_ext() 631 static void spi_ext(uint8_t type, uint8_t this_ext_len, uchar_t *p) { in spi_ext() 651 static void key_ext(uint8_t type, uint8_t this_ext_len, uchar_t *p) { in key_ext() 706 static void trav_ext(uint8_t type, uint8_t this_ext_len, uchar_t *p) { in trav_ext() 731 static void empty_ext(uint8_t type, uint8_t this_ext_len, uchar_t *p) { in empty_ext() 736 static void nai_ext(uint8_t type, uint8_t this_ext_len, uchar_t *p) { in nai_ext() 747 static void chall_ext(uint8_t type, uint8_t this_ext_len, uchar_t *p) { in chall_ext() 759 static void ma_ext(uint8_t type, uint8_t this_ext_len, uchar_t *p) { in ma_ext() 846 static void prefix_ext(uint8_t type, uint8_t this_ext_len, uchar_t *p) { in prefix_ext() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/stdio/ |
H A D | stdhdr.h | 57 #define STDIO_INT(p,n,t,f,a) \ argument 68 #define STDIO_PTR(p,n,t,f,a) \ argument 79 #define STDIO_VOID(p,n,t,f,a) \ argument 95 #define STDIO_INT(p,n,t,f,a) argument 96 #define STDIO_PTR(p,n,t,f,a) argument 97 #define STDIO_VOID(p,n,t,f,a) argument
|
/illumos-gate/usr/src/cmd/auditd/ |
H A D | queue.c | 62 audit_enqueue(au_queue_t *q, void *p) in audit_enqueue() 95 audit_dequeue(au_queue_t *q, void **p) in audit_dequeue() 125 audit_incr_ref(pthread_mutex_t *l, audit_rec_t *p) in audit_incr_ref() 138 audit_release(pthread_mutex_t *l, audit_rec_t *p) in audit_release()
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | kill-store.c | 1 void keep(int *p) { *p = 0; } in keep() 2 void kill(int *p, int i) { if (i && 0) *p = 0; } in kill() 3 void dead(int *p, int i) { int v = i++; if (i && 0) p[v] = 0; } in dead()
|
H A D | kill-load.c | 1 int keep(volatile int *p) { return *p && 0; } in keep() 2 int kill(int *p, int i) { return *p && 0; } in kill() 3 void ind(volatile int *p,int i) { int v = i++; if (i && 0) p[v]; } in ind()
|
H A D | shift-undef.c | 1 int simple(int s, unsigned int u, int p) in simple() 30 int compound(int s, unsigned int u, int p) in compound() 59 int ok(int s, unsigned int u, int p) in ok() 82 int bf(struct bf *p) in bf()
|
/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | sidutil.c | 66 char *p = strsid; in sid_tostr() local 109 char *p; in sid_fromstr() local 167 uint8_t *p = (uint8_t *)&sid->sid_subauth[i]; in sid_to_le() local 183 uint8_t *p = (uint8_t *)&sid->sid_subauth[i]; in sid_from_le() local
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/ |
H A D | tmfix.c | 33 #define DAYS(p) (tm_data.days[(p)->tm_mon]+((p)->tm_mon==1&&LEAP(p))) argument 34 #define LEAP(p) (tmisleapyear((p)->tm_year)) argument 49 Tm_t* p; in tmfix() local
|
/illumos-gate/usr/src/cmd/pools/poolstat/ |
H A D | poolstat_utils.h | 36 #define REALLOC(p, nbytes) Realloc((p), (nbytes)) argument 39 #define FREE(p) ((void) (free((p)), (p) = 0)) argument 40 #define NEW0(p) ((p) = ZALLOC((long)sizeof (*(p)))) argument
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/lib/snmp/ |
H A D | pdu.c | 111 uchar_t *buf, *p; in snmp_make_packet() local 186 uchar_t *p; in snmp_parse_reply() local 251 char *p; in snmp_add_null_vars() local 305 char *p, *q; in snmp_oidstr_to_oid() local 394 uchar_t *p; in snmp_build_pdu() local 477 uchar_t *p, *varseq_end; in snmp_build_variable() local 551 uchar_t *p; in snmp_parse_pdu() local 611 uchar_t *p; in snmp_parse_variable() local
|
/illumos-gate/usr/src/lib/passwdutil/ |
H A D | switch_utils.c | 223 nss_ldap_passwd(p) in nss_ldap_passwd() argument 232 nss_ldap_shadow(p) in nss_ldap_shadow() argument 244 nss_nis_passwd(p) in nss_nis_passwd() argument 253 nss_nis_shadow(p) in nss_nis_shadow() argument 267 char *p = *nextpp; local 296 char *p, *next; in str2passwd() local 451 constp p = *nextp; local 525 const char *p = instr, *limit; local
|
/illumos-gate/usr/src/lib/libuutil/common/ |
H A D | uu_alloc.c | 35 void *p = malloc(n); in uu_zalloc() local 48 uu_free(void *p) in uu_free() 77 char *p; in uu_strndup() local 98 void *p; in uu_memdup() local
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_init.c | 53 sctp_supaddr_param(sctp_t *sctp, uchar_t *p) in sctp_supaddr_param() 108 sctp_options_param(const sctp_t *sctp, void *p, int option) in sctp_options_param() 126 sctp_adaptation_code_param(sctp_t *sctp, uchar_t *p) in sctp_adaptation_code_param() 145 uchar_t *p; in sctp_init_mp() local 242 sctp_addr_params(sctp_t *sctp, int af, uchar_t *p, boolean_t modify) in sctp_addr_params()
|
/illumos-gate/usr/src/uts/sun4v/promif/ |
H A D | promif_node.c | 53 promif_finddevice(void *p) in promif_finddevice() 77 promif_finddevice(void *p) in promif_finddevice() 103 promif_nextnode(void *p) in promif_nextnode() 118 promif_childnode(void *p) in promif_childnode() 133 promif_parentnode(void *p) in promif_parentnode()
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prvnops.c | 242 proc_t *p; in propen() local 433 proc_t *p; in prclose() local 753 proc_t *p; in pr_read_lstatus() local 800 proc_t *p; in pr_read_psinfo() local 828 proc_t *p; in pr_read_fdinfo() local 904 proc_t *p; in pr_read_lpsinfo() local 970 proc_t *p; in pr_read_map_common() local 1039 proc_t *p; in pr_read_cred() local 1074 proc_t *p; in pr_read_priv() local 1099 proc_t *p; in pr_read_sigact() local [all …]
|