Home
last modified time | relevance | path

Searched full:list_head (Results 1 – 25 of 1965) sorted by relevance

12345678910>>...79

/linux/tools/include/linux/
H A Dlist.h22 #define LIST_HEAD(name) \ macro
23 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()
[all …]
/linux/scripts/include/
H A Dlist.h41 #define LIST_HEAD(name) \ macro
42 struct list_head name = LIST_HEAD_INIT(name)
45 * INIT_LIST_HEAD - Initialize a list_head structure
46 * @list: list_head structure to be initialized.
48 * Initializes the list_head to point to itself. If it is a list header,
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()
[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/tools/usb/usbip/libsrc/
H A Dlist.h19 struct list_head { struct
20 struct list_head *next, *prev; argument
25 #define LIST_HEAD(name) \ macro
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()
[all …]
/linux/lib/tests/
H A Dlist-test.c15 struct list_head list;
21 struct list_head list1 = LIST_HEAD_INIT(list1); in list_test_list_init()
22 struct list_head list2; in list_test_list_init()
23 LIST_HEAD(list3); in list_test_list_init()
24 struct list_head *list4; in list_test_list_init()
25 struct list_head *list5; in list_test_list_init()
49 struct list_head a, b; in list_test_list_add()
50 LIST_HEAD(list); in list_test_list_add()
63 struct list_head a, b; in list_test_list_add_tail()
64 LIST_HEAD(list); in list_test_list_add_tail()
[all …]
/linux/security/tomoyo/
H A Dgc.c29 static __guarded_by(&tomoyo_io_buffer_list_lock) LIST_HEAD(tomoyo_io_buffer_list);
34 * @element: Pointer to "struct list_head".
39 static bool tomoyo_struct_used_by_io_buffer(const struct list_head *element)
104 * @element: Pointer to "struct list_head".
108 static inline void tomoyo_del_transition_control(struct list_head *element)
120 * @element: Pointer to "struct list_head".
124 static inline void tomoyo_del_aggregator(struct list_head *element)
136 * @element: Pointer to "struct list_head".
140 static inline void tomoyo_del_manager(struct list_head *element)
151 * @element: Pointer to "struct list_head"
[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/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_priv.h48 /* Helper struct for accessing a struct containing list_head array.
52 * |- list_head item 0
55 * |- list_head item 1
57 * To access the containing struct from one of the list_head items:
58 * 1. Get the helper item from the list_head item using
60 * container_of(list_head item, helper struct type, list_head field)
67 struct list_head list;
84 struct list_head l3_to_l2_reformat;
88 struct list_head decap_routes;
98 struct list_head hairpin; /* flows sharing the same hairpin */
[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/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/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/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/drivers/staging/greybus/
H A Daudio_codec.h64 struct list_head list;
70 struct list_head module_list;
72 struct list_head dai_list;
80 struct list_head list;
89 struct list_head list;
96 struct list_head list;
112 struct list_head list;
125 struct list_head list;
145 struct list_head data_list;
161 struct list_head widget_list;
[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/tools/perf/util/
H A Dparse-events.y32 static struct list_head* alloc_list(void) in alloc_list()
34 struct list_head *list; in alloc_list()
44 static void free_list_evsel(struct list_head* list_evsel) in free_list_evsel()
104 struct list_head *list_evsel;
126 struct list_head *groups = $1;
137 struct list_head *groups = $1;
138 struct list_head *group = $3;
148 struct list_head *groups = $1;
149 struct list_head *event = $3;
165 struct list_head *list = $1;
[all …]
/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/net/ethernet/brocade/bna/
H A Dbna_types.h256 struct list_head qe;
446 struct list_head qe;
468 struct list_head qe;
478 struct list_head txq_q;
526 struct list_head tx_free_q;
527 struct list_head tx_active_q;
529 struct list_head txq_free_q;
572 struct list_head qe;
696 struct list_head qe;
746 struct list_head ucast_pending_add_q;
[all …]
/linux/include/target/iscsi/
H A Discsi_target_core.h6 #include <linux/list.h> /* struct list_head */
299 struct list_head qr_list;
304 struct list_head param_list;
305 struct list_head extra_response_list;
320 struct list_head cmd_datain_node;
329 struct list_head ooo_list;
347 struct list_head r2t_list;
457 struct list_head datain_list;
459 struct list_head cmd_r2t_list;
484 /* list_head for connection list */
[all …]
/linux/drivers/scsi/lpfc/
H A Dlpfc_sli4.h133 struct list_head rqb_buffer_list; /* buffers assigned to this HBQ */
152 struct list_head list;
153 struct list_head wq_list;
171 struct list_head wqfull_list;
175 struct list_head child_list;
176 struct list_head page_list;
177 struct list_head sgl_list;
178 struct list_head cpu_list;
282 struct list_head _poll_list;
322 struct list_head list;
[all …]
/linux/drivers/gpu/drm/i915/gvt/
H A Dgtt.h96 struct list_head oos_page_use_list_head;
97 struct list_head oos_page_free_list_head;
99 struct list_head ppgtt_mm_lru_list_head;
146 struct list_head list;
168 struct list_head list;
169 struct list_head lru_list;
170 struct list_head link; /* possible LRI shadow mm list */
177 struct list_head partial_pte_list;
211 struct list_head ppgtt_mm_list_head;
213 struct list_head oos_page_list_head;
[all …]
/linux/drivers/gpu/drm/radeon/
H A Dmkregtable.c42 struct list_head { struct
43 struct list_head *next, *prev; argument
47 static inline void INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD()
60 static inline void __list_add(struct list_head *new, in __list_add()
61 struct list_head *prev, struct list_head *next) in __list_add()
69 extern void __list_add(struct list_head *new,
70 struct list_head *prev, struct list_head *next);
81 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail()
88 * @ptr: the &struct list_head pointer.
90 * @member: the name of the list_head within the struct.
[all …]
/linux/fs/ceph/
H A Dmds_client.h237 struct list_head s_caps; /* all caps issued by this session */
243 struct list_head s_cap_releases; /* waiting cap_release messages */
247 struct list_head s_cap_dirty; /* inodes w/ dirty caps */
250 struct list_head s_cap_flushing; /* inodes w/ flushing caps */
255 struct list_head s_waiting; /* waiting requests */
256 struct list_head s_unsafe; /* unsafe requests */
368 struct list_head r_unsafe_dir_item;
371 struct list_head r_unsafe_target_item;
381 struct list_head r_wait;
385 struct list_head r_unsafe_item; /* per-session unsafe list item */
[all …]
/linux/tools/objtool/include/objtool/
H A Dobjtool.h19 struct list_head targets;
25 struct list_head retpoline_call_list;
26 struct list_head return_thunk_list;
27 struct list_head static_call_list;
28 struct list_head mcount_loc_list;
29 struct list_head endbr_list;
30 struct list_head call_list;
/linux/drivers/crypto/ccp/
H A Dccp-crypto.h37 struct list_head entry;
45 struct list_head entry;
53 struct list_head entry;
66 struct list_head entry;
278 int ccp_register_aes_algs(struct list_head *head);
279 int ccp_register_aes_cmac_algs(struct list_head *head);
280 int ccp_register_aes_xts_algs(struct list_head *head);
281 int ccp_register_aes_aeads(struct list_head *head);
282 int ccp_register_sha_algs(struct list_head *head);
283 int ccp_register_des3_algs(struct list_head *head);
[all …]
/linux/drivers/thermal/
H A Dthermal_thresholds.c25 struct list_head *thresholds = &tz->user_thresholds; in __thermal_thresholds_flush()
51 const struct list_head *l1, in __thermal_thresholds_cmp()
52 const struct list_head *l2) in __thermal_thresholds_cmp()
60 static struct user_threshold *__thermal_thresholds_find(const struct list_head *thresholds, in __thermal_thresholds_find()
72 static bool thermal_thresholds_handle_raising(struct list_head *thresholds, int temperature, in thermal_thresholds_handle_raising()
90 static bool thermal_thresholds_handle_dropping(struct list_head *thresholds, int temperature, in thermal_thresholds_handle_dropping()
108 static void thermal_threshold_find_boundaries(struct list_head *thresholds, int temperature, in thermal_threshold_find_boundaries()
130 struct list_head *thresholds = &tz->user_thresholds; in thermal_thresholds_handle()
171 struct list_head *thresholds = &tz->user_thresholds; in thermal_thresholds_add()
205 struct list_head *thresholds = &tz->user_thresholds; in thermal_thresholds_delete()
[all …]

12345678910>>...79