Searched refs:item (Results 201 - 225 of 525) sorted by path

1234567891011>>

/freebsd-11-stable/sys/dev/ath/
H A Dif_ath_beacon.h44 extern void ath_beacon_update(struct ieee80211vap *vap, int item);
/freebsd-11-stable/sys/dev/bnxt/
H A Dconvert_hsi.pl336 my $item = $field;
337 $item =~ s/\[[0-9]+\]/[$idx]/;
338 print_single_val($item, $type{$field}, $max_field_len, $name, \%macros, \@macros, \@fields);
/freebsd-11-stable/sys/dev/ce/
H A Dceddk.c65 #define CE_ENQUEUE(list,item) \
72 (*last) = (item); \
73 (item)->next = NULL; \
76 #define CE_ENQUEUE_HEAD(list,item) \
78 (item)->next = list; \
79 list = item; \
82 #define CE_DEQUEUE(list,item) \
84 item = list; \
86 list = (item)->next; \
90 #define CE_PREREQUEST(b,c,list,item) \
214 ce_buf_item_t *item = (ce_buf_item_t *)req; local
319 ce_buf_item_t *item; local
564 ce_buf_item_t *item; local
[all...]
H A Dif_ce.c1022 ce_buf_item_t *item = (ce_buf_item_t*)d->chan->tx_queue; local
1023 m_copydata (m, 0, len, item->buf);
1024 ce_send_packet (d->chan, item->buf, len, 0);
2263 static int ng_ce_rcvmsg (node_p node, item_p item, hook_p lasthook) argument
2278 NGI_GET_MSG (item, msg);
2337 NG_RESPOND_MSG (error, node, item, resp);
2347 static int ng_ce_rcvdata (hook_p hook, item_p item) argument
2367 NGI_GET_M (item, m);
2369 NGI_GET_META (item, meta);
2371 NG_FREE_ITEM (item);
[all...]
/freebsd-11-stable/sys/dev/cp/
H A Dif_cp.c2060 static int ng_cp_rcvmsg (node_p node, item_p item, hook_p lasthook) argument
2068 NGI_GET_MSG (item, msg);
2109 NG_RESPOND_MSG (error, node, item, resp);
2114 static int ng_cp_rcvdata (hook_p hook, item_p item) argument
2124 NGI_GET_M (item, m);
2125 NG_FREE_ITEM (item);
/freebsd-11-stable/sys/dev/drm/
H A Ddrm_hashtab.c91 int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item) argument
96 unsigned long key = item->key;
109 LIST_INSERT_AFTER(parent, item, head);
111 LIST_INSERT_HEAD(h_list, item, head);
117 * Just insert an item and return any "bits" bit key that hasn't been
120 int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item, argument
131 item->key = (unshifted_key << shift) + add;
132 ret = drm_ht_insert_item(ht, item);
145 struct drm_hash_item **item)
153 *item
144 drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item) argument
169 drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item) argument
[all...]
H A Ddrm_hashtab.h57 extern int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item);
58 extern int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item,
61 extern int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item);
65 extern int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item);
H A Ddrm_sman.c251 static void drm_sman_free(struct drm_memblock_item *item) argument
253 struct drm_sman *sman = item->sman;
255 list_del(&item->owner_list);
256 drm_ht_remove_item(&sman->user_hash_tab, &item->user_hash);
257 item->mm->free(item->mm->private, item->mm_info);
258 drm_free(item, sizeof(*item), DRM_MEM_MM);
H A Dsis_ds.c61 int setAdd(set_t * set, ITEM_TYPE item) argument
66 set->list[free].val = item;
79 int setDel(set_t * set, ITEM_TYPE item) argument
85 if (set->list[alloc].val == item) {
109 int setFirst(set_t * set, ITEM_TYPE * item) argument
114 *item = set->list[set->alloc].val;
120 int setNext(set_t * set, ITEM_TYPE * item) argument
125 *item = set->list[set->trace].val;
H A Dsis_ds.h57 int setAdd(set_t * set, ITEM_TYPE item);
58 int setDel(set_t * set, ITEM_TYPE item);
59 int setFirst(set_t * set, ITEM_TYPE * item);
60 int setNext(set_t * set, ITEM_TYPE * item);
H A Dsis_mm.c345 ITEM_TYPE item; local
352 retval = setFirst(set, &item);
354 DRM_DEBUG("free video memory 0x%lx\n", item);
356 sis_free(item);
358 mmFreeMem((PMemBlock) item);
360 retval = setNext(set, &item);
366 retval = setFirst(set, &item);
368 DRM_DEBUG("free agp memory 0x%lx\n", item);
369 mmFreeMem((PMemBlock) item);
370 retval = setNext(set, &item);
[all...]
H A Dvia_mm.c118 struct drm_memblock_item *item; local
134 item = drm_sman_alloc(&dev_priv->sman, mem->type, tmpSize, 0,
136 if (item) {
139 (item->mm->
140 offset(item->mm, item->mm_info) << VIA_MM_ALIGN_SHIFT);
141 mem->index = item->user_hash.key;
/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_global.c52 struct drm_global_item *item = &glob[i]; local
53 sx_init(&item->mutex, "drmgi");
54 item->object = NULL;
55 item->refcount = 0;
63 struct drm_global_item *item = &glob[i]; local
64 MPASS(item->object == NULL);
65 MPASS(item->refcount == 0);
66 sx_destroy(&item->mutex);
73 struct drm_global_item *item = &glob[ref->global_type]; local
76 sx_xlock(&item
105 struct drm_global_item *item = &glob[ref->global_type]; local
[all...]
H A Ddrm_hashtab.c92 int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item) argument
97 unsigned long key = item->key;
110 LIST_INSERT_AFTER(parent, item, head);
112 LIST_INSERT_HEAD(h_list, item, head);
119 * Just insert an item and return any "bits" bit key that hasn't been
122 int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item, argument
133 item->key = (unshifted_key << shift) + add;
134 ret = drm_ht_insert_item(ht, item);
148 struct drm_hash_item **item)
156 *item
147 drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item) argument
173 drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item) argument
[all...]
H A Ddrm_hashtab.h57 extern int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item);
58 extern int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item,
61 extern int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item);
65 extern int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item);
/freebsd-11-stable/sys/dev/lmc/
H A Dif_lmc.c3898 ng_rcvmsg(node_p node, item_p item, hook_p lasthook) argument
3905 NGI_GET_MSG(item, msg);
3970 NG_RESPOND_MSG(error, node, item, resp);
4020 ng_rcvdata(hook_p hook, item_p item) argument
4027 NGI_GET_M(item, m);
4028 NGI_GET_META(item, meta);
4029 NG_FREE_ITEM(item);
/freebsd-11-stable/sys/dev/mn/
H A Dif_mn.c327 ngmn_rcvmsg(node_p node, item_p item, hook_p lasthook) argument
336 NGI_GET_MSG(item, msg);
340 NG_FREE_ITEM(item);
347 NG_FREE_ITEM(item);
355 NG_FREE_ITEM(item);
370 NG_RESPOND_MSG(i, node, item, resp);
447 NG_RESPOND_MSG(i, node, item, resp);
580 ngmn_rcvdata(hook_p hook, item_p item) argument
594 NG_FREE_ITEM(item);
597 NGI_GET_M(item,
[all...]
/freebsd-11-stable/sys/dev/nxge/
H A Dif_nxge.c1264 * @item Queued event item
1267 xge_callback_event(xge_queue_item_t *item) argument
1273 hldev = item->context;
1277 switch((int)item->event_type) {
1292 xge_reset(item->context);
2020 xge_list_t *item = NULL; local
2045 xge_list_for_each(item, &hldev->free_channels) {
2046 channel = xge_container_of(item, xge_hal_channel_t, item);
[all...]
/freebsd-11-stable/sys/dev/nxge/include/
H A Dxge-list.h37 * struct xge_list_t - List item.
38 * @prev: Previous list item.
39 * @next: Next list item.
77 * xge_list_first_get - Return the first item from the linked list.
80 * Returns the next item from the header.
81 * Returns NULL if the next item is header itself
97 * xge_list_remove - Remove the specified item from the linked list.
98 * item: element of the list
100 * Remove item from a list.
103 static inline void xge_list_remove(xge_list_t *item) argument
[all...]
H A Dxge-queue.h66 * struct xge_queue_item_t - Queue item.
67 * @item: List item. Note that the queue is "built" on top of
81 xge_list_t item; member in struct:xge_queue_item_t
118 * item is added to the queue.
153 void* xge_queue_item_data(xge_queue_item_t *item);
165 xge_queue_item_t *item);
H A Dxgehal-channel.h266 * @item: List item; used to maintain a list of open channels.
345 xge_list_t item; member in struct:__anon11196
H A Dxgehal-driver.h128 * @item: ULD-defined event, item of the xge_queue_t.
140 typedef void (*xge_uld_event_f) (xge_queue_item_t *item);
H A Dxgehal-mm.h52 * xge_hal_mempool_item_f - Mempool item alloc/free callback
54 * @item: Item that gets allocated or freed.
56 * @is_last: True, if this item is the last one in the pool; false - otherwise.
63 xge_hal_mempool_dma_t *dma_object, void *item,
91 * __hal_mempool_item - Returns pointer to the item in the mempool
101 * __hal_mempool_item_priv - will return pointer on per item private space
105 void *item, int *memblock_item_idx)
112 offset = (int)((char * )item - (char *)memblock);
104 __hal_mempool_item_priv(xge_hal_mempool_t *mempool, int memblock_idx, void *item, int *memblock_item_idx) argument
/freebsd-11-stable/sys/dev/nxge/xgehal/
H A Dxge-queue.c32 * xge_queue_item_data - Get item's data.
33 * @item: Queue item.
35 * Returns: item data(variable size). Note that xge_queue_t
38 * user-defined portion of the queue item.
40 void* xge_queue_item_data(xge_queue_item_t *item) argument
42 return (char *)item + sizeof(xge_queue_item_t);
46 * __queue_consume - (Lockless) dequeue an item from the specified queue.
52 __queue_consume(xge_queue_t *queue, int data_max_size, xge_queue_item_t *item) argument
64 xge_list_remove(&elem->item);
159 xge_queue_item_t *item = (xge_queue_item_t *)(void *)item_buf; local
330 xge_list_t *item; local
397 xge_queue_consume(xge_queue_h queueh, int data_max_size, xge_queue_item_t *item) argument
422 xge_queue_item_t *item = (xge_queue_item_t *)(void *)item_buf; local
[all...]
H A Dxgehal-channel.c303 xge_list_t *item; local
315 xge_list_for_each(item, &device->free_channels) {
318 tmp = xge_container_of(item, xge_hal_channel_t, item);
386 xge_list_remove(&channel->item);
387 xge_list_insert(&channel->item, &device->fifo_channels);
390 xge_list_remove(&channel->item);
391 xge_list_insert(&channel->item, &device->ring_channels);
527 xge_list_t *item; local
536 xge_list_for_each(item,
[all...]

Completed in 610 milliseconds

1234567891011>>