Home
last modified time | relevance | path

Searched refs:head (Results 1 – 25 of 2684) sorted by relevance

12345678910>>...108

/OK3568_Linux_fs/yocto/poky/meta/recipes-core/musl/bsd-headers/
H A Dsys-queue.h111 #define SLIST_HEAD_INITIALIZER(head) \ argument
122 #define SLIST_FIRST(head) ((head)->slh_first) argument
123 #define SLIST_END(head) NULL argument
124 #define SLIST_EMPTY(head) ((head)->slh_first == NULL) argument
127 #define SLIST_FOREACH(var, head, field) \ argument
128 for((var) = (head)->slh_first; \
129 (var) != SLIST_END(head); \
132 #define SLIST_FOREACH_SAFE(var, head, field, tvar) \ argument
133 for ((var) = SLIST_FIRST((head)); \
134 (var) != SLIST_END(head) && \
[all …]
H A Dsys-tree.h78 #define SPLAY_ROOT(head) (head)->sph_root argument
79 #define SPLAY_EMPTY(head) (SPLAY_ROOT(head) == NULL) argument
82 #define SPLAY_ROTATE_RIGHT(head, tmp, field) do { \ argument
83 SPLAY_LEFT((head)->sph_root, field) = SPLAY_RIGHT(tmp, field); \
84 SPLAY_RIGHT(tmp, field) = (head)->sph_root; \
85 (head)->sph_root = tmp; \
88 #define SPLAY_ROTATE_LEFT(head, tmp, field) do { \ argument
89 SPLAY_RIGHT((head)->sph_root, field) = SPLAY_LEFT(tmp, field); \
90 SPLAY_LEFT(tmp, field) = (head)->sph_root; \
91 (head)->sph_root = tmp; \
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/sys/
H A Dqueue.h94 #define LIST_HEAD_INITIALIZER(head) \ argument
107 #define QUEUEDEBUG_LIST_INSERT_HEAD(head, elm, field) \ argument
108 if ((head)->lh_first && \
109 (head)->lh_first->field.le_prev != &(head)->lh_first) \
110 panic("LIST_INSERT_HEAD %p %s:%d", (head), __FILE__, __LINE__);
122 #define QUEUEDEBUG_LIST_INSERT_HEAD(head, elm, field) argument
127 #define LIST_INIT(head) do { \ argument
128 (head)->lh_first = NULL; \
148 #define LIST_INSERT_HEAD(head, elm, field) do { \ argument
149 QUEUEDEBUG_LIST_INSERT_HEAD((head), (elm), field) \
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/sys/
H A Dqueue.h94 #define LIST_HEAD_INITIALIZER(head) \ argument
107 #define QUEUEDEBUG_LIST_INSERT_HEAD(head, elm, field) \ argument
108 if ((head)->lh_first && \
109 (head)->lh_first->field.le_prev != &(head)->lh_first) \
110 panic("LIST_INSERT_HEAD %p %s:%d", (head), __FILE__, __LINE__);
122 #define QUEUEDEBUG_LIST_INSERT_HEAD(head, elm, field) argument
127 #define LIST_INIT(head) do { \ argument
128 (head)->lh_first = NULL; \
148 #define LIST_INSERT_HEAD(head, elm, field) do { \ argument
149 QUEUEDEBUG_LIST_INSERT_HEAD((head), (elm), field) \
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/include/sys/
H A Dqueue.h93 #define LIST_HEAD_INITIALIZER(head) \ argument
106 #define QUEUEDEBUG_LIST_INSERT_HEAD(head, elm, field) \ argument
107 if ((head)->lh_first && \
108 (head)->lh_first->field.le_prev != &(head)->lh_first) \
109 panic("LIST_INSERT_HEAD %p %s:%d", (head), __FILE__, __LINE__);
121 #define QUEUEDEBUG_LIST_INSERT_HEAD(head, elm, field) argument
126 #define LIST_INIT(head) do { \ argument
127 (head)->lh_first = NULL; \
147 #define LIST_INSERT_HEAD(head, elm, field) do { \ argument
148 QUEUEDEBUG_LIST_INSERT_HEAD((head), (elm), field) \
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/sys/
H A Dqueue.h89 #define LIST_HEAD_INITIALIZER(head) \ argument
101 #define LIST_INIT(head) do { \ argument
102 (head)->lh_first = NULL; \
120 #define LIST_INSERT_HEAD(head, elm, field) do { \ argument
121 if (((elm)->field.le_next = (head)->lh_first) != NULL) \
122 (head)->lh_first->field.le_prev = &(elm)->field.le_next;\
123 (head)->lh_first = (elm); \
124 (elm)->field.le_prev = &(head)->lh_first; \
134 #define LIST_FOREACH(var, head, field) \ argument
135 for ((var) = ((head)->lh_first); \
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/sys/
H A Dqueue.h89 #define LIST_HEAD_INITIALIZER(head) \ argument
101 #define LIST_INIT(head) do { \ argument
102 (head)->lh_first = NULL; \
120 #define LIST_INSERT_HEAD(head, elm, field) do { \ argument
121 if (((elm)->field.le_next = (head)->lh_first) != NULL) \
122 (head)->lh_first->field.le_prev = &(elm)->field.le_next;\
123 (head)->lh_first = (elm); \
124 (elm)->field.le_prev = &(head)->lh_first; \
134 #define LIST_FOREACH(var, head, field) \ argument
135 for ((var) = ((head)->lh_first); \
[all …]
/OK3568_Linux_fs/kernel/security/tomoyo/
H A Dcommon.c213 static bool tomoyo_flush(struct tomoyo_io_buffer *head) in tomoyo_flush() argument
215 while (head->r.w_pos) { in tomoyo_flush()
216 const char *w = head->r.w[0]; in tomoyo_flush()
220 if (len > head->read_user_buf_avail) in tomoyo_flush()
221 len = head->read_user_buf_avail; in tomoyo_flush()
224 if (copy_to_user(head->read_user_buf, w, len)) in tomoyo_flush()
226 head->read_user_buf_avail -= len; in tomoyo_flush()
227 head->read_user_buf += len; in tomoyo_flush()
230 head->r.w[0] = w; in tomoyo_flush()
234 if (head->poll) { in tomoyo_flush()
[all …]
/OK3568_Linux_fs/kernel/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
128 for ((var) = SLIST_FIRST((head)); \
132 #define SLIST_INIT(head) do { \ argument
133 SLIST_FIRST((head)) = NULL; \
141 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument
142 SLIST_NEXT((elm), field) = SLIST_FIRST((head)); \
143 SLIST_FIRST((head)) = (elm); \
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/dispnv04/
H A Dhw.c39 NVWriteVgaSeq(struct drm_device *dev, int head, uint8_t index, uint8_t value) in NVWriteVgaSeq() argument
41 NVWritePRMVIO(dev, head, NV_PRMVIO_SRX, index); in NVWriteVgaSeq()
42 NVWritePRMVIO(dev, head, NV_PRMVIO_SR, value); in NVWriteVgaSeq()
46 NVReadVgaSeq(struct drm_device *dev, int head, uint8_t index) in NVReadVgaSeq() argument
48 NVWritePRMVIO(dev, head, NV_PRMVIO_SRX, index); in NVReadVgaSeq()
49 return NVReadPRMVIO(dev, head, NV_PRMVIO_SR); in NVReadVgaSeq()
53 NVWriteVgaGr(struct drm_device *dev, int head, uint8_t index, uint8_t value) in NVWriteVgaGr() argument
55 NVWritePRMVIO(dev, head, NV_PRMVIO_GRX, index); in NVWriteVgaGr()
56 NVWritePRMVIO(dev, head, NV_PRMVIO_GX, value); in NVWriteVgaGr()
60 NVReadVgaGr(struct drm_device *dev, int head, uint8_t index) in NVReadVgaGr() argument
[all …]
H A Dhw.h37 void NVWriteVgaSeq(struct drm_device *, int head, uint8_t index, uint8_t value);
38 uint8_t NVReadVgaSeq(struct drm_device *, int head, uint8_t index);
39 void NVWriteVgaGr(struct drm_device *, int head, uint8_t index, uint8_t value);
40 uint8_t NVReadVgaGr(struct drm_device *, int head, uint8_t index);
42 void NVBlankScreen(struct drm_device *, int head, bool blank);
48 void nouveau_hw_save_state(struct drm_device *, int head,
50 void nouveau_hw_load_state(struct drm_device *, int head,
52 void nouveau_hw_load_state_palette(struct drm_device *, int head,
60 int head, uint32_t reg) in NVReadCRTC() argument
64 if (head) in NVReadCRTC()
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dlist.h84 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument
86 __list_add(new, head, head->next); in list_add()
98 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
100 __list_add(new, head->prev, head); in list_add_tail()
213 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() argument
216 list_add(list, head); in list_move()
225 struct list_head *head) in list_move_tail() argument
228 list_add_tail(list, head); in list_move_tail()
240 static inline void list_bulk_move_tail(struct list_head *head, in list_bulk_move_tail() argument
247 head->prev->next = first; in list_bulk_move_tail()
[all …]
H A Dplist.h93 #define PLIST_HEAD_INIT(head) \ argument
95 .node_list = LIST_HEAD_INIT((head).node_list) \
102 #define PLIST_HEAD(head) \ argument
103 struct plist_head head = PLIST_HEAD_INIT(head)
122 plist_head_init(struct plist_head *head) in plist_head_init() argument
124 INIT_LIST_HEAD(&head->node_list); in plist_head_init()
139 extern void plist_add(struct plist_node *node, struct plist_head *head);
140 extern void plist_del(struct plist_node *node, struct plist_head *head);
142 extern void plist_requeue(struct plist_node *node, struct plist_head *head);
149 #define plist_for_each(pos, head) \ argument
[all …]
/OK3568_Linux_fs/kernel/net/sched/
H A Dcls_matchall.c30 struct cls_mall_head *head = rcu_dereference_bh(tp->root); in mall_classify() local
32 if (unlikely(!head)) in mall_classify()
35 if (tc_skip_sw(head->flags)) in mall_classify()
38 *res = head->res; in mall_classify()
39 __this_cpu_inc(head->pf->rhit); in mall_classify()
40 return tcf_exts_exec(skb, &head->exts, res); in mall_classify()
48 static void __mall_destroy(struct cls_mall_head *head) in __mall_destroy() argument
50 tcf_exts_destroy(&head->exts); in __mall_destroy()
51 tcf_exts_put_net(&head->exts); in __mall_destroy()
52 free_percpu(head->pf); in __mall_destroy()
[all …]
/OK3568_Linux_fs/kernel/tools/include/linux/
H A Dlist.h61 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument
63 __list_add(new, head, head->next); in list_add()
75 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
77 __list_add(new, head->prev, head); in list_add_tail()
154 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() argument
157 list_add(list, head); in list_move()
166 struct list_head *head) in list_move_tail() argument
169 list_add_tail(list, head); in list_move_tail()
178 const struct list_head *head) in list_is_last() argument
180 return list->next == head; in list_is_last()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/common/
H A Dlist.h75 static inline void list_add(struct list_head *n, struct list_head *head) in list_add() argument
77 __list_add(n, head, head->next); in list_add()
90 static inline void list_add_tail(struct list_head *n, struct list_head *head) in list_add_tail() argument
92 __list_add(n, head->prev, head); in list_add_tail()
160 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() argument
163 list_add(list, head); in list_move()
172 struct list_head *head) in list_move_tail() argument
175 list_add_tail(list, head); in list_move_tail()
184 const struct list_head *head) in list_is_last() argument
186 return list->next == head; in list_is_last()
[all …]
/OK3568_Linux_fs/external/security/librkcrypto/include/
H A Drk_list.h119 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument
121 __list_add(new, head, head->next); in list_add()
133 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
135 __list_add(new, head->prev, head); in list_add_tail()
221 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() argument
224 list_add(list, head); in list_move()
233 struct list_head *head) in list_move_tail() argument
236 list_add_tail(list, head); in list_move_tail()
245 const struct list_head *head) in list_is_last() argument
247 return list->next == head; in list_is_last()
[all …]
/OK3568_Linux_fs/u-boot/include/linux/
H A Dlist.h61 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument
63 __list_add(new, head, head->next); in list_add()
74 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
76 __list_add(new, head->prev, head); in list_add_tail()
143 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() argument
146 list_add(list, head); in list_move()
155 struct list_head *head) in list_move_tail() argument
158 list_add_tail(list, head); in list_move_tail()
167 const struct list_head *head) in list_is_last() argument
169 return list->next == head; in list_is_last()
[all …]
/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/
H A Dlist.h113 static inline void list_add(struct list_head *new, struct list_head *head) in list_add() argument
115 __list_add(new, head, head->next); in list_add()
127 static inline void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
129 __list_add(new, head->prev, head); in list_add_tail()
206 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() argument
209 list_add(list, head); in list_move()
218 struct list_head *head) in list_move_tail() argument
221 list_add_tail(list, head); in list_move_tail()
230 const struct list_head *head) in list_is_last() argument
232 return list->next == head; in list_is_last()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dnv50.c96 disp->head.nr = func->head.cnt(&disp->base, &disp->head.mask); in nv50_disp_oneinit_()
98 disp->head.nr, disp->head.mask); in nv50_disp_oneinit_()
99 for_each_set_bit(i, &disp->head.mask, disp->head.nr) { in nv50_disp_oneinit_()
100 ret = func->head.new(&disp->base, i); in nv50_disp_oneinit_()
182 nv50_disp_super_iedt(struct nvkm_head *head, struct nvkm_outp *outp, in nv50_disp_super_iedt() argument
186 struct nvkm_bios *bios = head->disp->engine.subdev.device->bios; in nv50_disp_super_iedt()
189 const u16 m = (0x0100 << head->id) | (l << 6) | outp->info.or; in nv50_disp_super_iedt()
197 nv50_disp_super_ied_on(struct nvkm_head *head, in nv50_disp_super_ied_on() argument
200 struct nvkm_subdev *subdev = &head->disp->engine.subdev; in nv50_disp_super_ied_on()
214 data = nv50_disp_super_iedt(head, outp, &ver, &hdr, &cnt, &len, &iedt); in nv50_disp_super_ied_on()
[all …]
H A Dhead.c34 struct nvkm_head *head; in nvkm_head_find() local
35 list_for_each_entry(head, &disp->head, head) { in nvkm_head_find()
36 if (head->id == id) in nvkm_head_find()
37 return head; in nvkm_head_find()
44 struct nvkm_head *head, void *data, u32 size) in nvkm_head_mthd_scanoutpos() argument
56 head->func->state(head, &head->arm); in nvkm_head_mthd_scanoutpos()
57 args->v0.vtotal = head->arm.vtotal; in nvkm_head_mthd_scanoutpos()
58 args->v0.vblanks = head->arm.vblanks; in nvkm_head_mthd_scanoutpos()
59 args->v0.vblanke = head->arm.vblanke; in nvkm_head_mthd_scanoutpos()
60 args->v0.htotal = head->arm.htotal; in nvkm_head_mthd_scanoutpos()
[all …]
H A Dgf119.c40 struct nvkm_head *head; in gf119_disp_super() local
44 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_super()
45 mask[head->id] = nvkm_rd32(device, 0x6101d4 + (head->id * 0x800)); in gf119_disp_super()
46 HEAD_DBG(head, "%08x", mask[head->id]); in gf119_disp_super()
52 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_super()
53 if (!(mask[head->id] & 0x00001000)) in gf119_disp_super()
55 nv50_disp_super_1_0(disp, head); in gf119_disp_super()
59 list_for_each_entry(head, &disp->base.head, head) { in gf119_disp_super()
60 if (!(mask[head->id] & 0x00001000)) in gf119_disp_super()
62 nv50_disp_super_2_0(disp, head); in gf119_disp_super()
[all …]
H A Dgv100.c46 struct nvkm_head *head; in gv100_disp_super() local
51 list_for_each_entry(head, &disp->base.head, head) { in gv100_disp_super()
52 mask[head->id] = nvkm_rd32(device, 0x6107ac + (head->id * 4)); in gv100_disp_super()
53 HEAD_DBG(head, "%08x", mask[head->id]); in gv100_disp_super()
59 list_for_each_entry(head, &disp->base.head, head) { in gv100_disp_super()
60 if (!(mask[head->id] & 0x00001000)) in gv100_disp_super()
62 nv50_disp_super_1_0(disp, head); in gv100_disp_super()
66 list_for_each_entry(head, &disp->base.head, head) { in gv100_disp_super()
67 if (!(mask[head->id] & 0x00001000)) in gv100_disp_super()
69 nv50_disp_super_2_0(disp, head); in gv100_disp_super()
[all …]
/OK3568_Linux_fs/kernel/net/netlabel/
H A Dnetlabel_addrlist.h82 #define netlbl_af4list_foreach(iter, head) \ argument
83 for (iter = __af4list_valid((head)->next, head); \
84 &iter->list != (head); \
85 iter = __af4list_valid(iter->list.next, head))
87 #define netlbl_af4list_foreach_rcu(iter, head) \ argument
88 for (iter = __af4list_valid_rcu((head)->next, head); \
89 &iter->list != (head); \
90 iter = __af4list_valid_rcu(iter->list.next, head))
92 #define netlbl_af4list_foreach_safe(iter, tmp, head) \ argument
93 for (iter = __af4list_valid((head)->next, head), \
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/arm64/signal/testcases/
H A Dtestcases.c5 struct _aarch64_ctx *get_header(struct _aarch64_ctx *head, uint32_t magic, in get_header() argument
11 if (!head || resv_sz < HDR_SZ) in get_header()
15 head->magic != magic && head->magic) { in get_header()
16 offs += head->size; in get_header()
17 head = GET_RESV_NEXT_HEAD(head); in get_header()
19 if (head->magic == magic) { in get_header()
20 found = head; in get_header()
36 term = GET_RESV_NEXT_HEAD(&extra->head); in validate_extra_context()
59 struct _aarch64_ctx *head = in validate_reserved() local
65 while (head && !terminated && offs < resv_sz) { in validate_reserved()
[all …]

12345678910>>...108