Searched defs:handle (Results 101 - 125 of 289) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/libcmd/common/
H A Dtee.c67 * This discipline writes to each file in the list given in handle
71 tee_write(Sfio_t* fp, const void* buf, size_t n, Sfdisc_t* handle) argument
75 register int* hp = ((Tee_t*)handle)->fd;
H A Dvmstate.c65 * handle==0 for heading
69 key(void* handle, Sffmt_t* fp, const char* arg, char** ps, Sflong_t* pn) argument
71 register State_t* state = (State_t*)handle;
134 visit(Vmalloc_t* vm, void* addr, size_t size, Vmdisc_t* disc, void* handle) argument
136 State_t* state = (State_t*)handle;
/osnet-11/usr/src/lib/libdhcpsvc/modules/templates/
H A Ddhcp_network.c38 * ``location'' and initializes ``handlep'' to point to the instance handle.
50 * Frees instance handle, cleans up per instance state.
90 lookup_dn(void *handle, boolean_t partial, uint_t query, int count, argument
98 * referred to by the handle. The underlying public module will set ``addp's''
102 add_dn(void *handle, dn_rec_t *addp) argument
109 * network container referred to by the handle. ``newp's'' signature will
116 modify_dn(void *handle, const dn_rec_t *origp, dn_rec_t *newp) argument
123 * referred to by the handle. If ``pnp's'' signature is zero, the caller
130 delete_dn(void *handle, const dn_rec_t *pnp) argument
H A Ddhcptab.c38 * ``handlep'' to point to the instance handle. When creating a new dhcptab, the
49 * Frees instance handle, cleans up per instance state.
87 lookup_dt(void *handle, boolean_t partial, uint_t query, int count, argument
95 * to by the handle. The underlying public module will set ``addp's'' signature
99 add_dt(void *handle, dt_rec_t *addp) argument
106 * dhcptab container referred to by the handle. ``newp's'' signature will
113 modify_dt(void *handle, const dt_rec_t *origp, dt_rec_t *newp) argument
120 * referred to by the handle. If ``dtp's'' signature is zero, the
128 delete_dt(void *handle, const dt_rec_t *dtp) argument
/osnet-11/usr/src/lib/libdhcpsvc/tests/
H A Dtest_private.c54 dsvc_handle_t handle; local
137 error = open_dd(&handle, &dsp, DSVC_DHCPTAB, "dhcptab",
175 error = add_dd_entry(handle, &recs[i]);
193 error = lookup_dd(handle, B_FALSE, query, -1, &dt, (void **)&resdtp,
209 free_dd_list(handle, resdtp);
214 error = delete_dd_entry(handle, &dt);
230 error = lookup_dd(handle, B_FALSE, query, 1, &dt, (void **)&resdtp,
252 error = modify_dd_entry(handle, dtp, ntp);
254 free_dd(handle, ntp);
257 free_dd_list(handle, resdt
[all...]
/osnet-11/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_policy.c100 kadm5_server_handle_t handle = server_handle; local
162 if (handle->api_version == KADM5_API_VERSION_3) {
181 if ((ret = krb5_db_create_policy(handle->context, &pent)))
190 kadm5_server_handle_t handle = server_handle; local
197 krb5_clear_error_message(handle->context);
203 if((ret = krb5_db_get_policy(handle->context, name, &entry,&cnt)))
209 krb5_db_free_policy(handle->context, entry);
212 krb5_db_free_policy(handle->context, entry);
213 if ((ret = krb5_db_delete_policy(handle->context, name)))
237 kadm5_server_handle_t handle local
308 kadm5_server_handle_t handle = server_handle; local
[all...]
H A Dserver_init.c53 * Purpose: Check a server handle and return a com_err code if it is
58 * handle The server handle.
61 static int check_handle(void *handle) argument
63 CHECK_HANDLE(handle);
67 static int dup_db_args(kadm5_server_handle_t handle, char **db_args) argument
74 handle->db_args = NULL;
78 handle->db_args = calloc(sizeof(char*), count+1);
79 if (handle->db_args == NULL) {
85 handle
103 free_db_args(kadm5_server_handle_t handle) argument
202 kadm5_server_handle_t handle; local
429 kadm5_server_handle_t handle = server_handle; local
449 kadm5_server_handle_t handle = server_handle; local
462 kadm5_server_handle_t handle = server_handle; local
475 kadm5_server_handle_t handle = server_handle; local
491 _kadm5_check_handle(void *handle) argument
515 kadm5_init_iprop(void *handle, char **db_args) argument
[all...]
H A Dserver_misc.c40 adb_policy_init(kadm5_server_handle_t handle) argument
44 if( krb5_db_inited( handle->context ) == 0 )
47 return krb5_db_open( handle->context, NULL,
52 adb_policy_close(kadm5_server_handle_t handle) argument
136 passwd_check(kadm5_server_handle_t handle, argument
179 int i, n = krb5_princ_size(handle->context, principal);
180 cp = krb5_princ_realm(handle->context, principal)->data;
184 cp = krb5_princ_component(handle->context, principal, i)->data;
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dkdb_ldap_conn.c352 * get a single handle. Do not lock the mutex
392 krb5_ldap_server_handle *handle = *ldap_server_handle; local
398 if (strncasecmp(handle->server_info->server_name, "ldapi:", 6) == 0)
403 ldap_unbind_ext_s(handle->ldap_handle, NULL, NULL);
404 if ((ldap_initialize(&handle->ldap_handle, handle->server_info->server_name,
406 || (krb5_ldap_bind(ldap_context, handle) != LDAP_SUCCESS))
/osnet-11/usr/src/lib/libast/common/hash/
H A Dhashlib.h50 void* handle; /* region handle arg */ member in struct:__anon1135
/osnet-11/usr/src/lib/libast/common/string/
H A Dstrexpr.c49 typedef struct /* expression handle */
55 void* handle; /* user convert handle */ member in struct:__anon1186
248 else if (ex->convert) n = (*ex->convert)(ex->nextchr, &ex->nextchr, ex->handle);
264 * (long)(*convert)(const char* string, char** end, void* handle)
274 strexpr(const char* s, char** end, long(*convert)(const char*, char**, void*), void* handle) argument
282 ex.handle = handle;
288 if (convert) (*convert)(NiL, &ex.errmsg, handle);
/osnet-11/usr/src/lib/libstmfproxy/common/
H A Dstmftransport.c59 pt_socket_recv(void *handle, void *buf, size_t len) argument
61 s_handle_t *sh = handle;
67 pt_socket_send(void *handle, void *buf, size_t len) argument
69 s_handle_t *sh = handle;
/osnet-11/usr/src/lib/sun_sas/common/
H A DSun_sasGetPhyStatistics.c33 HBA_STATUS Sun_sasGetPhyStatistics(HBA_HANDLE handle, argument
66 if ((hba_ptr = Retrieve_Sun_sasHandle(handle)) == NULL) {
69 handle, phy);
H A DSun_sasScsiReportLUNs.c66 Sun_sasScsiReportLUNs(HBA_HANDLE handle, HBA_WWN portWWN, HBA_WWN targetPortWWN, argument
106 index = RetrieveIndex(handle);
109 log(LOG_DEBUG, ROUTINE, "Invalid handle %08lx", handle);
184 "%016llx on handle %08lx is not a Target",
185 wwnConversion(targetPortWWN.wwn), handle);
211 "Port %016llx on handle %08lx",
212 wwnConversion(targetPortWWN.wwn), handle);
222 "handle %08lx", wwnConversion(portWWN.wwn), handle);
[all...]
/osnet-11/usr/src/lib/libresolv2/common/nameser/
H A Dns_newmsg.c42 ns_newmsg_init(u_char *buffer, size_t bufsiz, ns_newmsg *handle) { argument
43 ns_msg *msg = &handle->msg;
45 memset(handle, 0, sizeof *handle);
51 handle->dnptrs[0] = msg->_msg;
52 handle->dnptrs[1] = NULL;
53 handle->lastdnptr = &handle->dnptrs[sizeof handle->dnptrs /
54 sizeof handle
61 ns_newmsg_copy(ns_newmsg *handle, ns_msg *msg) argument
101 ns_newmsg_id(ns_newmsg *handle, u_int16_t id) argument
110 ns_newmsg_flag(ns_newmsg *handle, ns_flag flag, u_int value) argument
123 ns_newmsg_q(ns_newmsg *handle, ns_nname_ct qname, ns_type qtype, ns_class qclass) argument
156 ns_newmsg_rr(ns_newmsg *handle, ns_sect sect, ns_nname_ct name, ns_type type, ns_class rr_class, u_int32_t ttl, u_int16_t rdlen, const u_char *rdata) argument
198 ns_newmsg_done(ns_newmsg *handle) argument
220 rdcpy(ns_newmsg *handle, ns_type type, const u_char *rdata, size_t rdlen) argument
[all...]
/osnet-11/usr/src/lib/libscf/common/
H A Dhighlevel.c115 scf_handle_t *handle = NULL; local
120 if ((handle = scf_handle_create(SCF_VERSION)) == NULL ||
121 scf_handle_bind(handle) != 0 ||
122 (inst = scf_instance_create(handle)) == NULL ||
123 scf_handle_decode_fmri(handle, fmri, NULL, NULL,
143 if (handle)
144 (void) scf_handle_unbind(handle);
145 scf_handle_destroy(handle);
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dsleep.c130 static void completed(void * handle) argument
132 char *expired = (char*)handle;
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dtimers.c36 void *handle; member in struct:_timer
162 (*action)(tp->handle);
174 static void oldalrm(void *handle) argument
176 Handler_t fn = *(Handler_t*)handle;
177 free(handle);
181 void *sh_timeradd(unsigned long msec,int flags,void (*action)(void*),void *handle) argument
196 tp->handle = handle;
231 void timerdel(void *handle) argument
233 register Timer_t *tp = (Timer_t*)handle;
[all...]
/osnet-11/usr/src/lib/libsmedia/library/common/
H A Dl_generic.c44 rmedia_handle_t *handle, void *ip, char *func_name);
51 smedia_get_device_info(smedia_handle_t handle, struct smdevice_info *dev_info) argument
55 ret_val = call_function((rmedia_handle_t *)handle,
64 smedia_free_device_info(smedia_handle_t handle, struct smdevice_info *dev_info) argument
68 ret_val = call_function((rmedia_handle_t *)handle,
77 smedia_get_medium_property(smedia_handle_t handle, smmedium_prop_t *med_info) argument
81 ret_val = call_function((rmedia_handle_t *)handle,
89 smedia_set_protection_status(smedia_handle_t handle, struct smwp_state *wp) argument
97 ret_val = call_function((rmedia_handle_t *)handle,
103 smedia_get_protection_status(smedia_handle_t handle, struc argument
113 smedia_format(smedia_handle_t handle, uint32_t flavor, uint32_t mode) argument
126 smedia_raw_read(smedia_handle_t handle, diskaddr_t offset, caddr_t buffer, size_t size) argument
142 smedia_raw_write(smedia_handle_t handle, diskaddr_t offset, caddr_t buffer, size_t size) argument
160 smedia_check_format_status(smedia_handle_t handle) argument
171 smedia_reassign_block(smedia_handle_t handle, diskaddr_t block) argument
181 smedia_eject(smedia_handle_t handle) argument
190 smedia_format_track(smedia_handle_t handle, uint32_t trackno, uint32_t head, uint32_t density) argument
211 smedia_release_handle(smedia_handle_t handle) argument
217 smedia_uscsi_cmd(smedia_handle_t handle, struct uscsi_cmd *cmd) argument
[all...]
H A Dl_misc.c80 is_server_running(rmedia_handle_t *handle) argument
189 handle->sm_clnt = clnt;
196 void *handle; local
234 handle = dlopen(pathname, RTLD_LAZY);
235 if (handle == NULL) {
239 d_fcn_ptr = (int32_t (*)(ushort_t, ushort_t))dlsym(handle,
243 (void) dlclose(handle);
249 v_fcn_ptr = (int32_t (*)(void))dlsym(handle,
253 (void) dlclose(handle);
261 old_handle = handle;
276 call_function(rmedia_handle_t *handle, void *ip, char *func_name) argument
308 release_handle(rmedia_handle_t *handle) argument
335 rmedia_handle_t *handle; local
[all...]
/osnet-11/usr/src/lib/libkmf/libkmf/common/
H A Dmapping.c36 cleanup_mapper(KMF_HANDLE_T handle) argument
38 KMF_MAPPER_RECORD *mapper = &handle->policy->mapper;
54 finalize(handle);
110 kmf_cert_to_name_mapping_initialize(KMF_HANDLE_T handle, int numattr, argument
124 if (handle == NULL)
127 map = &handle->policy->mapper;
250 cleanup_mapper(handle);
266 cleanup_mapper(handle);
277 ret = initialize(handle, map->curoptions);
280 cleanup_mapper(handle);
300 kmf_cert_to_name_mapping_finalize(KMF_HANDLE_T handle) argument
311 kmf_map_cert_to_name(KMF_HANDLE_T handle, KMF_DATA *cert, KMF_DATA *name) argument
336 kmf_match_cert_to_name(KMF_HANDLE_T handle, KMF_DATA *cert, KMF_DATA *name_to_match, KMF_DATA *mapped_name) argument
364 kmf_get_mapper_error_str(KMF_HANDLE_T handle, char **errstr) argument
390 kmf_set_mapper_lasterror(KMF_HANDLE_T handle, uint32_t err) argument
396 kmf_get_mapper_lasterror(KMF_HANDLE_T handle) argument
402 kmf_set_mapper_options(KMF_HANDLE_T handle, void *opts) argument
408 kmf_get_mapper_options(KMF_HANDLE_T handle) argument
[all...]
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dsvc_generic.c77 * If svc_create() is called multiple times, it uses the handle
78 * created earlier instead of creating a new handle every time.
116 void *handle; local
131 if ((handle = __rpc_setconf((char *)nettype)) == NULL) {
135 while (nconf = __rpc_getconf(handle)) {
166 __rpc_endconf(handle);
232 SVCXPRT *xprt = NULL; /* service handle */
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_finddev.c102 struct finddevhdl *handle; local
112 handle = calloc(1, sizeof (struct finddevhdl));
113 if (handle == NULL) {
118 handle->npaths = 0;
119 handle->curpath = 0;
120 handle->paths = NULL;
131 handle->npaths = n;
132 handle->paths = calloc(n, sizeof (char *));
133 if (handle->paths == NULL) {
134 free(handle);
180 struct finddevhdl *handle; local
321 struct finddevhdl *handle = (struct finddevhdl *)arg; local
335 struct finddevhdl *handle = (struct finddevhdl *)arg; local
[all...]
/osnet-11/usr/src/lib/libdladm/common/
H A Dlibdlsim.c45 i_dladm_create_simnet(dladm_handle_t handle, dladm_simnet_attr_t *attrp) argument
59 rc = ioctl(dladm_dld_fd(handle), SIMNET_IOC_CREATE, &ioc);
73 i_dladm_modify_simnet(dladm_handle_t handle, dladm_simnet_attr_t *attrp) argument
83 rc = ioctl(dladm_dld_fd(handle), SIMNET_IOC_MODIFY, &ioc);
92 i_dladm_delete_simnet(dladm_handle_t handle, dladm_simnet_attr_t *attrp) argument
100 rc = ioctl(dladm_dld_fd(handle), SIMNET_IOC_DELETE, &ioc);
104 (void) dladm_destroy_datalink_id(handle, attrp->sna_link_id,
111 i_dladm_get_simnet_info(dladm_handle_t handle, dladm_simnet_attr_t *attrp) argument
120 rc = ioctl(dladm_dld_fd(handle), SIMNET_IOC_INFO, &ioc);
135 i_dladm_get_simnet_info_persist(dladm_handle_t handle, argument
181 dladm_simnet_create(dladm_handle_t handle, const char *simnetname, uint_t media, uint32_t flags) argument
224 i_dladm_simnet_update_conf(dladm_handle_t handle, datalink_id_t simnet_id, datalink_id_t peer_simnet_id) argument
256 dladm_simnet_modify(dladm_handle_t handle, datalink_id_t simnet_id, datalink_id_t peer_simnet_id, uint32_t flags) argument
326 dladm_simnet_delete(dladm_handle_t handle, datalink_id_t simnet_id, uint32_t flags) argument
378 dladm_simnet_info(dladm_handle_t handle, datalink_id_t simnet_id, dladm_simnet_attr_t *attrp, uint32_t flags) argument
413 i_dladm_simnet_up(dladm_handle_t handle, datalink_id_t simnet_id, void *arg) argument
457 dladm_simnet_up(dladm_handle_t handle, datalink_id_t simnet_id, uint32_t flags) argument
475 i_dladm_simnet_down(dladm_handle_t handle, datalink_id_t simnet_id, void *arg) argument
497 dladm_simnet_down(dladm_handle_t handle, datalink_id_t simnet_id, uint32_t flags) argument
514 dladm_simnet_persist_conf(dladm_handle_t handle, const char *name, dladm_simnet_attr_t *attrp) argument
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dprompter.c225 HANDLE handle; local
232 handle = GetStdHandle(STD_INPUT_HANDLE);
233 if (handle == INVALID_HANDLE_VALUE)
235 if (!GetConsoleMode(handle, &old_mode))
242 if (!SetConsoleMode(handle, new_mode))
245 if (!SetConsoleMode(handle, old_mode))
260 if (!SetConsoleMode(handle, new_mode)) {
292 if (!SetConsoleMode(handle, old_mode)) {

Completed in 134 milliseconds

1234567891011>>