Home
last modified time | relevance | path

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

12345678910>>...74

/titanic_44/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
71 #define KTFILEBUFP(id) (((krb5_ktfile_data *)(id)->data)->iobuf) argument
72 #define KTVERSION(id) (((krb5_ktfile_data *)(id)->data)->version) argument
73 #define KTLOCK(id) k5_mutex_lock(&((krb5_ktfile_data *)(id)->data)->lock) argument
74 #define KTUNLOCK(id) k5_mutex_unlock(&((krb5_ktfile_data *)(id)->data)->lock) argument
75 #define KTCHECKLOCK(id) k5_mutex_assert_locked(&((krb5_ktfile_data *)(id)->data)->lock) argument
190 krb5_ktfile_resolve(krb5_context context, const char *name, krb5_keytab *id) in krb5_ktfile_resolve() argument
195 if ((*id = (krb5_keytab) malloc(sizeof(**id))) == NULL) in krb5_ktfile_resolve()
[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
121 krb5_ktsrvtab_resolve(krb5_context context, const char *name, krb5_keytab *id) in krb5_ktsrvtab_resolve() argument
133 if ((*id = (krb5_keytab) malloc(sizeof(**id))) == NULL) in krb5_ktsrvtab_resolve()
136 (*id)->ops = &krb5_kts_ops; in krb5_ktsrvtab_resolve()
139 krb5_xfree(*id); in krb5_ktsrvtab_resolve()
146 krb5_xfree(*id); in krb5_ktsrvtab_resolve()
153 (*id)->data = (krb5_pointer)data; in krb5_ktsrvtab_resolve()
154 (*id)->magic = KV5M_KEYTAB; in krb5_ktsrvtab_resolve()
[all …]
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drcfns.c37 krb5_rc_initialize (krb5_context context, krb5_rcache id, krb5_deltat span) in krb5_rc_initialize() argument
39 return krb5_x(id->ops->init,(context, id, span)); in krb5_rc_initialize()
43 krb5_rc_recover_or_initialize (krb5_context context, krb5_rcache id, in krb5_rc_recover_or_initialize() argument
46 return krb5_x(id->ops->recover_or_init,(context, id, span)); in krb5_rc_recover_or_initialize()
50 krb5_rc_recover (krb5_context context, krb5_rcache id) in krb5_rc_recover() argument
52 return krb5_x((id)->ops->recover,(context, id)); in krb5_rc_recover()
56 krb5_rc_destroy (krb5_context context, krb5_rcache id) in krb5_rc_destroy() argument
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()
[all …]
H A Drc_mem.c34 rc_store(krb5_context context, krb5_rcache id, krb5_donot_replay *rep) in rc_store() argument
36 struct mem_data *t = (struct mem_data *)id->data; in rc_store()
97 krb5_rc_mem_get_name(krb5_context context, krb5_rcache id) in krb5_rc_mem_get_name() argument
99 return (((struct mem_data *)(id->data))->name); in krb5_rc_mem_get_name()
106 krb5_rcache id, in krb5_rc_mem_get_span() argument
112 err = k5_mutex_lock(&id->lock); in krb5_rc_mem_get_span()
117 k5_mutex_unlock(&id->lock); in krb5_rc_mem_get_span()
120 t = (struct mem_data *) id->data; in krb5_rc_mem_get_span()
124 k5_mutex_unlock(&id->lock); in krb5_rc_mem_get_span()
129 krb5_rc_mem_init_locked(krb5_context context, krb5_rcache id, krb5_deltat lifespan) in krb5_rc_mem_init_locked() argument
[all …]
H A Drc_file.c39 rc_store(krb5_context context, krb5_rcache id, krb5_donot_replay *rep) in rc_store() argument
41 struct file_data *t = (struct file_data *)id->data; in rc_store()
94 krb5_rc_file_get_name(krb5_context context, krb5_rcache id) in krb5_rc_file_get_name() argument
96 return ((struct file_data *) (id->data))->name; in krb5_rc_file_get_name()
101 krb5_rc_file_get_span(krb5_context context, krb5_rcache id, in krb5_rc_file_get_span() argument
107 err = k5_mutex_lock(&id->lock); in krb5_rc_file_get_span()
110 t = (struct file_data *) id->data; in krb5_rc_file_get_span()
112 k5_mutex_unlock(&id->lock); in krb5_rc_file_get_span()
117 krb5_rc_file_init_locked(krb5_context context, krb5_rcache id, krb5_deltat lifespan) in krb5_rc_file_init_locked() argument
119 struct file_data *t = (struct file_data *)id->data; in krb5_rc_file_init_locked()
[all …]
/titanic_44/usr/src/lib/libbsm/
H A Dauditxml.pm36 my $id = shift;
75 print STDERR "no external attributes defined for $id/$kidId\n";
81 print STDERR "missing id for internal name of $id\n";
91 return bless {'id' => $id,
133 my $id = shift @{$pkg->{'entryList'}};
135 return ($pkg->getEntry($id)); # getEntry returns an array
149 my $id = shift; #entry id
152 my $array = $$ref{$id};
187 my $id = shift;
201 my $id = $kid->getAttr('id');
[all …]
/titanic_44/usr/src/uts/sun4u/starcat/sys/
H A Ddrmach.h94 extern sbd_error_t *drmach_copy_rename_fini(drmachid_t id);
95 extern void drmach_copy_rename(drmachid_t id);
97 extern sbd_error_t *drmach_pre_op(int cmd, drmachid_t id,
99 extern sbd_error_t *drmach_post_op(int cmd, drmachid_t id,
102 extern sbd_error_t *drmach_board_assign(int bnum, drmachid_t *id);
103 extern sbd_error_t *drmach_board_connect(drmachid_t id,
105 extern sbd_error_t *drmach_board_deprobe(drmachid_t id);
106 extern sbd_error_t *drmach_board_disconnect(drmachid_t id,
108 extern sbd_error_t *drmach_board_find_devices(drmachid_t id, void *a,
110 extern int drmach_board_lookup(int bnum, drmachid_t *id);
[all …]
/titanic_44/usr/src/uts/sun4u/starfire/sys/
H A Ddrmach.h85 extern sbd_error_t *drmach_copy_rename_fini(drmachid_t id);
86 extern void drmach_copy_rename(drmachid_t id);
88 extern sbd_error_t *drmach_pre_op(int cmd, drmachid_t id,
90 extern sbd_error_t *drmach_post_op(int cmd, drmachid_t id,
93 extern sbd_error_t *drmach_board_assign(int bnum, drmachid_t *id);
94 extern sbd_error_t *drmach_board_connect(drmachid_t id,
96 extern sbd_error_t *drmach_board_deprobe(drmachid_t id);
97 extern sbd_error_t *drmach_board_disconnect(drmachid_t id,
99 extern sbd_error_t *drmach_board_find_devices(drmachid_t id, void *a,
101 extern int drmach_board_lookup(int bnum, drmachid_t *id);
[all …]
/titanic_44/usr/src/lib/libsqlite/src/
H A Dos.c462 OsFile *id, in sqliteOsOpenReadWrite() argument
467 id->dirfd = -1; in sqliteOsOpenReadWrite()
468 id->fd = open(zFilename, O_RDWR|O_CREAT|O_LARGEFILE|O_BINARY, 0644); in sqliteOsOpenReadWrite()
469 if( id->fd<0 ){ in sqliteOsOpenReadWrite()
475 id->fd = open(zFilename, O_RDONLY|O_LARGEFILE|O_BINARY); in sqliteOsOpenReadWrite()
476 if( id->fd<0 ){ in sqliteOsOpenReadWrite()
484 rc = findLockInfo(id->fd, &id->pLock, &id->pOpen); in sqliteOsOpenReadWrite()
487 close(id->fd); in sqliteOsOpenReadWrite()
490 id->locked = 0; in sqliteOsOpenReadWrite()
491 TRACE3("OPEN %-3d %s\n", id->fd, zFilename); in sqliteOsOpenReadWrite()
[all …]
/titanic_44/usr/src/lib/print/libipp-core/common/
H A Dstrings.c271 ipp_tag_string(int8_t id, char *ret, size_t len) in ipp_tag_string() argument
273 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()
278 (void) snprintf(ret, len, "bogus-0x%.2x", id); in ipp_tag_string()
284 ipp_opid_string(int16_t id, char *ret, size_t len) in ipp_opid_string() argument
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()
289 (void) snprintf(ret, len, "reserved-0x%.4x", id); in ipp_opid_string()
[all …]
/titanic_44/usr/src/uts/i86pc/sys/
H A Ddrmach.h107 extern sbd_error_t *drmach_get_dip(drmachid_t id, dev_info_t **dip);
108 extern sbd_error_t *drmach_release(drmachid_t id);
109 extern sbd_error_t *drmach_pre_op(int cmd, drmachid_t id,
111 extern sbd_error_t *drmach_post_op(int cmd, drmachid_t id,
113 extern sbd_error_t *drmach_configure(drmachid_t id, int flags);
114 extern sbd_error_t *drmach_unconfigure(drmachid_t id, int flags);
115 extern sbd_error_t *drmach_status(drmachid_t id, drmach_status_t *stat);
116 extern sbd_error_t *drmach_passthru(drmachid_t id,
119 extern sbd_error_t *drmach_board_find_devices(drmachid_t id, void *a,
121 extern int drmach_board_lookup(int bnum, drmachid_t *id);
[all …]
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_file.c109 (krb5_context, krb5_ccache id);
112 (krb5_context, krb5_ccache id);
115 (krb5_context, krb5_ccache id, krb5_cc_cursor *cursor);
118 (krb5_context, krb5_ccache *id);
121 (krb5_context, krb5_ccache id);
124 (krb5_context, krb5_ccache id, krb5_principal *princ);
127 (krb5_context, krb5_ccache id, krb5_principal princ);
130 (krb5_context, krb5_ccache id, krb5_cc_cursor *cursor,
134 (krb5_context, krb5_ccache id, krb5_pointer buf, unsigned int len);
136 (krb5_context, krb5_ccache id, krb5_principal *princ);
[all …]
/titanic_44/usr/src/uts/sun4v/io/
H A Dldc.c247 ldcdebug(int64_t id, const char *fmt, ...) in ldcdebug() argument
258 if ((id != DBG_ALL_LDCS) && in ldcdebug()
260 (ldcdbgchan != id)) { in ldcdebug()
279 if ((ldcdbgchan != DBG_ALL_LDCS) && (ldcdbgchan != ldcp->id)) in ldc_inject_error()
303 #define DUMP_PAYLOAD(id, addr) \ argument
311 D2((id), "payload: %s", buf); \
319 D2((c)->id, "%s: msg%d (/%x/%x/%x/,env[%c%c,sz=%d])", \
325 D2((c)->id, "%s: msg%d (/%x/%x/%x/,env=%x)", (s), \
344 #define DUMP_PAYLOAD(id, addr) argument
361 uint64_t, ldcp->id, \
[all …]
/titanic_44/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
55 #define DRMACH_IS_BOARD_ID(id) \ 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))
[all …]
/titanic_44/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
90 if ! poolexists ${TESTPOOL}-$id ; then
91 (( id = id + 1 ))
95 if (( id == 0 )); then
96 log_must $ZPOOL export ${TESTPOOL}-$id
98 [[ -d /${TESTPOOL}-$id ]] && \
99 log_must $RM -rf /${TESTPOOL}-$id
101 log_must $ZPOOL import -f ${TESTPOOL}-$id $TESTPOOL
[all …]
/titanic_44/usr/src/cmd/fm/fmd/common/
H A Dfmd_idspace.c120 fmd_idspace_lookup(fmd_idspace_t *ids, id_t id) in fmd_idspace_lookup() argument
125 ide = ids->ids_hash[id & (ids->ids_hashlen - 1)]; in fmd_idspace_lookup()
128 if (ide->ide_id == id) in fmd_idspace_lookup()
136 fmd_idspace_getspecific(fmd_idspace_t *ids, id_t id) in fmd_idspace_getspecific() argument
142 ide = fmd_idspace_lookup(ids, id); in fmd_idspace_getspecific()
150 fmd_idspace_setspecific(fmd_idspace_t *ids, id_t id, void *data) in fmd_idspace_setspecific() argument
159 if ((ide = fmd_idspace_lookup(ids, id)) == NULL) { in fmd_idspace_setspecific()
161 (void *)ids, ids->ids_name, id); in fmd_idspace_setspecific()
169 fmd_idspace_contains(fmd_idspace_t *ids, id_t id) in fmd_idspace_contains() argument
174 ide = fmd_idspace_lookup(ids, id); in fmd_idspace_contains()
[all …]
/titanic_44/usr/src/cmd/ssh/sftp/
H A Dsftp-client.c121 send_string_request(int fd, u_int id, u_int code, char *s, in send_string_request() argument
128 buffer_put_int(&msg, id); in send_string_request()
131 debug3("Sent message fd %d T:%u I:%u", fd, code, id); in send_string_request()
136 send_string_attrs_request(int fd, u_int id, u_int code, char *s, in send_string_attrs_request() argument
143 buffer_put_int(&msg, id); in send_string_attrs_request()
147 debug3("Sent message fd %d T:%u I:%u", fd, code, id); in send_string_attrs_request()
155 u_int type, id, status; in get_status() local
160 id = buffer_get_int(&msg); in get_status()
162 if (id != expected_id) in get_status()
163 fatal("ID mismatch (%u != %u)", id, expected_id); in get_status()
[all …]
/titanic_44/usr/src/uts/common/c2/
H A Daudit_path.c125 int id; /* index of where we are in destination string */ in audit_fixpath() local
138 for (id = is; ; is++) { in audit_fixpath()
141 if (id > 1 && s[id-1] == '/') { in audit_fixpath()
143 --id; in audit_fixpath()
145 s[id++] = '\0'; in audit_fixpath()
157 s[id++] = c; in audit_fixpath()
163 if (id > 1) in audit_fixpath()
164 id--; in audit_fixpath()
175 if (id == 0 && cnt > 1) { in audit_fixpath()
181 id = s_attr - s; in audit_fixpath()
[all …]
/titanic_44/usr/src/uts/sun4u/opl/sys/
H A Ddrmach.h295 extern sbd_error_t *drmach_copy_rename_fini(drmachid_t id);
296 extern void drmach_copy_rename(drmachid_t id);
298 extern sbd_error_t *drmach_pre_op(int cmd, drmachid_t id,
300 extern sbd_error_t *drmach_post_op(int cmd, drmachid_t id,
303 extern sbd_error_t *drmach_board_assign(int bnum, 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);
307 extern sbd_error_t *drmach_board_disconnect(drmachid_t id,
309 extern sbd_error_t *drmach_board_find_devices(drmachid_t id, void *a,
311 extern int drmach_board_lookup(int bnum, drmachid_t *id);
[all …]
/titanic_44/usr/src/common/devid/
H A Ddevid.c37 char **minor_namep, impl_devid_t *id);
50 impl_devid_t *id = (impl_devid_t *)devid; in ddi_devid_valid() local
55 if (id->did_magic_hi != DEVID_MAGIC_MSB) in ddi_devid_valid()
58 if (id->did_magic_lo != DEVID_MAGIC_LSB) in ddi_devid_valid()
61 if (id->did_rev_hi != DEVID_REV_MSB) in ddi_devid_valid()
64 if (id->did_rev_lo != DEVID_REV_LSB) in ddi_devid_valid()
67 type = DEVID_GETTYPE(id); in ddi_devid_valid()
85 impl_devid_t *id = (impl_devid_t *)devid; in ddi_devid_sizeof() local
87 if (id == NULL) in ddi_devid_sizeof()
88 return (sizeof (*id) - sizeof (id->did_id)); in ddi_devid_sizeof()
[all …]
/titanic_44/usr/src/lib/libast/common/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()
94 id = strtol(name, &e, 0); in strgid()
98 if (!getgrgid(id)) in strgid()
99 id = -1; in strgid()
102 id = -1; in strgid()
104 id = gr->gr_gid; 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()
86 id = strtol(name, &e, 0); 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()
98 if (*e || !getpwuid(id)) in struid()
[all …]
/titanic_44/usr/src/cmd/ipcrm/
H A Dipcrm.c136 int id = atol(arg); in msggetid() local
140 return (id); in msggetid()
142 if (msgctl64(id, IPC_STAT64, &qds) < 0) { in msggetid()
157 return (id); in msggetid()
164 int id, i; in msggetkey() local
173 if ((id = msgget(k, 0)) == -1) in msggetkey()
175 return (id); in msggetkey()
182 id = idlist[i]; in msggetkey()
183 if (msgctl64(id, IPC_STAT64, &qds) < 0) in msggetkey()
186 return (id); /* found it, no need to look further */ in msggetkey()
[all …]
/titanic_44/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,
168 void rdma_map_id2clnthdl(struct rdma_cm_id *id, void *ib_client_hdl,
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);
205 int rdma_resolve_addr(struct rdma_cm_id *id, struct sockaddr *src_addr,
216 int rdma_resolve_route(struct rdma_cm_id *id, int timeout_ms);
238 int rdma_init_qp_attr(struct rdma_cm_id *id, struct ib_qp_attr *qp_attr,
252 int rdma_connect(struct rdma_cm_id *id, struct rdma_conn_param *conn_param);
261 int rdma_listen(struct rdma_cm_id *id, int backlog);
[all …]
/titanic_44/usr/src/cmd/ssh/sftp-server/
H A Dsftp-server.c396 send_status(u_int32_t id, u_int32_t status) in send_status() argument
400 debug3("request %u: sent status %u", id, status); in send_status()
406 buffer_put_int(&msg, id); in send_status()
416 send_data_or_handle(char type, u_int32_t id, const char *data, int dlen) in send_data_or_handle() argument
422 buffer_put_int(&msg, id); in send_data_or_handle()
429 send_data(u_int32_t id, const char *data, int dlen) in send_data() argument
431 debug("request %u: sent data len %d", id, dlen); in send_data()
432 send_data_or_handle(SSH2_FXP_DATA, id, data, dlen); in send_data()
436 send_handle(u_int32_t id, int handle) in send_handle() argument
442 debug("request %u: sent handle handle %d", id, handle); in send_handle()
[all …]

12345678910>>...74