Home
last modified time | relevance | path

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

12345678910>>...56

/Linux-v4.19/drivers/scsi/aic7xxx/
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-v4.19/include/linux/
Dplist.h95 #define PLIST_HEAD_INIT(head) \ argument
104 #define PLIST_HEAD(head) \ argument
124 plist_head_init(struct plist_head *head) in plist_head_init()
151 #define plist_for_each(pos, head) \ argument
161 #define plist_for_each_continue(pos, head) \ argument
172 #define plist_for_each_safe(pos, n, head) \ argument
181 #define plist_for_each_entry(pos, head, mem) \ argument
193 #define plist_for_each_entry_continue(pos, head, m) \ argument
205 #define plist_for_each_entry_safe(pos, n, head, m) \ argument
212 static inline int plist_head_empty(const struct plist_head *head) in plist_head_empty()
[all …]
Dlist.h77 static inline void list_add(struct list_head *new, struct list_head *head) in list_add()
91 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail()
168 static inline void list_move(struct list_head *list, struct list_head *head) in list_move()
180 struct list_head *head) in list_move_tail()
192 const struct list_head *head) in list_is_last()
201 static inline int list_empty(const struct list_head *head) in list_empty()
219 static inline int list_empty_careful(const struct list_head *head) in list_empty_careful()
229 static inline void list_rotate_left(struct list_head *head) in list_rotate_left()
243 static inline int list_is_singular(const struct list_head *head) in list_is_singular()
249 struct list_head *head, struct list_head *entry) in __list_cut_position()
[all …]
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 …]
Drculist.h77 static inline void list_add_rcu(struct list_head *new, struct list_head *head) in list_add_rcu()
99 struct list_head *head) in list_add_tail_rcu()
246 struct list_head *head, in list_splice_init_rcu()
261 struct list_head *head, in list_splice_tail_init_rcu()
332 #define list_next_or_null_rcu(head, ptr, type, member) \ argument
351 #define list_for_each_entry_rcu(pos, head, member) \ argument
387 #define list_for_each_entry_lockless(pos, head, member) \ argument
410 #define list_for_each_entry_continue_rcu(pos, head, member) \ argument
432 #define list_for_each_entry_from_rcu(pos, head, member) \ argument
484 #define hlist_first_rcu(head) (*((struct hlist_node __rcu **)(&(head)->first))) argument
[all …]
Dcirc_buf.h11 int head; member
16 #define CIRC_CNT(head,tail,size) (((head) - (tail)) & ((size)-1)) argument
21 #define CIRC_SPACE(head,tail,size) CIRC_CNT((tail),((head)+1),(size)) argument
26 #define CIRC_CNT_TO_END(head,tail,size) \ argument
32 #define CIRC_SPACE_TO_END(head,tail,size) \ argument
/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv50/
Dhead507d.c26 head507d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_procamp()
39 head507d_dither(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_dither()
53 head507d_ovly(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_ovly()
80 head507d_base(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_base()
107 head507d_curs_clr(struct nv50_head *head) in head507d_curs_clr()
119 head507d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_curs_set()
133 head507d_curs_format(struct nv50_head *head, struct nv50_wndw_atom *asyw, in head507d_curs_format()
146 head507d_curs_layout(struct nv50_head *head, struct nv50_wndw_atom *asyw, in head507d_curs_layout()
159 head507d_core_clr(struct nv50_head *head) in head507d_core_clr()
171 head507d_core_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_core_set()
[all …]
Dhead907d.c26 head907d_or(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_or()
42 head907d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_procamp()
55 head907d_dither(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_dither()
69 head907d_ovly(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_ovly()
97 head907d_base(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_base()
124 head907d_curs_clr(struct nv50_head *head) in head907d_curs_clr()
138 head907d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_curs_set()
154 head907d_core_clr(struct nv50_head *head) in head907d_core_clr()
166 head907d_core_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_core_set()
188 head907d_olut_clr(struct nv50_head *head) in head907d_olut_clr()
[all …]
Dheadc37d.c27 headc37d_or(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_or()
55 headc37d_procamp(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_procamp()
69 headc37d_dither(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_dither()
83 headc37d_curs_clr(struct nv50_head *head) in headc37d_curs_clr()
97 headc37d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_curs_set()
116 headc37d_curs_format(struct nv50_head *head, struct nv50_wndw_atom *asyw, in headc37d_curs_format()
124 headc37d_olut_clr(struct nv50_head *head) in headc37d_olut_clr()
136 headc37d_olut_set(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_olut_set()
152 headc37d_olut(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_olut()
161 headc37d_mode(struct nv50_head *head, struct nv50_head_atom *asyh) in headc37d_mode()
[all …]
Dhead827d.c26 head827d_curs_clr(struct nv50_head *head) in head827d_curs_clr()
40 head827d_curs_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head827d_curs_set()
56 head827d_core_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head827d_core_set()
78 head827d_olut_clr(struct nv50_head *head) in head827d_olut_clr()
92 head827d_olut_set(struct nv50_head *head, struct nv50_head_atom *asyh) in head827d_olut_set()
/Linux-v4.19/tools/include/linux/
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()
178 const struct list_head *head) in list_is_last()
187 static inline int list_empty(const struct list_head *head) in list_empty()
205 static inline int list_empty_careful(const struct list_head *head) in list_empty_careful()
215 static inline void list_rotate_left(struct list_head *head) in list_rotate_left()
229 static inline int list_is_singular(const struct list_head *head) in list_is_singular()
235 struct list_head *head, struct list_head *entry) in __list_cut_position()
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv04/
Dhw.h61 int head, uint32_t reg) in NVReadCRTC()
72 int head, uint32_t reg, uint32_t val) in NVWriteCRTC()
81 int head, uint32_t reg) in NVReadRAMDAC()
92 int head, uint32_t reg, uint32_t val) in NVWriteRAMDAC()
121 int head, uint8_t index, uint8_t value) in NVWriteVgaCrtc()
129 int head, uint8_t index) in NVReadVgaCrtc()
153 NVWriteVgaCrtc5758(struct drm_device *dev, int head, uint8_t index, uint8_t value) in NVWriteVgaCrtc5758()
159 static inline uint8_t NVReadVgaCrtc5758(struct drm_device *dev, int head, uint8_t index) in NVReadVgaCrtc5758()
166 int head, uint32_t reg) in NVReadPRMVIO()
182 int head, uint32_t reg, uint8_t value) in NVWritePRMVIO()
[all …]
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()
251 nouveau_hw_fix_bad_vpll(struct drm_device *dev, int head) in nouveau_hw_fix_bad_vpll()
378 rd_cio_state(struct drm_device *dev, int head, in rd_cio_state()
385 wr_cio_state(struct drm_device *dev, int head, in wr_cio_state()
392 nv_save_state_ramdac(struct drm_device *dev, int head, in nv_save_state_ramdac()
467 nv_load_state_ramdac(struct drm_device *dev, int head, in nv_load_state_ramdac()
[all …]
/Linux-v4.19/security/tomoyo/
Dcommon.c212 static bool tomoyo_flush(struct tomoyo_io_buffer *head) in tomoyo_flush()
257 static void tomoyo_set_string(struct tomoyo_io_buffer *head, const char *string) in tomoyo_set_string()
275 static void tomoyo_io_printf(struct tomoyo_io_buffer *head, const char *fmt, in tomoyo_io_printf()
302 static void tomoyo_set_space(struct tomoyo_io_buffer *head) in tomoyo_set_space()
314 static bool tomoyo_set_lf(struct tomoyo_io_buffer *head) in tomoyo_set_lf()
327 static void tomoyo_set_slash(struct tomoyo_io_buffer *head) in tomoyo_set_slash()
365 static void tomoyo_print_namespace(struct tomoyo_io_buffer *head) in tomoyo_print_namespace()
382 static void tomoyo_print_name_union(struct tomoyo_io_buffer *head, in tomoyo_print_name_union()
402 static void tomoyo_print_name_union_quoted(struct tomoyo_io_buffer *head, in tomoyo_print_name_union_quoted()
424 (struct tomoyo_io_buffer *head, const struct tomoyo_number_union *ptr) in tomoyo_print_number_union_nospace()
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/disp/
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()
Dheadnv50.c27 nv50_head_vblank_put(struct nvkm_head *head) in nv50_head_vblank_put()
34 nv50_head_vblank_get(struct nvkm_head *head) in nv50_head_vblank_get()
41 nv50_head_rgclk(struct nvkm_head *head, int div) in nv50_head_rgclk()
48 nv50_head_rgpos(struct nvkm_head *head, u16 *hline, u16 *vline) in nv50_head_rgpos()
58 nv50_head_state(struct nvkm_head *head, struct nvkm_head_state *state) in nv50_head_state()
Dnv50.c183 nv50_disp_super_iedt(struct nvkm_head *head, struct nvkm_outp *outp, in nv50_disp_super_iedt()
198 nv50_disp_super_ied_on(struct nvkm_head *head, in nv50_disp_super_ied_on()
254 nv50_disp_super_ied_off(struct nvkm_head *head, struct nvkm_ior *ior, int id) in nv50_disp_super_ied_off()
279 nv50_disp_super_ior_asy(struct nvkm_head *head) in nv50_disp_super_ior_asy()
293 nv50_disp_super_ior_arm(struct nvkm_head *head) in nv50_disp_super_ior_arm()
307 nv50_disp_super_3_0(struct nv50_disp *disp, struct nvkm_head *head) in nv50_disp_super_3_0()
326 nv50_disp_super_2_2_dp(struct nvkm_head *head, struct nvkm_ior *ior) in nv50_disp_super_2_2_dp()
432 nv50_disp_super_2_2(struct nv50_disp *disp, struct nvkm_head *head) in nv50_disp_super_2_2()
479 nv50_disp_super_2_1(struct nv50_disp *disp, struct nvkm_head *head) in nv50_disp_super_2_1()
489 nv50_disp_super_2_0(struct nv50_disp *disp, struct nvkm_head *head) in nv50_disp_super_2_0()
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/include/nvif/
Dlist.h159 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()
220 struct list_head *head) in list_move_tail()
235 list_empty(struct list_head *head) in list_empty()
314 #define list_for_each_entry(pos, head, member) \ argument
326 #define list_for_each_entry_safe(pos, tmp, head, member) \ argument
333 #define list_for_each_entry_reverse(pos, head, member) \ argument
338 #define list_for_each_entry_continue(pos, head, member) \ argument
343 #define list_for_each_entry_continue_reverse(pos, head, member) \ argument
348 #define list_for_each_entry_from(pos, head, member) \ argument
/Linux-v4.19/net/sched/
Dcls_matchall.c31 struct cls_mall_head *head = rcu_dereference_bh(tp->root); in mall_classify() local
45 static void __mall_destroy(struct cls_mall_head *head) in __mall_destroy()
54 struct cls_mall_head *head = container_of(to_rcu_work(work), in mall_destroy_work() local
63 struct cls_mall_head *head, in mall_destroy_hw_filter()
79 struct cls_mall_head *head, in mall_replace_hw_filter()
111 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_destroy() local
138 struct cls_mall_head *head, in mall_set_parms()
161 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_change() local
232 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_walk() local
245 struct cls_mall_head *head = rtnl_dereference(tp->root); in mall_reoffload() local
[all …]
Dcls_cgroup.c32 struct cls_cgroup_head *head = rcu_dereference_bh(tp->root); in cls_cgroup_classify() local
60 static void __cls_cgroup_destroy(struct cls_cgroup_head *head) in __cls_cgroup_destroy()
70 struct cls_cgroup_head *head = container_of(to_rcu_work(work), in cls_cgroup_destroy_work() local
85 struct cls_cgroup_head *head = rtnl_dereference(tp->root); in cls_cgroup_change() local
136 struct cls_cgroup_head *head = rtnl_dereference(tp->root); in cls_cgroup_destroy() local
155 struct cls_cgroup_head *head = rtnl_dereference(tp->root); in cls_cgroup_walk() local
171 struct cls_cgroup_head *head = rtnl_dereference(tp->root); in cls_cgroup_dump() local
/Linux-v4.19/net/netlabel/
Dnetlabel_addrlist.c61 struct list_head *head) in netlbl_af4list_search()
86 struct list_head *head) in netlbl_af4list_search_exact()
111 struct list_head *head) in netlbl_af6list_search()
137 struct list_head *head) in netlbl_af6list_search_exact()
162 int netlbl_af4list_add(struct netlbl_af4list *entry, struct list_head *head) in netlbl_af4list_add()
199 int netlbl_af6list_add(struct netlbl_af6list *entry, struct list_head *head) in netlbl_af6list_add()
254 struct list_head *head) in netlbl_af4list_remove()
295 struct list_head *head) in netlbl_af6list_remove()
/Linux-v4.19/drivers/scsi/sym53c8xx_2/
Dsym_misc.h55 static inline struct sym_quehead *sym_que_first(struct sym_quehead *head) in sym_que_first()
60 static inline struct sym_quehead *sym_que_last(struct sym_quehead *head) in sym_que_last()
82 static inline int sym_que_empty(struct sym_quehead *head) in sym_que_empty()
88 struct sym_quehead *head) in sym_que_splice()
130 #define sym_insque_head(new, head) __sym_que_add(new, head, (head)->flink) argument
132 static inline struct sym_quehead *sym_remque_head(struct sym_quehead *head) in sym_remque_head()
143 #define sym_insque_tail(new, head) __sym_que_add(new, (head)->blink, head) argument
145 static inline struct sym_quehead *sym_remque_tail(struct sym_quehead *head) in sym_remque_tail()
159 #define FOR_EACH_QUEUED_ELEMENT(head, qp) \ argument
/Linux-v4.19/fs/proc/
Dproc_sysctl.c30 static bool is_empty_dir(struct ctl_table_header *head) in is_empty_dir()
107 struct ctl_table_header *head; in find_entry() local
135 static int insert_entry(struct ctl_table_header *head, struct ctl_table *entry) in insert_entry()
174 static void erase_entry(struct ctl_table_header *head, struct ctl_table *entry) in erase_entry()
181 static void init_header(struct ctl_table_header *head, in init_header()
203 static void erase_header(struct ctl_table_header *head) in erase_header()
265 static void proc_sys_prune_dcache(struct ctl_table_header *head) in proc_sys_prune_dcache()
334 static struct ctl_table_header *sysctl_head_grab(struct ctl_table_header *head) in sysctl_head_grab()
344 static void sysctl_head_finish(struct ctl_table_header *head) in sysctl_head_finish()
366 struct ctl_table_header *head; in lookup_entry() local
[all …]
/Linux-v4.19/kernel/bpf/
Dpercpu_freelist.c18 struct pcpu_freelist_head *head = per_cpu_ptr(s->freelist, cpu); in pcpu_freelist_init() local
31 static inline void __pcpu_freelist_push(struct pcpu_freelist_head *head, in __pcpu_freelist_push()
43 struct pcpu_freelist_head *head = this_cpu_ptr(s->freelist); in pcpu_freelist_push() local
51 struct pcpu_freelist_head *head; in pcpu_freelist_populate() local
79 struct pcpu_freelist_head *head; in pcpu_freelist_pop() local
/Linux-v4.19/lib/
Dbtree.c95 static unsigned long *btree_node_alloc(struct btree_head *head, gfp_t gfp) in btree_node_alloc()
178 static inline void __btree_init(struct btree_head *head) in __btree_init()
184 void btree_init_mempool(struct btree_head *head, mempool_t *mempool) in btree_init_mempool()
191 int btree_init(struct btree_head *head) in btree_init()
201 void btree_destroy(struct btree_head *head) in btree_destroy()
209 void *btree_last(struct btree_head *head, struct btree_geo *geo, in btree_last()
243 void *btree_lookup(struct btree_head *head, struct btree_geo *geo, in btree_lookup()
273 int btree_update(struct btree_head *head, struct btree_geo *geo, in btree_update()
313 void *btree_get_prev(struct btree_head *head, struct btree_geo *geo, in btree_get_prev()
390 static unsigned long *find_level(struct btree_head *head, struct btree_geo *geo, in find_level()
[all …]

12345678910>>...56