Home
last modified time | relevance | path

Searched refs:list_head (Results 1 – 25 of 4481) sorted by relevance

12345678910>>...180

/linux/include/linux/
H A Dlist.h34 struct list_head name = LIST_HEAD_INIT(name)
43 static inline void INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD()
61 bool __list_valid_slowpath __list_add_valid_or_report(struct list_head *new,
62 struct list_head *prev,
63 struct list_head *next);
73 static __always_inline bool __list_add_valid(struct list_head *new, in __list_add_valid()
74 struct list_head *prev, in __list_add_valid()
75 struct list_head *next) in __list_add_valid()
104 bool __list_valid_slowpath __list_del_entry_valid_or_report(struct list_head *entry);
114 static __always_inline bool __list_del_entry_valid(struct list_head *entry) in __list_del_entry_valid()
[all …]
H A Drculist.h22 static inline void INIT_LIST_HEAD_RCU(struct list_head *list) in INIT_LIST_HEAD_RCU()
32 #define list_next_rcu(list) (*((struct list_head __rcu **)(&(list)->next)))
43 #define list_bidir_prev_rcu(list) (*((struct list_head __rcu **)(&(list)->prev)))
63 #define list_tail_rcu(head) (*((struct list_head __rcu **)(&(head)->prev)))
97 static inline void __list_add_rcu(struct list_head *new, in __list_add_rcu()
98 struct list_head *prev, struct list_head *next) in __list_add_rcu()
125 static inline void list_add_rcu(struct list_head *new, struct list_head *head) in list_add_rcu()
146 static inline void list_add_tail_rcu(struct list_head *new, in list_add_tail_rcu()
147 struct list_head *head) in list_add_tail_rcu()
176 static inline void list_del_rcu(struct list_head *entry) in list_del_rcu()
[all …]
H A Dcgroup-defs.h211 struct list_head sibling;
212 struct list_head children;
304 struct list_head tasks;
305 struct list_head mg_tasks;
306 struct list_head dying_tasks;
309 struct list_head task_iters;
318 struct list_head e_cset_node[CGROUP_SUBSYS_COUNT];
321 struct list_head threaded_csets;
322 struct list_head threaded_csets_node;
334 struct list_head cgrp_links;
[all …]
H A Dbacking-dev-defs.h111 struct list_head b_dirty; /* dirty inodes */
112 struct list_head b_io; /* parked for writeback */
113 struct list_head b_more_io; /* parked for more writeback */
114 struct list_head b_dirty_time; /* time stamps are dirty */
140 struct list_head work_list;
144 struct list_head bdi_node; /* anchored at bdi->wb_list */
151 struct list_head memcg_node; /* anchored at memcg->cgwb_list */
152 struct list_head blkcg_node; /* anchored at blkcg->cgwb_list */
153 struct list_head b_attached; /* attached inodes, protected by list_lock */
154 struct list_head offline_node; /* anchored at offline_cgwbs */
[all …]
/linux/tools/include/linux/
H A Dlist.h23 struct list_head name = LIST_HEAD_INIT(name)
25 static inline void INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD()
38 static inline void __list_add(struct list_head *new, in __list_add()
39 struct list_head *prev, in __list_add()
40 struct list_head *next) in __list_add()
48 extern void __list_add(struct list_head *new,
49 struct list_head *prev,
50 struct list_head *next);
61 static inline void list_add(struct list_head *new, struct list_head *head) in list_add()
75 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail()
[all …]
/linux/scripts/include/
H A Dlist.h42 struct list_head name = LIST_HEAD_INIT(name)
51 static inline void INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD()
63 static inline void __list_add(struct list_head *new, in __list_add()
64 struct list_head *prev, in __list_add()
65 struct list_head *next) in __list_add()
81 static inline void list_add(struct list_head *new, struct list_head *head) in list_add()
94 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail()
106 static inline void __list_del(struct list_head *prev, struct list_head *next) in __list_del()
112 static inline void __list_del_entry(struct list_head *entry) in __list_del_entry()
123 static inline void list_del(struct list_head *entry) in list_del()
[all …]
/linux/fs/nfsd/
H A Dstate.h69 struct list_head __list;
76 struct list_head __list;
80 struct list_head rcl_referring_calls;
97 struct list_head cb_referring_call_list;
143 struct list_head sc_cp_list;
156 struct list_head cp_list; /* per parent nfs4_stid */
215 struct list_head dl_perfile;
216 struct list_head dl_perclnt;
217 struct list_head dl_recall_lru; /* delegation recalled */
351 struct list_head cn_persession;
[all …]
/linux/fs/jffs2/
H A Djffs2_fs_sb.h98 struct list_head clean_list; /* Blocks 100% full of clean data */
99 struct list_head very_dirty_list; /* Blocks with lots of dirty space */
100 struct list_head dirty_list; /* Blocks with some dirty space */
101 struct list_head erasable_list; /* Blocks which are completely dirty, and need erasing */
102 …struct list_head erasable_pending_wbuf_list; /* Blocks which need erasing but only after the curre…
103 struct list_head erasing_list; /* Blocks which are currently erasing */
104 struct list_head erase_checking_list; /* Blocks which are being checked and marked */
105 struct list_head erase_pending_list; /* Blocks which need erasing now */
106 …struct list_head erase_complete_list; /* Blocks which are erased and need the clean marker written…
107 struct list_head free_list; /* Blocks which are free and ready to be used */
[all …]
/linux/fs/btrfs/
H A Dcompression.h119 struct list_head idle_ws;
129 struct list_head *btrfs_get_workspace(struct btrfs_fs_info *fs_info, int type, int level);
130 void btrfs_put_workspace(struct btrfs_fs_info *fs_info, int type, struct list_head *ws);
155 int zlib_compress_folios(struct list_head *ws, struct btrfs_inode *inode,
158 int zlib_decompress_bio(struct list_head *ws, struct compressed_bio *cb);
159 int zlib_decompress(struct list_head *ws, const u8 *data_in,
162 struct list_head *zlib_alloc_workspace(struct btrfs_fs_info *fs_info, unsigned int level);
163 void zlib_free_workspace(struct list_head *ws);
164 struct list_head *zlib_get_workspace(struct btrfs_fs_info *fs_info, unsigned int level);
166 int lzo_compress_folios(struct list_head *ws, struct btrfs_inode *inode,
[all …]
H A Ddelayed-inode.h35 struct list_head node_list;
41 struct list_head prepare_list;
73 struct list_head n_list;
78 struct list_head p_list;
110 struct list_head tree_list; /* used for batch insert/delete items */
111 struct list_head readdir_list; /* used for readdir items */
117 struct list_head log_list;
171 struct list_head *ins_list,
172 struct list_head *del_list);
174 struct list_head *ins_list,
[all …]
/linux/net/netlabel/
H A Dnetlabel_addrlist.h38 struct list_head list;
53 struct list_head list;
58 static inline struct netlbl_af4list *__af4list_valid(struct list_head *s, in __af4list_valid()
59 struct list_head *h) in __af4list_valid()
61 struct list_head *i = s; in __af4list_valid()
70 static inline struct netlbl_af4list *__af4list_valid_rcu(struct list_head *s, in __af4list_valid_rcu()
71 struct list_head *h) in __af4list_valid_rcu()
73 struct list_head *i = s; in __af4list_valid_rcu()
99 struct list_head *head);
101 struct list_head *head);
[all …]
/linux/net/tipc/
H A Dname_table.h83 struct list_head binding_node;
84 struct list_head binding_sock;
85 struct list_head local_publ;
86 struct list_head all_publ;
87 struct list_head list;
108 struct list_head node_scope;
109 struct list_head cluster_scope;
120 struct list_head *dports);
124 struct list_head *dsts, int *dstcnt,
146 struct list_head list;
[all …]
/linux/tools/usb/usbip/libsrc/
H A Dlist.h19 struct list_head { struct
20 struct list_head *next, *prev; argument
26 struct list_head name = LIST_HEAD_INIT(name)
28 static inline void INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD()
40 static inline void __list_add(struct list_head *new, in __list_add()
41 struct list_head *prev, in __list_add()
42 struct list_head *next) in __list_add()
58 static inline void list_add(struct list_head *new, struct list_head *head) in list_add()
70 static inline void __list_del(struct list_head * prev, struct list_head * next) in __list_del()
80 static inline void __list_del_entry(struct list_head *entry) in __list_del_entry()
[all …]
/linux/drivers/scsi/bfa/
H A Dbfa_cs.h116 #define bfa_q_first(_q) ((void *)(((struct list_head *) (_q))->next))
117 #define bfa_q_next(_qe) (((struct list_head *) (_qe))->next)
118 #define bfa_q_prev(_qe) (((struct list_head *) (_qe))->prev)
124 bfa_q_next(_qe) = (struct list_head *) NULL; \
125 bfa_q_prev(_qe) = (struct list_head *) NULL; \
133 (*((struct list_head **) (_qe))) = bfa_q_next(_q); \
134 bfa_q_prev(bfa_q_next(*((struct list_head **) _qe))) = \
135 (struct list_head *) (_q); \
136 bfa_q_next(_q) = bfa_q_next(*((struct list_head **) _qe));\
138 *((struct list_head **) (_qe)) = (struct list_head *) NULL;\
[all …]
/linux/drivers/staging/vme_user/
H A Dvme_bridge.h12 struct list_head list;
29 struct list_head list;
55 struct list_head list;
57 struct list_head entries;
62 struct list_head list;
67 struct list_head pending;
68 struct list_head running;
73 struct list_head list;
82 struct list_head list;
110 struct list_head master_resources;
[all …]
/linux/include/net/
H A Dkcm.h61 struct list_head kcm_sock_list;
71 struct list_head wait_psock_list;
81 struct list_head wait_rx_list; /* KCMs waiting for receiving */
103 struct list_head psock_list;
108 struct list_head psock_ready_list;
117 struct list_head psock_avail_list;
128 struct list_head mux_list;
134 struct list_head kcm_mux_list;
138 struct list_head kcm_socks; /* All KCM sockets on MUX */
140 struct list_head psocks; /* List of all psocks on MUX */
[all …]
/linux/tools/lib/
H A Dlist_sort.c13 static struct list_head *merge(void *priv, list_cmp_func_t cmp, in merge()
14 struct list_head *a, struct list_head *b) in merge()
16 struct list_head *head, **tail = &head; in merge()
49 static void merge_final(void *priv, list_cmp_func_t cmp, struct list_head *head, in merge_final()
50 struct list_head *a, struct list_head *b) in merge_final()
52 struct list_head *tail = head; in merge_final()
172 void list_sort(void *priv, struct list_head *head, list_cmp_func_t cmp) in list_sort()
174 struct list_head *list = head->next, *pending = NULL; in list_sort()
203 struct list_head **tail = &pending; in list_sort()
210 struct list_head *a = *tail, *b = a->prev; in list_sort()
[all …]
/linux/sound/soc/intel/avs/
H A Dpath.h21 struct list_head ppl_list;
25 struct list_head source_list;
26 struct list_head sink_list;
31 struct list_head source_node;
32 struct list_head sink_node;
37 struct list_head node;
42 struct list_head mod_list;
43 struct list_head binding_list;
48 struct list_head node;
59 struct list_head node;
[all …]
/linux/include/target/
H A Dtarget_core_base.h252 struct list_head lba_map_mem_list;
260 struct list_head lba_map_list;
261 struct list_head lba_map_mem_list;
272 struct list_head lba_map_list;
279 struct list_head tg_pt_gps_list;
289 struct list_head lu_gp_node;
290 struct list_head lu_gp_mem_list;
299 struct list_head lu_gp_mem_list;
320 struct list_head tg_pt_gp_list;
321 struct list_head tg_pt_gp_lun_list;
[all …]
/linux/lib/
H A Dlist_sort.c13 static struct list_head *merge(void *priv, list_cmp_func_t cmp, in merge()
14 struct list_head *a, struct list_head *b) in merge()
16 struct list_head *head, **tail = &head; in merge()
49 static void merge_final(void *priv, list_cmp_func_t cmp, struct list_head *head, in merge_final()
50 struct list_head *a, struct list_head *b) in merge_final()
52 struct list_head *tail = head; in merge_final()
189 void list_sort(void *priv, struct list_head *head, list_cmp_func_t cmp) in list_sort()
191 struct list_head *list = head->next, *pending = NULL; in list_sort()
220 struct list_head **tail = &pending; in list_sort()
227 struct list_head *a = *tail, *b = a->prev; in list_sort()
[all …]
/linux/fs/xfs/libxfs/
H A Dxfs_defer.h19 struct list_head dfp_list; /* pending items */
20 struct list_head dfp_work; /* work items */
40 struct xfs_defer_pending *xfs_defer_add(struct xfs_trans *tp, struct list_head *h,
53 struct list_head *items, unsigned int count, bool sort);
58 struct list_head *item, struct xfs_btree_cur **state);
61 void (*cancel_item)(struct list_head *item);
63 struct list_head *capture_list);
116 struct list_head dfc_list;
119 struct list_head dfc_dfops;
137 struct list_head *capture_list);
[all …]
/linux/fs/dlm/
H A Ddlm_internal.h108 struct list_head list;
122 struct list_head list;
250 struct list_head list;
275 struct list_head lkb_statequeue; /* rsb g/c/w list */
276 struct list_head lkb_rsb_lookup; /* waiting for rsb lookup */
277 struct list_head lkb_wait_reply; /* waiting for remote reply */
278 struct list_head lkb_ownqueue; /* list of locks for a process */
325 struct list_head res_lookup; /* lkbs waiting on first */
327 struct list_head res_grantqueue;
328 struct list_head res_convertqueue;
[all …]
/linux/include/linux/mlx5/
H A Dmacsec.h16 struct list_head *tx_rules_list, struct list_head *rx_rules_list,
20 struct list_head *tx_rules_list, struct list_head *rx_rules_list);
23 struct list_head *tx_rules_list,
24 struct list_head *rx_rules_list,
28 struct list_head *tx_rules_list,
29 struct list_head *rx_rules_list, bool is_tx);
/linux/drivers/acpi/nfit/
H A Dnfit.h164 struct list_head list;
173 struct list_head list;
178 struct list_head list;
183 struct list_head list;
188 struct list_head list;
193 struct list_head list;
216 struct list_head list;
241 struct list_head memdevs;
242 struct list_head flushes;
243 struct list_head dimms;
[all …]
/linux/drivers/md/
H A Draid5.h202 struct list_head lru; /* inactive_list or handle_list */
228 struct list_head batch_list; /* protected by head's batch lock*/
235 struct list_head log_list;
237 struct list_head r5c; /* for r5c_cache->stripe_in_journal */
506 struct list_head temp_inactive_list[NR_STRIPE_HASH_LOCKS];
511 struct list_head handle_list;
512 struct list_head loprio_list;
555 struct list_head sibling;
611 struct list_head handle_list; /* stripes needing handling */
612 struct list_head loprio_list; /* low priority stripes */
[all …]

12345678910>>...180