/illumos-gate/usr/src/tools/ctf/stabs/common/ |
H A D | ctfstabs.c | 164 ctf_id_t id; local 166 if ((id = ctf_lookup_by_name(ctf, name)) != CTF_ERR) 167 return (id); 170 if ((id = ctf_lookup_by_name(ctf, fullname)) != CTF_ERR) 171 return (id); 174 if ((id = ctf_lookup_by_name(ctf, fullname)) != CTF_ERR) 175 return (id); 178 if ((id = ctf_lookup_by_name(ctf, fullname)) != CTF_ERR) 179 return (id);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | pci_cap.h | 37 int pci_xcap_locate(ddi_acc_handle_t h, uint16_t id, uint16_t *base_p); 38 int pci_lcap_locate(ddi_acc_handle_t h, uint8_t id, uint16_t *base_p); 74 #define PCI_CAP_LOCATE(h, id, base_p) ((id) & PCI_CAP_XCFG_FLAG ? \ 75 pci_xcap_locate(h, (uint16_t)((id) & PCI_CAP_XID_MASK), base_p) : \ 76 pci_lcap_locate(h, (uint8_t)((id) & PCI_CAP_ID_MASK), base_p)) 111 uint32_t id, uint16_t base, uint16_t offset); 114 uint32_t id, uint16_t base, uint16_t offset, uint32_t data); 116 extern int pci_cap_read(ddi_acc_handle_t h, uint32_t id, uint16_t base,
|
H A D | cred.h | 140 * Private interface for setting project id in credential. 164 #define VALID_UID(id, zn) \ 165 ((id) <= MAXUID || valid_ephemeral_uid((zn), (id))) 167 #define VALID_GID(id, zn) \ 168 ((id) <= MAXUID || valid_ephemeral_gid((zn), (id)))
|
H A D | lockstat.h | 141 dtrace_id_t id; \ 144 if ((id = lockstat_probemap[(probe)]) != 0) \ 145 (*lockstat_probe)(id, (uintptr_t)(lp), (arg0), \ 170 dtrace_id_t id; \ 174 if ((id = lockstat_probemap[(probe)]) != 0) { \ 179 (*lockstat_probe)(id, (uintptr_t)(lp), t_spin, \
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_sram.c | 59 unsigned long id; local 66 if ((id = rmalloc(ssp->ss_buf_tbl_map, n)) == 0) { 70 *idp = (uint32_t)id - 1; 101 sfxge_sram_buf_tbl_set(sfxge_t *sp, uint32_t id, efsys_mem_t *esmp, argument 111 if ((rc = efx_sram_buf_tbl_set(sp->s_enp, id, esmp, n)) != 0) 129 sfxge_sram_buf_tbl_clear(sfxge_t *sp, uint32_t id, size_t n) argument 140 efx_sram_buf_tbl_clear(sp->s_enp, id, n); 161 sfxge_sram_buf_tbl_free(sfxge_t *sp, uint32_t id, size_t n) argument 169 rmfree(ssp->ss_buf_tbl_map, n, (unsigned long)id + 1);
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_privilege.c | 28 * and id's. NT privileges are known on the network using strings. Each 42 static char *smb_priv_getname(uint32_t id); 45 * Table of built-in privilege id's, names and display strings. This 119 ids[j++] = priv_table[i].id; 127 * Return the privilege info for the specified id (low part of the LUID). 128 * Returns a null pointer if id is out-of-range. 131 smb_priv_getbyvalue(uint32_t id) argument 133 if (id < SE_MIN_LUID || id > SE_MAX_LUID) 136 return (&priv_table[id]); 308 smb_privset_enable(smb_privset_t *privset, uint32_t id) argument 349 smb_privset_query(smb_privset_t *privset, uint32_t id) argument 369 smb_priv_getname(uint32_t id) argument [all...] |
H A D | smb_wksids.c | 254 smb_id_t *id; local 263 id = gids->i_ids + gids->i_cnt; 264 id->i_sid = smb_sid_dup(smb_wka_get_sid("Network")); 265 id->i_attrs = 0x7; 266 if (id->i_sid == NULL) 268 id++; 273 id->i_sid = smb_sid_dup(smb_wka_get_sid("Guests")); 275 id->i_sid = 277 id->i_attrs = 0x7; 278 if (id [all...] |
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | ttymux_rcm.c | 161 if (rsrc->id && strcmp(resource, rsrc->id) == 0) { 194 if (node->id) { 195 free(node->id); 228 if ((rsrc->id = strdup(resource)) != NULL) { 335 if (user->id && used->id && strcmp(user->id, used->id) == 0) { 362 _msg(6, ("TTYMUX: New link user %s used %s\n", user->id, use 1345 tty_getinfo(rcm_handle_t *hd, char *rsrcid, id_t id, uint_t flag, char **info, char **errstr, nvlist_t *proplist, rcm_info_t **depend_info) argument 1392 tty_offline(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **reason, rcm_info_t **dependent_reason) argument 1401 tty_remove(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **reason, rcm_info_t **dependent_reason) argument 1410 tty_suspend(rcm_handle_t *hd, char *rsrc, id_t id, timespec_t *interval, uint_t flag, char **reason, rcm_info_t **dependent_reason) argument 1419 tty_online(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **reason, rcm_info_t **dependent_reason) argument 1428 tty_resume(rcm_handle_t *hd, char *rsrc, id_t id, uint_t flags, char **reason, rcm_info_t **dependent_reason) argument [all...] |
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | idmapd.h | 250 #define IS_ID_NONE(id) \ 251 ((id).idtype == IDMAP_NONE) 253 #define IS_ID_SID(id) \ 254 ((id).idtype == IDMAP_SID || \ 255 (id).idtype == IDMAP_USID || \ 256 (id).idtype == IDMAP_GSID) \ 258 #define IS_ID_UID(id) \ 259 ((id).idtype == IDMAP_UID) 261 #define IS_ID_GID(id) \ 262 ((id) [all...] |
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_sram.c | 37 __in uint32_t id, 42 uint32_t start = id; 75 for (id = start; id != stop; id++) { 85 id, &qword); 98 EFSYS_ASSERT3U(id, ==, stop); 109 id - 1, &qword); 124 while (--id != start) { 129 id 35 efx_sram_buf_tbl_set( __in efx_nic_t *enp, __in uint32_t id, __in efsys_mem_t *esmp, __in size_t n) argument 162 efx_sram_buf_tbl_clear( __in efx_nic_t *enp, __in uint32_t id, __in size_t n) argument [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | waitpid.c | 81 id_t id; local 87 id = pid; 90 id = -pid; 93 id = 0; 96 id = getpgid(0); 101 if ((error = waitid(idtype, id, &info, options)) < 0)
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/seattle/frudr/ |
H A D | fru_FT0.info | 68 #ifndef id 69 #define id(s) #ident s 71 id("%Z%%M% %I% %E% SMI")
|
H A D | fru_FT1.info | 68 #ifndef id 69 #define id(s) #ident s 71 id("%Z%%M% %I% %E% SMI")
|
H A D | fru_FT2.info | 68 #ifndef id 69 #define id(s) #ident s 71 id("%Z%%M% %I% %E% SMI")
|
H A D | fru_FT3.info | 68 #ifndef id 69 #define id(s) #ident s 71 id("%Z%%M% %I% %E% SMI")
|
H A D | fru_FT4.info | 68 #ifndef id 69 #define id(s) #ident s 71 id("%Z%%M% %I% %E% SMI")
|
H A D | fru_FT5.info | 68 #ifndef id 69 #define id(s) #ident s 71 id("%Z%%M% %I% %E% SMI")
|
H A D | fru_FT6.info | 68 #ifndef id 69 #define id(s) #ident s 71 id("%Z%%M% %I% %E% SMI")
|
H A D | fru_usb-a-3_data.info | 66 #ifndef id 67 #define id(s) #ident s 69 id("%Z%%M% %I% %E% SMI")
|
/illumos-gate/usr/src/cmd/pools/poolbind/ |
H A D | poolbind.c | 85 "[-i pid | -i taskid | -i projid | -i zoneid] id ...\n" 207 id_t id; local 214 id = (id_t)strtol(argv[i], &endp, 10); 218 getzonenamebyid(id, NULL, 0) == -1)) { 222 * zone id. 229 if (zone_get_id(argv[i], &id) != 0) { 236 if (id == -1) { 243 if ((id = getprojidbyname(argv[i])) < 0) { 245 "id for project: '%s'"), argv[i]); 258 if (pool_set_binding(pool_name, idtype, id) ! [all...] |
/illumos-gate/usr/src/cmd/prstat/ |
H A D | prstat.c | 232 id_info_t *id; local 307 for (id = list->l_head; id != NULL; id = id->id_next) { 314 if (next->vmu_id == id->id_uid) 318 if (next->vmu_id == id->id_taskid) 322 if (next->vmu_id == id->id_projid) 326 if (next->vmu_id == id->id_zoneid) 335 id 357 id_info_t *id; local 676 id_info_t *id = list->l_head; local 692 id_info_t *id; local 1340 psetid_t id; local [all...] |
/illumos-gate/usr/src/uts/sun4u/opl/io/ |
H A D | drmach.c | 263 #define DRMACH_OBJ(id) ((drmach_common_t *)id) 265 #define DRMACH_NULL_ID(id) ((id) == 0) 267 #define DRMACH_IS_BOARD_ID(id) \ 268 ((id != 0) && \ 269 (DRMACH_OBJ(id)->isa == (void *)drmach_board_new)) 271 #define DRMACH_IS_CPU_ID(id) \ 272 ((id != 0) && \ 273 (DRMACH_OBJ(id) 925 drmachid_t id; local 941 drmach_configure(drmachid_t id, int flags) argument 1022 drmach_device_dispose(drmachid_t id) argument 1063 drmach_board_dispose(drmachid_t id) argument 1080 drmach_board_status(drmachid_t id, drmach_status_t *stat) argument 1122 drmach_board_is_floating(drmachid_t id) argument 1170 drmachid_t id; local 1288 drmach_io_dispose(drmachid_t id) argument 1303 drmach_pre_op(int cmd, drmachid_t id, drmach_opts_t *opts) argument 1357 drmach_post_op(int cmd, drmachid_t id, drmach_opts_t *opts) argument 1363 drmach_board_assign(int bnum, drmachid_t *id) argument 1391 drmach_board_connect(drmachid_t id, drmach_opts_t *opts) argument 1423 drmach_flush_cache(uint64_t id, uint64_t dummy) argument 1475 drmach_board_disconnect(drmachid_t id, drmach_opts_t *opts) argument 1592 drmachid_t id; local 1658 drmach_board_find_devices(drmachid_t id, void *a, sbd_error_t *(*found)(void *a, const char *, int, drmachid_t)) argument 1703 drmach_board_lookup(int bnum, drmachid_t *id) argument 1724 drmach_board_poweroff(drmachid_t id) argument 1750 drmach_board_poweron(drmachid_t id) argument 1764 drmach_board_release(drmachid_t id) argument 1773 drmach_board_test(drmachid_t id, drmach_opts_t *opts, int force) argument 1779 drmach_board_unassign(drmachid_t id) argument 1869 drmach_cpu_dispose(drmachid_t id) argument 1907 drmach_cpu_release(drmachid_t id) argument 1916 drmach_cpu_status(drmachid_t id, drmach_status_t *stat) argument 1938 drmach_cpu_disconnect(drmachid_t id) argument 1948 drmach_cpu_get_id(drmachid_t id, processorid_t *cpuid) argument 1962 drmach_cpu_get_impl(drmachid_t id, int *ip) argument 2001 drmach_get_dip(drmachid_t id, dev_info_t **dip) argument 2014 drmach_io_is_attached(drmachid_t id, int *yes) argument 2070 drmach_console_ops(drmachid_t *id, int state) argument 2131 drmach_io_pre_release(drmachid_t id) argument 2147 drmach_io_release(drmachid_t id) argument 2155 drmach_io_unrelease(drmachid_t id) argument 2164 drmach_io_post_release(drmachid_t id) argument 2171 drmach_io_post_attach(drmachid_t id) argument 2187 drmach_io_status(drmachid_t id, drmach_status_t *stat) argument 2255 drmach_mem_dispose(drmachid_t id) argument 2276 drmach_mem_add_span(drmachid_t id, uint64_t basepa, uint64_t size) argument 2307 drmach_mem_del_span(drmachid_t id, uint64_t basepa, uint64_t size) argument 2330 drmach_mem_disable(drmachid_t id) argument 2341 drmach_mem_enable(drmachid_t id) argument 2350 drmach_mem_get_info(drmachid_t id, drmach_mem_info_t *mem) argument 2373 drmach_mem_get_base_physaddr(drmachid_t id, uint64_t *pa) argument 2387 drmach_mem_get_memlist(drmachid_t id, struct memlist **ml) argument 2429 drmach_mem_get_slice_size(drmachid_t id, uint64_t *bytes) argument 2446 drmach_mem_cpu_affinity(drmachid_t id) argument 2452 drmach_mem_release(drmachid_t id) argument 2460 drmach_mem_status(drmachid_t id, drmach_status_t *stat) argument 2495 drmach_board_deprobe(drmachid_t id) argument 2522 drmach_pt_ikprobe(drmachid_t id, drmach_opts_t *opts) argument 2543 drmach_pt_ikdeprobe(drmachid_t id, drmach_opts_t *opts) argument 2566 drmach_pt_readmem(drmachid_t id, drmach_opts_t *opts) argument 2613 drmach_passthru(drmachid_t id, drmach_opts_t *opts) argument 2637 drmach_release(drmachid_t id) argument 2649 drmach_status(drmachid_t id, drmach_status_t *stat) argument 2669 drmach_i_status(drmachid_t id, drmach_status_t *stat) argument 2682 drmach_unconfigure(drmachid_t id, int flags) argument 3854 drmach_copy_rename_fini(drmachid_t id) argument 3932 drmach_copy_rename_slave(struct regs *rp, drmachid_t id) argument 4009 drmach_copy_rename(drmachid_t id) argument [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ |
H A D | scc.h | 75 #define OPENCLOSE(id) (((krb5_scc_data *)id->data)->flags & KRB5_TC_OPENCLOSE)
|
/illumos-gate/usr/src/lib/libnsctl/common/ |
H A D | machdep.c | 99 * return the system id (the current value in the kernel 105 nsc_getsystemid(int *id) argument 112 *id = 0; 124 *id = node.nc_nodeid; 126 * Return 0, not the mirror node id as returned 239 * return the system id corresponding to name 244 nsc_name_to_id(char *name, int *id) argument 251 *id = 0; 259 *id = nodes[slot].nc_nodeid; 273 * return the node name corresponding to system id 280 nsc_id_to_name(char **name, int id) argument [all...] |
/illumos-gate/usr/src/lib/libpp/common/ |
H A D | ppdata.c | 51 static const char id[] = "\n@(#)$Id: libpp (AT&T Research) 2009-02-02 $\0\n"; variable 92 &id[10], /* version */
|