Searched defs:object (Results 1 - 25 of 100) sorted by relevance

1234

/illumos-gate/usr/src/lib/libxcurses/h/
H A Dm_wio.h47 void *object; /* I/O object (normally a stream). */ member in struct:__anon4206
48 int (*get)(void *); /* Get byte from input object. */
49 int (*put)(int, void *); /* Put byte to output object. */
50 int (*unget)(int, void *); /* Push byte onto input object. */
/illumos-gate/usr/src/lib/libxcurses2/h/
H A Dm_wio.h47 void *object; /* I/O object (normally a stream). */ member in struct:__anon4220
48 int (*get)(void *); /* Get byte from input object. */
49 int (*put)(int, void *); /* Put byte to output object. */
50 int (*unget)(int, void *); /* Push byte onto input object. */
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaSessionManager.c35 * searching each session object list for matching objects.
200 meta_object_t *object; local
246 while ((object = session->object_list_head) != NULL) {
249 rv = meta_handle2object((CK_OBJECT_HANDLE)object, &object);
255 rv = meta_object_deactivate(object, B_FALSE, B_TRUE);
260 rv = meta_object_dealloc(NULL, object, B_FALSE);
320 /* Final object cleanup. */
/illumos-gate/usr/src/lib/libtecla/common/
H A Dfreelist.c79 * malloc, which returns memory suitably aligned for any object, will
216 * Allocate a new object from a free-list.
219 * fl FreeList * The free-list to return an object from.
221 * return void * A new object of the size that was specified via
268 * Return an object to the free-list that it was allocated from.
271 * fl FreeList * The free-list from which the object was taken.
272 * object void * The node to be returned.
276 void *_del_FreeListNode(FreeList *fl, void *object) argument
286 if(object) {
287 *(void **)object
[all...]
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_util.h53 jobject object; member in struct:zjni_Object
/illumos-gate/usr/src/lib/libc/port/gen/
H A Devent_port.c59 port_associate(int port, int source, uintptr_t object, int events, void *user) argument
62 r.r_vals = _portfs(PORT_ASSOCIATE, port, source, object, events,
104 port_dissociate(int port, int source, uintptr_t object) argument
107 r.r_vals = _portfs(PORT_DISSOCIATE, port, source, object, 0, 0);
126 _port_dispatch(int port, int flags, int source, int events, uintptr_t object, argument
131 r.r_vals = _portfs(PORT_DISPATCH, port, source, events, object,
135 source, events, object, (uintptr_t)user);
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_pservice.c156 ps_pglobal_lookup(struct ps_prochandle *P, const char *object, argument
163 return (ps_ops.ps_pglobal_lookup(P, object, name, symp));
165 if (mdb_tgt_lookup_by_name(t, object, name, &sym, NULL) == 0) {
181 ps_pglobal_sym(struct ps_prochandle *P, const char *object, argument
189 return (ps_ops.ps_pglobal_sym(P, object, name, symp));
191 if (mdb_tgt_lookup_by_name(t, object, name, &sym, NULL) == 0) {
204 return (ps_ops.ps_pglobal_sym(P, object, name, symp));
206 if (mdb_tgt_lookup_by_name(t, object, name, symp, NULL) == 0)
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dddt_zap.c53 ddt_zap_destroy(objset_t *os, uint64_t object, dmu_tx_t *tx) argument
55 return (zap_destroy(os, object, tx));
59 ddt_zap_lookup(objset_t *os, uint64_t object, ddt_entry_t *dde) argument
65 error = zap_length_uint64(os, object, (uint64_t *)&dde->dde_key,
73 error = zap_lookup_uint64(os, object, (uint64_t *)&dde->dde_key,
84 ddt_zap_prefetch(objset_t *os, uint64_t object, ddt_entry_t *dde) argument
86 (void) zap_prefetch_uint64(os, object, (uint64_t *)&dde->dde_key,
91 ddt_zap_update(objset_t *os, uint64_t object, ddt_entry_t *dde, dmu_tx_t *tx) argument
99 return (zap_update_uint64(os, object, (uint64_t *)&dde->dde_key,
104 ddt_zap_remove(objset_t *os, uint64_t object, ddt_entry_ argument
111 ddt_zap_walk(objset_t *os, uint64_t object, ddt_entry_t *dde, uint64_t *walk) argument
138 ddt_zap_count(objset_t *os, uint64_t object) argument
[all...]
H A Ddmu_object.c38 uint64_t object; local
45 object = os->os_obj_next;
57 * multiple blocks of the dnode object before going back to
63 if (P2PHASE(object, L1_dnode_count) == 0) {
70 offset = object << DNODE_SHIFT;
76 object = offset >> DNODE_SHIFT;
78 os->os_obj_next = ++object;
86 (void) dnode_hold_impl(os, object, DNODE_MUST_BE_FREE,
91 if (dmu_object_next(os, &object, B_TRUE, 0) == 0)
92 os->os_obj_next = object
105 dmu_object_claim(objset_t *os, uint64_t object, dmu_object_type_t ot, int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) argument
125 dmu_object_reclaim(objset_t *os, uint64_t object, dmu_object_type_t ot, int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) argument
146 dmu_object_free(objset_t *os, uint64_t object, dmu_tx_t *tx) argument
192 dmu_object_zapify(objset_t *mos, uint64_t object, dmu_object_type_t old_type, dmu_tx_t *tx) argument
218 dmu_object_free_zapified(objset_t *mos, uint64_t object, dmu_tx_t *tx) argument
[all...]
H A Ddmu_diff.c85 report_dnode(struct diffarg *da, uint64_t object, dnode_phys_t *dnp) argument
89 return (report_free_dnode_range(da, object, object));
92 object != da->da_ddr.ddr_last + 1) {
96 da->da_ddr.ddr_first = da->da_ddr.ddr_last = object;
99 da->da_ddr.ddr_last = object;
H A Dbpobj.c147 bpobj_open(bpobj_t *bpo, objset_t *os, uint64_t object) argument
152 err = dmu_object_info(os, object, &doi);
161 ASSERT(object != 0);
165 err = dmu_bonus_hold(os, object, bpo, &bpo->bpo_dbuf);
170 bpo->bpo_object = object;
H A Ddsl_deadlist.c96 dsl_deadlist_open(dsl_deadlist_t *dl, objset_t *os, uint64_t object) argument
102 dl->dl_object = object;
103 VERIFY3U(0, ==, dmu_bonus_hold(os, object, dl, &dl->dl_dbuf));
109 VERIFY3U(0, ==, bpobj_open(&dl->dl_bpobj, os, object));
H A Dspace_map.c90 dprintf("object=%llu offset=%llx size=%llx\n",
254 * now contains the object number but is maintained for backwards
353 space_map_open(space_map_t **smp, objset_t *os, uint64_t object, argument
361 ASSERT(object != 0);
370 sm->sm_object = object;
413 * free and re-allocate its object with the updated sizes.
415 * Otherwise, just truncate the current object.
465 uint64_t object; local
476 object = dmu_object_alloc(os,
480 return (object);
[all...]
/illumos-gate/usr/src/common/list/
H A Dlist.c48 #define list_insert_after_node(list, node, object) { \
49 list_node_t *lnew = list_d2l(list, object); \
56 #define list_insert_before_node(list, node, object) { \
57 list_node_t *lnew = list_d2l(list, object); \
95 list_insert_after(list_t *list, void *object, void *nobject) argument
97 if (object == NULL) {
100 list_node_t *lold = list_d2l(list, object);
106 list_insert_before(list_t *list, void *object, void *nobject) argument
108 if (object == NULL) {
111 list_node_t *lold = list_d2l(list, object);
117 list_insert_head(list_t *list, void *object) argument
124 list_insert_tail(list_t *list, void *object) argument
131 list_remove(list_t *list, void *object) argument
176 list_next(list_t *list, void *object) argument
187 list_prev(list_t *list, void *object) argument
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/common/
H A Dvolume_dlist.c48 * that points at the object
60 * locate the item in the list that points at the object
156 * When called, obj1 will be the object passed into
157 * dlist_remove_equivalent_item and obj2 will be an object pointed to
167 * the object with which to compare each item
279 * Create a dlist_t element for the given object and append to list.
281 * @param object
299 void *object,
303 dlist_t *item = dlist_new_item(object);
358 * Allocate a new dlist_t structure and initialize the opaque object
298 dlist_append_object( void *object, dlist_t **list, boolean_t attail) argument
[all...]
/illumos-gate/usr/src/cmd/zinject/
H A Dtranslate.c86 * buffer, which we need later to get the object ID.
101 (void) fprintf(stderr, "invalid object '%s': must be full "
108 (void) fprintf(stderr, "invalid object; pathname too long\n");
160 * Convert from a (dataset, path) pair into a (objset, object) pair. Note that
161 * we grab the object number from the inode number, since looking this up via
211 * indicates that the whole object should be treated as an
243 * must translate the current (objset,object) pair into an
260 * Get the dnode associated with object, so we can calculate the block
276 "for object %llu\n",
305 "of object (
332 translate_record(err_type_t type, const char *object, const char *range, int level, zinject_record_t *record, char *poolname, char *dataset) argument
[all...]
/illumos-gate/usr/src/cmd/mpathadm/
H A Dcmdparse.c89 * object - object value
94 * object. On failure, the contents of opCmd is unspecified.
102 getObjectRules(uint_t object, objectRules_t **objectRules) argument
107 if (sp->value == object) {
117 * arg - pointer to array of char containing object string
120 * object - pointer to object_t structure pointer
121 * on success, contains the matching object structure based on
122 * input object name
130 getObject(char *arg, object_t **object) argument
187 getOptions(uint_t object, uint_t subcommand) argument
558 object_t *object; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Denm.c147 nwamd_object_t object; local
157 object = nwamd_object_find(NWAM_OBJECT_TYPE_ENM, object_name);
158 if (object == NULL) {
163 enmh = object->nwamd_object_handle;
166 (object->nwamd_object_state == NWAM_STATE_OFFLINE_TO_ONLINE);
224 object->nwamd_script_time = now;
227 * Release the object so that it is not blocked while the
230 nwamd_object_release(object);
235 * Find the object again, now that the script has finished
237 * comparing the object'
334 nwamd_enm_run_method(nwamd_object_t object) argument
371 nwamd_object_t object; local
478 nwamd_object_t object; local
612 nwamd_enm_check(nwamd_object_t object, void *data) argument
744 nwamd_object_t object; local
821 nwamd_object_t object; local
886 nwamd_object_t object; local
[all...]
H A Dknown_wlans.c469 nwamd_ncu_known_wlan_committed(nwamd_object_t object, void *data) argument
471 nwamd_ncu_t *ncu_data = object->nwamd_object_data;
H A Dloc.c247 nwamd_loc_check(nwamd_object_t object, void *data) argument
250 nwam_loc_handle_t loch = object->nwamd_object_handle;
258 lactivation = loc_get_activation_mode(object->nwamd_object_handle);
269 object->nwamd_object_name);
270 wa->winning_object = object;
274 object->nwamd_object_name);
275 if (object->nwamd_object_state != NWAM_STATE_DISABLED) {
277 object->nwamd_object_name,
290 object->nwamd_object_name);
291 wa->winning_object = object;
342 nwamd_ncu_online_check(nwamd_object_t object, void *data) argument
417 nwamd_object_t object; local
466 nwamd_object_t object; local
485 nwamd_object_t object; local
549 nwamd_object_t object; local
[all...]
H A Dncp.c234 find_next_priority_group_cb(nwamd_object_t object, void *data) argument
238 nwamd_ncu_t *ncu = object->nwamd_object_data;
314 nwamd_ncu_check_or_activate(nwamd_object_t object, void *data) argument
324 state = object->nwamd_object_state;
325 aux_state = object->nwamd_object_aux_state;
326 name = object->nwamd_object_name;
327 ncu = object->nwamd_object_data;
H A Dobjects.c42 * objects.c - contains routines which manipulate object lists of NCUs,
101 /* Should be kept in same order as object types */
168 nwamd_object_t object; local
174 while ((object = uu_list_teardown(object_lists[i].object_list,
176 free(object);
206 nlog(LOG_ERR, "cannot get lock for object list: %s",
222 * Initialize object and return it in locked state.
228 nwamd_object_t object; local
231 object = calloc(1, sizeof (struct nwamd_object));
232 if (object
279 nwamd_object_t object; local
304 nwamd_object_fini(nwamd_object_t object, nwam_object_type_t objtype) argument
347 nwamd_object_decref(nwamd_object_t object, int num) argument
387 nwamd_object_release_and_preserve(nwamd_object_t object) argument
393 nwamd_object_release(nwamd_object_t object) argument
399 nwamd_object_release_and_destroy(nwamd_object_t object) argument
405 nwamd_object_release_and_destroy_after_preserve(nwamd_object_t object) argument
411 nwamd_object_release_after_preserve(nwamd_object_t object) argument
453 nwamd_object_t object; local
[all...]
/illumos-gate/usr/src/cmd/iscsiadm/
H A Dcmdparse.c90 * object - object value
95 * object. On failure, the contents of opCmd is unspecified.
103 getObjectRules(uint_t object, objectRules_t **objectRules) argument
108 if (sp->value == object) {
118 * arg - pointer to array of char containing object string
121 * object - pointer to object_t structure pointer
122 * on success, contains the matching object structure based on
123 * input object name
131 getObject(char *arg, object_t **object) argument
188 getOptions(uint_t object, uint_t subcommand) argument
560 object_t *object; local
[all...]
/illumos-gate/usr/src/uts/common/fs/portfs/
H A Dport_fd.c51 * The source itself defines the "arg" required to identify the object with
56 * The object (fd) will be delivered to the application.
58 * The object (fd) will be dissociated from the port.
60 * The object (fd) will be dissociated from the port because the port
177 port_associate_fd(port_t *pp, int source, uintptr_t object, int events, argument
192 if (object > (uintptr_t)INT_MAX)
195 fd = object;
414 * the event gets control of the object.
443 port_dissociate_fd(port_t *pp, uintptr_t object) argument
452 if (object > (uintptr_
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dport_subr.c516 * port_init_event(port_event_t *pev, uintptr_t object, void *user,
522 * object : object associated with this event structure
531 * some object with this event.
535 port_init_event(port_kevent_t *pkevp, uintptr_t object, void *user, argument
539 pkevp->portkev_object = object;

Completed in 66 milliseconds

1234