Home
last modified time | relevance | path

Searched refs:head (Results 551 - 575 of 5353) sorted by relevance

1...<<21222324252627282930>>...215

/kernel/linux/linux-6.6/include/linux/
H A Drculist_nulls.h43 * @head: the head of the list.
45 #define hlist_nulls_first_rcu(head) \
46 (*((struct hlist_nulls_node __rcu __force **)&(head)->first))
159 * @head: the head of the list.
167 #define hlist_nulls_for_each_entry_rcu(tpos, pos, head, member) \
169 pos = rcu_dereference_raw(hlist_nulls_first_rcu(head)); \
179 * @head: the head o
[all...]
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dvirtio_iommu.h75 struct virtio_iommu_req_head head; member
84 struct virtio_iommu_req_head head; member
100 struct virtio_iommu_req_head head; member
110 struct virtio_iommu_req_head head; member
132 struct virtio_iommu_probe_property head; member
140 struct virtio_iommu_req_head head; member
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
H A Dintel_ring.h93 unsigned int head = READ_ONCE(ring->head); in assert_ring_tail_valid() local
106 * We use ring->head as the last known location of the actual RING_HEAD, in assert_ring_tail_valid()
108 * as ring->head and so we should never program RING_TAIL to advance in assert_ring_tail_valid()
109 * into the same cacheline as ring->head. in assert_ring_tail_valid()
112 GEM_BUG_ON(cacheline(tail) == cacheline(head) && tail < head); in assert_ring_tail_valid()
131 __intel_ring_space(unsigned int head, unsigned int tail, unsigned int size) in __intel_ring_space() argument
139 return (head - tail - CACHELINE_BYTES) & (size - 1); in __intel_ring_space()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dudisp.c24 #include "head.h"
86 struct nvkm_head *head; in nvkm_udisp_new() local
102 list_for_each_entry(conn, &disp->conns, head) in nvkm_udisp_new()
106 list_for_each_entry(outp, &disp->outps, head) in nvkm_udisp_new()
110 list_for_each_entry(head, &disp->heads, head) in nvkm_udisp_new()
111 args->v0.head_mask |= BIT(head->id); in nvkm_udisp_new()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/
H A Dcrc.h78 void nv50_crc_handle_vblank(struct nv50_head *head);
109 nv50_head_crc_late_register(struct nv50_head *head) { return 0; } in nv50_head_crc_late_register() argument
110 static inline void nv50_crc_handle_vblank(struct nv50_head *head) {} in nv50_crc_handle_vblank() argument
113 nv50_crc_atomic_check_head(struct nv50_head *head, in nv50_crc_atomic_check_head() argument
126 nv50_crc_atomic_set(struct nv50_head *head, struct nv50_head_atom *state) {} in nv50_crc_atomic_set() argument
128 nv50_crc_atomic_clr(struct nv50_head *head) {} in nv50_crc_atomic_clr() argument
H A Dcurs907a.c25 curs907a_new(struct nouveau_drm *drm, int head, s32 oclass, in curs907a_new() argument
28 return curs507a_new_(&curs507a, drm, head, oclass, in curs907a_new()
29 0x00000001 << (head * 4), pwndw); in curs907a_new()
/kernel/linux/linux-6.6/tools/testing/selftests/timers/
H A Dclocksource-switch.c45 char *head, *tmp; in get_clocksources() local
56 head = buf; in get_clocksources()
58 while (head - buf < size) { in get_clocksources()
60 for (tmp = head; *tmp != ' '; tmp++) { in get_clocksources()
67 strcpy(list[i], head); in get_clocksources()
68 head = tmp + 1; in get_clocksources()
/kernel/linux/linux-6.6/lib/
H A Dtest_list_sort.c16 #define TEST_LIST_LEN (512+128+2) /* not including head */
63 LIST_HEAD(head); in list_sort_test()
79 list_add_tail(&el->list, &head); in list_sort_test()
82 list_sort(test, &head, cmp); in list_sort_test()
84 for (cur = head.next; cur->next != &head; cur = cur->next) { in list_sort_test()
104 KUNIT_EXPECT_PTR_EQ_MSG(test, head.prev, cur, "list is corrupted"); in list_sort_test()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dvirtio_iommu.h65 struct virtio_iommu_req_head head; member
72 struct virtio_iommu_req_head head; member
83 struct virtio_iommu_req_head head; member
92 struct virtio_iommu_req_head head; member
109 struct virtio_iommu_probe_property head; member
116 struct virtio_iommu_req_head head; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dvirtio_iommu.h65 struct virtio_iommu_req_head head; member
72 struct virtio_iommu_req_head head; member
83 struct virtio_iommu_req_head head; member
92 struct virtio_iommu_req_head head; member
109 struct virtio_iommu_probe_property head; member
116 struct virtio_iommu_req_head head; member
/kernel/liteos_a/shell/full/src/cmds/
H A Ddmesg.c125 UINT32 head = g_dmesgInfo->logHead; in OsDmesgRead() local
139 if (head < tail) { /* Case A */ in OsDmesgRead()
140 ret = memcpy_s(buf, len, logBuf + head, readLen); in OsDmesgRead()
147 if (readLen <= (g_logBufSize - head)) { in OsDmesgRead()
148 ret = memcpy_s(buf, len, logBuf + head, readLen); in OsDmesgRead()
155 ret = memcpy_s(buf, len, logBuf + head, g_logBufSize - head); in OsDmesgRead()
160 ret = memcpy_s(buf + g_logBufSize - head, len - (g_logBufSize - head), in OsDmesgRead()
161 logBuf, readLen - (g_logBufSize - head)); in OsDmesgRead()
674 UINT32 logSize, bufSize, head, tail, intSave; LOS_DmesgToFile() local
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/
H A Dupg_common.c243 hi_upg_common_head *head = HI_NULL; in upg_get_code_file_ver() local
251 head = hi_malloc(HI_MOD_ID_UPG, sizeof(hi_upg_common_head)); in upg_get_code_file_ver()
252 if (head == HI_NULL) { in upg_get_code_file_ver()
256 memset_s(head, sizeof(hi_upg_common_head), 0, sizeof(hi_upg_common_head)); in upg_get_code_file_ver()
257 ret = upg_get_common_head_from_flash(cfg.addr_start, head); in upg_get_code_file_ver()
259 upg_print("[upg get file ver]get head ret:0x%x \r\n", ret); in upg_get_code_file_ver()
260 hi_free(HI_MOD_ID_UPG, head); in upg_get_code_file_ver()
263 *ver = head->file_version; in upg_get_code_file_ver()
264 hi_free(HI_MOD_ID_UPG, head); in upg_get_code_file_ver()
296 upg_print("[upg set kernel ver]get head re in upg_set_efuse_code_ver()
701 hi_upg_common_head *head = HI_NULL; upg_start() local
943 upg_get_boot_encrypt_flag(HI_CONST boot_header *head, hi_u8 *flag) upg_get_boot_encrypt_flag() argument
972 upg_get_aes_info(HI_CONST boot_header *head, hi_u8 *key, hi_u32 key_len, hi_u8 *iv, hi_u32 iv_len) upg_get_aes_info() argument
1105 upg_get_decrpt_rsa_key(HI_CONST boot_header *head, hi_u8 *key, hi_u32 key_len) upg_get_decrpt_rsa_key() argument
1155 upg_get_decrpt_ecc_key(HI_CONST boot_header *head, hi_u8 *key, hi_u32 key_len) upg_get_decrpt_ecc_key() argument
1207 boot_header *head = HI_NULL; upg_get_rsa_key_from_boot() local
1253 boot_header *head = HI_NULL; upg_get_ecc_key_from_boot() local
1378 hi_upg_common_head head = {0}; hi_upg_get_content() local
[all...]
/kernel/linux/linux-5.10/mm/
H A Dhuge_memory.c2380 static void __split_huge_page_tail(struct page *head, int tail, in __split_huge_page_tail() argument
2383 struct page *page_tail = head + tail; in __split_huge_page_tail()
2394 page_tail->flags |= (head->flags & in __split_huge_page_tail()
2412 page_tail->mapping = head->mapping; in __split_huge_page_tail()
2413 page_tail->index = head->index + tail; in __split_huge_page_tail()
2427 page_ref_unfreeze(page_tail, 1 + (!PageAnon(head) || in __split_huge_page_tail()
2428 PageSwapCache(head))); in __split_huge_page_tail()
2430 if (page_is_young(head)) in __split_huge_page_tail()
2432 if (page_is_idle(head)) in __split_huge_page_tail()
2435 page_cpupid_xchg_last(page_tail, page_cpupid_last(head)); in __split_huge_page_tail()
2448 struct page *head = compound_head(page); __split_huge_page() local
2651 struct page *head = compound_head(page); split_huge_page_to_list() local
2660 VM_BUG_ON_PAGE(is_huge_zero_page(head), head); split_huge_page_to_list() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/
H A Dcurs907a.c25 curs907a_new(struct nouveau_drm *drm, int head, s32 oclass, in curs907a_new() argument
28 return curs507a_new_(&curs507a, drm, head, oclass, in curs907a_new()
29 0x00000001 << (head * 4), pwndw); in curs907a_new()
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/proxy/
H A Dclient_trans_proxy_manager_test.cpp221 * @tc.desc: client trans proxy on data received test. test wrong slice head or packet head
532 SliceHead head = {}; in HWTEST_F() local
538 head.sliceNum = 1; in HWTEST_F()
539 head.priority = PROXY_CHANNEL_PRORITY_MESSAGE; in HWTEST_F()
540 EXPECT_EQ(SOFTBUS_OK, ClientGetActualDataLen(&head, &actualDataLen)); in HWTEST_F()
541 EXPECT_EQ(head.sliceNum * SLICE_LEN, actualDataLen); in HWTEST_F()
544 head.sliceNum = 10; in HWTEST_F()
545 head.priority = PROXY_CHANNEL_PRORITY_BYTES; in HWTEST_F()
546 EXPECT_EQ(SOFTBUS_OK, ClientGetActualDataLen(&head, in HWTEST_F()
[all...]
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/
H A Dnstackx_dfile_send.c35 static int32_t AllocIovList(List *head) in AllocIovList() argument
45 ListInsertTail(head, &ptr[i].entry); in AllocIovList()
69 void DestroyIovList(const List *head, DFileSession *s, uint32_t tid) in DestroyIovList() argument
77 LIST_FOR_EACH_SAFE(p, n, head) { in DestroyIovList()
125 static int32_t SendFileDataFrame(DFileSession *session, PeerInfo *peerInfo, List *head, uint32_t tid) in SendFileDataFrame() argument
139 LIST_FOR_EACH_SAFE(p, n, head) { in SendFileDataFrame()
164 DestroyIovList(head, session, tid); in SendFileDataFrame()
169 static int32_t SendFileDataFrameEx(DFileSession *session, PeerInfo *peerInfo, List *head, uint32_t tid) in SendFileDataFrameEx() argument
171 return SendFileDataFrame(session, peerInfo, head, tid); in SendFileDataFrameEx()
174 static int32_t CheckUnsentList(List *unsent, List *head, int32_ argument
196 DoSendDataFrame(DFileSession *session, List *head, int32_t count, uint32_t tid, uint8_t socketIndex) DoSendDataFrame() argument
[all...]
/kernel/linux/linux-5.10/drivers/crypto/caam/
H A Djr.c206 int hw_idx, sw_idx, i, head, tail; in caam_jr_dequeue() local
217 head = READ_ONCE(jrp->head); in caam_jr_dequeue()
222 for (i = 0; CIRC_CNT(head, tail + i, JOBR_DEPTH) >= 1; i++) { in caam_jr_dequeue()
230 BUG_ON(CIRC_CNT(head, tail + i, JOBR_DEPTH) <= 0); in caam_jr_dequeue()
270 } while (CIRC_CNT(head, tail, JOBR_DEPTH) >= 1 && in caam_jr_dequeue()
339 * caam_jr_enqueue() - Enqueue a job descriptor head. Returns -EINPROGRESS
372 int head, tail, desc_size; in caam_jr_enqueue() local
384 head = jrp->head; in caam_jr_enqueue()
[all...]
/kernel/linux/linux-5.10/drivers/dma-buf/
H A Dudmabuf.c164 struct udmabuf_create_list *head, in udmabuf_create()
181 for (i = 0; i < head->count; i++) { in udmabuf_create()
202 for (i = 0; i < head->count; i++) { in udmabuf_create()
244 if (head->flags & UDMABUF_FLAGS_CLOEXEC) in udmabuf_create()
261 struct udmabuf_create_list head; in udmabuf_ioctl_create() local
268 head.flags = create.flags; in udmabuf_ioctl_create()
269 head.count = 1; in udmabuf_ioctl_create()
274 return udmabuf_create(filp->private_data, &head, &list); in udmabuf_ioctl_create()
279 struct udmabuf_create_list head; in udmabuf_ioctl_create_list() local
284 if (copy_from_user(&head, (voi in udmabuf_ioctl_create_list()
163 udmabuf_create(struct miscdevice *device, struct udmabuf_create_list *head, struct udmabuf_create_item *list) udmabuf_create() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_cmd.c28 int head) in hclgevf_is_valid_csq_clean_head()
34 return head >= ntc && head <= ntu; in hclgevf_is_valid_csq_clean_head()
36 return head >= ntc || head <= ntu; in hclgevf_is_valid_csq_clean_head()
44 u32 head; in hclgevf_cmd_csq_clean() local
46 head = hclgevf_read_dev(hw, HCLGEVF_NIC_CSQ_HEAD_REG); in hclgevf_cmd_csq_clean()
47 rmb(); /* Make sure head is ready before touch any data */ in hclgevf_cmd_csq_clean()
49 if (!hclgevf_is_valid_csq_clean_head(csq, head)) { in hclgevf_cmd_csq_clean()
50 dev_warn(&hdev->pdev->dev, "wrong cmd head ( in hclgevf_cmd_csq_clean()
27 hclgevf_is_valid_csq_clean_head(struct hclgevf_cmq_ring *ring, int head) hclgevf_is_valid_csq_clean_head() argument
65 u32 head; hclgevf_cmd_csq_done() local
[all...]
/kernel/linux/linux-5.10/tools/io_uring/
H A Dio_uring-bench.c38 unsigned *head; member
47 unsigned *head; member
203 if (next_tail == *ring->head) in prep_more_ios()
248 unsigned head, reaped = 0; in reap_events() local
250 head = *ring->head; in reap_events()
255 if (head == *ring->tail) in reap_events()
257 cqe = &ring->cqes[head & cq_ring_mask]; in reap_events()
269 head++; in reap_events()
273 *ring->head in reap_events()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Dbase.c40 list_for_each_entry(pad, &i2c->pad, head) { in nvkm_i2c_pad_find()
68 list_for_each_entry(bus, &i2c->bus, head) { in nvkm_i2c_bus_find()
81 list_for_each_entry(aux, &i2c->aux, head) { in nvkm_i2c_aux_find()
142 list_for_each_entry(aux, &i2c->aux, head) { in nvkm_i2c_intr()
167 list_for_each_entry(aux, &i2c->aux, head) { in nvkm_i2c_fini()
171 list_for_each_entry(bus, &i2c->bus, head) { in nvkm_i2c_fini()
180 list_for_each_entry(pad, &i2c->pad, head) { in nvkm_i2c_fini()
198 list_for_each_entry(pad, &i2c->pad, head) in nvkm_i2c_preinit()
200 list_for_each_entry(bus, &i2c->bus, head) in nvkm_i2c_preinit()
214 list_for_each_entry(pad, &i2c->pad, head) { in nvkm_i2c_init()
[all...]
/kernel/linux/linux-5.10/fs/nilfs2/
H A Dpage.c72 * @bh: buffer head of the buffer to be discarded
142 struct buffer_head *bh, *head; in nilfs_page_buffers_clean() local
144 bh = head = page_buffers(page); in nilfs_page_buffers_clean()
149 } while (bh != head); in nilfs_page_buffers_clean()
172 struct buffer_head *bh, *head; in nilfs_page_bug() local
175 bh = head = page_buffers(page); in nilfs_page_bug()
182 } while (bh != head); in nilfs_page_bug()
408 struct buffer_head *bh, *head; in nilfs_clear_dirty_page() local
414 bh = head = page_buffers(page); in nilfs_clear_dirty_page()
424 } while (bh = bh->b_this_page, bh != head); in nilfs_clear_dirty_page()
434 struct buffer_head *bh, *head; nilfs_page_count_clean_buffers() local
532 struct buffer_head *bh, *head; nilfs_find_uncommitted_extent() local
[all...]
/kernel/linux/linux-6.6/fs/nilfs2/
H A Dpage.c72 * @bh: buffer head of the buffer to be discarded
142 struct buffer_head *bh, *head; in nilfs_page_buffers_clean() local
144 bh = head = page_buffers(page); in nilfs_page_buffers_clean()
149 } while (bh != head); in nilfs_page_buffers_clean()
172 struct buffer_head *bh, *head; in nilfs_page_bug() local
175 bh = head = page_buffers(page); in nilfs_page_bug()
182 } while (bh != head); in nilfs_page_bug()
409 struct buffer_head *bh, *head; in nilfs_clear_dirty_page() local
415 bh = head = page_buffers(page); in nilfs_clear_dirty_page()
425 } while (bh = bh->b_this_page, bh != head); in nilfs_clear_dirty_page()
435 struct buffer_head *bh, *head; nilfs_page_count_clean_buffers() local
517 struct buffer_head *bh, *head; nilfs_find_uncommitted_extent() local
[all...]
/kernel/linux/linux-6.6/drivers/dma-buf/
H A Dudmabuf.c198 struct udmabuf_create_list *head, in udmabuf_create()
216 for (i = 0; i < head->count; i++) { in udmabuf_create()
237 for (i = 0; i < head->count; i++) { in udmabuf_create()
279 if (head->flags & UDMABUF_FLAGS_CLOEXEC) in udmabuf_create()
296 struct udmabuf_create_list head; in udmabuf_ioctl_create() local
303 head.flags = create.flags; in udmabuf_ioctl_create()
304 head.count = 1; in udmabuf_ioctl_create()
309 return udmabuf_create(filp->private_data, &head, &list); in udmabuf_ioctl_create()
314 struct udmabuf_create_list head; in udmabuf_ioctl_create_list() local
319 if (copy_from_user(&head, (voi in udmabuf_ioctl_create_list()
197 udmabuf_create(struct miscdevice *device, struct udmabuf_create_list *head, struct udmabuf_create_item *list) udmabuf_create() argument
[all...]
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Dnmi.c43 struct list_head head; member
50 .head = LIST_HEAD_INIT(nmi_desc[0].head),
54 .head = LIST_HEAD_INIT(nmi_desc[1].head),
58 .head = LIST_HEAD_INIT(nmi_desc[2].head),
62 .head = LIST_HEAD_INIT(nmi_desc[3].head),
144 list_for_each_entry_rcu(a, &desc->head, lis in nmi_handle()
[all...]

Completed in 17 milliseconds

1...<<21222324252627282930>>...215