Home
last modified time | relevance | path

Searched refs:id (Results 76 – 100 of 2043) sorted by relevance

12345678910>>...82

/illumos-gate/usr/src/cmd/picl/plugins/sun4u/envmon/
H A Dpiclenvmon.c615 data.id = *id; in get_sensor_data()
621 *id = data.next_id; in get_sensor_data()
655 data.id = *id; in get_indicator_data()
659 *id = data.next_id; in get_indicator_data()
680 data.id = *id; in get_fan_data()
684 *id = data.next_id; in get_fan_data()
712 data.id = *id; in get_led_data()
716 *id = data.next_id; in get_led_data()
740 (void) strlcpy(id->name, KEYSWITCH_NAME, sizeof (id->name)); in get_keyswitch_data()
769 } else if (strncmp(id->name, CHASSIS_SERIAL_NUMBER, sizeof (id->name)) in get_serial_num()
[all …]
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dcommon.c89 if (id == atoi(av[i])) in match_job_rid()
216 "job-id", &id); in print_job_line()
263 int id = -1; in cancel_job() local
270 "job-id", &id); in cancel_job()
398 *id = -1; in get_printer_id()
403 *id = -1; in get_printer_id()
653 if (rid == id) { in job_to_be_queried()
656 "job-id", &id); in job_to_be_queried()
657 return (id); in job_to_be_queried()
671 return (id); in job_to_be_queried()
[all …]
/illumos-gate/usr/src/cmd/pools/poolbind/
H A Dpoolbind.c207 id_t id; in process_ids() local
214 id = (id_t)strtol(argv[i], &endp, 10); in process_ids()
218 getzonenamebyid(id, NULL, 0) == -1)) { in process_ids()
229 if (zone_get_id(argv[i], &id) != 0) { in process_ids()
236 if (id == -1) { in process_ids()
243 if ((id = getprojidbyname(argv[i])) < 0) { in process_ids()
261 "%s\n"), idstr, id, pool_name, in process_ids()
271 "pid %ld: %s\n"), id, get_errstr()); in process_ids()
274 (void) printf("%ld\t%s\n", id, poolname); in process_ids()
286 "for pid %ld: %s\n"), id, get_errstr()); in process_ids()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dfsm.c330 u_char code, id; local
344 GETCHAR(id, inp);
408 u_char id;
488 int id;
545 int code, id;
602 int id;
674 u_char code, id; local
683 GETCHAR(id, inp);
826 f->reqid = ++f->id;
865 u_char code, id;
[all …]
H A Dupap.c333 u_char code, id; local
346 GETCHAR(id, inp);
385 int id;
475 int id;
489 id, u->us_id);
528 int id;
542 id, u->us_id);
630 u_char code, id;
642 PUTCHAR(id, outp);
663 int code, id, len; local
[all …]
/illumos-gate/usr/src/cmd/eeprom/i386/
H A Dbenv_kvm.c65 next(unsigned long id) in next() argument
73 *ip = id; in next()
80 child(unsigned long id) in child() argument
88 *ip = id; in child()
99 prom_findnode_byname(unsigned long id, char *name) in prom_findnode_byname() argument
104 if (id == 0) in prom_findnode_byname()
109 return (id); in prom_findnode_byname()
110 if (nid = prom_findnode_byname(child(id), name)) in prom_findnode_byname()
112 if (nid = prom_findnode_byname(next(id), name)) in prom_findnode_byname()
195 unsigned long id; in get_proplist() local
[all …]
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dac.c1166 softsp->bank[id].busy = 0; in ac_get_memory_status()
1173 softsp->bank[id].real_size = softsp->bank[id].use_size = in ac_get_memory_status()
1177 softsp->bank[id].real_size = softsp->bank[id].use_size = 0; in ac_get_memory_status()
1210 softsp->bank[id].rstate = in ac_get_memory_status()
1212 softsp->bank[id].ostate = in ac_get_memory_status()
1214 softsp->bank[id].condition = in ac_get_memory_status()
1217 softsp->bank[id].rstate = in ac_get_memory_status()
1219 softsp->bank[id].ostate = in ac_get_memory_status()
1221 softsp->bank[id].condition = in ac_get_memory_status()
1288 softsp->board, id, base_pa, softsp->bank[id].real_size, in ac_eval_memory_status()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dsetpriority.c108 id_t id; in getpriority() local
133 id = P_MYID; in getpriority()
135 id = who; in getpriority()
140 if (priocntl(idtype, id, PC_DONICE, &pcnice) == -1) in getpriority()
149 id_t id; in setpriority() local
170 id = P_MYID; in setpriority()
172 id = who; in setpriority()
182 ret = priocntl(idtype, id, PC_DONICE, &pcnice); in setpriority()
200 if (priocntl(idtype, id, PC_DONICE, &gpcnice) == 0 && in setpriority()
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dsm_implied19.c5 int id, vbus; variable
9 id = yyy; in frob()
11 id = 1; in frob()
16 vbus = id; in frob()
18 if (id) in frob()
23 if (!id) in frob()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_print.c196 mdb_ctf_id_t id; in cmd_sizeof() local
249 mdb_ctf_id_t id; in cmd_offsetof() local
271 if (mdb_ctf_member_info(id, member, &off, &id) != 0) { in cmd_offsetof()
395 enum_is_p2(mdb_ctf_id_t id) in enum_is_p2() argument
533 mdb_ctf_id_t id; in cmd_enum() local
795 mdb_ctf_id_t id; in cmd_array() local
2066 id = ar.mta_contents; in parse_member()
2121 *idp = id; in parse_member()
2135 mdb_ctf_id_t id, rid; in cmd_print_tab_common() local
2313 mdb_ctf_id_t id; in cmd_print() local
[all …]
/illumos-gate/usr/src/lib/libbsm/common/
H A Dgeneric.c201 aug_auid = id; in aug_save_auid()
205 aug_save_uid(uid_t id) in aug_save_uid() argument
207 aug_uid = id; in aug_save_uid()
213 aug_euid = id; in aug_save_euid()
217 aug_save_gid(gid_t id) in aug_save_gid() argument
219 aug_gid = id; in aug_save_gid()
225 aug_egid = id; in aug_save_egid()
229 aug_save_pid(pid_t id) in aug_save_pid() argument
231 aug_pid = id; in aug_save_pid()
237 aug_asid = id; in aug_save_asid()
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/
H A Dtst.MultiAggPrinta.ksh.out1 …rintaRecord[aggregations = [org.opensolaris.os.dtrace.Aggregation[name = , id = 1, records = [org.…
5 …rintaRecord[aggregations = [org.opensolaris.os.dtrace.Aggregation[name = , id = 1, records = [org.…
13id = 2, records = [org.opensolaris.os.dtrace.AggregationRecord[tuple = [1, 2], value = 1], org.ope…
21 …e = c, id = 4, records = [org.opensolaris.os.dtrace.AggregationRecord[tuple = [], value = 3]], org…
23 …e = c, id = 4, records = [org.opensolaris.os.dtrace.AggregationRecord[tuple = [], value = 3]], org…
25 …intaRecord[aggregations = [org.opensolaris.os.dtrace.Aggregation[name = c, id = 4, records = [org.…
27id = 2, records = [org.opensolaris.os.dtrace.AggregationRecord[tuple = [1, 2], value = 1], org.ope…
33id = 2, records = [org.opensolaris.os.dtrace.AggregationRecord[tuple = [1, 2], value = 1], org.ope…
39id = 2, records = [org.opensolaris.os.dtrace.AggregationRecord[tuple = [1, 2], value = 1], org.ope…
45id = 2, records = [org.opensolaris.os.dtrace.AggregationRecord[tuple = [1, 2], value = 1], org.ope…
[all …]
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsvcctl_svc.c203 ndr_hdfree(mxa, id); in svcctl_hdfree()
336 svcctl_hdfree(mxa, id); in svcctl_s_Close()
523 ndr_hdid_t *id = NULL; in svcctl_s_OpenManager() local
534 id = svcctl_mgr_hdalloc(mxa); in svcctl_s_OpenManager()
535 if (id) { in svcctl_s_OpenManager()
562 ndr_hdid_t *id = NULL; in svcctl_s_OpenService() local
595 if (id) { in svcctl_s_OpenService()
1029 ndr_hdid_t *id = NULL; in svcctl_s_OpenSCManagerA() local
1041 if (id) { in svcctl_s_OpenSCManagerA()
1068 ndr_hdid_t *id = NULL; in svcctl_s_OpenServiceA() local
[all …]
H A Dwinreg_svc.c318 ndr_hdid_t *id; in winreg_s_OpenHK() local
349 winreg_dealloc_id(mxa, id); in winreg_s_Close()
361 ndr_hdid_t *id; in winreg_alloc_id() local
375 return (id); in winreg_alloc_id()
388 ndr_hdfree(mxa, id); in winreg_dealloc_id()
414 hd = ndr_hdlookup(mxa, id); in winreg_s_CreateKey()
457 winreg_dealloc_id(mxa, id); in winreg_s_CreateKey()
709 if (ndr_hdlookup(mxa, id) == NULL) in winreg_s_FlushKey()
827 id = NULL; in winreg_s_OpenKey()
842 id = &key->sk_handle; in winreg_s_OpenKey()
[all …]
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/
H A Dmpapi_impl.h145 uint64_t id; member
157 uint64_t id; member
193 uint64_t id; member
212 uint64_t id; member
225 uint64_t id; member
246 uint64_t id; member
271 uint64_t id; member
444 #define MP_GET_MAJOR_FROM_ID(id) ((id) >> MP_ID_SHIFT4MAJOR) argument
445 #define MP_GET_INST_FROM_ID(id) ((id) & 0x00000000ffffffff) argument
446 #define MP_STORE_INST_TO_ID(inst, id) (((uint64_t)(inst)) | id) argument
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_fuid.c397 uid_t id; in zfs_fuid_map_id() local
412 return (id); in zfs_fuid_map_id()
467 fuid->z_id = id; in zfs_fuid_node_add()
498 uid_t id; in zfs_fuid_create_cred() local
507 if (IS_EPHEMERAL(id)) in zfs_fuid_create_cred()
510 return ((uint64_t)id); in zfs_fuid_create_cred()
518 if (!IS_EPHEMERAL(id)) in zfs_fuid_create_cred()
519 return ((uint64_t)id); in zfs_fuid_create_cred()
522 id = ksid_getid(ksid); in zfs_fuid_create_cred()
568 return (id); in zfs_fuid_create()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_constraints.c57 if (tmp->id < constraint) in add_constraint()
59 if (tmp->id == constraint) { in add_constraint()
67 new->id = constraint; in add_constraint()
74 new->id = constraint; in add_constraint()
81 new->id = constraint; in add_constraint()
222 int id = -1; in constraint_str_to_id() local
224 run_sql(save_int_callback, &id, in constraint_str_to_id()
227 return id; in constraint_str_to_id()
436 long long id; in constraint_str_to_state() local
447 id = strtoll(p, &p, 10); in constraint_str_to_state()
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_sram.c37 __in uint32_t id, in efx_sram_buf_tbl_set() argument
42 uint32_t start = id; in efx_sram_buf_tbl_set()
75 for (id = start; id != stop; id++) { in efx_sram_buf_tbl_set()
85 id, &qword); in efx_sram_buf_tbl_set()
98 EFSYS_ASSERT3U(id, ==, stop); in efx_sram_buf_tbl_set()
109 id - 1, &qword); in efx_sram_buf_tbl_set()
124 while (--id != start) { in efx_sram_buf_tbl_set()
129 id - 1, &qword); in efx_sram_buf_tbl_set()
145 id = stop; in efx_sram_buf_tbl_set()
164 __in uint32_t id, in efx_sram_buf_tbl_clear() argument
[all …]
/illumos-gate/usr/src/cmd/ctfdump/
H A Dctfdump.c595 size = ctf_type_size(g_fp, id); in ctfdump_types_cb()
617 size = ctf_type_size(g_fp, id); in ctfdump_types_cb()
760 (void) ctf_type_name(g_fp, id, idnames[id].ci_name, in ctfsrc_collect_types_cb()
761 sizeof (idnames[id].ci_name)); in ctfsrc_collect_types_cb()
762 idnames[id].ci_id = id; in ctfsrc_collect_types_cb()
767 ctfsrc_type(ctf_id_t id, const char *name) in ctfsrc_type() argument
818 size = ctf_type_size(g_fp, id); in ctfsrc_type()
846 ref = ctf_type_reference(g_fp, id); in ctfsrc_type()
906 if (id == 0) in ctfsrc_collect_objects_cb()
911 idnames[*count].ci_id = id; in ctfsrc_collect_objects_cb()
[all …]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dcf.c48 char *id; variable
66 id = &buf[2];
67 val = strchr(id, '=');
69 val = idend = id + strlen(id);
76 while (idend > id && idend[-1] == ' ')
83 if (sm_strcasecmp(optv[i].opt_name, id) == 0)
/illumos-gate/usr/src/boot/common/
H A Dpnp.c106 struct pnpident *id; in pnp_addident() local
108 STAILQ_FOREACH(id, &pi->pi_ident, id_link) in pnp_addident()
109 if (!strcmp(id->id_ident, ident)) in pnp_addident()
112 id = malloc(sizeof(struct pnpident)); in pnp_addident()
113 id->id_ident = strdup(ident); in pnp_addident()
114 STAILQ_INSERT_TAIL(&pi->pi_ident, id, id_link); in pnp_addident()
137 struct pnpident *id; in pnp_freeinfo() local
140 id = STAILQ_FIRST(&pi->pi_ident); in pnp_freeinfo()
142 free(id->id_ident); in pnp_freeinfo()
143 free(id); in pnp_freeinfo()
/illumos-gate/usr/src/uts/common/io/comstar/stmf/
H A Dlun_map.c566 id->id_data = ((uint8_t *)id) + struct_size; in stmf_alloc_id()
569 id->id_impl_specific = ((uint8_t *)id) + struct_size + in stmf_alloc_id()
574 return (id); in stmf_alloc_id()
580 kmem_free(id, id->id_total_alloc_size); in stmf_free_id()
589 for (id = idlist->idl_head; id != NULL; id = id->id_next) { in stmf_lookup_id()
592 return (id); in stmf_lookup_id()
655 id->id_next->id_prev = id->id_prev; in stmf_remove_id()
661 id->id_prev->id_next = id->id_next; in stmf_remove_id()
1351 if (!id) { in stmf_remove_group()
1587 uint8_t *id; in stmf_targetident_to_ilport() local
[all …]
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_devtype.c33 prom_devicetype(pnode_t id, char *type) in prom_devicetype() argument
38 len = prom_getproplen(id, OBP_DEVICETYPE); in prom_devicetype()
42 (void) prom_getprop(id, OBP_DEVICETYPE, (caddr_t)buf); in prom_devicetype()
51 prom_getnode_byname(pnode_t id, char *name) in prom_getnode_byname() argument
56 len = prom_getproplen(id, OBP_NAME); in prom_getnode_byname()
60 (void) prom_getprop(id, OBP_NAME, (caddr_t)buf); in prom_getnode_byname()
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_cfg.c232 cfg = smb_config_getent(id); in smb_config_getname()
449 cfg = smb_config_getent(id); in smb_config_getstr()
452 if (id == SMB_CI_ADS_SITE) in smb_config_getstr()
454 if (id == SMB_CI_DOMAIN_SRV) in smb_config_getstr()
562 cfg = smb_config_getent(id); in smb_config_getnum()
590 cfg = smb_config_getent(id); in smb_config_getbool()
619 cfg = smb_config_getent(id); in smb_config_get()
631 if (smb_config_getbool(id)) in smb_config_get()
657 cfg = smb_config_getent(id); in smb_config_setstr()
660 if (id == SMB_CI_ADS_SITE) in smb_config_setstr()
[all …]
/illumos-gate/usr/src/cmd/modload/
H A Dmodload.c39 void l_exec_userfile(char *execfile, int id, char **envp);
53 int id; in main() local
98 if (modctl(MODLOAD, use_path, path, &id) != 0) { in main()
109 l_exec_userfile(execfile, id, envp); in main()
118 l_exec_userfile(char *execfile, int id, char **envp) in l_exec_userfile() argument
135 modinfo.mi_id = id; in l_exec_userfile()
136 modinfo.mi_nextid = id; in l_exec_userfile()
138 if (modctl(MODINFO, id, &modinfo) < 0) in l_exec_userfile()

12345678910>>...82