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

12345

/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dkill-casts.c4 int elem:3; member in struct:s
10 if (x->elem == 0) {
11 if (x->elem != 0 && x->elem != 1)
/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, &zlpp->zlp_rewind) == 0)
97 (void) nvpair_value_uint64(elem, &zlpp->zlp_txg);
99 (void) nvpair_value_uint64(elem, &zlpp->zlp_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;
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;
134 if (mdb_vread(&elem, sizeof (elem), addr) != sizeof (elem) ||
75 errorq_elem_t elem; local
127 errorq_elem_t elem; local
[all...]
/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/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/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/contrib/mDNSResponder/mDNSShared/
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/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/hal/hald/
H A Dproperty.c423 GSList *elem; local
431 elem = g_slist_nth (prop->v.strlist_value, index);
432 if (elem == NULL)
435 g_free (elem->data);
436 prop->v.strlist_value = g_slist_delete_link (prop->v.strlist_value, elem);
444 GSList *elem; local
449 for (elem = prop->v.strlist_value; elem != NULL; elem = g_slist_next (elem)) {
462 GSList *elem; local
479 GSList *elem; local
[all...]
/illumos-gate/usr/src/lib/storage/liba5k/common/
H A Ddiag.c407 struct device_element *elem; local
657 elem = (struct device_element *)(page_buf + offset);
661 bcopy((const void *)elem, (void *)&status,
663 bzero(elem, sizeof (struct device_element));
664 elem->select = 1;
665 elem->dev_off = status.dev_off;
666 elem->en_bypass_a = status.en_bypass_a;
667 elem->en_bypass_b = status.en_bypass_b;
671 elem->en_bypass_a = bypass_flag;
673 elem
[all...]

Completed in 233 milliseconds

12345