Home
last modified time | relevance | path

Searched refs:head (Results 301 - 325 of 6183) sorted by relevance

1...<<11121314151617181920>>...248

/kernel/linux/linux-6.6/mm/
H A Ddebug.c57 struct page *head = &folio->page; in __dump_page() local
70 if (page < head || (page >= head + MAX_ORDER_NR_PAGES)) { in __dump_page()
84 head = page; in __dump_page()
96 mapcount = PageSlab(head) ? 0 : page_mapcount(page); in __dump_page()
99 page, page_ref_count(head), mapcount, mapping, in __dump_page()
102 pr_warn("head:%p order:%u entire_mapcount:%d nr_pages_mapped:%d pincount:%d\n", in __dump_page()
103 head, compound_order(head), in __dump_page()
110 if (head in __dump_page()
[all...]
/third_party/musl/src/internal/
H A Dstdio_impl.h27 #define FILE_LIST_HEAD(head) (head)
28 #define FILE_LIST_EMPTY(head) ((head) == NULL)
44 #define FILE_LIST_CHECK_HEAD(head) do { \
45 if (FILE_LIST_HEAD(head) != NULL && \
46 FILE_LIST_HEAD(head)->prev != &FILE_LIST_HEAD(head)) { \
52 #define FILE_LIST_INSERT_HEAD(head, fl) do { \
53 FILE_LIST_CHECK_HEAD((head)); \
[all...]
/third_party/musl/porting/linux/user/src/internal/
H A Dstdio_impl.h27 #define FILE_LIST_HEAD(head) (head)
28 #define FILE_LIST_EMPTY(head) ((head) == NULL)
44 #define FILE_LIST_CHECK_HEAD(head) do { \
45 if (FILE_LIST_HEAD(head) != NULL && \
46 FILE_LIST_HEAD(head)->prev != &FILE_LIST_HEAD(head)) { \
52 #define FILE_LIST_INSERT_HEAD(head, fl) do { \
53 FILE_LIST_CHECK_HEAD((head)); \
[all...]
/kernel/linux/linux-5.10/drivers/media/test-drivers/vidtv/
H A Dvidtv_channel.c54 *vidtv_channel_s302m_init(struct vidtv_channel *head, u16 transport_stream_id) in vidtv_channel_s302m_init() argument
131 if (head) { in vidtv_channel_s302m_init()
132 while (head->next) in vidtv_channel_s302m_init()
133 head = head->next; in vidtv_channel_s302m_init()
135 head->next = s302m; in vidtv_channel_s302m_init()
164 struct vidtv_psi_table_eit_event *head = NULL; in vidtv_channel_eit_event_cat_into_new() local
184 vidtv_psi_eit_event_destroy(head); in vidtv_channel_eit_event_cat_into_new()
191 if (!head) in vidtv_channel_eit_event_cat_into_new()
192 head in vidtv_channel_eit_event_cat_into_new()
210 struct vidtv_psi_table_sdt_service *head = NULL; vidtv_channel_sdt_serv_cat_into_new() local
265 struct vidtv_psi_table_pat_program *head = NULL; vidtv_channel_pat_prog_cat_into_new() local
316 struct vidtv_psi_table_pmt_stream *head = NULL; vidtv_channel_pmt_match_sections() local
[all...]
/kernel/linux/linux-6.6/drivers/media/test-drivers/vidtv/
H A Dvidtv_channel.c54 *vidtv_channel_s302m_init(struct vidtv_channel *head, u16 transport_stream_id) in vidtv_channel_s302m_init() argument
131 if (head) { in vidtv_channel_s302m_init()
132 while (head->next) in vidtv_channel_s302m_init()
133 head = head->next; in vidtv_channel_s302m_init()
135 head->next = s302m; in vidtv_channel_s302m_init()
164 struct vidtv_psi_table_eit_event *head = NULL; in vidtv_channel_eit_event_cat_into_new() local
184 vidtv_psi_eit_event_destroy(head); in vidtv_channel_eit_event_cat_into_new()
191 if (!head) in vidtv_channel_eit_event_cat_into_new()
192 head in vidtv_channel_eit_event_cat_into_new()
210 struct vidtv_psi_table_sdt_service *head = NULL; vidtv_channel_sdt_serv_cat_into_new() local
265 struct vidtv_psi_table_pat_program *head = NULL; vidtv_channel_pat_prog_cat_into_new() local
316 struct vidtv_psi_table_pmt_stream *head = NULL; vidtv_channel_pmt_match_sections() local
[all...]
/kernel/linux/linux-6.6/fs/hfs/
H A Dbtree.c22 struct hfs_btree_header_rec *head; in hfs_btree_open() local
83 head = (struct hfs_btree_header_rec *)(kmap_local_page(page) + in hfs_btree_open()
85 tree->root = be32_to_cpu(head->root); in hfs_btree_open()
86 tree->leaf_count = be32_to_cpu(head->leaf_count); in hfs_btree_open()
87 tree->leaf_head = be32_to_cpu(head->leaf_head); in hfs_btree_open()
88 tree->leaf_tail = be32_to_cpu(head->leaf_tail); in hfs_btree_open()
89 tree->node_count = be32_to_cpu(head->node_count); in hfs_btree_open()
90 tree->free_nodes = be32_to_cpu(head->free_nodes); in hfs_btree_open()
91 tree->attributes = be32_to_cpu(head->attributes); in hfs_btree_open()
92 tree->node_size = be16_to_cpu(head in hfs_btree_open()
164 struct hfs_btree_header_rec *head; hfs_btree_write() local
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dcord_rep_ring.h79 // `index_type` is the type for the `head`, `tail` and `capacity` indexes.
117 // `head`, `tail` and `capacity` indexes defining the ring buffer boundaries.
118 index_type head() const { return head_; } in head() function in absl::cord_internal::CordRepRing
128 // Returns the number of entries for a given head-tail range.
129 // Requires `head` and `tail` values to be less than `capacity()`.
130 index_type entries(index_type head, index_type tail) const { in entries() argument
131 assert(head < capacity_ && tail < capacity_); in entries()
132 return tail - head + ((tail > head) ? 0 : capacity_); in entries()
205 // `offset`. If the input is not shared, this function will remove all head
564 FindTail(index_type head, size_t offset) const FindTail() argument
[all...]
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/
H A Dhlist.h30 struct HlistNode head; member
39 (ptr)->head.next = FILLP_NULL_PTR; \
40 (ptr)->head.pprev = &((ptr)->head.next); \
51 #define HLIST_FIRST(_list) ((_list)->head.next)
52 #define HLIST_TAIL(_list) (HLIST_EMPTY(_list) ? FILLP_NULL_PTR : HLIST_PREV(&(_list)->head))
74 list->head.pprev = &toBeAdded->next; in HlistAddAfter()
88 HlistAddAfter(list, HLIST_PREV(&list->head), node); in HlistAddTail()
94 HlistAddAfter(list, &list->head, node); in HlistAddHead()
101 list->head in HlistDelete()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
H A Dhvcserver.c56 * @head: list_head pointer for an allocated list of partner info structs to
62 int hvcs_free_partner_info(struct list_head *head) in hvcs_free_partner_info() argument
67 if (!head) in hvcs_free_partner_info()
70 while (!list_empty(head)) { in hvcs_free_partner_info()
71 element = head->next; in hvcs_free_partner_info()
98 * @head: An initialized list_head pointer to an empty list to use to return the
116 * hvcs_free_partner_info() using a pointer to the SAME list head instance
119 int hvcs_get_partner_info(uint32_t unit_address, struct list_head *head, in hvcs_get_partner_info() argument
133 if (!head || !pi_buff) in hvcs_get_partner_info()
138 INIT_LIST_HEAD(head); in hvcs_get_partner_info()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/
H A Dhvcserver.c56 * @head: list_head pointer for an allocated list of partner info structs to
62 int hvcs_free_partner_info(struct list_head *head) in hvcs_free_partner_info() argument
67 if (!head) in hvcs_free_partner_info()
70 while (!list_empty(head)) { in hvcs_free_partner_info()
71 element = head->next; in hvcs_free_partner_info()
98 * @head: An initialized list_head pointer to an empty list to use to return the
116 * hvcs_free_partner_info() using a pointer to the SAME list head instance
119 int hvcs_get_partner_info(uint32_t unit_address, struct list_head *head, in hvcs_get_partner_info() argument
133 if (!head || !pi_buff) in hvcs_get_partner_info()
138 INIT_LIST_HEAD(head); in hvcs_get_partner_info()
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dpipe_fs_i.h39 * @head: The point of buffer production
61 unsigned int head; member
145 * @head: The pipe ring head pointer
148 static inline bool pipe_empty(unsigned int head, unsigned int tail) in pipe_empty() argument
150 return head == tail; in pipe_empty()
155 * @head: The pipe ring head pointer
158 static inline unsigned int pipe_occupancy(unsigned int head, unsigned int tail) in pipe_occupancy() argument
160 return head in pipe_occupancy()
169 pipe_full(unsigned int head, unsigned int tail, unsigned int limit) pipe_full() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_ct.c93 desc->head = 0; in guc_ct_buffer_desc_reset()
320 u32 head = desc->head; in ct_write() local
331 if (unlikely(!IS_ALIGNED(head | tail | size, 4) || in ct_write()
332 (tail | head) >= size)) in ct_write()
336 head /= 4; in ct_write()
341 * tail == head condition indicates empty. GuC FW does not support in ct_write()
342 * using up the entire buffer to get tail == head meaning full. in ct_write()
344 if (tail < head) in ct_write()
345 used = (size - head) in ct_write()
592 u32 head = desc->head; ct_read() local
[all...]
/foundation/distributeddatamgr/pasteboard/framework/innerkits/src/
H A Dpaste_data.cpp453 [&](bool &ret, const std::vector<std::uint8_t> &buffer, TLVHead &head) -> void { in InitDecodeMap()
454 ret = ret && ReadValue(buffer, props_, head); in InitDecodeMap()
457 [&](bool &ret, const std::vector<std::uint8_t> &buffer, TLVHead &head) -> void { in InitDecodeMap()
458 ret = ret && ReadValue(buffer, records_, head); in InitDecodeMap()
461 [&](bool &ret, const std::vector<std::uint8_t> &buffer, TLVHead &head) -> void { in InitDecodeMap()
462 ret = ret && ReadValue(buffer, isDraggedData_, head); in InitDecodeMap()
465 [&](bool &ret, const std::vector<std::uint8_t> &buffer, TLVHead &head) -> void { in InitDecodeMap()
466 ret = ret && ReadValue(buffer, isLocalPaste_, head); in InitDecodeMap()
469 [&](bool &ret, const std::vector<std::uint8_t> &buffer, TLVHead &head) -> void { in InitDecodeMap()
470 ret = ret && ReadValue(buffer, isDelayData_, head); in InitDecodeMap()
[all...]
/foundation/distributeddatamgr/udmf/interfaces/cj/src/
H A Dunified_data_impl.cpp87 int64_t *head = static_cast<int64_t *>(malloc(vector.size() * sizeof(int64_t))); in VectorToArray() local
88 if (head == nullptr) { in VectorToArray()
92 head[i] = vector[i]; in VectorToArray()
94 CArrUnifiedRecord int64Array = {head, vector.size()}; in VectorToArray()
120 char **head = static_cast<char **>(malloc(vector.size() * sizeof(char *))); in StringVectorToArray() local
121 if (head == nullptr) { in StringVectorToArray()
125 head[i] = Utils::MallocCString(vector[i]); in StringVectorToArray()
127 CArrString stringArray = {head, vector.size()}; in StringVectorToArray()
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/signal/testcases/
H A Dza_regs.c68 struct _aarch64_ctx *head = GET_BUF_RESV_HEAD(context); in do_one_sme_vl() local
86 head = get_header(head, ZA_MAGIC, GET_BUF_RESV_SIZE(context), &offset); in do_one_sme_vl()
87 if (!head) { in do_one_sme_vl()
92 za = (struct za_context *)head; in do_one_sme_vl()
98 if (head->size != ZA_SIG_CONTEXT_SIZE(sve_vq_from_vl(vl))) { in do_one_sme_vl()
100 head->size, ZA_SIG_CONTEXT_SIZE(sve_vq_from_vl(vl))); in do_one_sme_vl()
105 head->size, za->vl); in do_one_sme_vl()
H A Dza_no_regs.c56 struct _aarch64_ctx *head = GET_BUF_RESV_HEAD(context); in do_one_sme_vl() local
73 head = get_header(head, ZA_MAGIC, GET_BUF_RESV_SIZE(context), &offset); in do_one_sme_vl()
74 if (!head) { in do_one_sme_vl()
79 za = (struct za_context *)head; in do_one_sme_vl()
85 if (head->size != ZA_SIG_REGS_OFFSET) { in do_one_sme_vl()
87 head->size, ZA_SIG_REGS_OFFSET); in do_one_sme_vl()
93 head->size, za->vl); in do_one_sme_vl()
/kernel/liteos_a/kernel/base/include/
H A Dlos_sortlink_pri.h72 LOS_DL_LIST *head = &sortHeader->sortLink; in OsGetSortLinkNextExpireTime() local
73 LOS_DL_LIST *list = head->pstNext; in OsGetSortLinkNextExpireTime()
76 if (LOS_ListEmpty(head)) { in OsGetSortLinkNextExpireTime()
91 STATIC INLINE UINT32 OsGetSortLinkNodeNum(const SortLinkAttribute *head) in OsGetSortLinkNodeNum() argument
93 return head->nodeNum; in OsGetSortLinkNodeNum()
106 VOID OsAdd2SortLink(SortLinkAttribute *head, SortLinkList *node, UINT64 responseTime, UINT16 idleCpu);
107 VOID OsDeleteFromSortLink(SortLinkAttribute *head, SortLinkList *node);
110 UINT32 OsSortLinkAdjustNodeResponseTime(SortLinkAttribute *head, SortLinkList *node, UINT64 responseTime);
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_ring.h55 atomic_t cons_head; /* Consumer head. */
90 const __u32 head = atomic_read(&r->cons_head); in pvrdma_idx_ring_has_space() local
93 pvrdma_idx_valid(head, max_elems)) { in pvrdma_idx_ring_has_space()
95 return tail != (head ^ max_elems); in pvrdma_idx_ring_has_space()
104 const __u32 head = atomic_read(&r->cons_head); in pvrdma_idx_ring_has_data() local
107 pvrdma_idx_valid(head, max_elems)) { in pvrdma_idx_ring_has_data()
108 *out_head = head & (max_elems - 1); in pvrdma_idx_ring_has_data()
109 return tail != head; in pvrdma_idx_ring_has_data()
/kernel/linux/linux-6.6/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_ring.h55 atomic_t cons_head; /* Consumer head. */
90 const __u32 head = atomic_read(&r->cons_head); in pvrdma_idx_ring_has_space() local
93 pvrdma_idx_valid(head, max_elems)) { in pvrdma_idx_ring_has_space()
95 return tail != (head ^ max_elems); in pvrdma_idx_ring_has_space()
104 const __u32 head = atomic_read(&r->cons_head); in pvrdma_idx_ring_has_data() local
107 pvrdma_idx_valid(head, max_elems)) { in pvrdma_idx_ring_has_data()
108 *out_head = head & (max_elems - 1); in pvrdma_idx_ring_has_data()
109 return tail != head; in pvrdma_idx_ring_has_data()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
H A Dmemory_pool.c65 pool->head = (unsigned char*)(newblock + 1); in refill_pool()
76 if (pool->head + bytes > pool->end) in memory_pool_malloc()
79 assert(pool->head + bytes <= pool->end); in memory_pool_malloc()
81 ptr = pool->head; in memory_pool_malloc()
83 pool->head += bytes; in memory_pool_malloc()
84 pool->head = (unsigned char*)(((unsigned long)pool->head + POOL_ALIGN - 1) & ~(POOL_ALIGN - 1)); in memory_pool_malloc()
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/proxy/src/
H A Dclient_trans_proxy_manager.c426 static int32_t ClientTransProxyCheckSliceHead(const SliceHead *head) in ClientTransProxyCheckSliceHead() argument
428 if (head == NULL) { in ClientTransProxyCheckSliceHead()
432 if (head->priority < 0 || head->priority >= PROXY_CHANNEL_PRORITY_BUTT) { in ClientTransProxyCheckSliceHead()
433 TRANS_LOGE(TRANS_SDK, "invalid index=%{public}d", head->priority); in ClientTransProxyCheckSliceHead()
437 if (head->sliceNum != 1 && head->sliceSeq >= head->sliceNum) { in ClientTransProxyCheckSliceHead()
438 TRANS_LOGE(TRANS_SDK, "sliceNum=%{public}d, sliceSeq=%{public}d", head->sliceNum, head in ClientTransProxyCheckSliceHead()
568 PacketHead head; ClientTransProxyNoSubPacketProc() local
665 ClientTransProxySliceProcessChkPkgIsValid( const SliceProcessor *processor, const SliceHead *head, const char *data, uint32_t len) ClientTransProxySliceProcessChkPkgIsValid() argument
686 ClientGetActualDataLen(const SliceHead *head, uint32_t *actualDataLen) ClientGetActualDataLen() argument
702 ClientTransProxyFirstSliceProcess( SliceProcessor *processor, const SliceHead *head, const char *data, uint32_t len) ClientTransProxyFirstSliceProcess() argument
748 ClientTransProxyLastSliceProcess( SliceProcessor *processor, const SliceHead *head, const char *data, uint32_t len, int32_t channelId) ClientTransProxyLastSliceProcess() argument
777 ClientTransProxyNormalSliceProcess( SliceProcessor *processor, const SliceHead *head, const char *data, uint32_t len) ClientTransProxyNormalSliceProcess() argument
796 ClientTransProxySubPacketProc(int32_t channelId, const SliceHead *head, const char *data, uint32_t len) ClientTransProxySubPacketProc() argument
[all...]
/kernel/linux/linux-5.10/arch/x86/events/intel/
H A Dbts.c58 local_t head; member
152 index = local_read(&buf->head); in bts_config_buffer()
176 static void bts_buffer_pad_out(struct bts_phys *phys, unsigned long head) in bts_buffer_pad_out() argument
178 unsigned long index = head - phys->offset; in bts_buffer_pad_out()
188 unsigned long index = ds->bts_index - ds->bts_buffer_base, old, head; in bts_update() local
193 head = index + bts_buffer_offset(buf, buf->cur_buf); in bts_update()
194 old = local_xchg(&buf->head, head); in bts_update()
197 if (old == head) in bts_update()
205 * old and head ar in bts_update()
371 unsigned long head, space, next_space, pad, gap, skip, wakeup; bts_buffer_reset() local
[all...]
/kernel/linux/linux-6.6/arch/x86/events/intel/
H A Dbts.c58 local_t head; member
152 index = local_read(&buf->head); in bts_config_buffer()
176 static void bts_buffer_pad_out(struct bts_phys *phys, unsigned long head) in bts_buffer_pad_out() argument
178 unsigned long index = head - phys->offset; in bts_buffer_pad_out()
188 unsigned long index = ds->bts_index - ds->bts_buffer_base, old, head; in bts_update() local
193 head = index + bts_buffer_offset(buf, buf->cur_buf); in bts_update()
194 old = local_xchg(&buf->head, head); in bts_update()
197 if (old == head) in bts_update()
205 * old and head ar in bts_update()
377 unsigned long head, space, next_space, pad, gap, skip, wakeup; bts_buffer_reset() local
[all...]
/kernel/linux/common_modules/memory_security/include/
H A Djit_space_list.h22 struct list_head head; member
27 struct list_head head; member
32 const void find_jit_space(struct list_head *head, unsigned long begin, unsigned long size, int *err);
33 void update_jit_space(struct list_head *head, unsigned long begin, unsigned long size);
34 void delete_jit_space(struct list_head *head, unsigned long begin, unsigned long size, int *err);
35 void exit_jit_space(struct list_head *head);
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/signal/testcases/
H A Dfake_sigreturn_bad_magic.c21 struct _aarch64_ctx *shead = GET_SF_RESV_HEAD(sf), *head; in fake_sigreturn_bad_magic_run() local
28 head = get_starting_head(shead, HDR_SZ * 2, GET_SF_RESV_SIZE(sf), NULL); in fake_sigreturn_bad_magic_run()
29 if (!head) in fake_sigreturn_bad_magic_run()
36 head->magic = KSFT_BAD_MAGIC; in fake_sigreturn_bad_magic_run()
37 head->size = HDR_SZ; in fake_sigreturn_bad_magic_run()
38 write_terminator_record(GET_RESV_NEXT_HEAD(head)); in fake_sigreturn_bad_magic_run()

Completed in 12 milliseconds

1...<<11121314151617181920>>...248