Home
last modified time | relevance | path

Searched refs:id (Results 226 – 250 of 2043) sorted by relevance

12345678910>>...82

/illumos-gate/usr/src/lib/pyzfs/common/
H A Duserspace.py72 (1, 1): ("SMB Group", lambda id: solaris.misc.sid_to_name(id, 0)),
73 (1, 0): ("POSIX Group", lambda id: grp.getgrgid(int(id)).gr_name),
74 (0, 1): ("SMB User", lambda id: solaris.misc.sid_to_name(id, 1)),
75 (0, 0): ("POSIX User", lambda id: pwd.getpwuid(int(id)).pw_name)
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DProbeDescription.java101 private int id = ID_NONE; // set by native code field in ProbeDescription
220 id = probeID; in ProbeDescription()
298 return id; in getID()
392 if ((id == ID_NONE) || (p.id == ID_NONE)) { in equals()
395 return (id == p.id); in equals()
441 int hash = id; in hashCode()
/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dtable.c56 ht_insert(table_id_t *taid, key_t id, int key) in ht_insert() argument
77 (void) ipgpc_list_insert(&table[x].elements, id); in ht_insert()
84 (void) ipgpc_list_insert(&table[x].next->elements, id); in ht_insert()
92 (void) ipgpc_list_insert(&p->elements, id); in ht_insert()
105 (void) ipgpc_list_insert(&p->elements, id); in ht_insert()
196 ht_remove(table_id_t *taid, key_t id, int key) in ht_remove() argument
213 if (ipgpc_list_remove(&table[x].elements, id)) { in ht_remove()
236 if (ipgpc_list_remove(&p->next->elements, id)) { in ht_remove()
/illumos-gate/usr/src/uts/common/io/nvme/
H A Dnvme_validate.c557 nvme_identify_cmds[i].nii_cns == id->nid_cns) { in nvme_validate_identify()
564 return (nvme_ioctl_error(&id->nid_common, in nvme_validate_identify()
569 return (nvme_ioctl_error(&id->nid_common, in nvme_validate_identify()
603 id->nid_common.nioc_nsid == 0) { in nvme_validate_identify()
606 id->nid_common.nioc_nsid = NVME_NSID_BCAST; in nvme_validate_identify()
608 id->nid_common.nioc_nsid = 1; in nvme_validate_identify()
632 !nvme_validate_one_field(&id->nid_common, id->nid_common.nioc_nsid, in nvme_validate_identify()
639 const uint32_t ns = id->nid_common.nioc_nsid; in nvme_validate_identify()
645 return (nvme_ioctl_error(&id->nid_common, in nvme_validate_identify()
648 return (nvme_ioctl_error(&id->nid_common, in nvme_validate_identify()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dread_servi.c51 krb5_keytab id; in krb5_kt_read_service_key() local
67 if ((kerror = krb5_kt_resolve(context, (char *)keytabname, &id))) in krb5_kt_read_service_key()
70 kerror = krb5_kt_get_entry(context, id, principal, vno, enctype, &entry); in krb5_kt_read_service_key()
72 (void) krb5_kt_close(context, id); in krb5_kt_read_service_key()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smrt/
H A Dsmrt_logvol.c32 smrt_logvol_lookup_by_id(smrt_t *smrt, unsigned long id) in smrt_logvol_lookup_by_id() argument
38 if (smlv->smlv_addr.LogDev.VolId == id) { in smrt_logvol_lookup_by_id()
61 char id[SCSI_MAXNAMELEN]; in smrt_read_logvols() local
91 (void) snprintf(id, sizeof (id), "%x", in smrt_read_logvols()
95 SCSI_TGT_SCSI_DEVICE, id, NULL) != DDI_SUCCESS) { in smrt_read_logvols()
120 char id[SCSI_MAXNAMELEN]; in smrt_read_logvols_ext() local
159 (void) snprintf(id, sizeof (id), "%x", in smrt_read_logvols_ext()
163 SCSI_TGT_SCSI_DEVICE, id, NULL) != DDI_SUCCESS) { in smrt_read_logvols_ext()
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_rx.c170 unsigned int id; in sfxge_rx_qctor() local
229 for (id = 0; id < SFXGE_RX_FPP_NSLOTS; id++) { in sfxge_rx_qctor()
303 unsigned int id; in sfxge_rx_qdtor() local
310 for (id = 0; id < SFXGE_RX_FPP_NSLOTS; id++) { in sfxge_rx_qdtor()
402 id = (id + 1) & SFXGE_RX_FPP_MASK; in sfxge_rx_qfpp_swizzle()
2279 for (id = 0; id < NCPU; id++) { in sfxge_rx_scale_update()
2280 ASSERT3U(sfxge_cpu[id], >=, srsp->srs_cpu[id]); in sfxge_rx_scale_update()
2281 sfxge_cpu[id] -= srsp->srs_cpu[id]; in sfxge_rx_scale_update()
2491 for (id = 0; id < NCPU; id++) { in sfxge_rx_scale_stop()
2492 ASSERT3U(sfxge_cpu[id], >=, srsp->srs_cpu[id]); in sfxge_rx_scale_stop()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_msg.c216 entry2->id = log->count++; in emlxs_msg_log()
246 entry->id = log->count++; in emlxs_msg_log()
462 fileno, line, driver, level, msg->id, in emlxs_msg_printf()
469 line, driver, level, msg->id, va_str); in emlxs_msg_printf()
473 fileno, line, driver, level, msg->id); in emlxs_msg_printf()
658 secs, hsecs, entry->id, entry->fileno, in emlxs_msg_sprintf()
666 driver, level, msg->id, msg->buffer); in emlxs_msg_sprintf()
672 secs, hsecs, entry->id, entry->fileno, in emlxs_msg_sprintf()
673 entry->line, driver, level, msg->id, in emlxs_msg_sprintf()
678 secs, hsecs, entry->id, entry->fileno, in emlxs_msg_sprintf()
[all …]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_print.c117 if (ctf_type_name(ctfp, id, buf, buflen) == NULL) in dt_print_type_name()
118 (void) snprintf(buf, buflen, "<%ld>", id); in dt_print_type_name()
585 if ((rtype = ctf_type_resolve(ctfp, id)) == CTF_ERR || in dt_print_member()
589 (void) fprintf(fp, "%s = <invalid type %lu>", name, id); in dt_print_member()
593 dt_print_type_name(ctfp, id, type, sizeof (type)); in dt_print_member()
633 ctf_type_encoding(ctfp, id, &e) == 0) { in dt_print_member()
640 size != ctf_type_size(ctfp, id)) { in dt_print_member()
669 ctf_id_t id; in dtrace_print() local
705 id = atoi(s + 1); in dtrace_print()
712 if (ctfp == NULL || ctf_type_kind(ctfp, id) == CTF_ERR) in dtrace_print()
[all …]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dmc.h100 int id; /* unique segment id */ member
109 int id; /* unique id for logic bank */ member
122 int id; /* unique id for memory controllers */ member
128 int id; /* unique id for device groups */ member
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_vxlan.c29 uint32_t id, vxf; in interpret_vxlan() local
41 id = ntohl(vxlan->vxlan_id) >> VXLAN_ID_SHIFT; in interpret_vxlan()
46 "VXLAN VNI=%d", id); in interpret_vxlan()
58 "VXLAN network id (VNI) = %d", id); in interpret_vxlan()
/illumos-gate/usr/src/lib/print/libipp-listener/common/
H A Dget-job-attributes.c46 int id = -1; in ipp_get_job_attributes() local
56 get_printer_id(operational, &queue, &id); in ipp_get_job_attributes()
57 if (id < 0) { in ipp_get_job_attributes()
73 if ((status = papiJobQuery(svc, queue, id, req_attrs, &j)) != PAPI_OK) { in ipp_get_job_attributes()
H A Dsend-document.c51 int id = -1; in ipp_send_document() local
67 get_printer_id(operational, &queue, &id); in ipp_send_document()
68 if (id < 0) { in ipp_send_document()
103 status = papiJobStreamAdd(svc, queue, id, &s); in ipp_send_document()
131 status = papiJobCommit(svc, queue, id); in ipp_send_document()
H A Dset-job-attributes.c46 int32_t id = -1; in ipp_set_job_attributes() local
58 get_printer_id(operational, &queue, &id); in ipp_set_job_attributes()
59 if (id < 0) { in ipp_set_job_attributes()
74 status = papiJobModify(svc, queue, id, job_attributes, &j); in ipp_set_job_attributes()
/illumos-gate/usr/src/uts/intel/io/amdzen/
H A Dzen_umc.c2044 reg = UMC_BASE(id, reginst); in zen_umc_fill_chan_dimm_ddr4()
2242 reg = UMC_BASE(id, regno); in zen_umc_fill_chan_rank_ddr5()
2700 reg = UMC_PC_HASH_DDR4(id); in zen_umc_fill_chan_hash()
2702 reg = UMC_PC_HASH_DDR5(id); in zen_umc_fill_chan_hash()
2803 reg = UMC_UMCCFG(id); in zen_umc_fill_chan()
2820 reg = UMC_DRAMCFG(id, 0); in zen_umc_fill_chan()
2834 reg = UMC_DRAMCFG(id, i); in zen_umc_fill_chan()
2850 reg = UMC_DATACTL(id); in zen_umc_fill_chan()
2871 reg = UMC_ECCCTL(id); in zen_umc_fill_chan()
2883 reg = UMC_UMCCAP(id); in zen_umc_fill_chan()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/log/
H A Dlog_register.c82 if (maxid <= fnp->id)
83 maxid = fnp->id + 1;
93 fnp->id = maxid;
118 0, LOG_OPEN, &r_name, &fid_dbt, fnp->id, type)) != 0)
120 if ((ret = __log_add_logid(dblp, dbp, name, fnp->id)) != 0)
138 *idp = fnp->id;
169 if (fid == fnp->id)
/illumos-gate/usr/src/cmd/prstat/
H A Dprsort.c102 get_idkey(void *id) in get_idkey() argument
104 return (((id_info_t *)id)->id_key); in get_idkey()
225 id_info_t *id = list->l_head; in list_sort() local
227 while (id) { in list_sort()
228 list_preinsert(list, (void *)id); in list_sort()
229 id = id->id_next; in list_sort()
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldaptool-sasl.c83 for (interact = prompts; interact->id != SASL_CB_LIST_END; interact++) { in ldaptool_sasl_interact()
103 switch( interact->id ) { in get_default()
127 if (interact->id == SASL_CB_PASS && defaults != NULL) { in get_default()
148 if (interact->id == SASL_CB_ECHOPROMPT || interact->id == SASL_CB_NOECHOPROMPT) {
167 if (interact->id == SASL_CB_PASS || interact->id == SASL_CB_NOECHOPROMPT) {
/illumos-gate/usr/src/uts/i86pc/io/apix/
H A Dapix_irm.c437 apix_irm_disable_intr(processorid_t id) in apix_irm_disable_intr() argument
442 if (apic_cpus[id].aci_status & APIC_CPU_SUSPEND) in apix_irm_disable_intr()
443 return ((*psm_disable_intr_saved)(id)); in apix_irm_disable_intr()
502 if ((*psm_disable_intr_saved)(id) != PSM_SUCCESS) { in apix_irm_disable_intr()
505 " for CPU#%d", id)); in apix_irm_disable_intr()
522 apix_irm_enable_intr(processorid_t id) in apix_irm_enable_intr() argument
527 if (apic_cpus[id].aci_status & APIC_CPU_SUSPEND) { in apix_irm_enable_intr()
528 (*psm_enable_intr_saved)(id); in apix_irm_enable_intr()
535 (*psm_enable_intr_saved)(id); in apix_irm_enable_intr()
/illumos-gate/usr/src/lib/libsec/common/
H A Daclcheck.c48 uid_t *id; member
133 idp = &(tally.def_user.id); in aclent_aclcheck()
136 idp = &(tally.def_group.id); in aclent_aclcheck()
139 idp = &(tally.user.id); in aclent_aclcheck()
142 idp = &(tally.group.id); in aclent_aclcheck()
272 free((tallyp->user).id); in free_mem()
274 free((tallyp->group).id); in free_mem()
276 free((tallyp->def_user).id); in free_mem()
278 free((tallyp->def_group).id); in free_mem()
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dsched.c234 get_parms(idtype_t idtype, id_t id, pcparms_t *pcparmp) in get_parms() argument
237 if (priocntl(idtype, id, PC_GETPARMS, pcparmp) == -1) in get_parms()
246 set_priority(idtype_t idtype, id_t id, int policy, int prio, in set_priority() argument
280 rv = priocntl(idtype, id, PC_DOPRIO, &pcprio); in set_priority()
287 rv = priocntl(idtype, id, PC_SETPARMS, pcparmp); in set_priority()
298 setprio(idtype_t idtype, id_t id, int prio, int *policyp) in setprio() argument
304 if ((pccp = get_parms(idtype, id, &pcparm)) == NULL) in setprio()
318 if (set_priority(idtype, id, policy, prio, &pcparm, 0) == -1) in setprio()
348 if ((pccp = get_parms(idtype, id, &pcparm)) == NULL) in getparam()
376 if (priocntl(idtype, id, PC_DOPRIO, &pcprio) == 0) in getparam()
[all …]
/illumos-gate/usr/src/uts/intel/io/acpica/
H A Dacpi_enum.c716 *np++ = '@' + ((id >> 2) & 0x1F); in eisa_to_str()
717 *np++ = '@' + ((id << 3) & 0x18) + ((id >> 13) & 0x07); in eisa_to_str()
718 *np++ = '@' + ((id >> 8) & 0x1F); in eisa_to_str()
719 *np++ = hextab[(id >> 20) & 0x0F]; in eisa_to_str()
720 *np++ = hextab[(id >> 16) & 0x0F]; in eisa_to_str()
750 d->id = strdup(tmp_cidstr); in process_cids()
779 uint_t id; in convert_to_pnp1275() local
923 d->id = strdup(tmp_cidstr); in isa_acpi_callback()
946 d->id = strdup(hidstr); in isa_acpi_callback()
1006 if (d->id != NULL) in isa_acpi_callback()
[all …]
/illumos-gate/usr/src/lib/libshare/common/
H A Dscfutil.c487 vallen = strlen(id); in sa_share_from_pgroup()
642 char *id = NULL; in find_share_by_id() local
652 if (id != NULL && strcmp(id, shareid) == 0) { in find_share_by_id()
654 id = NULL; in find_share_by_id()
658 if (id != NULL) { in find_share_by_id()
660 id = NULL; in find_share_by_id()
677 char *id; in find_resource_by_index() local
683 if (id != NULL) { in find_resource_by_index()
728 vallen = strlen(id); in sa_share_props_from_pgroup()
1820 char *id; in remove_resources() local
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddsl_deleg.c434 uint64_t id; in dsl_check_user_access() local
437 id = crgetuid(cr); in dsl_check_user_access()
439 ZFS_DELEG_USER, checkflag, &id, perm) == 0) in dsl_check_user_access()
443 id = crgetgid(cr); in dsl_check_user_access()
449 id = -1; in dsl_check_user_access()
458 id = gids[i]; in dsl_check_user_access()
516 uint64_t id; in dsl_load_user_sets() local
518 id = crgetuid(cr); in dsl_load_user_sets()
520 ZFS_DELEG_USER_SETS, checkflag, &id, avl); in dsl_load_user_sets()
522 id = crgetgid(cr); in dsl_load_user_sets()
[all …]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dmc-us3.c618 mcseg->id = seg->seg_node.id; in mc_ioctl()
632 i, bank->bank_node.id)); in mc_ioctl()
708 "%d\n", mcdevgrp.id)); in mc_ioctl()
822 mccontrol->id = mcport->mctrl_node.id; in mc_ioctl()
1139 bankid = bank->bank_node.id; in mc_get_mem_unum()
1538 dev->dev_node.id = dmidx; in mc_construct()
1547 dgrp->dgrp_node.id = idx; in mc_construct()
1748 seg_curr->seg_node.id)); in mlayout_add()
1994 node->id, id)); in mc_node_get()
1995 if (node->id == id) in mc_node_get()
[all …]

12345678910>>...82