Home
last modified time | relevance | path

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

12345678910>>...54

/openbmc/openbmc/poky/meta/recipes-core/musl/bsd-headers/
H A Dsys-queue.h123 #define SLIST_END(head) NULL argument
141 #define SLIST_INIT(head) do { \ argument
199 #define LIST_END(head) NULL argument
249 #define LIST_INIT(head) do { \ argument
318 #define SIMPLEQ_END(head) NULL argument
421 #define TAILQ_END(head) (NULL) argument
423 #define TAILQ_LAST(head, headname) \ argument
488 #define TAILQ_INIT(head) do { \ argument
586 #define STAILQ_END(head) NULL argument
593 #define STAILQ_INIT(head) do { \ argument
[all …]
/openbmc/linux/drivers/scsi/aic7xxx/
H A Dqueue.h112 #define SLIST_HEAD_INITIALIZER(head) \ argument
132 #define SLIST_INIT(head) do { \ argument
174 #define STAILQ_HEAD_INITIALIZER(head) \ argument
194 #define STAILQ_INIT(head) do { \ argument
254 #define LIST_HEAD_INITIALIZER(head) \ argument
269 #define LIST_FIRST(head) ((head)->lh_first) argument
276 #define LIST_INIT(head) do { \ argument
320 #define TAILQ_HEAD_INITIALIZER(head) \ argument
346 #define TAILQ_INIT(head) do { \ argument
385 #define TAILQ_LAST(head, headname) \ argument
[all …]
/openbmc/qemu/include/qemu/
H A Drcu_queue.h34 #define QLIST_EMPTY_RCU(head) (qatomic_read(&(head)->lh_first) == NULL) argument
35 #define QLIST_FIRST_RCU(head) (qatomic_rcu_read(&(head)->lh_first)) argument
90 #define QLIST_INSERT_HEAD_RCU(head, elm, field) do { \ argument
114 #define QLIST_FOREACH_RCU(var, head, field) \ argument
120 #define QLIST_FOREACH_SAFE_RCU(var, head, field, next_var) \ argument
131 #define QSIMPLEQ_EMPTY_RCU(head) \ argument
137 #define QSIMPLEQ_INSERT_HEAD_RCU(head, elm, field) do { \ argument
145 #define QSIMPLEQ_INSERT_TAIL_RCU(head, elm, field) do { \ argument
166 #define QSIMPLEQ_REMOVE_RCU(head, elm, type, field) do { \ argument
272 #define QSLIST_INSERT_HEAD_RCU(head, elm, field) do { \ argument
[all …]
H A Dqueue.h89 #define QLIST_HEAD_INITIALIZER(head) \ argument
101 #define QLIST_INIT(head) do { \ argument
179 #define QLIST_EMPTY(head) ((head)->lh_first == NULL) argument
180 #define QLIST_FIRST(head) ((head)->lh_first) argument
264 #define QSLIST_EMPTY(head) ((head)->slh_first == NULL) argument
265 #define QSLIST_FIRST(head) ((head)->slh_first) argument
379 #define QSIMPLEQ_EMPTY_ATOMIC(head) \ argument
381 #define QSIMPLEQ_EMPTY(head) ((head)->sqh_first == NULL) argument
382 #define QSIMPLEQ_FIRST(head) ((head)->sqh_first) argument
496 #define QTAILQ_EMPTY(head) ((head)->tqh_first == NULL) argument
[all …]
/openbmc/linux/include/linux/
H A Dlist.h308 struct list_head *head) in list_move_tail()
435 struct list_head *head) in list_rotate_to_front()
508 struct list_head *head, in list_cut_before()
543 struct list_head *head) in list_splice()
555 struct list_head *head) in list_splice_tail()
569 struct list_head *head) in list_splice_init()
586 struct list_head *head) in list_splice_tail_init()
686 #define list_for_each(pos, head) \ argument
694 #define list_for_each_rcu(pos, head) \ argument
714 #define list_for_each_prev(pos, head) \ argument
[all …]
H A Dplist.h96 #define PLIST_HEAD_INIT(head) \ argument
105 #define PLIST_HEAD(head) \ argument
125 plist_head_init(struct plist_head *head) in plist_head_init()
152 #define plist_for_each(pos, head) \ argument
162 #define plist_for_each_continue(pos, head) \ argument
173 #define plist_for_each_safe(pos, n, head) \ argument
182 #define plist_for_each_entry(pos, head, mem) \ argument
236 # define plist_first_entry(head, type, member) \ argument
242 # define plist_first_entry(head, type, member) \ argument
253 # define plist_last_entry(head, type, member) \ argument
[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()
90 static inline size_t btree_visitor128(struct btree_head128 *head, in btree_visitor128()
98 static inline size_t btree_grim_visitor128(struct btree_head128 *head, in btree_grim_visitor128()
[all …]
H A Drculist.h126 struct list_head *head) in list_add_tail_rcu()
275 struct list_head *head, in list_splice_init_rcu()
290 struct list_head *head, in list_splice_tail_init_rcu()
369 #define list_next_or_null_rcu(head, ptr, type, member) \ argument
389 #define list_for_each_entry_rcu(pos, head, member, cond...) \ argument
408 #define list_for_each_entry_srcu(pos, head, member, cond) \ argument
443 #define list_for_each_entry_lockless(pos, head, member) \ argument
488 #define list_for_each_entry_from_rcu(pos, head, member) \ argument
688 #define __hlist_for_each_rcu(pos, head) \ argument
725 #define hlist_for_each_entry_srcu(pos, head, member, cond) \ argument
[all …]
H A 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
/openbmc/u-boot/include/linux/
H A Dlist.h155 struct list_head *head) in list_move_tail()
167 const struct list_head *head) in list_is_last()
269 struct list_head *head) in list_splice()
281 struct list_head *head) in list_splice_tail()
295 struct list_head *head) in list_splice_init()
312 struct list_head *head) in list_splice_tail_init()
356 #define list_for_each(pos, head) \ argument
370 #define __list_for_each(pos, head) \ argument
378 #define list_for_each_prev(pos, head) \ argument
388 #define list_for_each_safe(pos, n, head) \ argument
[all …]
/openbmc/linux/tools/include/linux/
H A Dlist.h166 struct list_head *head) in list_move_tail()
178 const struct list_head *head) in list_is_last()
294 struct list_head *head) in list_splice()
306 struct list_head *head) in list_splice_tail()
320 struct list_head *head) in list_splice_init()
337 struct list_head *head) in list_splice_tail_init()
419 #define list_for_each(pos, head) \ argument
427 #define list_for_each_prev(pos, head) \ argument
436 #define list_for_each_safe(pos, n, head) \ argument
707 #define hlist_for_each(pos, head) \ argument
[all …]
/openbmc/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()
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()
279 head507d_olut_clr(struct nv50_head *head) in head507d_olut_clr()
346 head507d_mode(struct nv50_head *head, struct nv50_head_atom *asyh) in head507d_mode()
[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 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()
247 head907d_olut_clr(struct nv50_head *head) in head907d_olut_clr()
323 head907d_mode(struct nv50_head *head, struct nv50_head_atom *asyh) in head907d_mode()
[all …]
H A Dcrc.c70 nv50_crc_program_ctx(struct nv50_head *head, in nv50_crc_program_ctx()
127 nv50_crc_get_entries(struct nv50_head *head, in nv50_crc_get_entries()
245 struct nv50_head *head = nv50_head(crtc); in nv50_crc_atomic_stop_reporting() local
277 struct nv50_head *head = nv50_head(crtc); in nv50_crc_atomic_init_notifier_contexts() local
301 struct nv50_head *head = nv50_head(crtc); in nv50_crc_atomic_release_notifier_contexts() local
324 struct nv50_head *head = nv50_head(crtc); in nv50_crc_atomic_start_reporting() local
448 void nv50_crc_atomic_set(struct nv50_head *head, in nv50_crc_atomic_set()
543 struct nv50_head *head = nv50_head(crtc); in nv50_crc_set_source() local
628 struct nv50_head *head = m->private; in nv50_crc_debugfs_flip_threshold_get() local
656 struct nv50_head *head = m->private; in nv50_crc_debugfs_flip_threshold_set() local
[all …]
/openbmc/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()
165 int head, uint32_t reg) in NVReadPRMVIO()
181 int head, uint32_t reg, uint8_t value) in NVWritePRMVIO()
209 int head, uint8_t index, uint8_t value) in NVWriteVgaAttr()
223 int head, uint8_t index) in NVReadVgaAttr()
[all …]
H A Dhw.c46 NVReadVgaSeq(struct drm_device *dev, int head, uint8_t index) in NVReadVgaSeq()
60 NVReadVgaGr(struct drm_device *dev, int head, uint8_t index) in NVReadVgaGr()
252 nouveau_hw_fix_bad_vpll(struct drm_device *dev, int head) in nouveau_hw_fix_bad_vpll()
380 rd_cio_state(struct drm_device *dev, int head, in rd_cio_state()
387 wr_cio_state(struct drm_device *dev, int head, in wr_cio_state()
394 nv_save_state_ramdac(struct drm_device *dev, int head, in nv_save_state_ramdac()
469 nv_load_state_ramdac(struct drm_device *dev, int head, in nv_load_state_ramdac()
541 nv_save_state_vga(struct drm_device *dev, int head, in nv_save_state_vga()
565 nv_load_state_vga(struct drm_device *dev, int head, in nv_load_state_vga()
591 nv_save_state_ext(struct drm_device *dev, int head, in nv_save_state_ext()
[all …]
/openbmc/linux/security/tomoyo/
H A Dcommon.c205 static bool tomoyo_flush(struct tomoyo_io_buffer *head) in tomoyo_flush()
297 static void tomoyo_set_space(struct tomoyo_io_buffer *head) in tomoyo_set_space()
309 static bool tomoyo_set_lf(struct tomoyo_io_buffer *head) in tomoyo_set_lf()
322 static void tomoyo_set_slash(struct tomoyo_io_buffer *head) in tomoyo_set_slash()
1365 static void tomoyo_set_group(struct tomoyo_io_buffer *head, in tomoyo_set_group()
1672 static int tomoyo_write_pid(struct tomoyo_io_buffer *head) in tomoyo_write_pid()
1688 static void tomoyo_read_pid(struct tomoyo_io_buffer *head) in tomoyo_read_pid()
2342 static void tomoyo_read_stat(struct tomoyo_io_buffer *head) in tomoyo_read_stat()
2518 struct tomoyo_io_buffer *head = file->private_data; in tomoyo_poll_control() local
2749 void tomoyo_close_control(struct tomoyo_io_buffer *head) in tomoyo_close_control()
[all …]
/openbmc/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()
/openbmc/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
311 struct cls_mall_head *head, in mall_stats_hw_filter()
330 struct cls_mall_head *head = fh; in mall_dump() local
[all …]
/openbmc/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()
/openbmc/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
/openbmc/linux/scripts/gdb/linux/
H A Dlists.py23 def list_for_each(head): argument
41 def list_for_each_entry(head, gdbtype, member): argument
46 def hlist_for_each(head): argument
59 def hlist_for_each_entry(head, gdbtype, member): argument
64 def list_check(head): argument
/openbmc/linux/kernel/bpf/
H A Dpercpu_freelist.c15 struct pcpu_freelist_head *head = per_cpu_ptr(s->freelist, cpu); in pcpu_freelist_init() local
30 static inline void pcpu_freelist_push_node(struct pcpu_freelist_head *head, in pcpu_freelist_push_node()
37 static inline void ___pcpu_freelist_push(struct pcpu_freelist_head *head, in ___pcpu_freelist_push()
64 struct pcpu_freelist_head *head; in ___pcpu_freelist_push_nmi() local
102 struct pcpu_freelist_head *head; in pcpu_freelist_populate() local
123 struct pcpu_freelist_head *head; in ___pcpu_freelist_pop() local
155 struct pcpu_freelist_head *head; in ___pcpu_freelist_pop_nmi() local
/openbmc/linux/lib/
H A Dbtree.c176 static inline void __btree_init(struct btree_head *head) in __btree_init()
182 void btree_init_mempool(struct btree_head *head, mempool_t *mempool) in btree_init_mempool()
189 int btree_init(struct btree_head *head) in btree_init()
199 void btree_destroy(struct btree_head *head) in btree_destroy()
207 void *btree_last(struct btree_head *head, struct btree_geo *geo, in btree_last()
263 void *btree_lookup(struct btree_head *head, struct btree_geo *geo, in btree_lookup()
280 int btree_update(struct btree_head *head, struct btree_geo *geo, in btree_update()
307 void *btree_get_prev(struct btree_head *head, struct btree_geo *geo, in btree_get_prev()
409 static int btree_grow(struct btree_head *head, struct btree_geo *geo, in btree_grow()
506 int btree_insert(struct btree_head *head, struct btree_geo *geo, in btree_insert()
[all …]

12345678910>>...54