Home
last modified time | relevance | path

Searched refs:head (Results 976 - 1000 of 6137) sorted by relevance

1...<<31323334353637383940>>...246

/third_party/mesa3d/src/intel/common/
H A Dintel_measure.c425 const uint64_t prev_end_ts = rb->results[rb->head].end_ts; in intel_measure_push_result()
428 if (++rb->head == config.buffer_size) in intel_measure_push_result()
429 rb->head = 0; in intel_measure_push_result()
430 if (rb->head == rb->tail) { in intel_measure_push_result()
444 &rb->results[rb->head]; in intel_measure_push_result()
463 unsigned head = rb->head; in ringbuffer_size() local
464 if (head < rb->tail) in ringbuffer_size()
465 head += config.buffer_size; in ringbuffer_size()
466 return head in ringbuffer_size()
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dauxtrace.c214 INIT_LIST_HEAD(&queue_array[i].head); in auxtrace_alloc_queue_array()
251 list_splice_tail(&queues->queue_array[i].head, in auxtrace_queues__grow()
252 &queue_array[i].head); in auxtrace_queues__grow()
310 list_add_tail(&buffer->list, &queue->head); in auxtrace_queues__queue_buffer()
456 while (!list_empty(&queues->queue_array[i].head)) { in auxtrace_queues__free()
459 buffer = list_entry(queues->queue_array[i].head.next, in auxtrace_queues__free()
601 unsigned char *data, u64 *head, u64 *old) in auxtrace_record__find_snapshot()
604 return itr->find_snapshot(itr, idx, mm, data, head, old); in auxtrace_record__find_snapshot()
830 static int auxtrace_index__alloc(struct list_head *head) in auxtrace_index__alloc() argument
841 list_add_tail(&auxtrace_index->list, head); in auxtrace_index__alloc()
599 auxtrace_record__find_snapshot(struct auxtrace_record *itr, int idx, struct auxtrace_mmap *mm, unsigned char *data, u64 *head, u64 *old) auxtrace_record__find_snapshot() argument
846 auxtrace_index__free(struct list_head *head) auxtrace_index__free() argument
856 auxtrace_index__last(struct list_head *head) auxtrace_index__last() argument
880 auxtrace_index__auxtrace_event(struct list_head *head, union perf_event *event, off_t file_offset) auxtrace_index__auxtrace_event() argument
913 auxtrace_index__write(int fd, struct list_head *head) auxtrace_index__write() argument
934 auxtrace_index__process_entry(int fd, struct list_head *head, bool needs_swap) auxtrace_index__process_entry() argument
966 struct list_head *head = &session->auxtrace_index; auxtrace_index__process() local
1828 u64 head, old = mm->prev, offset, ref; __auxtrace_mmap__read() local
[all...]
/kernel/linux/linux-6.6/net/batman-adv/
H A Dtranslation-table.c129 struct hlist_head *head; in batadv_tt_hash_find() local
140 head = &hash->table[index]; in batadv_tt_hash_find()
143 hlist_for_each_entry_rcu(tt, head, hash_entry) { in batadv_tt_hash_find()
645 struct hlist_head *head; in batadv_tt_local_add() local
766 head = &tt_global->orig_list; in batadv_tt_local_add()
768 hlist_for_each_entry_rcu(orig_entry, head, list) { in batadv_tt_local_add()
1304 * @head: pointer to the list containing the local tt entries
1309 struct hlist_head *head, in batadv_tt_local_purge_list()
1316 hlist_for_each_entry_safe(tt_common_entry, node_tmp, head, in batadv_tt_local_purge_list()
1346 struct hlist_head *head; in batadv_tt_local_purge() local
1308 batadv_tt_local_purge_list(struct batadv_priv *bat_priv, struct hlist_head *head, int timeout) batadv_tt_local_purge_list() argument
1367 struct hlist_head *head; batadv_tt_local_table_free() local
1445 const struct hlist_head *head; batadv_tt_global_orig_entry_find() local
1507 const struct hlist_head *head; batadv_tt_global_sync_flags() local
1758 struct hlist_head *head; batadv_transtable_best_orig() local
1868 struct hlist_head *head; batadv_tt_global_dump_entry() local
1906 batadv_tt_global_dump_bucket(struct sk_buff *msg, u32 portid, u32 seq, struct batadv_priv *bat_priv, struct hlist_head *head, int *idx_s, int *sub) batadv_tt_global_dump_bucket() argument
1946 struct hlist_head *head; batadv_tt_global_dump() local
2029 struct hlist_head *head; batadv_tt_global_del_orig_list() local
2056 struct hlist_head *head; batadv_tt_global_del_orig_node() local
2089 struct hlist_head *head; batadv_tt_global_del_roaming() local
2202 struct hlist_head *head; batadv_tt_global_del_orig() local
2267 struct hlist_head *head; batadv_tt_global_purge() local
2310 struct hlist_head *head; batadv_tt_global_table_free() local
2445 struct hlist_head *head; batadv_tt_global_crc() local
2523 struct hlist_head *head; batadv_tt_local_crc() local
2761 struct hlist_head *head; batadv_tt_tvlv_generate() local
3604 struct hlist_head *head; batadv_tt_local_set_flags() local
3643 struct hlist_head *head; batadv_tt_local_purge_pending_clients() local
[all...]
/kernel/linux/linux-5.10/drivers/dma-buf/
H A Ddma-fence-chain.c146 struct dma_fence_chain *head = to_dma_fence_chain(fence); in dma_fence_chain_enable_signaling() local
148 dma_fence_get(&head->base); in dma_fence_chain_enable_signaling()
149 dma_fence_chain_for_each(fence, &head->base) { in dma_fence_chain_enable_signaling()
154 if (!dma_fence_add_callback(f, &head->cb, dma_fence_chain_cb)) { in dma_fence_chain_enable_signaling()
160 dma_fence_put(&head->base); in dma_fence_chain_enable_signaling()
/kernel/linux/linux-6.6/arch/arm/boot/compressed/
H A DMakefile10 HEAD = head.o
40 OBJS += head-sa1100.o
44 OBJS += head-xscale.o
48 OBJS += head-sharpsl.o
99 head.o $(OBJS)
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/
H A Dresponse_manager.c36 INIT_LIST_HEAD(&oct->response_list[i].head); in octeon_setup_response_list()
79 if (list_empty(&ordered_sc_list->head)) { in lio_process_ordered_list()
84 sc = list_first_entry(&ordered_sc_list->head, in lio_process_ordered_list()
148 [OCTEON_DONE_SC_LIST].head); in lio_process_ordered_list()
189 head); in lio_process_ordered_list()
/kernel/linux/linux-5.10/fs/hmdfs/
H A Dfile_root.c34 struct list_head *head, *node; in get_next_con() local
37 head = &sbi->connections.node_list; in get_next_con()
39 node = head->next; in get_next_con()
40 if (node == head) in get_next_con()
52 if (node == head) in get_next_con()
/kernel/linux/linux-5.10/drivers/power/reset/
H A Dreboot-mode.c32 list_for_each_entry(info, &reboot->head, list) { in get_reboot_mode_magic()
70 INIT_LIST_HEAD(&reboot->head); in reboot_mode_register()
101 list_add_tail(&info->list, &reboot->head); in reboot_mode_register()
110 list_for_each_entry(info, &reboot->head, list) in reboot_mode_register()
127 list_for_each_entry(info, &reboot->head, list) in reboot_mode_unregister()
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/liquidio/
H A Dresponse_manager.c36 INIT_LIST_HEAD(&oct->response_list[i].head); in octeon_setup_response_list()
81 if (list_empty(&ordered_sc_list->head)) { in lio_process_ordered_list()
86 sc = list_first_entry(&ordered_sc_list->head, in lio_process_ordered_list()
150 [OCTEON_DONE_SC_LIST].head); in lio_process_ordered_list()
191 head); in lio_process_ordered_list()
/kernel/linux/linux-6.6/fs/hmdfs/
H A Dfile_root.c34 struct list_head *head, *node; in get_next_con() local
37 head = &sbi->connections.node_list; in get_next_con()
39 node = head->next; in get_next_con()
40 if (node == head) in get_next_con()
52 if (node == head) in get_next_con()
/kernel/linux/linux-6.6/drivers/power/reset/
H A Dreboot-mode.c32 list_for_each_entry(info, &reboot->head, list) { in get_reboot_mode_magic()
70 INIT_LIST_HEAD(&reboot->head); in reboot_mode_register()
101 list_add_tail(&info->list, &reboot->head); in reboot_mode_register()
110 list_for_each_entry(info, &reboot->head, list) in reboot_mode_register()
127 list_for_each_entry(info, &reboot->head, list) in reboot_mode_unregister()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/
H A Dnouveau_usif.c37 struct list_head head; member
45 list_del(&object->head); in usif_object_dtor()
87 list_add(&object->head, &cli->objects); in usif_object_new()
163 list_del(&object->head); in usif_ioctl()
185 list_for_each_entry_safe(object, otemp, &cli->objects, head) { in usif_client_fini()
/third_party/node/tools/inspector_protocol/jinja2/
H A Dnativetypes.py18 head = list(islice(nodes, 2))
20 if not head:
23 if len(head) == 1:
24 out = head[0]
26 out = u''.join([text_type(v) for v in chain(head, nodes)])
/third_party/lz4/tests/
H A Dtest-lz4-abi.py24 head = 'v999' variable
79 tags = [head] + get_git_tags()
95 # if not os.path.isfile(dst_liblz4) or tag == head:
96 if tag != head:
131 if tag == head:
149 if tag != head:
161 print('run with CURRENT library version (head)')
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
H A Dadf_transport_debug.c48 int head, tail, empty; in adf_ring_show() local
50 head = READ_CSR_RING_HEAD(csr, bank->bank_number, in adf_ring_show()
61 seq_printf(sfile, "head %x, tail %x, empty: %d\n", in adf_ring_show()
62 head, tail, (empty & 1 << ring->ring_number) in adf_ring_show()
149 int head, tail, empty; in adf_bank_show() local
154 head = READ_CSR_RING_HEAD(csr, bank->bank_number, in adf_bank_show()
161 "ring num %02d, head %04x, tail %04x, empty: %d\n", in adf_bank_show()
162 ring->ring_number, head, tail, in adf_bank_show()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dmkregtable.c76 * @head: list head to add it before
78 * Insert a new entry before the specified head.
81 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
83 __list_add(new, head->prev, head); in list_add_tail()
98 * @head: the head for your list.
101 #define list_for_each_entry(pos, head, member) \
102 for (pos = list_entry((head)
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/
H A Dnv44.c47 struct list_head head; member
90 list_del(&chan->head); in nv44_mpeg_chan_dtor()
119 list_add(&chan->head, &mpeg->chan); in nv44_mpeg_chan_new()
158 list_for_each_entry(temp, &mpeg->chan, head) { in nv44_mpeg_intr()
161 list_del(&chan->head); in nv44_mpeg_intr()
162 list_add(&chan->head, &mpeg->chan); in nv44_mpeg_intr()
/kernel/linux/linux-6.6/drivers/net/can/c_can/
H A Dc_can.h181 unsigned int head; member
230 return ring->head & (ring->obj_num - 1); in c_can_get_tx_head()
241 u8 head = c_can_get_tx_head(ring); in c_can_get_tx_free() local
245 return ring->obj_num - (ring->head - ring->tail); in c_can_get_tx_free()
250 if (head < tail) in c_can_get_tx_free()
253 return ring->obj_num - head; in c_can_get_tx_free()
/kernel/linux/linux-6.6/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-tef.c80 seq, priv->tef->tail, priv->tef->head, tx_ring->head); in mcp251xfd_handle_tefif_recover()
135 * The new TEF head must be >= the old head, ... in mcp251xfd_tef_ring_update()
137 new_head = round_down(priv->tef->head, tx_ring->obj_num) + chip_tx_tail; in mcp251xfd_tef_ring_update()
138 if (new_head <= priv->tef->head) in mcp251xfd_tef_ring_update()
141 /* ... but it cannot exceed the TX head. */ in mcp251xfd_tef_ring_update()
142 priv->tef->head = min(new_head, tx_ring->head); in mcp251xfd_tef_ring_update()
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/
H A Dadf_transport_debug.c49 int head, tail, empty; in adf_ring_show() local
51 head = csr_ops->read_csr_ring_head(csr, bank->bank_number, in adf_ring_show()
62 seq_printf(sfile, "head %x, tail %x, empty: %d\n", in adf_ring_show()
63 head, tail, (empty & 1 << ring->ring_number) in adf_ring_show()
157 int head, tail, empty; in adf_bank_show() local
162 head = csr_ops->read_csr_ring_head(csr, bank->bank_number, in adf_bank_show()
169 "ring num %02d, head %04x, tail %04x, empty: %d\n", in adf_bank_show()
170 ring->ring_number, head, tail, in adf_bank_show()
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Dmkregtable.c76 * @head: list head to add it before
78 * Insert a new entry before the specified head.
81 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
83 __list_add(new, head->prev, head); in list_add_tail()
98 * @head: the head for your list.
101 #define list_for_each_entry(pos, head, member) \
102 for (pos = list_entry((head)
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/
H A Dnv44.c47 struct list_head head; member
90 list_del(&chan->head); in nv44_mpeg_chan_dtor()
118 list_add(&chan->head, &mpeg->chan); in nv44_mpeg_chan_new()
157 list_for_each_entry(temp, &mpeg->chan, head) { in nv44_mpeg_intr()
160 list_del(&chan->head); in nv44_mpeg_intr()
161 list_add(&chan->head, &mpeg->chan); in nv44_mpeg_intr()
/kernel/linux/linux-6.6/kernel/trace/
H A Drethook.c36 static void rethook_free_rcu(struct rcu_head *head) in rethook_free_rcu() argument
38 struct rethook *rh = container_of(head, struct rethook, rcu); in rethook_free_rcu()
43 node = rh->pool.head; in rethook_free_rcu()
112 rh->pool.head = NULL; in rethook_alloc()
133 static void free_rethook_node_rcu(struct rcu_head *head) in free_rethook_node_rcu() argument
135 struct rethook_node *node = container_of(head, struct rethook_node, rcu); in free_rethook_node_rcu()
/third_party/skia/third_party/externals/microhttpd/src/microspdy/
H A Dstructures.h1052 * Insert an element at the head of a DLL. Assumes that head, tail and
1055 * @param head pointer to the head of the DLL (struct ? *)
1059 #define DLL_insert(head,tail,element) do { \
1060 (element)->next = (head); \
1065 (head)->prev = element; \
1066 (head) = (element); } while (0)
1071 * that head, tail and element are structs
1074 * @param head pointe
[all...]
/kernel/linux/linux-6.6/drivers/nvme/host/
H A Dcore.c626 struct nvme_ns_head *head = in nvme_free_ns_head() local
629 nvme_mpath_remove_disk(head); in nvme_free_ns_head()
630 ida_free(&head->subsys->ns_ida, head->instance); in nvme_free_ns_head()
631 cleanup_srcu_struct(&head->srcu); in nvme_free_ns_head()
632 nvme_put_subsystem(head->subsys); in nvme_free_ns_head()
633 kfree(head); in nvme_free_ns_head()
636 bool nvme_tryget_ns_head(struct nvme_ns_head *head) in nvme_tryget_ns_head() argument
638 return kref_get_unless_zero(&head->ref); in nvme_tryget_ns_head()
641 void nvme_put_ns_head(struct nvme_ns_head *head) in nvme_put_ns_head() argument
3385 struct nvme_ns_head *head; nvme_alloc_ns_head() local
3467 struct nvme_ns_head *head = NULL; nvme_init_ns_head() local
[all...]

Completed in 28 milliseconds

1...<<31323334353637383940>>...246