Home
last modified time | relevance | path

Searched refs:head (Results 126 - 150 of 5921) sorted by relevance

12345678910>>...237

/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_agpsupport.c220 list_add(&entry->head, &dev->agp->memory); in drm_legacy_agp_alloc()
252 list_for_each_entry(entry, &dev->agp->memory, head) { in drm_legacy_agp_lookup_entry()
355 list_del(&entry->head); in drm_legacy_agp_free()
387 struct drm_agp_head *head = NULL; in drm_legacy_agp_init() local
389 head = kzalloc(sizeof(*head), GFP_KERNEL); in drm_legacy_agp_init()
390 if (!head) in drm_legacy_agp_init()
392 head->bridge = agp_find_bridge(pdev); in drm_legacy_agp_init()
393 if (!head->bridge) { in drm_legacy_agp_init()
394 head in drm_legacy_agp_init()
[all...]
/kernel/linux/linux-5.10/lib/
H A Dplist.c56 static void plist_check_head(struct plist_head *head) in plist_check_head() argument
58 if (!plist_head_empty(head)) in plist_check_head()
59 plist_check_list(&plist_first(head)->prio_list); in plist_check_head()
60 plist_check_list(&head->node_list); in plist_check_head()
68 * plist_add - add @node to @head
71 * @head: &struct plist_head pointer
73 void plist_add(struct plist_node *node, struct plist_head *head) in plist_add() argument
76 struct list_head *node_next = &head->node_list; in plist_add()
78 plist_check_head(head); in plist_add()
82 if (plist_head_empty(head)) in plist_add()
112 plist_del(struct plist_node *node, struct plist_head *head) plist_del() argument
145 plist_requeue(struct plist_node *node, struct plist_head *head) plist_requeue() argument
[all...]
H A Dllist.c22 * @head: the head for your lock-less list
27 struct llist_head *head) in llist_add_batch()
32 new_last->next = first = READ_ONCE(head->first); in llist_add_batch()
33 } while (cmpxchg(&head->first, first, new_first) != first); in llist_add_batch()
41 * @head: the head for your lock-less list
49 * llist_add) sequence in another user may change @head->first->next,
50 * but keep @head->first. If multiple consumers are needed, please
53 struct llist_node *llist_del_first(struct llist_head *head) in llist_del_first() argument
26 llist_add_batch(struct llist_node *new_first, struct llist_node *new_last, struct llist_head *head) llist_add_batch() argument
79 llist_reverse_order(struct llist_node *head) llist_reverse_order() argument
[all...]
/kernel/linux/linux-6.6/lib/
H A Dplist.c56 static void plist_check_head(struct plist_head *head) in plist_check_head() argument
58 if (!plist_head_empty(head)) in plist_check_head()
59 plist_check_list(&plist_first(head)->prio_list); in plist_check_head()
60 plist_check_list(&head->node_list); in plist_check_head()
68 * plist_add - add @node to @head
71 * @head: &struct plist_head pointer
73 void plist_add(struct plist_node *node, struct plist_head *head) in plist_add() argument
76 struct list_head *node_next = &head->node_list; in plist_add()
78 plist_check_head(head); in plist_add()
82 if (plist_head_empty(head)) in plist_add()
112 plist_del(struct plist_node *node, struct plist_head *head) plist_del() argument
145 plist_requeue(struct plist_node *node, struct plist_head *head) plist_requeue() argument
[all...]
/kernel/linux/common_modules/memory_security/src/
H A Djit_process.c24 result.head = &(now->head); in find_process_jit_space()
46 if (result.head != NULL) { in update_process_jit_space()
48 struct jit_process *now = container_of(result.head, struct jit_process, head); in update_process_jit_space()
50 return result.head; in update_process_jit_space()
65 process->head.next = &(process->head); in update_process_jit_space()
66 process->head.prev = &(process->head); in update_process_jit_space()
79 struct list_head *head = (find_process_jit_space(root, pid).head); delete_process_jit_space() local
[all...]
H A Djit_space_list.c21 const void find_jit_space(struct list_head *head, unsigned long begin, unsigned long size, int *err) in find_jit_space() argument
27 list_for_each(cur, head) in find_jit_space()
29 node = list_entry(cur, struct jit_space_node, head); in find_jit_space()
38 void update_jit_space(struct list_head *head, unsigned long begin, unsigned long size) in update_jit_space() argument
45 list_add(&(new->head), head); in update_jit_space()
47 struct jit_space_node *now = list_entry(head->next, struct jit_space_node, head); in update_jit_space()
50 void delete_jit_space(struct list_head *head, unsigned long begin, unsigned long size, int *err) in delete_jit_space() argument
56 list_for_each(cur, head) { in delete_jit_space()
81 exit_jit_space(struct list_head *head) exit_jit_space() argument
[all...]
/kernel/linux/linux-5.10/security/tomoyo/
H A Dgroup.c24 return container_of(a, struct tomoyo_path_group, head)->member_name == in tomoyo_same_path_group()
25 container_of(b, struct tomoyo_path_group, head)->member_name; in tomoyo_same_path_group()
39 return !memcmp(&container_of(a, struct tomoyo_number_group, head) in tomoyo_same_number_group()
41 &container_of(b, struct tomoyo_number_group, head) in tomoyo_same_number_group()
43 sizeof(container_of(a, struct tomoyo_number_group, head) in tomoyo_same_number_group()
59 head); in tomoyo_same_address_group()
61 head); in tomoyo_same_address_group()
90 error = tomoyo_update_policy(&e.head, sizeof(e), param, in tomoyo_write_group()
99 error = tomoyo_update_policy(&e.head, sizeof(e), param, in tomoyo_write_group()
111 error = tomoyo_update_policy(&e.head, sizeo in tomoyo_write_group()
[all...]
/kernel/linux/linux-6.6/security/tomoyo/
H A Dgroup.c24 return container_of(a, struct tomoyo_path_group, head)->member_name == in tomoyo_same_path_group()
25 container_of(b, struct tomoyo_path_group, head)->member_name; in tomoyo_same_path_group()
39 return !memcmp(&container_of(a, struct tomoyo_number_group, head) in tomoyo_same_number_group()
41 &container_of(b, struct tomoyo_number_group, head) in tomoyo_same_number_group()
43 sizeof(container_of(a, struct tomoyo_number_group, head) in tomoyo_same_number_group()
59 head); in tomoyo_same_address_group()
61 head); in tomoyo_same_address_group()
90 error = tomoyo_update_policy(&e.head, sizeof(e), param, in tomoyo_write_group()
99 error = tomoyo_update_policy(&e.head, sizeof(e), param, in tomoyo_write_group()
111 error = tomoyo_update_policy(&e.head, sizeo in tomoyo_write_group()
[all...]
/kernel/linux/linux-5.10/tools/virtio/ringtest/
H A Dring.c114 unsigned head, index; in add_inbuf() local
120 head = (ring_size - 1) & (guest.avail_idx++); in add_inbuf()
125 ring[head].addr = (unsigned long)(void*)buf; in add_inbuf()
126 ring[head].len = len; in add_inbuf()
133 index = ring[head].index; in add_inbuf()
138 ring[head].flags = DESC_HW; in add_inbuf()
145 unsigned head = (ring_size - 1) & guest.last_used_idx; in get_buf() local
149 if (ring[head].flags & DESC_HW) in get_buf()
153 *lenp = ring[head].len; in get_buf()
154 index = ring[head] in get_buf()
166 unsigned head = (ring_size - 1) & guest.last_used_idx; used_empty() local
221 unsigned head = (ring_size - 1) & host.used_idx; avail_empty() local
228 unsigned head = (ring_size - 1) & host.used_idx; use_buf() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/core/
H A Dphy.c81 struct list_head *head; in usb_phy_roothub_init() local
87 head = &phy_roothub->list; in usb_phy_roothub_init()
89 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_init()
98 list_for_each_entry_continue_reverse(roothub_entry, head, list) in usb_phy_roothub_init()
108 struct list_head *head; in usb_phy_roothub_exit() local
114 head = &phy_roothub->list; in usb_phy_roothub_exit()
116 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_exit()
130 struct list_head *head; in usb_phy_roothub_set_mode() local
136 head = &phy_roothub->list; in usb_phy_roothub_set_mode()
138 list_for_each_entry(roothub_entry, head, lis in usb_phy_roothub_set_mode()
157 struct list_head *head; usb_phy_roothub_calibrate() local
178 struct list_head *head; usb_phy_roothub_power_on() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/core/
H A Dphy.c81 struct list_head *head; in usb_phy_roothub_init() local
87 head = &phy_roothub->list; in usb_phy_roothub_init()
89 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_init()
98 list_for_each_entry_continue_reverse(roothub_entry, head, list) in usb_phy_roothub_init()
108 struct list_head *head; in usb_phy_roothub_exit() local
114 head = &phy_roothub->list; in usb_phy_roothub_exit()
116 list_for_each_entry(roothub_entry, head, list) { in usb_phy_roothub_exit()
130 struct list_head *head; in usb_phy_roothub_set_mode() local
136 head = &phy_roothub->list; in usb_phy_roothub_set_mode()
138 list_for_each_entry(roothub_entry, head, lis in usb_phy_roothub_set_mode()
157 struct list_head *head; usb_phy_roothub_calibrate() local
178 struct list_head *head; usb_phy_roothub_power_on() local
[all...]
/kernel/linux/linux-6.6/tools/virtio/ringtest/
H A Dring.c114 unsigned head, index; in add_inbuf() local
120 head = (ring_size - 1) & (guest.avail_idx++); in add_inbuf()
125 ring[head].addr = (unsigned long)(void*)buf; in add_inbuf()
126 ring[head].len = len; in add_inbuf()
133 index = ring[head].index; in add_inbuf()
138 ring[head].flags = DESC_HW; in add_inbuf()
145 unsigned head = (ring_size - 1) & guest.last_used_idx; in get_buf() local
149 if (ring[head].flags & DESC_HW) in get_buf()
153 *lenp = ring[head].len; in get_buf()
154 index = ring[head] in get_buf()
166 unsigned head = (ring_size - 1) & guest.last_used_idx; used_empty() local
221 unsigned head = (ring_size - 1) & host.used_idx; avail_empty() local
228 unsigned head = (ring_size - 1) & host.used_idx; use_buf() local
[all...]
/kernel/linux/linux-5.10/net/sctp/
H A Doutput.c390 static void sctp_packet_gso_append(struct sk_buff *head, struct sk_buff *skb) in sctp_packet_gso_append() argument
392 if (SCTP_OUTPUT_CB(head)->last == head) in sctp_packet_gso_append()
393 skb_shinfo(head)->frag_list = skb; in sctp_packet_gso_append()
395 SCTP_OUTPUT_CB(head)->last->next = skb; in sctp_packet_gso_append()
396 SCTP_OUTPUT_CB(head)->last = skb; in sctp_packet_gso_append()
398 head->truesize += skb->truesize; in sctp_packet_gso_append()
399 head->data_len += skb->len; in sctp_packet_gso_append()
400 head->len += skb->len; in sctp_packet_gso_append()
401 refcount_add(skb->truesize, &head in sctp_packet_gso_append()
406 sctp_packet_pack(struct sctp_packet *packet, struct sk_buff *head, int gso, gfp_t gfp) sctp_packet_pack() argument
552 struct sk_buff *head; sctp_packet_transmit() local
[all...]
/kernel/linux/linux-5.10/kernel/rcu/
H A Drcu_segcblist.c20 rclp->head = NULL; in rcu_cblist_init()
21 rclp->tail = &rclp->head; in rcu_cblist_init()
47 drclp->head = srclp->head; in rcu_cblist_flush_enqueue()
48 if (drclp->head) in rcu_cblist_flush_enqueue()
51 drclp->tail = &drclp->head; in rcu_cblist_flush_enqueue()
57 srclp->head = rhp; in rcu_cblist_flush_enqueue()
71 rhp = rclp->head; in rcu_cblist_dequeue()
75 rclp->head = rhp->next; in rcu_cblist_dequeue()
76 if (!rclp->head) in rcu_cblist_dequeue()
[all...]
/third_party/node/deps/cares/src/lib/
H A Dares_freeaddrinfo.c37 void ares__freeaddrinfo_cnames(struct ares_addrinfo_cname *head) in ares__freeaddrinfo_cnames() argument
40 while (head) { in ares__freeaddrinfo_cnames()
41 current = head; in ares__freeaddrinfo_cnames()
42 head = head->next; in ares__freeaddrinfo_cnames()
49 void ares__freeaddrinfo_nodes(struct ares_addrinfo_node *head) in ares__freeaddrinfo_nodes() argument
52 while (head) { in ares__freeaddrinfo_nodes()
53 current = head; in ares__freeaddrinfo_nodes()
54 head = head in ares__freeaddrinfo_nodes()
[all...]
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/
H A Dsvc_rdma_rw.c498 * This function writes either the head or tail of the xdr_buf
510 * the page list. A Reply chunk is @xdr's head, page list, and
519 info->wi_next_off = offset - xdr->head[0].iov_len; in svc_rdma_send_xdr_pagelist()
593 ret = svc_rdma_send_xdr_kvec(info, &xdr->head[0]); in svc_rdma_send_reply_chunk()
596 consumed = xdr->head[0].iov_len; in svc_rdma_send_reply_chunk()
603 xdr->head[0].iov_len, in svc_rdma_send_reply_chunk()
633 struct svc_rdma_recv_ctxt *head = info->ri_readctxt; in svc_rdma_build_read_segment() local
651 head->rc_arg.pages[info->ri_pageno] = in svc_rdma_build_read_segment()
654 head->rc_page_count++; in svc_rdma_build_read_segment()
716 * data lands in the page list of head
726 struct svc_rdma_recv_ctxt *head = info->ri_readctxt; svc_rdma_build_normal_read_chunk() local
782 struct svc_rdma_recv_ctxt *head = info->ri_readctxt; svc_rdma_build_pz_read_chunk() local
843 svc_rdma_recv_read_chunk(struct svcxprt_rdma *rdma, struct svc_rqst *rqstp, struct svc_rdma_recv_ctxt *head, __be32 *p) svc_rdma_recv_read_chunk() argument
[all...]
/kernel/linux/linux-5.10/kernel/gcov/
H A Dclang.c59 struct list_head head; member
69 struct list_head head; member
96 INIT_LIST_HEAD(&info->head); in llvm_gcov_init()
101 list_add_tail(&info->head, &clang_gcov_list); in llvm_gcov_init()
140 INIT_LIST_HEAD(&info->head); in llvm_gcda_emit_function()
148 list_add_tail(&info->head, &current_info->functions); in llvm_gcda_emit_function()
158 INIT_LIST_HEAD(&info->head); in llvm_gcda_emit_function()
162 list_add_tail(&info->head, &current_info->functions); in llvm_gcda_emit_function()
170 struct gcov_fn_info, head); in llvm_gcda_emit_arcs()
216 struct gcov_info, head); in gcov_info_next()
[all...]
/kernel/linux/linux-6.6/drivers/rpmsg/
H A Dqcom_glink_smem.c54 __le32 *head; member
69 u32 head; in glink_smem_rx_avail() local
85 head = le32_to_cpu(*pipe->head); in glink_smem_rx_avail()
88 if (head < tail) in glink_smem_rx_avail()
89 return pipe->native.length - tail + head; in glink_smem_rx_avail()
91 return head - tail; in glink_smem_rx_avail()
132 u32 head; in glink_smem_tx_avail() local
136 head = le32_to_cpu(*pipe->head); in glink_smem_tx_avail()
152 glink_smem_tx_write_one(struct glink_smem_pipe *pipe, unsigned int head, const void *data, size_t count) glink_smem_tx_write_one() argument
177 unsigned int head; glink_smem_tx_write() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dbase.c27 #include "head.h"
45 struct nvkm_head *head = nvkm_head_find(disp, id); in nvkm_disp_vblank_fini() local
46 if (head) in nvkm_disp_vblank_fini()
47 head->func->vblank_put(head); in nvkm_disp_vblank_fini()
54 struct nvkm_head *head = nvkm_head_find(disp, id); in nvkm_disp_vblank_init() local
55 if (head) in nvkm_disp_vblank_init()
56 head->func->vblank_get(head); in nvkm_disp_vblank_init()
66 nvkm_disp_vblank(struct nvkm_disp *disp, int head) in nvkm_disp_vblank() argument
165 struct nvkm_head *head; nvkm_disp_oneinit() local
312 struct nvkm_head *head; nvkm_disp_dtor() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_cmdbuf_res.c40 * @head: List head used either by the staging list or the manager list
48 struct list_head head; member
89 hash_for_each_possible_rcu(man->resources, hash, head, key) { in vmw_cmdbuf_res_lookup()
108 list_del(&entry->head); in vmw_cmdbuf_res_free()
109 hash_del_rcu(&entry->hash.head); in vmw_cmdbuf_res_free()
128 list_for_each_entry_safe(entry, next, list, head) { in vmw_cmdbuf_res_commit()
129 list_del(&entry->head); in vmw_cmdbuf_res_commit()
136 list_add_tail(&entry->head, &entry->man->list); in vmw_cmdbuf_res_commit()
164 list_for_each_entry_safe(entry, next, list, head) { in vmw_cmdbuf_res_revert()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dvga.h7 u8 nvkm_rdport(struct nvkm_device *, int head, u16 port);
8 void nvkm_wrport(struct nvkm_device *, int head, u16 port, u8 value);
11 u8 nvkm_rdvgas(struct nvkm_device *, int head, u8 index);
12 void nvkm_wrvgas(struct nvkm_device *, int head, u8 index, u8 value);
15 u8 nvkm_rdvgag(struct nvkm_device *, int head, u8 index);
16 void nvkm_wrvgag(struct nvkm_device *, int head, u8 index, u8 value);
19 u8 nvkm_rdvgac(struct nvkm_device *, int head, u8 index);
20 void nvkm_wrvgac(struct nvkm_device *, int head, u8 index, u8 value);
23 u8 nvkm_rdvgai(struct nvkm_device *, int head, u16 port, u8 index);
24 void nvkm_wrvgai(struct nvkm_device *, int head, u1
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dvga.h7 u8 nvkm_rdport(struct nvkm_device *, int head, u16 port);
8 void nvkm_wrport(struct nvkm_device *, int head, u16 port, u8 value);
11 u8 nvkm_rdvgas(struct nvkm_device *, int head, u8 index);
12 void nvkm_wrvgas(struct nvkm_device *, int head, u8 index, u8 value);
15 u8 nvkm_rdvgag(struct nvkm_device *, int head, u8 index);
16 void nvkm_wrvgag(struct nvkm_device *, int head, u8 index, u8 value);
19 u8 nvkm_rdvgac(struct nvkm_device *, int head, u8 index);
20 void nvkm_wrvgac(struct nvkm_device *, int head, u8 index, u8 value);
23 u8 nvkm_rdvgai(struct nvkm_device *, int head, u16 port, u8 index);
24 void nvkm_wrvgai(struct nvkm_device *, int head, u1
[all...]
/kernel/linux/linux-5.10/net/netlabel/
H A Dnetlabel_addrlist.c38 * @head: the list head
41 * Searches the IPv4 address list given by @head. If a matching address entry
47 struct list_head *head) in netlbl_af4list_search()
51 list_for_each_entry_rcu(iter, head, list) in netlbl_af4list_search()
62 * @head: the list head
65 * Searches the IPv4 address list given by @head. If an exact match if found
72 struct list_head *head) in netlbl_af4list_search_exact()
76 list_for_each_entry_rcu(iter, head, lis in netlbl_af4list_search_exact()
46 netlbl_af4list_search(__be32 addr, struct list_head *head) netlbl_af4list_search() argument
70 netlbl_af4list_search_exact(__be32 addr, __be32 mask, struct list_head *head) netlbl_af4list_search_exact() argument
96 netlbl_af6list_search(const struct in6_addr *addr, struct list_head *head) netlbl_af6list_search() argument
121 netlbl_af6list_search_exact(const struct in6_addr *addr, const struct in6_addr *mask, struct list_head *head) netlbl_af6list_search_exact() argument
148 netlbl_af4list_add(struct netlbl_af4list *entry, struct list_head *head) netlbl_af4list_add() argument
185 netlbl_af6list_add(struct netlbl_af6list *entry, struct list_head *head) netlbl_af6list_add() argument
239 netlbl_af4list_remove(__be32 addr, __be32 mask, struct list_head *head) netlbl_af4list_remove() argument
279 netlbl_af6list_remove(const struct in6_addr *addr, const struct in6_addr *mask, struct list_head *head) netlbl_af6list_remove() argument
[all...]
/kernel/linux/linux-6.6/net/netlabel/
H A Dnetlabel_addrlist.c38 * @head: the list head
41 * Searches the IPv4 address list given by @head. If a matching address entry
47 struct list_head *head) in netlbl_af4list_search()
51 list_for_each_entry_rcu(iter, head, list) in netlbl_af4list_search()
62 * @head: the list head
65 * Searches the IPv4 address list given by @head. If an exact match if found
72 struct list_head *head) in netlbl_af4list_search_exact()
76 list_for_each_entry_rcu(iter, head, lis in netlbl_af4list_search_exact()
46 netlbl_af4list_search(__be32 addr, struct list_head *head) netlbl_af4list_search() argument
70 netlbl_af4list_search_exact(__be32 addr, __be32 mask, struct list_head *head) netlbl_af4list_search_exact() argument
96 netlbl_af6list_search(const struct in6_addr *addr, struct list_head *head) netlbl_af6list_search() argument
121 netlbl_af6list_search_exact(const struct in6_addr *addr, const struct in6_addr *mask, struct list_head *head) netlbl_af6list_search_exact() argument
148 netlbl_af4list_add(struct netlbl_af4list *entry, struct list_head *head) netlbl_af4list_add() argument
185 netlbl_af6list_add(struct netlbl_af6list *entry, struct list_head *head) netlbl_af6list_add() argument
239 netlbl_af4list_remove(__be32 addr, __be32 mask, struct list_head *head) netlbl_af4list_remove() argument
279 netlbl_af6list_remove(const struct in6_addr *addr, const struct in6_addr *mask, struct list_head *head) netlbl_af6list_remove() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dheadnv04.c24 #include "head.h"
27 nv04_head_vblank_put(struct nvkm_head *head) in nv04_head_vblank_put() argument
29 struct nvkm_device *device = head->disp->engine.subdev.device; in nv04_head_vblank_put()
30 nvkm_wr32(device, 0x600140 + (head->id * 0x2000) , 0x00000000); in nv04_head_vblank_put()
34 nv04_head_vblank_get(struct nvkm_head *head) in nv04_head_vblank_get() argument
36 struct nvkm_device *device = head->disp->engine.subdev.device; in nv04_head_vblank_get()
37 nvkm_wr32(device, 0x600140 + (head->id * 0x2000) , 0x00000001); in nv04_head_vblank_get()
41 nv04_head_rgpos(struct nvkm_head *head, u16 *hline, u16 *vline) in nv04_head_rgpos() argument
43 struct nvkm_device *device = head->disp->engine.subdev.device; in nv04_head_rgpos()
44 u32 data = nvkm_rd32(device, 0x600868 + (head in nv04_head_rgpos()
50 nv04_head_state(struct nvkm_head *head, struct nvkm_head_state *state) nv04_head_state() argument
[all...]

Completed in 11 milliseconds

12345678910>>...237