Home
last modified time | relevance | path

Searched refs:head (Results 401 - 425 of 5965) sorted by relevance

1...<<11121314151617181920>>...239

/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threads-smp/mount-origin/
H A Dexample.js1 var head = 0, tail = 0, ring = new Array(); variable
45 ring[head] = msg.data + "\n";
46 head = (head + 1) % 50;
47 if (tail === head)
54 } while (n !== head);
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ras.h321 struct list_head head; member
396 struct ras_common_if head; member
426 struct ras_common_if head; member
432 struct ras_common_if head; member
438 struct ras_common_if head; member
444 struct ras_common_if head; member
449 struct ras_common_if head; member
454 struct ras_common_if head; member
460 struct ras_common_if head; member
599 struct ras_common_if *head, boo
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/
H A Ddisp.c78 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_fini()
88 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_fini()
115 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_init()
120 list_for_each_entry(encoder, &dev->mode_config.encoder_list, base.base.head) in nv04_display_init()
130 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_init()
142 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_init()
156 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_init()
172 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_init()
197 list_for_each_entry(encoder, &dev->mode_config.encoder_list, base.base.head) in nv04_display_destroy()
200 list_for_each_entry(nv_crtc, &dev->mode_config.crtc_list, base.head) in nv04_display_destroy()
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dseq_file.h274 extern struct list_head *seq_list_start(struct list_head *head,
276 extern struct list_head *seq_list_start_head(struct list_head *head,
278 extern struct list_head *seq_list_next(void *v, struct list_head *head,
281 extern struct list_head *seq_list_start_rcu(struct list_head *head, loff_t pos);
282 extern struct list_head *seq_list_start_head_rcu(struct list_head *head, loff_t pos);
283 extern struct list_head *seq_list_next_rcu(void *v, struct list_head *head, loff_t *ppos);
289 extern struct hlist_node *seq_hlist_start(struct hlist_head *head,
291 extern struct hlist_node *seq_hlist_start_head(struct hlist_head *head,
293 extern struct hlist_node *seq_hlist_next(void *v, struct hlist_head *head,
296 extern struct hlist_node *seq_hlist_start_rcu(struct hlist_head *head,
[all...]
/kernel/linux/linux-6.6/kernel/futex/
H A Dsyscalls.c25 * sys_set_robust_list() - Set the robust-futex list head of a task
26 * @head: pointer to the list-head
27 * @len: length of the list-head, as userspace expects
29 SYSCALL_DEFINE2(set_robust_list, struct robust_list_head __user *, head, in SYSCALL_DEFINE2()
35 if (unlikely(len != sizeof(*head))) in SYSCALL_DEFINE2()
38 current->robust_list = head; in SYSCALL_DEFINE2()
44 * sys_get_robust_list() - Get the robust-futex list head of a task
46 * @head_ptr: pointer to a list-head pointer, the kernel fills it in
53 struct robust_list_head __user *head; in SYSCALL_DEFINE3() local
325 struct compat_robust_list_head __user *head; COMPAT_SYSCALL_DEFINE3() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv04/
H A Ddisp.c78 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_fini()
88 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_fini()
115 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_init()
120 list_for_each_entry(encoder, &dev->mode_config.encoder_list, base.base.head) in nv04_display_init()
130 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_init()
142 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_init()
156 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_init()
172 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_init()
197 list_for_each_entry(encoder, &dev->mode_config.encoder_list, base.base.head) in nv04_display_destroy()
200 list_for_each_entry(nv_crtc, &dev->mode_config.crtc_list, base.head) in nv04_display_destroy()
[all...]
/third_party/nghttp2/src/
H A Dallocator.h60 head(nullptr), in BlockAllocator()
70 head{std::exchange(other.head, nullptr)}, struct
78 head = std::exchange(other.head, nullptr);
96 head = nullptr; in reset()
121 if (!head || in alloc()
122 head->end - head->last < static_cast<ssize_t>(size + sizeof(size_t))) { in alloc()
123 head in alloc()
172 MemBlock *head; global() member
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/rseq/
H A Dbasic_percpu_ops_test.c39 struct percpu_list_node *head; member
145 /* Load list->c[cpu].head with single-copy atomicity. */ in this_cpu_list_push()
146 expect = (intptr_t)RSEQ_READ_ONCE(list->c[cpu].head); in this_cpu_list_push()
148 targetptr = (intptr_t *)&list->c[cpu].head; in this_cpu_list_push()
168 struct percpu_list_node *head; in this_cpu_list_pop() local
174 targetptr = (intptr_t *)&list->c[cpu].head; in this_cpu_list_pop()
177 load = (intptr_t *)&head; in this_cpu_list_pop()
183 return head; in this_cpu_list_pop()
199 node = list->c[cpu].head; in __percpu_list_pop()
202 list->c[cpu].head in __percpu_list_pop()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dior.h18 struct list_head head; member
34 unsigned head:8; member
66 void (*ctrl)(struct nvkm_ior *, int head, bool enable,
79 void (*vcpi)(struct nvkm_ior *, int head, u8 slot,
81 void (*audio)(struct nvkm_ior *, int head, bool enable);
82 void (*audio_sym)(struct nvkm_ior *, int head, u16 h, u32 v);
83 void (*activesym)(struct nvkm_ior *, int head,
85 void (*watermark)(struct nvkm_ior *, int head, u8 watermark);
89 void (*hpd)(struct nvkm_ior *, int head, bool present);
90 void (*eld)(struct nvkm_ior *, int head, u
[all...]
/kernel/linux/linux-6.6/fs/erofs/
H A Dnamei.c50 int head, back; in find_target_dirent() local
55 head = 1; in find_target_dirent()
59 while (head <= back) { in find_target_dirent()
60 const int mid = head + (back - head) / 2; in find_target_dirent()
78 head = mid + 1; in find_target_dirent()
93 int head = 0, back = erofs_iblks(dir) - 1; in erofs_find_target_block() local
97 while (head <= back) { in erofs_find_target_block()
98 const int mid = head + (back - head) / in erofs_find_target_block()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/rseq/
H A Dbasic_percpu_ops_test.c65 struct percpu_list_node *head; member
171 /* Load list->c[cpu].head with single-copy atomicity. */ in this_cpu_list_push()
172 expect = (intptr_t)RSEQ_READ_ONCE(list->c[cpu].head); in this_cpu_list_push()
174 targetptr = (intptr_t *)&list->c[cpu].head; in this_cpu_list_push()
195 struct percpu_list_node *head; in this_cpu_list_pop() local
201 targetptr = (intptr_t *)&list->c[cpu].head; in this_cpu_list_pop()
204 load = (intptr_t *)&head; in this_cpu_list_pop()
211 return head; in this_cpu_list_pop()
227 node = list->c[cpu].head; in __percpu_list_pop()
230 list->c[cpu].head in __percpu_list_pop()
[all...]
/third_party/icu/icu4c/source/common/
H A Dulist.cpp28 UListNode *head; member
50 newList->head = NULL; in ulist_createEmptyList()
64 list->head = newItem; in ulist_addFirstItem()
70 // p is the list head. in ulist_removeItem()
71 list->head = p->next; in ulist_removeItem()
149 newItem->next = list->head; in ulist_addItemBeginList()
150 list->head->previous = newItem; in ulist_addItemBeginList()
151 list->head = newItem; in ulist_addItemBeginList()
160 for (pointer = list->head; pointer != NULL; pointer = pointer->next) { in ulist_containsString()
174 for (pointer = list->head; pointe in ulist_removeString()
[all...]
/third_party/libwebsockets/lib/core/
H A Dlws_dll2.c60 lws_start_foreach_dll_safe(struct lws_dll2 *, p, tp, owner->head) { in lws_dll2_foreach_safe()
77 if (owner->head != d) in lws_dll2_add_head()
78 d->next = owner->head; in lws_dll2_add_head()
83 /* there is nobody previous to us, we are the head */ in lws_dll2_add_head()
87 owner->head = d; in lws_dll2_add_head()
130 owner->head = d; in lws_dll2_add_before()
157 /* list head is also us if we're the first */ in lws_dll2_add_tail()
158 if (!owner->head) in lws_dll2_add_tail()
159 owner->head = d; in lws_dll2_add_tail()
179 /* if we have phead, track the tail and head i in lws_dll2_remove()
[all...]
/third_party/node/deps/cares/src/lib/
H A Dares__llist.c32 ares__llist_node_t *head; member
85 if (type == ARES__LLIST_INSERT_BEFORE && (at == list->head || at == NULL)) { in ares__llist_attach_at()
91 node->next = list->head; in ares__llist_attach_at()
93 if (list->head) { in ares__llist_attach_at()
94 list->head->prev = node; in ares__llist_attach_at()
96 list->head = node; in ares__llist_attach_at()
115 if (list->head == NULL) { in ares__llist_attach_at()
116 list->head = node; in ares__llist_attach_at()
186 return list->head; in ares__llist_node_first()
266 if (node == list->head) { in ares__llist_node_detach()
[all...]
/third_party/node/deps/icu-small/source/common/
H A Dulist.cpp28 UListNode *head; member
50 newList->head = nullptr; in ulist_createEmptyList()
64 list->head = newItem; in ulist_addFirstItem()
70 // p is the list head. in ulist_removeItem()
71 list->head = p->next; in ulist_removeItem()
149 newItem->next = list->head; in ulist_addItemBeginList()
150 list->head->previous = newItem; in ulist_addItemBeginList()
151 list->head = newItem; in ulist_addItemBeginList()
160 for (pointer = list->head; pointer != nullptr; pointer = pointer->next) { in ulist_containsString()
174 for (pointer = list->head; pointe in ulist_removeString()
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Dulist.cpp28 UListNode *head; member
50 newList->head = NULL; in ulist_createEmptyList()
64 list->head = newItem; in ulist_addFirstItem()
70 // p is the list head. in ulist_removeItem()
71 list->head = p->next; in ulist_removeItem()
149 newItem->next = list->head; in ulist_addItemBeginList()
150 list->head->previous = newItem; in ulist_addItemBeginList()
151 list->head = newItem; in ulist_addItemBeginList()
160 for (pointer = list->head; pointer != NULL; pointer = pointer->next) { in ulist_containsString()
174 for (pointer = list->head; pointe in ulist_removeString()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dcord_ring_reader_test.cc80 EXPECT_THAT(reader.index(), Eq(ring->head())); in TEST()
81 EXPECT_THAT(reader.node(), Eq(ring->entry_child(ring->head()))); in TEST()
97 CordRepRing::index_type head = ring->head(); in TEST() local
103 CordRepRing::index_type index = ring->advance(head, i); in TEST()
125 CordRepRing::index_type head = ring->head(); in TEST() local
131 CordRepRing::index_type index = ring->advance(head, i); in TEST()
152 CordRepRing::index_type head = ring->head(); in TEST() local
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
H A Drc.c107 u32 head; in rvt_compute_aeth() local
114 head = RDMA_READ_UAPI_ATOMIC(qp->r_rq.wq->head); in rvt_compute_aeth()
117 head = READ_ONCE(qp->r_rq.kwq->head); in rvt_compute_aeth()
120 if (head >= qp->r_rq.size) in rvt_compute_aeth()
121 head = 0; in rvt_compute_aeth()
130 credits = rvt_get_rq_count(&qp->r_rq, head, tail); in rvt_compute_aeth()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/top/
H A Dbase.c39 list_add_tail(&info->head, &top->device); in nvkm_top_device_new()
51 list_for_each_entry(info, &top->device, head) { in nvkm_top_addr()
67 list_for_each_entry(info, &top->device, head) { in nvkm_top_reset()
83 list_for_each_entry(info, &top->device, head) { in nvkm_top_intr_mask()
98 list_for_each_entry(info, &top->device, head) { in nvkm_top_fault_id()
112 list_for_each_entry(info, &top->device, head) { in nvkm_top_fault()
137 list_for_each_entry_safe(info, temp, &top->device, head) { in nvkm_top_dtor()
138 list_del(&info->head); in nvkm_top_dtor()
/kernel/linux/linux-6.6/drivers/infiniband/sw/rdmavt/
H A Drc.c65 u32 head; in rvt_compute_aeth() local
72 head = RDMA_READ_UAPI_ATOMIC(qp->r_rq.wq->head); in rvt_compute_aeth()
75 head = READ_ONCE(qp->r_rq.kwq->head); in rvt_compute_aeth()
78 if (head >= qp->r_rq.size) in rvt_compute_aeth()
79 head = 0; in rvt_compute_aeth()
88 credits = rvt_get_rq_count(&qp->r_rq, head, tail); in rvt_compute_aeth()
/third_party/libdrm/etnaviv/
H A Detnaviv_perfmon.c57 list_addtail(&sig->head, &dom->signals); in etna_perfmon_query_signals()
85 list_addtail(&dom->head, &pm->domains); in etna_perfmon_query_domains()
107 LIST_FOR_EACH_ENTRY_SAFE(sig, next, &dom->signals, head) { in etna_perfmon_free_signals()
108 list_del(&sig->head); in etna_perfmon_free_signals()
117 LIST_FOR_EACH_ENTRY_SAFE(dom, next, &pm->domains, head) { in etna_perfmon_free_domains()
119 list_del(&dom->head); in etna_perfmon_free_domains()
164 LIST_FOR_EACH_ENTRY(dom, &pm->domains, head) { in etna_perfmon_get_dom_by_name()
178 LIST_FOR_EACH_ENTRY(signal, &dom->signals, head) { in etna_perfmon_get_sig_by_name()
/third_party/mesa3d/src/etnaviv/drm/
H A Detnaviv_perfmon.c57 list_addtail(&sig->head, &dom->signals); in etna_perfmon_query_signals()
85 list_addtail(&dom->head, &pm->domains); in etna_perfmon_query_domains()
107 LIST_FOR_EACH_ENTRY_SAFE(sig, next, &dom->signals, head) { in etna_perfmon_free_signals()
108 list_del(&sig->head); in etna_perfmon_free_signals()
117 LIST_FOR_EACH_ENTRY_SAFE(dom, next, &pm->domains, head) { in etna_perfmon_free_domains()
119 list_del(&dom->head); in etna_perfmon_free_domains()
164 LIST_FOR_EACH_ENTRY(dom, &pm->domains, head) { in etna_perfmon_get_dom_by_name()
178 LIST_FOR_EACH_ENTRY(signal, &dom->signals, head) { in etna_perfmon_get_sig_by_name()
/third_party/mesa3d/src/gallium/winsys/virgl/common/
H A Dvirgl_resource_cache.c53 list_del(&entry->head); in virgl_resource_cache_entry_release()
61 entry, &cache->resources, head) { in virgl_resource_cache_destroy_expired()
92 assert(entry->head.next == NULL); in virgl_resource_cache_add()
93 assert(entry->head.prev == NULL); in virgl_resource_cache_add()
99 list_addtail(&entry->head, &cache->resources); in virgl_resource_cache_add()
114 entry, &cache->resources, head) { in virgl_resource_cache_remove_compatible()
143 list_del(&compat_entry->head); in virgl_resource_cache_remove_compatible()
152 entry, &cache->resources, head) { in virgl_resource_cache_flush()
/kernel/linux/linux-5.10/kernel/events/
H A Dring_buffer.c29 * We need to ensure a later event_id doesn't publish a head when a former
33 * We only publish the head (and generate a wakeup) when the outer-most
53 unsigned long head; in perf_output_put_handle() local
68 * In order to avoid publishing a head value that goes backwards, in perf_output_put_handle()
69 * we must ensure the load of @rb->head happens after we've in perf_output_put_handle()
72 * Otherwise we can observe a @rb->head value before one published in perf_output_put_handle()
76 head = local_read(&rb->head); in perf_output_put_handle()
79 * IRQ/NMI can happen here and advance @rb->head, causing our in perf_output_put_handle()
110 WRITE_ONCE(rb->user_page->data_head, head); in perf_output_put_handle()
138 ring_buffer_has_space(unsigned long head, unsigned long tail, unsigned long data_size, unsigned int size, bool backward) ring_buffer_has_space() argument
155 unsigned long tail, offset, head; __perf_output_begin() local
[all...]
/kernel/linux/linux-6.6/kernel/events/
H A Dring_buffer.c29 * We need to ensure a later event_id doesn't publish a head when a former
33 * We only publish the head (and generate a wakeup) when the outer-most
53 unsigned long head; in perf_output_put_handle() local
68 * In order to avoid publishing a head value that goes backwards, in perf_output_put_handle()
69 * we must ensure the load of @rb->head happens after we've in perf_output_put_handle()
72 * Otherwise we can observe a @rb->head value before one published in perf_output_put_handle()
76 head = local_read(&rb->head); in perf_output_put_handle()
79 * IRQ/NMI can happen here and advance @rb->head, causing our in perf_output_put_handle()
110 WRITE_ONCE(rb->user_page->data_head, head); in perf_output_put_handle()
138 ring_buffer_has_space(unsigned long head, unsigned long tail, unsigned long data_size, unsigned int size, bool backward) ring_buffer_has_space() argument
155 unsigned long tail, offset, head; __perf_output_begin() local
[all...]

Completed in 12 milliseconds

1...<<11121314151617181920>>...239