Searched refs:head (Results 101 - 125 of 2525) sorted by relevance

1234567891011>>

/linux-master/net/batman-adv/
H A Dhash.h83 struct hlist_head *head; local
91 head = &hash->table[index];
96 hlist_for_each(node, head) {
105 hlist_add_head_rcu(data_node, head);
136 struct hlist_head *head; local
140 head = &hash->table[index];
143 hlist_for_each(node, head) {
/linux-master/include/linux/
H A Drcutiny.h101 static inline void __kvfree_call_rcu(struct rcu_head *head, void *ptr) argument
103 if (head) {
104 call_rcu(head, (rcu_callback_t) ((void *) head - ptr));
115 void kvfree_call_rcu(struct rcu_head *head, void *ptr);
117 static inline void kvfree_call_rcu(struct rcu_head *head, void *ptr) argument
119 __kvfree_call_rcu(head, ptr);
H A Dresource_ext.h32 extern void resource_list_free(struct list_head *head);
35 struct list_head *head)
37 list_add(&entry->node, head);
41 struct list_head *head)
43 list_add_tail(&entry->node, head);
34 resource_list_add(struct resource_entry *entry, struct list_head *head) argument
40 resource_list_add_tail(struct resource_entry *entry, struct list_head *head) argument
/linux-master/fs/proc/
H A Dproc_sysctl.c91 static int insert_links(struct ctl_table_header *head);
115 struct ctl_table_header *head; local
126 head = ctl_node->header;
127 entry = &head->ctl_table[ctl_node - head->node];
136 *phead = head;
143 static int insert_entry(struct ctl_table_header *head, struct ctl_table *entry) argument
145 struct rb_node *node = &head->node[entry - head->ctl_table].node;
146 struct rb_node **p = &head
182 erase_entry(struct ctl_table_header *head, struct ctl_table *entry) argument
189 init_header(struct ctl_table_header *head, struct ctl_table_root *root, struct ctl_table_set *set, struct ctl_node *node, struct ctl_table *table, size_t table_size) argument
215 erase_header(struct ctl_table_header *head) argument
281 proc_sys_invalidate_dcache(struct ctl_table_header *head) argument
317 sysctl_head_grab(struct ctl_table_header *head) argument
327 sysctl_head_finish(struct ctl_table_header *head) argument
349 struct ctl_table_header *head; local
377 struct ctl_table_header *head = NULL; local
394 struct ctl_table_header *head = *phead; local
428 sysctl_perm(struct ctl_table_header *head, struct ctl_table *table, int op) argument
441 proc_sys_make_inode(struct super_block *sb, struct ctl_table_header *head, struct ctl_table *table) argument
492 proc_sys_evict_inode(struct inode *inode, struct ctl_table_header *head) argument
503 struct ctl_table_header *head = PROC_I(inode)->sysctl; local
512 struct ctl_table_header *head = grab_header(dir); local
552 struct ctl_table_header *head = grab_header(inode); local
626 struct ctl_table_header *head = grab_header(inode); local
644 struct ctl_table_header *head = grab_header(inode); local
673 proc_sys_fill_cache(struct file *file, struct dir_context *ctx, struct ctl_table_header *head, struct ctl_table *table) argument
717 proc_sys_link_fill_cache(struct file *file, struct dir_context *ctx, struct ctl_table_header *head, struct ctl_table *table) argument
738 scan(struct ctl_table_header *head, struct ctl_table *table, unsigned long *pos, struct file *file, struct dir_context *ctx) argument
760 struct ctl_table_header *head = grab_header(file_inode(file)); local
794 struct ctl_table_header *head; local
838 struct ctl_table_header *head = grab_header(inode); local
911 struct ctl_table_header *head; local
937 struct ctl_table_header *head; local
1051 struct ctl_table_header *head; local
1154 new_links(struct ctl_dir *dir, struct ctl_table_header *head) argument
1232 insert_links(struct ctl_table_header *head) argument
[all...]
/linux-master/net/atm/
H A Daddr.c52 struct list_head *head; local
56 head = &dev->lecs;
58 head = &dev->local;
59 list_for_each_entry_safe(this, p, head, entry) {
64 if (head == &dev->local)
73 struct list_head *head; local
81 head = &dev->lecs;
83 head = &dev->local;
84 list_for_each_entry(this, head, entry) {
96 list_add(&this->entry, head);
108 struct list_head *head; local
138 struct list_head *head; local
[all...]
/linux-master/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_mbx.c16 fifo->head = 0;
28 return fifo->tail - fifo->head;
39 return fifo->size + fifo->head - fifo->tail;
50 return fifo->head == fifo->tail;
54 * fm10k_fifo_head_offset - returns indices of head with given offset
56 * @offset: offset to add to head
58 * This function returns the indices into the FIFO based on head + offset
62 return (fifo->head + offset) & (fifo->size - 1);
85 u32 *head = fifo->buffer + fm10k_fifo_head_offset(fifo, 0); local
87 /* verify there is at least 1 DWORD in the fifo so *head i
132 fm10k_mbx_index_len(struct fm10k_mbx_info *mbx, u16 head, u16 tail) argument
185 u16 head = (mbx->head + offset + 1) & ((mbx->mbmem_len << 1) - 1); local
201 u16 head = (mbx->head - offset - 1) & ((mbx->mbmem_len << 1) - 1); local
335 u32 *head = fifo->buffer; local
382 fm10k_mbx_pull_head(struct fm10k_hw *hw, struct fm10k_mbx_info *mbx, u16 head) argument
429 u16 end, len, head; local
617 fm10k_mbx_update_local_crc(struct fm10k_mbx_info *mbx, u16 head) argument
952 u16 type, rsvd0, head, tail, size; local
1017 fm10k_mbx_create_reply(struct fm10k_hw *hw, struct fm10k_mbx_info *mbx, u16 head) argument
1060 u16 len, head, ack; local
1152 u16 size, head; local
1198 u16 head, tail; local
1241 u16 head; local
1293 u16 head; local
1775 u16 tail, head, ver; local
1918 fm10k_sm_mbx_transmit(struct fm10k_hw *hw, struct fm10k_mbx_info *mbx, u16 head) argument
1963 fm10k_sm_mbx_create_reply(struct fm10k_hw *hw, struct fm10k_mbx_info *mbx, u16 head) argument
2043 u16 head, tail; local
[all...]
/linux-master/net/sched/
H A Dcls_basic.c45 struct basic_head *head = rcu_dereference_bh(tp->root); local
48 list_for_each_entry_rcu(f, &head->flist, link) {
64 struct basic_head *head = rtnl_dereference(tp->root); local
67 list_for_each_entry(f, &head->flist, link) {
78 struct basic_head *head; local
80 head = kzalloc(sizeof(*head), GFP_KERNEL);
81 if (head == NULL)
83 INIT_LIST_HEAD(&head->flist);
84 idr_init(&head
111 struct basic_head *head = rtnl_dereference(tp->root); local
130 struct basic_head *head = rtnl_dereference(tp->root); local
178 struct basic_head *head = rtnl_dereference(tp->root); local
252 struct basic_head *head = rtnl_dereference(tp->root); local
[all...]
H A Dcls_fw.c55 struct fw_head *head = rcu_dereference_bh(tp->root); local
60 if (head != NULL) {
61 id &= head->mask;
63 for (f = rcu_dereference_bh(head->ht[fw_hash(id)]); f;
93 struct fw_head *head = rtnl_dereference(tp->root); local
96 if (head == NULL)
99 f = rtnl_dereference(head->ht[fw_hash(handle)]);
135 struct fw_head *head = rtnl_dereference(tp->root); local
139 if (head == NULL)
143 while ((f = rtnl_dereference(head
159 struct fw_head *head = rtnl_dereference(tp->root); local
206 struct fw_head *head = rtnl_dereference(tp->root); local
244 struct fw_head *head = rtnl_dereference(tp->root); local
348 struct fw_head *head = rtnl_dereference(tp->root); local
371 struct fw_head *head = rtnl_dereference(tp->root); local
[all...]
/linux-master/drivers/misc/ocxl/
H A Dpasid.c13 static void dump_list(struct list_head *head, char *type_str) argument
18 list_for_each_entry(cur, head, list) {
24 static int range_alloc(struct list_head *head, u32 size, int max_id, argument
35 pos = head;
37 list_for_each_entry(cur, head, list) {
56 dump_list(head, type_str);
61 static void range_free(struct list_head *head, u32 start, u32 size, argument
67 list_for_each_entry_safe(cur, tmp, head, list) {
77 dump_list(head, type_str);
/linux-master/drivers/gpu/drm/ttm/
H A Dttm_execbuf_util.c35 list_for_each_entry_continue_reverse(entry, list, head) {
50 list_for_each_entry(entry, list, head) {
87 list_for_each_entry(entry, list, head) {
94 entry = list_prev_entry(entry, head);
95 list_del(&safe->head);
96 list_add(&safe->head, dups);
133 list_del(&entry->head);
134 list_add(&entry->head, list);
150 list_for_each_entry(entry, list, head) {
/linux-master/drivers/rpmsg/
H A Dqcom_glink_smem.c54 __le32 *head; member in struct:glink_smem_pipe
69 u32 head; local
85 head = le32_to_cpu(*pipe->head);
88 if (head < tail)
89 return pipe->native.length - tail + head;
91 return head - tail;
132 u32 head; local
136 head = le32_to_cpu(*pipe->head);
152 glink_smem_tx_write_one(struct glink_smem_pipe *pipe, unsigned int head, const void *data, size_t count) argument
177 unsigned int head; local
[all...]
H A Dqcom_glink_rpm.c52 void __iomem *head; member in struct:glink_rpm_pipe
72 unsigned int head; local
75 head = readl(pipe->head);
78 if (head < tail)
79 return pipe->native.length - tail + head;
81 return head - tail;
126 unsigned int head; local
129 head = readl(pipe->head);
138 glink_rpm_tx_write_one(struct glink_rpm_pipe *pipe, unsigned int head, const void *data, size_t count) argument
169 unsigned int head; local
[all...]
/linux-master/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)
51 list_for_each_entry_rcu(iter, head, list)
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)
76 list_for_each_entry_rcu(iter, head, lis
46 netlbl_af4list_search(__be32 addr, struct list_head *head) argument
70 netlbl_af4list_search_exact(__be32 addr, __be32 mask, struct list_head *head) argument
96 netlbl_af6list_search(const struct in6_addr *addr, struct list_head *head) argument
121 netlbl_af6list_search_exact(const struct in6_addr *addr, const struct in6_addr *mask, struct list_head *head) argument
148 netlbl_af4list_add(struct netlbl_af4list *entry, struct list_head *head) argument
185 netlbl_af6list_add(struct netlbl_af6list *entry, struct list_head *head) argument
239 netlbl_af4list_remove(__be32 addr, __be32 mask, struct list_head *head) argument
279 netlbl_af6list_remove(const struct in6_addr *addr, const struct in6_addr *mask, struct list_head *head) argument
[all...]
/linux-master/lib/
H A Dtimerqueue.c28 * @head: head of timerqueue
35 bool timerqueue_add(struct timerqueue_head *head, struct timerqueue_node *node) argument
40 return rb_add_cached(&node->node, &head->rb_root, __timerqueue_less);
47 * @head: head of timerqueue
53 bool timerqueue_del(struct timerqueue_head *head, struct timerqueue_node *node) argument
57 rb_erase_cached(&node->node, &head->rb_root);
60 return !RB_EMPTY_ROOT(&head->rb_root.rb_root);
H A Dlist_sort.c13 * sentinel head node, "prev" links not maintained.
19 struct list_head *head, **tail = &head; local
41 return head;
52 static void merge_final(void *priv, list_cmp_func_t cmp, struct list_head *head, argument
55 struct list_head *tail = head;
97 tail->next = head;
98 head->prev = tail;
104 * @head: the list to sort
185 void list_sort(void *priv, struct list_head *head, list_cmp_func_ argument
[all...]
/linux-master/drivers/gpu/drm/nouveau/dispnv50/
H A Dhead.c22 #include "head.h"
40 nv50_head_flush_clr(struct nv50_head *head, argument
46 if (clr.crc) nv50_crc_atomic_clr(head);
47 if (clr.olut) head->func->olut_clr(head);
48 if (clr.core) head->func->core_clr(head);
49 if (clr.curs) head->func->curs_clr(head);
53 nv50_head_flush_set_wndw(struct nv50_head *head, struc argument
66 nv50_head_flush_set(struct nv50_head *head, struct nv50_head_atom *asyh) argument
226 nv50_head_atomic_check_lut(struct nv50_head *head, struct nv50_head_atom *asyh) argument
284 nv50_head_atomic_check_mode(struct nv50_head *head, struct nv50_head_atom *asyh) argument
341 struct nv50_head *head = nv50_head(crtc); local
518 struct nv50_head *head = nv50_head(crtc); local
574 struct nv50_head *head; local
[all...]
H A Dcrcc37d.c8 #include "head.h"
15 crcc37d_set_src(struct nv50_head *head, int or, enum nv50_crc_source_type source, argument
18 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push;
19 const int i = head->base.index;
54 int crcc37d_set_ctx(struct nv50_head *head, struct nv50_crc_notifier_ctx *ctx) argument
56 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push;
57 const int i = head->base.index;
67 u32 crcc37d_get_entry(struct nv50_head *head, struct nv50_crc_notifier_ctx *ctx, argument
82 bool crcc37d_ctx_finished(struct nv50_head *head, struct nv50_crc_notifier_ctx *ctx) argument
84 struct nouveau_drm *drm = nouveau_drm(head
[all...]
H A Dcrc907d.c7 #include "head.h"
26 crc907d_set_src(struct nv50_head *head, int or, enum nv50_crc_source_type source, argument
29 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push;
30 const int i = head->base.index;
75 crc907d_set_ctx(struct nv50_head *head, struct nv50_crc_notifier_ctx *ctx) argument
77 struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push;
78 const int i = head->base.index;
88 static u32 crc907d_get_entry(struct nv50_head *head, argument
97 static bool crc907d_ctx_finished(struct nv50_head *head, argument
100 struct nouveau_drm *drm = nouveau_drm(head
[all...]
/linux-master/kernel/
H A Duser-return-notifier.c39 struct hlist_head *head; local
41 head = &get_cpu_var(return_notifier_list);
42 hlist_for_each_entry_safe(urn, tmp2, head, link)
/linux-master/fs/nilfs2/
H A Dsegbuf.h47 * @sb_list: List head to chain this structure
85 #define NILFS_LIST_SEGBUF(head) \
86 list_entry((head), struct nilfs_segment_buffer, sb_list)
89 #define NILFS_LAST_SEGBUF(head) NILFS_LIST_SEGBUF((head)->prev)
90 #define NILFS_FIRST_SEGBUF(head) NILFS_LIST_SEGBUF((head)->next)
91 #define NILFS_SEGBUF_IS_LAST(segbuf, head) ((segbuf)->sb_list.next == (head))
97 #define NILFS_SEGBUF_FIRST_BH(head) \
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dnv04.c25 #include "head.h"
30 nv04_head_vblank_put(struct nvkm_head *head) argument
32 struct nvkm_device *device = head->disp->engine.subdev.device;
33 nvkm_wr32(device, 0x600140 + (head->id * 0x2000) , 0x00000000);
37 nv04_head_vblank_get(struct nvkm_head *head) argument
39 struct nvkm_device *device = head->disp->engine.subdev.device;
40 nvkm_wr32(device, 0x600140 + (head->id * 0x2000) , 0x00000001);
44 nv04_head_rgpos(struct nvkm_head *head, u16 *hline, u16 *vline) argument
46 struct nvkm_device *device = head->disp->engine.subdev.device;
47 u32 data = nvkm_rd32(device, 0x600868 + (head
53 nv04_head_state(struct nvkm_head *head, struct nvkm_head_state *state) argument
[all...]
/linux-master/drivers/net/wireless/quantenna/qtnfmac/
H A Dutil.c12 INIT_LIST_HEAD(&list->head);
24 list_for_each_entry(node, &list->head, list) {
40 list_for_each_entry(node, &list->head, list) {
67 list_add_tail(&node->list, &list->head);
100 list_for_each_entry_safe(node, tmp, &list->head, list) {
105 INIT_LIST_HEAD(&list->head);
/linux-master/kernel/power/
H A Dconsole.c23 struct list_head head; member in struct:pm_vt_switch
51 list_for_each_entry(tmp, &pm_vt_switch_list, head) {
66 list_add(&entry->head, &pm_vt_switch_list);
83 list_for_each_entry(tmp, &pm_vt_switch_list, head) {
85 list_del(&tmp->head);
119 list_for_each_entry(entry, &pm_vt_switch_list, head) {
/linux-master/net/dccp/ccids/lib/
H A Dpacket_history.h43 tfrc_tx_hist_find_entry(struct tfrc_tx_hist_entry *head, u64 seqno) argument
45 while (head != NULL && head->seqno != seqno)
46 head = head->next;
47 return head;
/linux-master/tools/testing/selftests/arm64/signal/testcases/
H A Dsve_regs.c62 struct _aarch64_ctx *head = GET_BUF_RESV_HEAD(context); local
80 head = get_header(head, SVE_MAGIC, GET_BUF_RESV_SIZE(context),
82 if (!head) {
87 sve = (struct sve_context *)head;
95 head->size, sve->vl);

Completed in 695 milliseconds

1234567891011>>