Home
last modified time | relevance | path

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

12345678910>>...122

/Linux-v5.15/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 …]
Dcgroup-defs.h153 struct list_head sibling;
154 struct list_head children;
157 struct list_head rstat_css_node;
231 struct list_head tasks;
232 struct list_head mg_tasks;
233 struct list_head dying_tasks;
236 struct list_head task_iters;
245 struct list_head e_cset_node[CGROUP_SUBSYS_COUNT];
248 struct list_head threaded_csets;
249 struct list_head threaded_csets_node;
[all …]
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)))
42 #define list_tail_rcu(head) (*((struct list_head __rcu **)(&(head)->prev)))
76 static inline void __list_add_rcu(struct list_head *new, in __list_add_rcu()
77 struct list_head *prev, struct list_head *next) in __list_add_rcu()
104 static inline void list_add_rcu(struct list_head *new, struct list_head *head) in list_add_rcu()
125 static inline void list_add_tail_rcu(struct list_head *new, in list_add_tail_rcu()
126 struct list_head *head) in list_add_tail_rcu()
155 static inline void list_del_rcu(struct list_head *entry) in list_del_rcu()
197 static inline void list_replace_rcu(struct list_head *old, in list_replace_rcu()
[all …]
/Linux-v5.15/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;
160 void parse_events_terms__delete(struct list_head *terms);
161 void parse_events_terms__purge(struct list_head *terms);
163 int parse_events__modifier_event(struct list_head *list, char *str, bool add);
164 int parse_events__modifier_group(struct list_head *list, char *event_mod);
[all …]
Dpmu.h32 struct list_head list;
47 struct list_head format; /* HEAD struct perf_pmu_format -> list */
48 struct list_head aliases; /* HEAD struct perf_pmu_alias -> list */
49 struct list_head caps; /* HEAD struct perf_pmu_caps -> list */
50 struct list_head list; /* ELEM */
51 struct list_head hybrid_list;
73 struct list_head terms; /* HEAD struct parse_events_term -> list */
74 struct list_head list; /* ELEM */
87 void pmu_add_sys_aliases(struct list_head *head, struct perf_pmu *pmu);
89 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()
128 struct list_head *list_evsel;
129 struct list_head *list_terms;
155 struct list_head *list = $1;
156 struct list_head *group = $3;
165 struct list_head *list = $1;
166 struct list_head *event = $3;
[all …]
/Linux-v5.15/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.15/fs/btrfs/
Dcompression.h113 struct list_head idle_ws;
123 struct list_head *btrfs_get_workspace(int type, unsigned int level);
124 void btrfs_put_workspace(int type, struct list_head *ws);
146 int zlib_compress_pages(struct list_head *ws, struct address_space *mapping,
149 int zlib_decompress_bio(struct list_head *ws, struct compressed_bio *cb);
150 int zlib_decompress(struct list_head *ws, unsigned char *data_in,
153 struct list_head *zlib_alloc_workspace(unsigned int level);
154 void zlib_free_workspace(struct list_head *ws);
155 struct list_head *zlib_get_workspace(unsigned int level);
157 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 */
126 struct list_head *ins_list,
127 struct list_head *del_list);
129 struct list_head *ins_list,
130 struct list_head *del_list);
[all …]
/Linux-v5.15/fs/jffs2/
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-v5.15/net/tipc/
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;
106 struct list_head node_scope;
107 struct list_head cluster_scope;
118 struct list_head *dports);
122 struct list_head *dsts, int *dstcnt,
144 struct list_head list;
[all …]
/Linux-v5.15/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.15/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.15/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.15/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.15/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.15/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()
80 static inline void __list_del_entry(struct list_head *entry) in __list_del_entry()
[all …]
/Linux-v5.15/include/target/
Dtarget_core_base.h240 struct list_head lba_map_mem_list;
248 struct list_head lba_map_list;
249 struct list_head lba_map_mem_list;
260 struct list_head lba_map_list;
267 struct list_head tg_pt_gps_list;
277 struct list_head lu_gp_node;
278 struct list_head lu_gp_mem_list;
287 struct list_head lu_gp_mem_list;
308 struct list_head tg_pt_gp_list;
309 struct list_head tg_pt_gp_lun_list;
[all …]
/Linux-v5.15/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.15/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.15/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.15/lib/
Dlist_sort.c16 static struct list_head *merge(void *priv, list_cmp_func_t cmp, in merge()
17 struct list_head *a, struct list_head *b) in merge()
19 struct list_head *head, **tail = &head; in merge()
52 static void merge_final(void *priv, list_cmp_func_t cmp, struct list_head *head, in merge_final()
53 struct list_head *a, struct list_head *b) in merge_final()
55 struct list_head *tail = head; in merge_final()
185 void list_sort(void *priv, struct list_head *head, list_cmp_func_t cmp) in list_sort()
187 struct list_head *list = head->next, *pending = NULL; in list_sort()
216 struct list_head **tail = &pending; in list_sort()
223 struct list_head *a = *tail, *b = a->prev; in list_sort()
[all …]
/Linux-v5.15/fs/dlm/
Ddlm_internal.h123 struct list_head list;
137 struct list_head list;
254 struct list_head lkb_statequeue; /* rsb g/c/w list */
255 struct list_head lkb_rsb_lookup; /* waiting for rsb lookup */
256 struct list_head lkb_wait_reply; /* waiting for remote reply */
257 struct list_head lkb_ownqueue; /* list of locks for a process */
258 struct list_head lkb_time_list;
265 struct list_head lkb_cb_list; /* for ls_cb_delay or proc->asts */
309 struct list_head res_lookup; /* lkbs waiting on first */
311 struct list_head res_hashchain;
[all …]
/Linux-v5.15/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;
123 struct list_head agent_list;
139 struct list_head rmpp_list;
149 struct list_head completion_list;
[all …]
/Linux-v5.15/fs/ceph/
Dmds_client.h195 struct list_head s_caps; /* all caps issued by this session */
201 struct list_head s_cap_releases; /* waiting cap_release messages */
205 struct list_head s_cap_dirty; /* inodes w/ dirty caps */
208 struct list_head s_cap_flushing; /* inodes w/ flushing caps */
213 struct list_head s_waiting; /* waiting requests */
214 struct list_head s_unsafe; /* unsafe requests */
315 struct list_head r_unsafe_dir_item;
318 struct list_head r_unsafe_target_item;
328 struct list_head r_wait;
333 struct list_head r_unsafe_item; /* per-session unsafe list item */
[all …]

12345678910>>...122