Home
last modified time | relevance | path

Searched defs:head (Results 1 – 25 of 1410) sorted by relevance

12345678910>>...57

/linux/drivers/scsi/aic7xxx/
H A Dqueue.h112 #define SLIST_HEAD_INITIALIZER(head) \ argument
123 #define SLIST_EMPTY(head) ((head)->slh_first == NULL) argument
125 #define SLIST_FIRST(head) ((head)->slh_first) argument
127 #define SLIST_FOREACH(var, head, field) \ argument
132 #define SLIST_INIT(head) do { \ argument
141 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument
148 #define SLIST_REMOVE(head, elm, type, field) do { \ argument
161 #define SLIST_REMOVE_HEAD(head, field) do { \ argument
174 #define STAILQ_HEAD_INITIALIZER(head) \ argument
185 #define STAILQ_EMPTY(head) ((head)->stqh_first == NULL) argument
[all …]
/linux/include/linux/
H A Dlist.h175 static inline void list_add(struct list_head *new, struct list_head *head) in list_add()
189 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail()
304 static inline void list_move(struct list_head *list, struct list_head *head) in list_move()
316 struct list_head *head) in list_move_tail()
331 static inline void list_bulk_move_tail(struct list_head *head, in list_bulk_move_tail()
350 static inline int list_is_first(const struct list_head *list, const struct list_head *head) in list_is_first()
360 static inline int list_is_last(const struct list_head *list, const struct list_head *head) in list_is_last()
370 static inline int list_is_head(const struct list_head *list, const struct list_head *head) in list_is_head()
379 static inline int list_empty(const struct list_head *head) in list_empty()
415 static inline int list_empty_careful(const struct list_head *head) in list_empty_careful()
[all …]
H A Dplist.h86 #define PLIST_HEAD_INIT(head) \ argument
95 #define PLIST_HEAD(head) \ argument
115 plist_head_init(struct plist_head *head) in plist_head_init()
142 #define plist_for_each(pos, head) \ argument
152 #define plist_for_each_continue(pos, head) \ argument
163 #define plist_for_each_safe(pos, n, head) \ argument
172 #define plist_for_each_entry(pos, head, mem) \ argument
184 #define plist_for_each_entry_continue(pos, head, m) \ argument
196 #define plist_for_each_entry_safe(pos, n, head, m) \ argument
203 static inline int plist_head_empty(const struct plist_head *head) in plist_head_empty()
[all …]
H A Dbtree-type.h14 static inline void BTREE_FN(init_mempool)(BTREE_TYPE_HEAD *head, in init_mempool()
20 static inline int BTREE_FN(init)(BTREE_TYPE_HEAD *head) in init()
25 static inline void BTREE_FN(destroy)(BTREE_TYPE_HEAD *head) in destroy()
38 static inline void *BTREE_FN(lookup)(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE key) in lookup()
44 static inline int BTREE_FN(insert)(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE key, in insert()
51 static inline int BTREE_FN(update)(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE key, in update()
58 static inline void *BTREE_FN(remove)(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE key) in remove()
64 static inline void *BTREE_FN(last)(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE *key) in last()
73 static inline void *BTREE_FN(get_prev)(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE *key) in get_prev()
82 static inline void *BTREE_FN(lookup)(BTREE_TYPE_HEAD *head, BTREE_KEYTYPE key) in lookup()
[all …]
H A Dbtree-128.h6 static inline void btree_init_mempool128(struct btree_head128 *head, in btree_init_mempool128()
12 static inline int btree_init128(struct btree_head128 *head) in btree_init128()
17 static inline void btree_destroy128(struct btree_head128 *head) in btree_destroy128()
22 static inline void *btree_lookup128(struct btree_head128 *head, u64 k1, u64 k2) in btree_lookup128()
28 static inline void *btree_get_prev128(struct btree_head128 *head, in btree_get_prev128()
41 static inline int btree_insert128(struct btree_head128 *head, u64 k1, u64 k2, in btree_insert128()
49 static inline int btree_update128(struct btree_head128 *head, u64 k1, u64 k2, in btree_update128()
57 static inline void *btree_remove128(struct btree_head128 *head, u64 k1, u64 k2) in btree_remove128()
63 static inline void *btree_last128(struct btree_head128 *head, u64 *k1, u64 *k2) in btree_last128()
90 static inline size_t btree_visitor128(struct btree_head128 *head, in btree_visitor128()
[all …]
H A Dlist_private.h70 #define list_private_next_entry_circular(pos, head, member) \ argument
92 #define list_private_prev_entry_circular(pos, head, member) \ argument
103 #define list_private_entry_is_head(pos, head, member) \ argument
112 #define list_private_for_each_entry(pos, head, member) \ argument
123 #define list_private_for_each_entry_reverse(pos, head, member) \ argument
137 #define list_private_for_each_entry_continue(pos, head, member) \ argument
151 #define list_private_for_each_entry_continue_reverse(pos, head, member) \ argument
164 #define list_private_for_each_entry_from(pos, head, member) \ argument
177 #define list_private_for_each_entry_from_reverse(pos, head, member) \ argument
188 #define list_private_for_each_entry_safe(pos, n, head, member) \ argument
[all …]
H A Drculist.h50 #define list_for_each_rcu(pos, head) \ argument
63 #define list_tail_rcu(head) (*((struct list_head __rcu **)(&(head)->prev))) argument
125 static inline void list_add_rcu(struct list_head *new, struct list_head *head) in list_add_rcu()
147 struct list_head *head) in list_add_tail_rcu()
332 struct list_head *head, in list_splice_init_rcu()
347 struct list_head *head, in list_splice_tail_init_rcu()
426 #define list_next_or_null_rcu(head, ptr, type, member) \ argument
446 #define list_for_each_entry_rcu(pos, head, member, cond...) \ argument
465 #define list_for_each_entry_srcu(pos, head, member, cond) \ argument
500 #define list_for_each_entry_lockless(pos, head, member) \ argument
[all …]
/linux/tools/include/linux/
H A Dlist.h61 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()
154 static inline void list_move(struct list_head *list, struct list_head *head) in list_move()
166 struct list_head *head) in list_move_tail()
177 static inline int list_is_first(const struct list_head *list, const struct list_head *head) in list_is_first()
188 const struct list_head *head) in list_is_last()
197 static inline int list_empty(const struct list_head *head) in list_empty()
215 static inline int list_empty_careful(const struct list_head *head) in list_empty_careful()
225 static inline void list_rotate_left(struct list_head *head) in list_rotate_left()
239 static inline int list_is_singular(const struct list_head *head) in list_is_singular()
[all …]
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Dhead507d.c30 head507d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_procamp()
49 head507d_dither(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_dither()
67 head507d_ovly(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_ovly()
95 head507d_base(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_base()
123 head507d_curs_clr(struct nv50_head *head) in head507d_curs_clr()
140 head507d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_curs_set()
163 head507d_curs_format(struct nv50_head *head, struct nv50_wndw_atom *asyw, in head507d_curs_format()
176 head507d_curs_layout(struct nv50_head *head, struct nv50_wndw_atom *asyw, in head507d_curs_layout()
189 head507d_core_clr(struct nv50_head *head) in head507d_core_clr()
203 head507d_core_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_core_set()
[all …]
H A Dhead907d.c37 head907d_or(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_or()
58 head907d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_procamp()
78 head907d_dither(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_dither()
96 head907d_ovly(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_ovly()
125 head907d_base(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_base()
153 head907d_curs_clr(struct nv50_head *head) in head907d_curs_clr()
172 head907d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_curs_set()
196 head907d_core_clr(struct nv50_head *head) in head907d_core_clr()
210 head907d_core_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_core_set()
247 head907d_olut_clr(struct nv50_head *head) in head907d_olut_clr()
[all …]
H A Dheadc37d.c31 headc37d_or(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_or()
65 headc37d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_procamp()
86 headc37d_dither(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_dither()
105 headc37d_curs_clr(struct nv50_head *head) in headc37d_curs_clr()
123 headc37d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_curs_set()
154 headc37d_curs_format(struct nv50_head *head, struct nv50_wndw_atom *asyw, in headc37d_curs_format()
162 headc37d_olut_clr(struct nv50_head *head) in headc37d_olut_clr()
176 headc37d_olut_set(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_olut_set()
196 headc37d_olut(struct nv50_head *head, struct nv50_head_atom *asyh, int size) in headc37d_olut()
210 headc37d_mode(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_mode()
[all …]
H A Dheadca7d.c14 headca7d_display_id(struct nv50_head *head, u32 display_id) in headca7d_display_id()
30 headca7d_or(struct nv50_head *head, struct nv50_head_atom *asyh) in headca7d_or()
71 headca7d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) in headca7d_procamp()
90 headca7d_dither(struct nv50_head *head, struct nv50_head_atom *asyh) in headca7d_dither()
111 headca7d_curs_clr(struct nv50_head *head) in headca7d_curs_clr()
132 headca7d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh) in headca7d_curs_set()
170 headca7d_olut_clr(struct nv50_head *head) in headca7d_olut_clr()
187 headca7d_olut_set(struct nv50_head *head, struct nv50_head_atom *asyh) in headca7d_olut_set()
218 headca7d_mode(struct nv50_head *head, struct nv50_head_atom *asyh) in headca7d_mode()
258 headca7d_view(struct nv50_head *head, struct nv50_head_atom *asyh) in headca7d_view()
H A Dcrc.c72 nv50_crc_program_ctx(struct nv50_head *head, in nv50_crc_program_ctx()
87 struct nv50_head *head = container_of(crc, struct nv50_head, crc); in nv50_crc_ctx_flip_work() local
129 nv50_crc_get_entries(struct nv50_head *head, in nv50_crc_get_entries()
154 void nv50_crc_handle_vblank(struct nv50_head *head) in nv50_crc_handle_vblank()
220 static void nv50_crc_wait_ctx_finished(struct nv50_head *head, in nv50_crc_wait_ctx_finished()
247 struct nv50_head *head = nv50_head(crtc); in nv50_crc_atomic_stop_reporting() local
279 struct nv50_head *head = nv50_head(crtc); in nv50_crc_atomic_init_notifier_contexts() local
303 struct nv50_head *head = nv50_head(crtc); in nv50_crc_atomic_release_notifier_contexts() local
326 struct nv50_head *head = nv50_head(crtc); in nv50_crc_atomic_start_reporting() local
351 int nv50_crc_atomic_check_head(struct nv50_head *head, in nv50_crc_atomic_check_head()
[all …]
/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Dhw.h60 int head, uint32_t reg) in NVReadCRTC()
71 int head, uint32_t reg, uint32_t val) in NVWriteCRTC()
80 int head, uint32_t reg) in NVReadRAMDAC()
91 int head, uint32_t reg, uint32_t val) in NVWriteRAMDAC()
120 int head, uint8_t index, uint8_t value) in NVWriteVgaCrtc()
128 int head, uint8_t index) in NVReadVgaCrtc()
152 NVWriteVgaCrtc5758(struct drm_device *dev, int head, uint8_t index, uint8_t value) in NVWriteVgaCrtc5758()
158 static inline uint8_t NVReadVgaCrtc5758(struct drm_device *dev, int head, uint8_t index) in NVReadVgaCrtc5758()
165 int head, uint32_t reg) in NVReadPRMVIO()
181 int head, uint32_t reg, uint8_t value) in NVWritePRMVIO()
[all …]
H A Dhw.c39 NVWriteVgaSeq(struct drm_device *dev, int head, uint8_t index, uint8_t value) in NVWriteVgaSeq()
46 NVReadVgaSeq(struct drm_device *dev, int head, uint8_t index) in NVReadVgaSeq()
53 NVWriteVgaGr(struct drm_device *dev, int head, uint8_t index, uint8_t value) in NVWriteVgaGr()
60 NVReadVgaGr(struct drm_device *dev, int head, uint8_t index) in NVReadVgaGr()
110 NVBlankScreen(struct drm_device *dev, int head, bool blank) in NVBlankScreen()
252 nouveau_hw_fix_bad_vpll(struct drm_device *dev, int head) in nouveau_hw_fix_bad_vpll()
379 rd_cio_state(struct drm_device *dev, int head, in rd_cio_state()
386 wr_cio_state(struct drm_device *dev, int head, in wr_cio_state()
393 nv_save_state_ramdac(struct drm_device *dev, int head, in nv_save_state_ramdac()
468 nv_load_state_ramdac(struct drm_device *dev, int head, in nv_load_state_ramdac()
[all …]
/linux/security/tomoyo/
H A Dcommon.c205 static bool tomoyo_flush(struct tomoyo_io_buffer *head) in tomoyo_flush()
251 static void tomoyo_set_string(struct tomoyo_io_buffer *head, const char *string) in tomoyo_set_string()
269 static void tomoyo_io_printf(struct tomoyo_io_buffer *head, const char *fmt, in tomoyo_io_printf()
298 static void tomoyo_set_space(struct tomoyo_io_buffer *head) in tomoyo_set_space()
310 static bool tomoyo_set_lf(struct tomoyo_io_buffer *head) in tomoyo_set_lf()
323 static void tomoyo_set_slash(struct tomoyo_io_buffer *head) in tomoyo_set_slash()
362 static void tomoyo_print_namespace(struct tomoyo_io_buffer *head) in tomoyo_print_namespace()
379 static void tomoyo_print_name_union(struct tomoyo_io_buffer *head, in tomoyo_print_name_union()
399 static void tomoyo_print_name_union_quoted(struct tomoyo_io_buffer *head, in tomoyo_print_name_union_quoted()
421 tomoyo_print_number_union_nospace(struct tomoyo_io_buffer *head, const struct tomoyo_number_union *… in tomoyo_print_number_union_nospace()
[all …]
/linux/tools/testing/selftests/futex/functional/
H A Drobust_list.c47 static int set_robust_list(struct robust_list_head *head, size_t len) in set_robust_list()
52 static int get_robust_list(int pid, struct robust_list_head **head, size_t *len_ptr) in get_robust_list()
92 static int set_list(struct robust_list_head *head) in set_list()
111 static int mutex_lock(struct lock_struct *lock, struct robust_list_head *head, bool error_inject) in mutex_lock()
174 struct robust_list_head head; in child_fn_lock() local
211 struct robust_list_head head; in TEST() local
251 struct robust_list_head head; in TEST() local
278 struct robust_list_head head, head2, *get_head; in TEST() local
303 struct robust_list_head *head = arg; in child_list() local
331 struct robust_list_head head, *get_head; in TEST() local
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dvga.c27 nvkm_rdport(struct nvkm_device *device, int head, u16 port) in nvkm_rdport()
49 nvkm_wrport(struct nvkm_device *device, int head, u16 port, u8 data) in nvkm_wrport()
69 nvkm_rdvgas(struct nvkm_device *device, int head, u8 index) in nvkm_rdvgas()
76 nvkm_wrvgas(struct nvkm_device *device, int head, u8 index, u8 value) in nvkm_wrvgas()
83 nvkm_rdvgag(struct nvkm_device *device, int head, u8 index) in nvkm_rdvgag()
90 nvkm_wrvgag(struct nvkm_device *device, int head, u8 index, u8 value) in nvkm_wrvgag()
97 nvkm_rdvgac(struct nvkm_device *device, int head, u8 index) in nvkm_rdvgac()
104 nvkm_wrvgac(struct nvkm_device *device, int head, u8 index, u8 value) in nvkm_wrvgac()
111 nvkm_rdvgai(struct nvkm_device *device, int head, u16 port, u8 index) in nvkm_rdvgai()
120 nvkm_wrvgai(struct nvkm_device *device, int head, u16 port, u8 index, u8 value) in nvkm_wrvgai()
/linux/scripts/include/
H A Dlist.h81 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()
165 static inline void list_move(struct list_head *list, struct list_head *head) in list_move()
177 struct list_head *head) in list_move_tail()
188 static inline int list_is_first(const struct list_head *list, const struct list_head *head) in list_is_first()
198 static inline int list_is_last(const struct list_head *list, const struct list_head *head) in list_is_last()
208 static inline int list_is_head(const struct list_head *list, const struct list_head *head) in list_is_head()
217 static inline int list_empty(const struct list_head *head) in list_empty()
275 #define list_entry_is_head(pos, head, member) \ argument
284 #define list_for_each_entry(pos, head, member) \ argument
[all …]
/linux/net/sched/
H A Dcls_matchall.c32 struct cls_mall_head *head = rcu_dereference_bh(tp->root); in mall_classify() local
50 static void __mall_destroy(struct cls_mall_head *head) in __mall_destroy()
60 struct cls_mall_head *head = container_of(to_rcu_work(work), in mall_destroy_work() local
69 struct cls_mall_head *head, in mall_destroy_hw_filter()
85 struct cls_mall_head *head, in mall_replace_hw_filter()
130 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_destroy() local
148 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_get() local
168 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_change() local
252 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_delete() local
262 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_walk() local
[all …]
/linux/include/uapi/linux/
H A Dvirtio_rtc.h63 struct virtio_rtc_req_head head; member
69 struct virtio_rtc_resp_head head; member
76 struct virtio_rtc_req_head head; member
89 struct virtio_rtc_resp_head head; member
99 struct virtio_rtc_req_head head; member
104 struct virtio_rtc_resp_head head; member
113 struct virtio_rtc_req_head head; member
119 struct virtio_rtc_resp_head head; member
138 struct virtio_rtc_req_head head; member
145 struct virtio_rtc_resp_head head; member
[all …]
/linux/net/netlabel/
H A Dnetlabel_addrlist.c47 struct list_head *head) in netlbl_af4list_search()
72 struct list_head *head) in netlbl_af4list_search_exact()
97 struct list_head *head) in netlbl_af6list_search()
123 struct list_head *head) in netlbl_af6list_search_exact()
148 int netlbl_af4list_add(struct netlbl_af4list *entry, struct list_head *head) in netlbl_af4list_add()
185 int netlbl_af6list_add(struct netlbl_af6list *entry, struct list_head *head) in netlbl_af6list_add()
240 struct list_head *head) in netlbl_af4list_remove()
281 struct list_head *head) in netlbl_af6list_remove()
/linux/drivers/scsi/sym53c8xx_2/
H A Dsym_misc.h42 static inline struct sym_quehead *sym_que_first(struct sym_quehead *head) in sym_que_first()
47 static inline struct sym_quehead *sym_que_last(struct sym_quehead *head) in sym_que_last()
69 static inline int sym_que_empty(struct sym_quehead *head) in sym_que_empty()
75 struct sym_quehead *head) in sym_que_splice()
117 #define sym_insque_head(new, head) __sym_que_add(new, head, (head)->flink) argument
119 static inline struct sym_quehead *sym_remque_head(struct sym_quehead *head) in sym_remque_head()
130 #define sym_insque_tail(new, head) __sym_que_add(new, (head)->blink, head) argument
132 static inline struct sym_quehead *sym_remque_tail(struct sym_quehead *head) in sym_remque_tail()
146 #define FOR_EACH_QUEUED_ELEMENT(head, qp) \ argument
/linux/drivers/nvme/host/
H A Dmultipath.c243 struct nvme_ns_head *head = ns->head; in nvme_mpath_clear_current_path() local
276 struct nvme_ns_head *head = ns->head; in nvme_mpath_revalidate_paths() local
311 static struct nvme_ns *__nvme_find_path(struct nvme_ns_head *head, int node) in __nvme_find_path()
352 static struct nvme_ns *nvme_next_ns(struct nvme_ns_head *head, in nvme_next_ns()
362 static struct nvme_ns *nvme_round_robin_path(struct nvme_ns_head *head) in nvme_round_robin_path()
410 static struct nvme_ns *nvme_queue_depth_path(struct nvme_ns_head *head) in nvme_queue_depth_path()
453 static struct nvme_ns *nvme_numa_path(struct nvme_ns_head *head) in nvme_numa_path()
466 inline struct nvme_ns *nvme_find_path(struct nvme_ns_head *head) in nvme_find_path()
478 static bool nvme_available_path(struct nvme_ns_head *head) in nvme_available_path()
513 struct nvme_ns_head *head = bio->bi_bdev->bd_disk->private_data; in nvme_ns_head_submit_bio() local
[all …]
/linux/lib/
H A Dbtree.c92 static unsigned long *btree_node_alloc(struct btree_head *head, gfp_t gfp) in btree_node_alloc()
175 static inline void __btree_init(struct btree_head *head) in __btree_init()
181 void btree_init_mempool(struct btree_head *head, mempool_t *mempool) in btree_init_mempool()
188 int btree_init(struct btree_head *head) in btree_init()
198 void btree_destroy(struct btree_head *head) in btree_destroy()
206 void *btree_last(struct btree_head *head, struct btree_geo *geo, in btree_last()
240 static void *btree_lookup_node(struct btree_head *head, struct btree_geo *geo, in btree_lookup_node()
262 void *btree_lookup(struct btree_head *head, struct btree_geo *geo, in btree_lookup()
279 int btree_update(struct btree_head *head, struct btree_geo *geo, in btree_update()
306 void *btree_get_prev(struct btree_head *head, struct btree_geo *geo, in btree_get_prev()
[all …]

12345678910>>...57