Searched defs:elem (Results 1 - 25 of 112) sorted by relevance

12345

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dinsque.c49 insque(void *elem, void *pred) argument
52 ((struct qelem *)elem)->q_forw = NULL;
53 ((struct qelem *)elem)->q_back = NULL;
57 ((struct qelem *)elem)->q_forw = NULL;
58 ((struct qelem *)elem)->q_back = pred;
59 ((struct qelem *)pred)->q_forw = elem;
62 ((struct qelem *)elem)->q_forw = ((struct qelem *)pred)->q_forw;
63 ((struct qelem *)elem)->q_back = pred;
64 ((struct qelem *)pred)->q_forw->q_back = elem;
65 ((struct qelem *)pred)->q_forw = elem;
70 remque(void *elem) argument
[all...]
/illumos-gate/usr/src/common/mdesc/
H A Dmdesc_getpropdata.c39 mde_cookie_t elem; local
52 elem = md_find_node_prop(mdp, node, prop_name, MDET_PROP_DAT);
54 if (elem != MDE_INVAL_ELEM_COOKIE) {
56 mdep = &(mdp->mdep[(int)elem]);
H A Dmdesc_getpropstr.c38 mde_cookie_t elem; local
51 elem = md_find_node_prop(mdp, node, prop_name, MDET_PROP_STR);
53 if (elem != MDE_INVAL_ELEM_COOKIE) {
55 mdep = &(mdp->mdep[(int)elem]);
H A Dmdesc_getpropval.c45 mde_cookie_t elem; local
58 elem = md_find_node_prop(mdp, node, prop_name, MDET_PROP_VAL);
60 if (elem != MDE_INVAL_ELEM_COOKIE) {
62 mdep = &(mdp->mdep[(int)elem]);
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/pools/
H A DPropertyWalk.java45 * @param elem The element to whom the property belongs.
51 public int walk(Element elem, Value val, Object user) argument
H A DElement.java259 * @param elem The element to whom the property belongs.
265 public int walk(Element elem, Value val, Object user) argument
279 * subtype pointer to a native elem pointer.
303 * @param elem native reference to the element whose
306 * the elem.
312 private native int walkProps(long conf, long elem, argument
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DSolver.java93 * @param elem Retrieve objectives for this element.
95 public Set getObjectives(Element elem); argument
H A DSystemSolver.java304 * @param elem The element to examine.
306 private boolean hasNonWorkloadDependentObjectives(Element elem) argument
308 Set elemObj = (Set)objMap.get(elem);
331 * @param elem The element to examine.
333 private boolean hasWorkloadDependentObjectives(Element elem) argument
335 Set elemObj = (Set)objMap.get(elem);
387 Element elem = (Element) objIt.next();
388 Set elemObj = (Set) objMap.get(elem);
405 obj).examine(conf, this, elem) ||
417 hasNonWorkloadDependentObjectives(elem))
917 getObjectives(Element elem) argument
[all...]
/illumos-gate/usr/src/common/zfs/
H A Dzfs_comutil.c73 nvpair_t *elem; local
85 elem = NULL;
86 while ((elem = nvlist_next_nvpair(nvl, elem)) != NULL) {
87 nm = nvpair_name(elem);
89 if (nvpair_value_nvlist(elem, &policy) == 0)
93 if (nvpair_value_uint32(elem, &zrpp->zrp_request) == 0)
97 (void) nvpair_value_uint64(elem, &zrpp->zrp_txg);
99 (void) nvpair_value_uint64(elem, &zrpp->zrp_maxmeta);
101 (void) nvpair_value_uint64(elem,
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dfm.c77 errorq_elem_t elem; local
82 if (mdb_vread(&elem, sizeof (elem), addr) != sizeof (elem) ||
83 mdb_vread(&eqnp, sizeof (eqnp), (uintptr_t)elem.eqe_data)
90 wsp->walk_addr = (uintptr_t)elem.eqe_prev;
129 errorq_elem_t elem; local
134 if (mdb_vread(&elem, sizeof (elem), addr) != sizeof (elem) ||
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_lock.c42 struct SMB2_LOCK_ELEMENT elem; local
90 &elem.Offset, /* q */
91 &elem.Length, /* q */
92 &elem.Flags, /* l */
93 &elem.reserved); /* l */
103 switch (elem.Flags) {
213 struct SMB2_LOCK_ELEMENT elem; local
234 &elem.Offset, /* q */
235 &elem.Length, /* q */
236 &elem
250 smb2_lock_elem(smb_request_t *sr, struct SMB2_LOCK_ELEMENT *elem) argument
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelGeneral.c301 kmh_elem_t *elem, *next; local
325 elem = kernel_mechhash[i];
326 while (elem != NULL) {
327 next = elem->knext;
328 free(elem);
329 elem = next;
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dhash.c52 HashElem *elem; /* For looping over all elements of the table */ local
55 elem = pH->first;
60 while( elem ){
61 HashElem *next_elem = elem->next;
62 if( pH->copyKey && elem->pKey ){
63 sqliteFree(elem->pKey);
65 sqliteFree(elem);
66 elem = next_elem;
170 HashElem *elem, *next_elem; /* For looping over existing elements */ local
181 for(elem
212 HashElem *elem; /* Used to loop thru the element list */ local
233 removeElementGivenHash( Hash *pH, HashElem* elem, int h ) argument
266 HashElem *elem; /* The element that matches key */ local
296 HashElem *elem; /* Used to loop thru the element list */ local
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/io-retire/
H A Drio_main.c48 struct except_list *elem; local
65 elem = fmd_hdl_alloc(hdl,
67 elem->el_fault = fmd_hdl_strdup(hdl, p, FMD_SLEEP);
68 elem->el_next = except_list;
69 except_list = elem;
92 struct except_list *elem; local
94 for (elem = except_list; elem; elem = elem
108 struct except_list *elem; local
[all...]
/illumos-gate/usr/src/cmd/hal/addons/network-devices/
H A Dsnmp.c73 GList *elem; local
123 for (elem = new_addrs; elem != NULL; elem = g_list_next(elem)) {
124 add_snmp_device(ctx, parent, (char *)elem->data, community);
125 free(elem->data);
H A Daddon-network-discovery.c57 GList *elem, *list = broadcast_addresses(); local
59 for (elem = list; elem != NULL; elem = g_list_next(elem)) {
61 (char *)elem->data);
62 free(elem->data);
/illumos-gate/usr/src/cmd/truss/
H A Dhtbl.c253 size_t elem = 0; local
257 elem++;
261 return (elem);
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_ordering.c54 gssint_uint64 elem[QUEUE_LENGTH]; member in struct:_queue
59 * - the queue is a circular queue. The first element (q->elem[q->start])
63 #define QSIZE(q) (sizeof((q)->elem)/sizeof((q)->elem[0]))
64 #define QELEM(q,i) ((q)->elem[(i)%QSIZE(q)])
175 q->elem[q->start] = ((gssint_uint64)0 - 1) & q->mask;
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxge-queue.c50 xge_queue_item_t *elem; local
55 elem = (xge_queue_item_t *)queue->list_head.next;
56 if (elem->data_size > data_max_size)
59 xge_list_remove(&elem->item);
60 real_size = elem->data_size + sizeof(xge_queue_item_t);
61 if (queue->head_ptr == elem) {
66 ":0x"XGE_OS_LLXFMT" elem 0x"XGE_OS_LLXFMT" length %d",
67 elem->event_type,
72 (u64)(ulong_t)elem,
74 } else if ((char *)queue->tail_ptr - real_size == (char*)elem) {
144 xge_queue_item_t *elem; local
326 xge_queue_item_t *elem; local
[all...]
/illumos-gate/usr/src/uts/sun4/os/
H A Dmemnode.c189 size_t elem; local
202 for (elem = 0; elem < nelems; list++, elem++) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A DGenLinkedList.c39 void AddToTail( GenLinkedList *pList, void *elem) argument
43 ASSIGNLINK( pList->Tail, elem, pList->LinkOffset);
45 pList->Head = elem;
46 ASSIGNLINK( elem, NULL, pList->LinkOffset);
48 pList->Tail = elem;
52 void AddToHead( GenLinkedList *pList, void *elem) argument
55 ASSIGNLINK( elem, pList->Head, pList->LinkOffset);
57 pList->Tail = elem;
59 pList->Head = elem;
63 int RemoveFromList( GenLinkedList *pList, void *elem) argument
133 DLLAddToHead( GenDoubleLinkedList *pList, void *elem) argument
153 DLLRemoveFromList( GenDoubleLinkedList *pList, void *elem) argument
187 AssignOffsetLink( void *elem, void *link, size_t linkOffset) argument
208 GetOffsetLink( GenLinkedOffsetList *pList, void *elem) argument
228 OffsetAddToTail( GenLinkedOffsetList *pList, void *elem) argument
232 AssignOffsetLink( GetTailPtr( pList), elem, pList->LinkOffset); local
241 OffsetAddToHead( GenLinkedOffsetList *pList, void *elem) argument
252 OffsetRemoveFromList( GenLinkedOffsetList *pList, void *elem) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_method.c390 nvpair_t *elem; local
417 elem = NULL;
418 while ((elem = nvlist_next_nvpair(props, elem)) != NULL) {
419 if (strcmp(nvpair_name(elem), TOPO_PROP_VAL) != 0 ||
420 nvpair_type(elem) != DATA_TYPE_NVLIST)
423 (void) nvpair_value_nvlist(elem, &propval);
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_hash.c90 const void *(*convert)(const void *elem),
164 ipmi_hash_compute(ipmi_hash_t *ihp, const void *elem) argument
166 return (ihp->ih_compute(ihp->ih_convert(elem)) % ihp->ih_nbuckets);
196 void *elem; local
204 elem = (void *)((uintptr_t)link - ihp->ih_linkoffs);
205 nidx = ipmi_hash_compute(ihp, elem);
223 void *elem = (void *)((uintptr_t)hl - ihp->ih_linkoffs); local
225 if (ihp->ih_compare(ihp->ih_convert(elem), search) == 0)
226 return (elem);
244 ipmi_hash_next(ipmi_hash_t *ihp, void *elem) argument
89 ipmi_hash_create(ipmi_handle_t *hp, size_t linkoffs, const void *(*convert)(const void *elem), ulong_t (*compute)(const void *key), int (*compare)(const void *lkey, const void *rkey)) argument
255 ipmi_hash_insert(ipmi_hash_t *ihp, void *elem) argument
272 ipmi_hash_remove(ipmi_hash_t *ihp, void *elem) argument
[all...]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dpool_rcm.c124 pool_elem_t *elem = pool_resource_to_elem(conf, res); local
128 if (pool_get_property(conf, elem, "pset.min", pval) != POC_UINT) {
135 if (pool_get_property(conf, elem, "pset.sys_id", pval) != POC_INT) {
/illumos-gate/usr/src/cmd/fm/modules/common/disk-transport/
H A Ddisk_transport.c117 nvpair_t *elem; local
162 elem = NULL;
163 while ((elem = nvlist_next_nvpair(faults, elem)) != NULL) {
164 if (nvpair_type(elem) != DATA_TYPE_BOOLEAN_VALUE)
167 (void) nvpair_value_boolean_value(elem, &fault);
169 nvlist_lookup_nvlist(result, nvpair_name(elem),
174 nvpair_name(elem), ena, fmri, details);

Completed in 102 milliseconds

12345