Home
last modified time | relevance | path

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

12345678910>>...167

/Linux-v5.10/include/linux/
Dlist.h24 struct list_head name = LIST_HEAD_INIT(name)
33 static inline void INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD()
40 extern bool __list_add_valid(struct list_head *new,
41 struct list_head *prev,
42 struct list_head *next);
43 extern bool __list_del_entry_valid(struct list_head *entry);
45 static inline bool __list_add_valid(struct list_head *new, in __list_add_valid()
46 struct list_head *prev, in __list_add_valid()
47 struct list_head *next) in __list_add_valid()
51 static inline bool __list_del_entry_valid(struct list_head *entry) in __list_del_entry_valid()
[all …]
Drculist.h31 static inline void INIT_LIST_HEAD_RCU(struct list_head *list) in INIT_LIST_HEAD_RCU()
41 #define list_next_rcu(list) (*((struct list_head __rcu **)(&(list)->next)))
51 #define list_tail_rcu(head) (*((struct list_head __rcu **)(&(head)->prev)))
85 static inline void __list_add_rcu(struct list_head *new, in __list_add_rcu()
86 struct list_head *prev, struct list_head *next) in __list_add_rcu()
113 static inline void list_add_rcu(struct list_head *new, struct list_head *head) in list_add_rcu()
134 static inline void list_add_tail_rcu(struct list_head *new, in list_add_tail_rcu()
135 struct list_head *head) in list_add_tail_rcu()
164 static inline void list_del_rcu(struct list_head *entry) in list_del_rcu()
206 static inline void list_replace_rcu(struct list_head *old, in list_replace_rcu()
[all …]
Dcgroup-defs.h149 struct list_head sibling;
150 struct list_head children;
153 struct list_head rstat_css_node;
227 struct list_head tasks;
228 struct list_head mg_tasks;
229 struct list_head dying_tasks;
232 struct list_head task_iters;
241 struct list_head e_cset_node[CGROUP_SUBSYS_COUNT];
244 struct list_head threaded_csets;
245 struct list_head threaded_csets_node;
[all …]
/Linux-v5.10/tools/perf/util/
Dparse-events.h14 struct list_head;
30 bool have_tracepoints(struct list_head *evlist);
45 int parse_events_terms(struct list_head *terms, const char *str);
110 struct list_head list;
133 struct list_head list;
138 struct list_head *terms;
159 void parse_events_terms__delete(struct list_head *terms);
160 void parse_events_terms__purge(struct list_head *terms);
162 int parse_events__modifier_event(struct list_head *list, char *str, bool add);
163 int parse_events__modifier_group(struct list_head *list, char *event_mod);
[all …]
Dpmu.h28 struct list_head list;
40 struct list_head format; /* HEAD struct perf_pmu_format -> list */
41 struct list_head aliases; /* HEAD struct perf_pmu_alias -> list */
42 struct list_head caps; /* HEAD struct perf_pmu_caps -> list */
43 struct list_head list; /* ELEM */
65 struct list_head terms; /* HEAD struct parse_events_term -> list */
66 struct list_head list; /* ELEM */
79 struct list_head *head_terms,
81 int perf_pmu__config_terms(const char *pmu_name, struct list_head *formats,
83 struct list_head *head_terms,
[all …]
Dparse-events.y29 static struct list_head* alloc_list(void) in alloc_list()
31 struct list_head *list; in alloc_list()
41 static void free_list_evsel(struct list_head* list_evsel) in free_list_evsel()
52 static void inc_group_count(struct list_head *list, in inc_group_count()
127 struct list_head *list_evsel;
128 struct list_head *list_terms;
154 struct list_head *list = $1;
155 struct list_head *group = $3;
164 struct list_head *list = $1;
165 struct list_head *event = $3;
[all …]
/Linux-v5.10/tools/include/linux/
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-v5.10/fs/btrfs/
Dcompression.h114 struct list_head idle_ws;
124 struct list_head *btrfs_get_workspace(int type, unsigned int level);
125 void btrfs_put_workspace(int type, struct list_head *ws);
147 int zlib_compress_pages(struct list_head *ws, struct address_space *mapping,
150 int zlib_decompress_bio(struct list_head *ws, struct compressed_bio *cb);
151 int zlib_decompress(struct list_head *ws, unsigned char *data_in,
154 struct list_head *zlib_alloc_workspace(unsigned int level);
155 void zlib_free_workspace(struct list_head *ws);
156 struct list_head *zlib_get_workspace(unsigned int level);
158 int lzo_compress_pages(struct list_head *ws, struct address_space *mapping,
[all …]
Ddelayed-inode.h25 struct list_head node_list;
31 struct list_head prepare_list;
47 struct list_head n_list;
52 struct list_head p_list;
66 struct list_head tree_list; /* used for batch insert/delete items */
67 struct list_head readdir_list; /* used for readdir items */
125 struct list_head *ins_list,
126 struct list_head *del_list);
128 struct list_head *ins_list,
129 struct list_head *del_list);
[all …]
/Linux-v5.10/fs/jffs2/
Djffs2_fs_sb.h97 struct list_head clean_list; /* Blocks 100% full of clean data */
98 struct list_head very_dirty_list; /* Blocks with lots of dirty space */
99 struct list_head dirty_list; /* Blocks with some dirty space */
100 struct list_head erasable_list; /* Blocks which are completely dirty, and need erasing */
101 …struct list_head erasable_pending_wbuf_list; /* Blocks which need erasing but only after the curre…
102 struct list_head erasing_list; /* Blocks which are currently erasing */
103 struct list_head erase_checking_list; /* Blocks which are being checked and marked */
104 struct list_head erase_pending_list; /* Blocks which need erasing now */
105 …struct list_head erase_complete_list; /* Blocks which are erased and need the clean marker written…
106 struct list_head free_list; /* Blocks which are free and ready to be used */
[all …]
/Linux-v5.10/lib/
Dlist_sort.c11 struct list_head const *, struct list_head const *);
19 static struct list_head *merge(void *priv, cmp_func cmp, in merge()
20 struct list_head *a, struct list_head *b) in merge()
22 struct list_head *head, **tail = &head; in merge()
55 static void merge_final(void *priv, cmp_func cmp, struct list_head *head, in merge_final()
56 struct list_head *a, struct list_head *b) in merge_final()
58 struct list_head *tail = head; in merge_final()
188 void list_sort(void *priv, struct list_head *head, in list_sort()
189 int (*cmp)(void *priv, struct list_head *a, in list_sort()
190 struct list_head *b)) in list_sort()
[all …]
/Linux-v5.10/net/netlabel/
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-v5.10/fs/nfsd/
Dstate.h100 struct list_head sc_cp_list;
114 struct list_head cp_list; /* per parent nfs4_stid */
143 struct list_head dl_perfile;
144 struct list_head dl_perclnt;
145 struct list_head dl_recall_lru; /* delegation recalled */
245 struct list_head cn_persession;
260 struct list_head se_hash; /* hash by sessionid */
261 struct list_head se_perclnt;
270 struct list_head se_conns;
313 struct list_head cl_idhash; /* hash by cl_clientid.id */
[all …]
/Linux-v5.10/scripts/kconfig/
Dlist.h24 struct list_head { struct
25 struct list_head *next, *prev; argument
32 struct list_head name = LIST_HEAD_INIT(name)
71 static inline int list_empty(const struct list_head *head) in list_empty()
82 static inline void __list_add(struct list_head *_new, in __list_add()
83 struct list_head *prev, in __list_add()
84 struct list_head *next) in __list_add()
100 static inline void list_add_tail(struct list_head *_new, struct list_head *head) in list_add_tail()
112 static inline void __list_del(struct list_head *prev, struct list_head *next) in __list_del()
126 static inline void list_del(struct list_head *entry) in list_del()
[all …]
/Linux-v5.10/drivers/vme/
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-v5.10/drivers/gpu/drm/nouveau/include/nvif/
Dlist.h110 struct list_head { struct
111 struct list_head *next, *prev; argument
125 struct list_head name = LIST_HEAD_INIT(name)
128 INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD()
134 __list_add(struct list_head *entry, in __list_add()
135 struct list_head *prev, struct list_head *next) in __list_add()
159 list_add(struct list_head *entry, struct list_head *head) in list_add()
180 list_add_tail(struct list_head *entry, struct list_head *head) in list_add_tail()
186 __list_del(struct list_head *prev, struct list_head *next) in __list_del()
207 list_del(struct list_head *entry) in list_del()
[all …]
/Linux-v5.10/tools/usb/usbip/libsrc/
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()
86 static inline void __list_del_entry(struct list_head *entry) in __list_del_entry()
[all …]
/Linux-v5.10/net/tipc/
Dname_table.h85 struct list_head binding_node;
86 struct list_head binding_sock;
87 struct list_head local_publ;
88 struct list_head all_publ;
89 struct list_head list;
105 struct list_head node_scope;
106 struct list_head cluster_scope;
117 u32 scope, bool exact, struct list_head *dports);
123 struct list_head *dsts, int *dstcnt, u32 exclude,
142 struct list_head list;
[all …]
/Linux-v5.10/include/target/
Dtarget_core_base.h236 struct list_head lba_map_mem_list;
244 struct list_head lba_map_list;
245 struct list_head lba_map_mem_list;
256 struct list_head lba_map_list;
263 struct list_head tg_pt_gps_list;
273 struct list_head lu_gp_node;
274 struct list_head lu_gp_mem_list;
283 struct list_head lu_gp_mem_list;
304 struct list_head tg_pt_gp_list;
305 struct list_head tg_pt_gp_lun_list;
[all …]
/Linux-v5.10/drivers/staging/gdm724x/
Dgdm_usb.h36 struct list_head list;
47 struct list_head list;
55 struct list_head to_host_list;
56 struct list_head free_list;
57 struct list_head rx_submit_list;
67 struct list_head sdu_list;
68 struct list_head hci_list;
69 struct list_head free_list;
75 struct list_head to_host_list;
76 struct list_head rx_submit_list;
[all …]
/Linux-v5.10/include/net/
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-v5.10/drivers/scsi/bfa/
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-v5.10/fs/dlm/
Ddlm_internal.h120 struct list_head list;
134 struct list_head list;
251 struct list_head lkb_statequeue; /* rsb g/c/w list */
252 struct list_head lkb_rsb_lookup; /* waiting for rsb lookup */
253 struct list_head lkb_wait_reply; /* waiting for remote reply */
254 struct list_head lkb_ownqueue; /* list of locks for a process */
255 struct list_head lkb_time_list;
262 struct list_head lkb_cb_list; /* for ls_cb_delay or proc->asts */
306 struct list_head res_lookup; /* lkbs waiting on first */
308 struct list_head res_hashchain;
[all …]
/Linux-v5.10/drivers/infiniband/core/
Dmad_priv.h66 struct list_head list;
86 struct list_head list;
97 struct list_head send_list;
98 struct list_head wait_list;
99 struct list_head done_list;
102 struct list_head local_list;
104 struct list_head rmpp_list;
124 struct list_head agent_list;
140 struct list_head rmpp_list;
150 struct list_head completion_list;
[all …]
/Linux-v5.10/fs/ceph/
Dmds_client.h196 struct list_head s_caps; /* all caps issued by this session */
202 struct list_head s_cap_releases; /* waiting cap_release messages */
206 struct list_head s_cap_dirty; /* inodes w/ dirty caps */
209 struct list_head s_cap_flushing; /* inodes w/ flushing caps */
214 struct list_head s_waiting; /* waiting requests */
215 struct list_head s_unsafe; /* unsafe requests */
317 struct list_head r_unsafe_dir_item;
320 struct list_head r_unsafe_target_item;
330 struct list_head r_wait;
335 struct list_head r_unsafe_item; /* per-session unsafe list item */
[all …]

12345678910>>...167