Searched refs:handle (Results 1 - 25 of 422) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/libparted/common/libparted/fs/ext2/
H A Dparted_io.h25 void ext2_destroy_dev_handle(struct ext2_dev_handle *handle);
/osnet-11/usr/src/lib/krb5/kadm5/clnt/
H A Dclient_handle.c22 int _kadm5_check_handle(void *handle) argument
24 CHECK_HANDLE(handle);
H A Dclnt_chpass_util.c30 kadm5_server_handle_t handle = server_handle; local
33 return _kadm5_chpass_principal_util(handle, handle->lhandle, princ,
/osnet-11/usr/src/lib/krb5/kadm5/srv/
H A Dserver_handle.c25 int _kadm5_check_handle(void *handle) argument
27 CHECK_HANDLE(handle);
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...]
/osnet-11/usr/src/lib/libresolv2/common/nameser/
H A Dns_parse.c75 int ns_msg_getflag(ns_msg handle, int flag) { argument
76 return(((handle)._flags & _ns_flagdata[flag].mask) >> _ns_flagdata[flag].shift);
104 ns_initparse(const u_char *msg, int msglen, ns_msg *handle) { argument
108 handle->_msg = msg;
109 handle->_eom = eom;
112 NS_GET16(handle->_id, msg);
115 NS_GET16(handle->_flags, msg);
119 NS_GET16(handle->_counts[i], msg);
122 if (handle->_counts[i] == 0)
123 handle
140 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) argument
203 ns_parserr2(ns_msg *handle, ns_sect section, int rrnum, ns_rr2 *rr) argument
[all...]
/osnet-11/usr/src/lib/sun_fc/common/
H A DSun_fcCloseAdapter.cc38 * @param handle the handle to close
42 void Sun_fcCloseAdapter(HBA_HANDLE handle) { argument
45 Handle::closeHandle(handle);
H A DSun_fcResetStatistics.cc38 void Sun_fcResetStatistics(HBA_HANDLE handle, HBA_UINT32 port) { argument
H A DSun_fcOpenAdapterByWWN.cc40 * @param handle Output argument where open handle is stored
43 HBA_STATUS Sun_fcOpenAdapterByWWN(HBA_HANDLE *handle, HBA_WWN wwn) { argument
47 if (handle == NULL) {
48 log.userError("NULL handle pointer");
52 *handle = HBAList::instance()->
H A DSun_fcOpenTgtAdapterByWWN.cc40 * @param handle Output argument where open handle is stored
43 HBA_STATUS Sun_fcOpenTgtAdapterByWWN(HBA_HANDLE *handle, HBA_WWN wwn) { argument
47 if (handle == NULL) {
48 log.userError("NULL handle pointer");
52 *handle = HBAList::instance()->
/osnet-11/usr/src/lib/libsmbns/common/
H A Dsmbns_hash.c28 * table entries. A handle is associated with each table, which is used
32 * |handle|---> |index 0|--->|item|--->|item|--->
51 static size_t ht_default_hash(HT_HANDLE *handle, const char *key);
77 * The handle and the table are are malloc'd using a single call, to
79 * handle.
81 * On success a pointer to an opaque handle is returned. Otherwise a
129 ht_destroy_table(HT_HANDLE *handle) argument
134 if (handle == 0)
138 (void) ht_clean_table(handle);
139 while ((item = ht_findfirst(handle,
153 ht_get_total_items(HT_HANDLE *handle) argument
173 ht_default_hash(HT_HANDLE *handle, const char *key) argument
205 ht_set_cmpfn(HT_HANDLE *handle, HT_CMP cmpfn) argument
226 ht_add_item(HT_HANDLE *handle, const char *key, const void *data) argument
283 ht_replace_item(HT_HANDLE *handle, const char *key, const void *data) argument
304 ht_remove_item(HT_HANDLE *handle, const char *key) argument
368 ht_find_item(HT_HANDLE *handle, const char *key) argument
409 ht_register_callback(HT_HANDLE *handle, HT_CALLBACK callback) argument
436 ht_clean_table(HT_HANDLE *handle) argument
495 ht_mark_delete(HT_HANDLE *handle, HT_ITEM *item) argument
509 ht_clear_delete(HT_HANDLE *handle, HT_ITEM *item) argument
544 ht_findfirst(HT_HANDLE *handle, HT_ITERATOR *iterator) argument
586 HT_HANDLE *handle; local
[all...]
/osnet-11/usr/src/lib/libast/common/misc/
H A Derrorf.c33 errorf(void* handle, void* discipline, int level, ...) argument
38 errorv((discipline && handle) ? *((char**)handle) : (char*)handle, (discipline || level < 0) ? level : (level | ERROR_LIBRARY), ap);
/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_scfutil.c63 smb_smf_instance_create(smb_scfhandle_t *handle, char *serv_prefix, argument
70 if (handle == NULL)
82 handle->scf_instance = scf_instance_create(handle->scf_handle);
83 if (scf_service_get_instance(handle->scf_service, inst_name,
84 handle->scf_instance) != SCF_SUCCESS) {
85 if (scf_service_add_instance(handle->scf_service,
86 inst_name, handle->scf_instance) != SCF_SUCCESS) {
103 smb_smf_instance_delete(smb_scfhandle_t *handle, char *inst_name) argument
107 if (handle
131 smb_smf_create_instance_pgroup(smb_scfhandle_t *handle, char *pgroup) argument
178 smb_smf_delete_instance_pgroup(smb_scfhandle_t *handle, char *pgroup) argument
226 smb_smf_create_service_pgroup(smb_scfhandle_t *handle, char *pgroup) argument
275 smb_smf_start_transaction(smb_scfhandle_t *handle) argument
317 smb_smf_end_transaction(smb_scfhandle_t *handle) argument
343 smb_smf_set_string_property(smb_scfhandle_t *handle, char *propname, char *valstr) argument
407 smb_smf_get_string_property(smb_scfhandle_t *handle, char *propname, char *valstr, size_t sz) argument
444 smb_smf_set_count_property(smb_scfhandle_t *handle, char *propname, uint64_t valuint) argument
502 smb_smf_set_integer_property(smb_scfhandle_t *handle, char *propname, int64_t valint) argument
559 smb_smf_get_count_property(smb_scfhandle_t *handle, char *propname, uint64_t *valuint) argument
596 smb_smf_get_integer_property(smb_scfhandle_t *handle, char *propname, int64_t *valint) argument
634 smb_smf_set_boolean_property(smb_scfhandle_t *handle, char *propname, uint8_t valbool) argument
691 smb_smf_get_boolean_property(smb_scfhandle_t *handle, char *propname, uint8_t *valbool) argument
727 smb_smf_set_opaque_property(smb_scfhandle_t *handle, char *propname, void *voidval, size_t sz) argument
790 smb_smf_get_opaque_property(smb_scfhandle_t *handle, char *propname, void *v, size_t sz) argument
825 smb_smf_delete_property(smb_scfhandle_t *handle, char *propname) argument
895 smb_scfhandle_t *handle; local
959 smb_smf_scf_fini(smb_scfhandle_t *handle) argument
[all...]
/osnet-11/usr/src/lib/libfstyp/common/
H A Dlibfstyp_module.h46 int fstyp_mod_init(int fd, off64_t offset, fstyp_mod_handle_t *handle);
47 void fstyp_mod_fini(fstyp_mod_handle_t handle);
48 int fstyp_mod_ident(fstyp_mod_handle_t handle);
49 int fstyp_mod_get_attr(fstyp_mod_handle_t handle, nvlist_t **attr);
50 int fstyp_mod_dump(fstyp_mod_handle_t handle, FILE *fout, FILE *ferr);
/osnet-11/usr/src/lib/libast/common/string/
H A Dstreval.c39 userconv(const char* s, char** end, void* handle) argument
41 return((*((Handle_t*)handle)->convert)(s, end));
47 Handle_t handle; local
49 return((handle.convert = convert) ? strexpr(s, end, userconv, &handle) : strexpr(s, end, (Convert_t)0, NiL));
/osnet-11/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_test.c89 if ((handle->max_errors != 0) &&\
90 (handle->max_errors == total_errors)) {\
91 mtest_message(handle, (END_MSG));\
92 error_summary(handle, total_errors);\
93 SET_CONDITION(handle, cond);\
98 error_summary(mtest_handle_t handle, uint_t total_errors) argument
103 mtest_message(handle, msgbuf);
108 error_print(char *writebuf, char *readbuf, mtest_handle_t handle, long pageno, argument
114 (void) sprintf(msgbuf, pg_header_msg, PAGE_SIZE(handle) * pageno);
115 mtest_message(handle, msgbu
132 memory_test_normal( mtest_handle_t handle) argument
287 memory_test_quick( mtest_handle_t handle) argument
416 memory_test_extended( mtest_handle_t handle) argument
[all...]
H A Dmema_test_subr.c39 mtest_handle_t handle,
55 new_ent->next = handle->alloc_list;
56 handle->alloc_list = new_ent;
64 mtest_handle_t handle,
69 p = &handle->alloc_list;
80 mtest_deallocate_buf_all(mtest_handle_t handle) argument
84 while ((p1 = handle->alloc_list) != NULL) {
85 handle->alloc_list = p1->next;
92 mtest_message(mtest_handle_t handle, const char *msg) argument
94 if (handle
38 mtest_allocate_buf( mtest_handle_t handle, size_t size) argument
63 mtest_deallocate_buf( mtest_handle_t handle, void *buf) argument
[all...]
/osnet-11/usr/src/grub/grub2/include/grub/efi/
H A Dmemory.h28 int type, int handle);
29 grub_err_t grub_machine_mmap_unregister (int handle);
/osnet-11/usr/src/lib/libast/common/regex/
H A Dregalloc.c31 regalloc(void* handle, void*(*resize)(void*,void*,size_t), regflags_t flags) argument
35 state.disc.re_resizehandle = handle;
/osnet-11/usr/src/lib/libsmedia/library/common/
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...]
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...]
/osnet-11/usr/src/lib/sun_sas/common/
H A DSun_sasGetLUNStatistics.c34 HBA_HANDLE handle,
33 Sun_sasGetLUNStatistics( HBA_HANDLE handle, const HBA_SCSIID *lunit, SMHBA_PROTOCOLSTATISTICS *pstatistics) argument
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dgetuid.c45 void *handle; local
54 if (((handle = dlopen(0, (RTLD_LAZY | RTLD_FIRST))) == NULL) ||
55 ((gptr = (uid_t (*)())dlsym(handle, KRB5_UID)) == NULL)) {
/osnet-11/usr/src/lib/libndmp/common/
H A Dlibndmp_prop.c65 /* NDMP scf handle structure */
376 ndmp_scfhandle_t *handle = NULL; local
384 if ((handle = ndmp_smf_scf_init(NDMP_GROUP_FMRI_PREFIX)) == NULL) {
388 if (ndmp_smf_get_pg_name(handle, prop, &pgname)) {
393 if (ndmp_smf_create_service_pgroup(handle, pgname)) {
394 ndmp_smf_scf_fini(handle);
398 if (ndmp_smf_get_property(handle, prop, lval, NDMP_PROP_LEN) != 0) {
399 ndmp_smf_scf_fini(handle);
405 ndmp_smf_scf_fini(handle);
412 ndmp_scfhandle_t *handle local
499 ndmp_config_saveenv(ndmp_scfhandle_t *handle) argument
515 ndmp_smf_scf_fini(ndmp_scfhandle_t *handle) argument
535 ndmp_scfhandle_t *handle; local
584 ndmp_smf_create_service_pgroup(ndmp_scfhandle_t *handle, char *pgroup) argument
632 ndmp_smf_start_transaction(ndmp_scfhandle_t *handle) argument
666 ndmp_smf_end_transaction(ndmp_scfhandle_t *handle) argument
684 ndmp_smf_delete_property(ndmp_scfhandle_t *handle, char *propname) argument
716 ndmp_smf_set_property(ndmp_scfhandle_t *handle, char *propname, char *valstr) argument
803 ndmp_smf_get_property(ndmp_scfhandle_t *handle, char *propname, char *valstr, size_t sz) argument
[all...]
/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...]

Completed in 101 milliseconds

1234567891011>>