Home
last modified time | relevance | path

Searched refs:id (Results 1 – 25 of 2047) sorted by relevance

12345678910>>...82

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_file.c68 #define KTPRIVATE(id) ((krb5_ktfile_data *)(id)->data) argument
69 #define KTFILENAME(id) (((krb5_ktfile_data *)(id)->data)->name) argument
70 #define KTFILEP(id) (((krb5_ktfile_data *)(id)->data)->openf) argument
195 if ((*id = (krb5_keytab) malloc(sizeof(**id))) == NULL) in krb5_ktfile_resolve()
275 KTUNLOCK(id); in krb5_ktfile_get_entry()
397 KTUNLOCK(id); in krb5_ktfile_get_entry()
402 KTUNLOCK(id); in krb5_ktfile_get_entry()
458 KTUNLOCK(id); in krb5_ktfile_start_seq_get()
464 KTUNLOCK(id); in krb5_ktfile_start_seq_get()
1091 KTFILEP(id) = fopen(KTFILENAME(id), in krb5_ktfileint_open()
[all …]
H A Dkt_srvtab.c57 #define KTPRIVATE(id) ((krb5_ktsrvtab_data *)(id)->data) argument
58 #define KTFILENAME(id) (((krb5_ktsrvtab_data *)(id)->data)->name) argument
59 #define KTFILEP(id) (((krb5_ktsrvtab_data *)(id)->data)->openf) argument
133 if ((*id = (krb5_keytab) malloc(sizeof(**id))) == NULL) in krb5_ktsrvtab_resolve()
139 krb5_xfree(*id); in krb5_ktsrvtab_resolve()
146 krb5_xfree(*id); in krb5_ktsrvtab_resolve()
175 id->ops = 0; in krb5_ktsrvtab_close()
176 krb5_xfree(id); in krb5_ktsrvtab_close()
427 KTFILEP(id) = fopen(KTFILENAME(id), READ_MODE); in krb5_ktsrvint_open()
428 if (!KTFILEP(id)) in krb5_ktsrvint_open()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drcfns.c39 return krb5_x(id->ops->init,(context, id, span)); in krb5_rc_initialize()
46 return krb5_x(id->ops->recover_or_init,(context, id, span)); in krb5_rc_recover_or_initialize()
52 return krb5_x((id)->ops->recover,(context, id)); in krb5_rc_recover()
58 return krb5_x((id)->ops->destroy,(context, id)); in krb5_rc_destroy()
62 krb5_rc_close (krb5_context context, krb5_rcache id) in krb5_rc_close() argument
64 return krb5_x((id)->ops->close,(context, id)); in krb5_rc_close()
71 return krb5_x((id)->ops->store,(context, id, dontreplay)); in krb5_rc_store()
77 return krb5_x((id)->ops->expunge,(context, id)); in krb5_rc_expunge()
84 return krb5_x((id)->ops->get_span,(context, id, spanp)); in krb5_rc_get_lifespan()
90 return krb5_xc((id)->ops->get_name,(context, id)); in krb5_rc_get_name()
[all …]
H A Drc_mem.c106 krb5_rcache id, in krb5_rc_mem_get_span() argument
117 k5_mutex_unlock(&id->lock); in krb5_rc_mem_get_span()
124 k5_mutex_unlock(&id->lock); in krb5_rc_mem_get_span()
149 k5_mutex_unlock(&id->lock); in krb5_rc_mem_init()
156 k5_mutex_unlock(&id->lock); in krb5_rc_mem_init()
232 id->data = NULL; in krb5_rc_mem_resolve()
272 k5_mutex_unlock(&id->lock); in krb5_rc_mem_store()
279 k5_mutex_unlock(&id->lock); in krb5_rc_mem_store()
283 k5_mutex_unlock(&id->lock); in krb5_rc_mem_store()
287 k5_mutex_unlock(&id->lock); in krb5_rc_mem_store()
[all …]
H A Drc_file.c112 k5_mutex_unlock(&id->lock); in krb5_rc_file_get_span()
144 k5_mutex_unlock(&id->lock); in krb5_rc_file_init()
169 id->data = NULL; in krb5_rc_file_close_no_free()
181 k5_mutex_unlock(&id->lock); in krb5_rc_file_close()
183 free(id); in krb5_rc_file_close()
236 id->data = NULL; in krb5_rc_file_resolve()
619 k5_mutex_unlock(&id->lock); in krb5_rc_file_store()
622 k5_mutex_unlock(&id->lock); in krb5_rc_file_store()
625 k5_mutex_unlock(&id->lock); in krb5_rc_file_store()
632 k5_mutex_unlock(&id->lock); in krb5_rc_file_store()
[all …]
H A Drc_base.c125 (*id)->ops = t->ops; in krb5_rc_resolve_type()
133 return id->ops->type; in krb5_rc_get_type()
161 if (!(*id = (krb5_rcache )malloc(sizeof(**id)))) in krb5_rc_default()
166 FREE_RC(*id); in krb5_rc_default()
171 k5_mutex_destroy(&(*id)->lock); in krb5_rc_default()
172 FREE_RC(*id); in krb5_rc_default()
175 (*id)->magic = KV5M_RCACHE; in krb5_rc_default()
196 if (!(*id = (krb5_rcache) malloc(sizeof(**id)))) { in krb5_rc_resolve_full()
203 FREE_RC(*id); in krb5_rc_resolve_full()
209 FREE_RC(*id); in krb5_rc_resolve_full()
[all …]
/illumos-gate/usr/src/lib/libbsm/
H A Dauditxml.pm36 my $id = shift;
187 my $id = shift;
249 my $id = shift;
611 my $id = shift;
618 my $id = shift;
657 return ($id, $msg_list{$id});
668 my $id = shift;
685 unless ($id) {
696 $event{$id} = new eventDef($id, $obj, $super);
761 $token{$id} = new tokenDef($obj, $id);
[all …]
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dos.c484 rc = findLockInfo(id->fd, &id->pLock, &id->pOpen); in sqliteOsOpenReadWrite()
520 id->h = h; in sqliteOsOpenReadWrite()
605 rc = findLockInfo(id->fd, &id->pLock, &id->pOpen); in sqliteOsOpenExclusive()
640 id->h = h; in sqliteOsOpenExclusive()
692 rc = findLockInfo(id->fd, &id->pLock, &id->pOpen); in sqliteOsOpenReadOnly()
915 if( id->dirfd>=0 ) close(id->dirfd); in sqliteOsClose()
1330 }else if( id->locked || id->pLock->cnt==0 ){
1391 if( id->locked>0 || id->refNumRF == -1 ){
1441 if( id->pLock->cnt==0 || (id->pLock->cnt==1 && id->locked==1) ){
1500 if( id->locked<0 || id->refNumRF == -1 ){
[all …]
/illumos-gate/usr/src/lib/print/libipp-core/common/
H A Dstrings.c273 if (id < VTAG_MAX) in ipp_tag_string()
274 (void) strlcpy(ret, tag_strings[id], len); in ipp_tag_string()
275 else if (id == VTAG_EXTEND) in ipp_tag_string()
286 if (id < OPID_RESERVED_MIN) in ipp_opid_string()
287 (void) strlcpy(ret, opid_strings[id], len); in ipp_opid_string()
288 else if (id < OPID_RESERVED_VENDOR_MIN) in ipp_opid_string()
290 else if (id <= KNOWN_RESERVED_MAX) in ipp_opid_string()
318 if (id <= IPP_OK_MAX) in ipp_status_string()
320 else if (id >= IPP_REDIR_MIN && id <= IPP_REDIR_MAX) in ipp_status_string()
323 else if (id >= IPP_CERR_MIN && id <= IPP_CERR_MAX) in ipp_status_string()
[all …]
/illumos-gate/usr/src/uts/i86pc/sys/
H A Ddrmach.h108 extern sbd_error_t *drmach_release(drmachid_t id);
116 extern sbd_error_t *drmach_passthru(drmachid_t id,
126 extern sbd_error_t *drmach_board_poweron(drmachid_t id);
129 extern sbd_error_t *drmach_board_connect(drmachid_t id,
133 extern sbd_error_t *drmach_board_deprobe(drmachid_t id);
143 extern sbd_error_t *drmach_io_unrelease(drmachid_t id);
152 extern sbd_error_t *drmach_mem_enable(drmachid_t id);
153 extern sbd_error_t *drmach_mem_disable(drmachid_t id);
154 extern sbd_error_t *drmach_mem_add_span(drmachid_t id,
156 extern sbd_error_t *drmach_mem_del_span(drmachid_t id,
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_file.c268 #define OPENCLOSE(id) (((krb5_fcc_data *)id->data)->flags & KRB5_TC_OPENCLOSE) argument
1706 krb5_xfree(id); in krb5_fcc_close()
1733 if (OPENCLOSE(id)) { in krb5_fcc_destroy()
1772 if (OPENCLOSE(id)) { in krb5_fcc_destroy()
1788 if (OPENCLOSE(id)) { in krb5_fcc_destroy()
1799 if (OPENCLOSE(id)) { in krb5_fcc_destroy()
1822 if (OPENCLOSE(id)) { in krb5_fcc_destroy()
1840 krb5_xfree(id); in krb5_fcc_destroy()
1954 *id = lid; in krb5_fcc_resolve()
2296 *id = lid; in krb5_fcc_generate_new()
[all …]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dldc.c784 D2(ldcp->id, in i_ldc_clear_intr()
1726 D2(ldcp->id, in i_ldc_process_RTR()
1734 D1(ldcp->id, "(0x%llx) Handshake Complete\n", ldcp->id); in i_ldc_process_RTR()
2575 DWARN(id, "ldc_init: (0x%llx) invalid attr\n", id); in ldc_init()
2579 DWARN(id, "ldc_init: (0x%llx) invalid handle\n", id); in ldc_init()
2594 if (ldcp->id == id) { in ldc_init()
2596 id); in ldc_init()
2631 ldcp->id = id; in ldc_init()
2644 D1(ldcp->id, in ldc_init()
2841 id = ldcp->id; in ldc_fini()
[all …]
/illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/
H A Ddrmach_acpi.h51 #define DRMACH_OBJ(id) ((drmach_common_t *)id) argument
53 #define DRMACH_NULL_ID(id) ((id) == 0) argument
56 ((id != 0) && (DRMACH_OBJ(id)->isa == (void *)drmach_board_new))
58 #define DRMACH_IS_CPU_ID(id) \ argument
59 ((id != 0) && (DRMACH_OBJ(id)->isa == (void *)drmach_cpu_new))
61 #define DRMACH_IS_MEM_ID(id) \ argument
62 ((id != 0) && (DRMACH_OBJ(id)->isa == (void *)drmach_mem_new))
64 #define DRMACH_IS_IO_ID(id) \ argument
65 ((id != 0) && (DRMACH_OBJ(id)->isa == (void *)drmach_io_new))
68 ((id != 0) && \
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import_all_001_pos.ksh52 typeset -i id=0
76 typeset -i id=0
89 while (( id < number )); do
91 (( id = id + 1 ))
95 if (( id == 0 )); then
111 (( id = id + 1 ))
121 typeset -i id=0
126 if (( id == 2 )); then
127 (( id = id + 1 ))
131 if (( id == 0 )); then
[all …]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_idspace.c183 return (id >= ids->ids_minid && id <= ids->ids_maxid); in fmd_idspace_valid()
192 if (id < ids->ids_minid || id > ids->ids_maxid) { in fmd_idspace_xalloc_locked()
211 return (id); in fmd_idspace_xalloc_locked()
218 id = fmd_idspace_xalloc_locked(ids, id, data); in fmd_idspace_xalloc()
220 return (id); in fmd_idspace_xalloc()
226 id_t id; in fmd_idspace_alloc_locked() local
239 return (id); in fmd_idspace_alloc_locked()
245 id_t id; in fmd_idspace_alloc() local
251 return (id); in fmd_idspace_alloc()
262 id_t id; in fmd_idspace_alloc_min() local
[all …]
/illumos-gate/usr/src/uts/sun4u/opl/sys/
H A Ddrmach.h296 extern void drmach_copy_rename(drmachid_t id);
304 extern sbd_error_t *drmach_board_connect(drmachid_t id,
306 extern sbd_error_t *drmach_board_deprobe(drmachid_t id);
312 extern sbd_error_t *drmach_passthru(drmachid_t id,
318 extern sbd_error_t *drmach_board_poweron(drmachid_t id);
337 extern sbd_error_t *drmach_io_unrelease(drmachid_t id);
339 extern sbd_error_t *drmach_mem_add_span(drmachid_t id,
341 extern sbd_error_t *drmach_mem_del_span(drmachid_t id,
343 extern sbd_error_t *drmach_mem_disable(drmachid_t id);
344 extern sbd_error_t *drmach_mem_enable(drmachid_t id);
[all …]
/illumos-gate/usr/src/uts/common/c2/
H A Daudit_path.c141 if (id > 1 && s[id-1] == '/') { in audit_fixpath()
143 --id; in audit_fixpath()
157 s[id++] = c; in audit_fixpath()
163 if (id > 1) in audit_fixpath()
164 id--; in audit_fixpath()
182 is += id; in audit_fixpath()
183 id--; in audit_fixpath()
189 id--; in audit_fixpath()
190 while (id > 0 && s[id - 1] != '/') in audit_fixpath()
191 id--; in audit_fixpath()
[all …]
/illumos-gate/usr/src/common/devid/
H A Ddevid.c70 type = DEVID_GETTYPE(id); in ddi_devid_valid()
90 if (id == NULL) in ddi_devid_sizeof()
91 return (sizeof (*id) - sizeof (id->did_id)); in ddi_devid_sizeof()
95 return (sizeof (*id) + DEVID_GETLEN(id) - sizeof (id->did_id)); in ddi_devid_sizeof()
248 *dsp++ = id->did_magic_hi; in ddi_devid_str_encode()
249 *dsp++ = id->did_magic_lo; in ddi_devid_str_encode()
332 if (id != NULL) in devid_str_decode_id()
385 devid_len = id_len + sizeof (*id) - sizeof (id->did_id); in devid_str_decode_id()
401 id->did_rev_hi = 0; in devid_str_decode_id()
402 id->did_rev_lo = in devid_str_decode_id()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dstrgid.c58 int id; member
75 int id; in strgid() local
87 return ip->id; in strgid()
89 id = gr->gr_gid; in strgid()
91 id = pw->pw_gid; in strgid()
99 id = -1; in strgid()
102 id = -1; in strgid()
108 id = -1; in strgid()
111 id = -1; in strgid()
117 ip->id = id >= 0 ? id : -2; in strgid()
[all …]
H A Dstruid.c54 int id; member
69 int id; in struid() local
81 return ip->id; in struid()
83 id = pw->pw_uid; in struid()
90 if (!getpwuid(id)) in struid()
91 id = -1; in struid()
94 id = pw->pw_uid; in struid()
96 id = -1; in struid()
99 id = -1; in struid()
105 ip->id = id >= 0 ? id : -2; in struid()
[all …]
/illumos-gate/usr/src/cmd/ipcrm/
H A Dipcrm.c140 return (id); in msggetid()
157 return (id); in msggetid()
164 int id, i; in msggetkey() local
175 return (id); in msggetkey()
204 return (id); in semgetid()
222 return (id); in semgetid()
229 int id, i; in semgetkey() local
253 int id; in semgetkey() local
289 return (id); in shmgetid()
296 int id, i; in shmgetkey() local
[all …]
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/rdma/
H A Drdma_cm.h132 typedef int (*rdma_cm_event_handler)(struct rdma_cm_id *id,
170 void rdma_map_id2qphdl(struct rdma_cm_id *id, void *qp_hdl);
180 void rdma_destroy_id(struct rdma_cm_id *id);
193 int rdma_bind_addr(struct rdma_cm_id *id, struct sockaddr *addr);
216 int rdma_resolve_route(struct rdma_cm_id *id, int timeout_ms);
261 int rdma_listen(struct rdma_cm_id *id, int backlog);
298 int rdma_reject(struct rdma_cm_id *id, const void *private_data,
305 int rdma_disconnect(struct rdma_cm_id *id);
336 void rdma_set_service_type(struct rdma_cm_id *id, int tos);
346 int rdma_create_qp(struct rdma_cm_id *id, struct ib_pd *pd,
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcpolicy/
H A Dpsvcpolicy.c517 err = psvc_get_attr(hdlp, id, in psvc_fan_fault_check_policy_0()
691 "%s_FAULT_SENSOR", id); in check_i2c_access()
835 "%s_LOGICAL_STATE", id); in handle_ps_hotplug()
892 "%s_LOGICAL_STATE", id); in check_ps_state()
944 "shutdown!"), id, id); in check_ps_state()
1011 id); in check_ps_state()
1014 id, sensor_id); in check_ps_state()
1077 id); in check_ps_state()
1080 id, sensor); in check_ps_state()
1285 err = check_ps_state(hdlp, id); in psvc_ps_monitor_policy_0()
[all …]
/illumos-gate/usr/src/lib/sun_fc/common/
H A DHandle.cc82 id = prevOpen + 1; in Handle()
86 id = 1; in Handle()
92 id ++; in Handle()
94 if (id == prevOpen) { in Handle()
99 prevOpen = id; in Handle()
101 openHandles[id] = this; in Handle()
132 id = prevTgtOpen + 1;
139 id = 0x8001;
145 id ++;
152 prevTgtOpen = id;
[all …]
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/sol_uverbs/
H A Dsol_uverbs.h363 uverbs_uobj_get_upd_read(uint32_t id) in uverbs_uobj_get_upd_read() argument
369 uverbs_uobj_get_upd_write(uint32_t id) in uverbs_uobj_get_upd_write() argument
375 uverbs_uobj_get_umr_read(uint32_t id) in uverbs_uobj_get_umr_read() argument
381 uverbs_uobj_get_umr_write(uint32_t id) in uverbs_uobj_get_umr_write() argument
387 uverbs_uobj_get_ucq_read(uint32_t id) in uverbs_uobj_get_ucq_read() argument
393 uverbs_uobj_get_ucq_write(uint32_t id) in uverbs_uobj_get_ucq_write() argument
399 uverbs_uobj_get_usrq_read(uint32_t id) in uverbs_uobj_get_usrq_read() argument
411 uverbs_uobj_get_uah_read(uint32_t id) in uverbs_uobj_get_uah_read() argument
417 uverbs_uobj_get_uah_write(uint32_t id) in uverbs_uobj_get_uah_write() argument
423 uverbs_uobj_get_uqp_read(uint32_t id) in uverbs_uobj_get_uqp_read() argument
[all …]

12345678910>>...82