Home
last modified time | relevance | path

Searched refs:head (Results 176 – 200 of 3051) sorted by relevance

12345678910>>...123

/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dcmsg.h131 struct nfp_fl_act_head head; member
138 struct nfp_fl_act_head head; member
147 struct nfp_fl_act_head head; member
156 struct nfp_fl_act_head head; member
167 struct nfp_fl_act_head head; member
176 struct nfp_fl_act_head head; member
183 struct nfp_fl_act_head head; member
189 struct nfp_fl_act_head head; member
196 struct nfp_fl_act_head head; member
201 struct nfp_fl_act_head head; member
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Drunl.h31 struct list_head head; member
92 struct list_head head; member
114 #define nvkm_runl_find_engn(engn,runl,cond) nvkm_list_find(engn, &(runl)->engns, head, (cond))
116 #define nvkm_runl_first(fifo) list_first_entry(&(fifo)->runls, struct nvkm_runl, head)
117 #define nvkm_runl_foreach(runl,fifo) list_for_each_entry((runl), &(fifo)->runls, head)
118 #define nvkm_runl_foreach_cond(runl,fifo,cond) nvkm_list_foreach(runl, &(fifo)->runls, head, (cond))
119 #define nvkm_runl_foreach_engn(engn,runl) list_for_each_entry((engn), &(runl)->engns, head)
121 nvkm_list_foreach(engn, &(runl)->engns, head, (cond))
122 #define nvkm_runl_foreach_cgrp(cgrp,runl) list_for_each_entry((cgrp), &(runl)->cgrps, head)
124 list_for_each_entry_safe((cgrp), (gtmp), &(runl)->cgrps, head)
/openbmc/linux/drivers/net/ethernet/amd/
H A Dsun3lance.c106 #define PKTBUF_ADDR(head) (void *)((unsigned long)(MEM) | (head)->base) argument
514 struct lance_tx_head *head; in lance_start_xmit() local
608 head = &(MEM->tx_head[entry]); in lance_start_xmit()
620 head->misc = 0; in lance_start_xmit()
693 if (head->flag & TMD1_ERR) { in lance_interrupt()
694 int status = head->misc; in lance_interrupt()
773 int status = head->flag; in lance_rx()
801 head->msg_length = 0; in lance_rx()
831 PKTBUF_ADDR(head), in lance_rx()
842 head->msg_length = 0; in lance_rx()
[all …]
/openbmc/linux/security/tomoyo/
H A Dfile.c256 head); in tomoyo_check_path_acl()
279 container_of(ptr, typeof(*acl), head); in tomoyo_check_path_number_acl()
300 container_of(ptr, typeof(*acl), head); in tomoyo_check_path2_acl()
320 container_of(ptr, typeof(*acl), head); in tomoyo_check_mkdev_acl()
390 .head.type = TOMOYO_TYPE_PATH_ACL, in tomoyo_update_path_acl()
439 head)->perm; in tomoyo_merge_mkdev_acl()
466 .head.type = TOMOYO_TYPE_MKDEV_ACL, in tomoyo_update_mkdev_acl()
545 .head.type = TOMOYO_TYPE_PATH2_ACL, in tomoyo_update_path2_acl()
635 head); in tomoyo_same_path_number_acl()
637 head); in tomoyo_same_path_number_acl()
[all …]
/openbmc/linux/fs/btrfs/
H A Ddelayed-ref.c408 if (mutex_trylock(&head->mutex)) in btrfs_delayed_ref_lock()
411 refcount_inc(&head->refs); in btrfs_delayed_ref_lock()
414 mutex_lock(&head->mutex); in btrfs_delayed_ref_lock()
417 mutex_unlock(&head->mutex); in btrfs_delayed_ref_lock()
498 if (head->is_data) in btrfs_merge_delayed_refs()
541 if (!head) in btrfs_select_ref_head()
544 while (head->processing) { in btrfs_select_ref_head()
558 head->processing = true; in btrfs_select_ref_head()
562 head->num_bytes; in btrfs_select_ref_head()
563 return head; in btrfs_select_ref_head()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-security/keyutils/files/
H A D0002-tests-Use-head-n1-for-busybox-compatibility.patch4 Subject: [PATCH 2/2] tests: Use `head -n1` for busybox compatibility
22 - seskeyring="`tail -2 $OUTPUTFILE | head -1`"
23 + seskeyring="`tail -2 $OUTPUTFILE | head -n1`"
31 -seskeyring="`tail -2 $OUTPUTFILE | head -1`"
32 +seskeyring="`tail -2 $OUTPUTFILE | head -n1`"
44 -keyring1="`grep -n keyring $OUTPUTFILE | cut -d: -f1 | head -1`"
45 +keyring1="`grep -n keyring $OUTPUTFILE | cut -d: -f1 | head -n1`"
57 - my_logline="`tail -2 $watch_log | head -1`"
58 + my_logline="`tail -2 $watch_log | head -n1`"
/openbmc/linux/kernel/power/
H A Dconsole.c23 struct list_head head; member
51 list_for_each_entry(tmp, &pm_vt_switch_list, head) { in pm_vt_switch_required()
66 list_add(&entry->head, &pm_vt_switch_list); in pm_vt_switch_required()
83 list_for_each_entry(tmp, &pm_vt_switch_list, head) { in pm_vt_switch_unregister()
85 list_del(&tmp->head); in pm_vt_switch_unregister()
119 list_for_each_entry(entry, &pm_vt_switch_list, head) { in pm_vt_switch()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dtu102.c33 tu102_sor_dp_vcpi(struct nvkm_ior *sor, int head, u8 slot, u8 slot_nr, u16 pbn, u16 aligned) in tu102_sor_dp_vcpi() argument
36 const u32 hoff = head * 0x800; in tu102_sor_dp_vcpi()
109 struct nvkm_head *head; in tu102_disp_init() local
135 list_for_each_entry(head, &disp->heads, head) { in tu102_disp_init()
136 const int id = head->id; in tu102_disp_init()
183 nvkm_wr32(device, 0x611cec, disp->head.mask << 16 | in tu102_disp_init()
196 list_for_each_entry(head, &disp->heads, head) { in tu102_disp_init()
197 const u32 hoff = head->id * 4; in tu102_disp_init()
217 .head = { .cnt = gv100_head_cnt, .new = gv100_head_new },
/openbmc/qemu/tests/qtest/libqos/
H A Dlibqos-malloc.c32 static MemBlock *mlist_find_key(MemList *head, uint64_t addr) in mlist_find_key() argument
35 QTAILQ_FOREACH(node, head, MLIST_ENTNAME) { in mlist_find_key()
47 QTAILQ_FOREACH(node, head, MLIST_ENTNAME) { in mlist_find_space()
58 g_assert(head && insr); in mlist_sort_insert()
60 QTAILQ_FOREACH(node, head, MLIST_ENTNAME) { in mlist_sort_insert()
67 QTAILQ_INSERT_TAIL(head, insr, MLIST_ENTNAME); in mlist_sort_insert()
78 g_assert(head && left && right); in mlist_join()
81 mlist_delete(head, right); in mlist_join()
85 static void mlist_coalesce(MemList *head, MemBlock *node) in mlist_coalesce() argument
99 node = mlist_join(head, left, node); in mlist_coalesce()
[all …]
/openbmc/linux/tools/testing/selftests/arm64/signal/testcases/
H A Dsve_regs.c62 struct _aarch64_ctx *head = GET_BUF_RESV_HEAD(context); in do_one_sve_vl() local
80 head = get_header(head, SVE_MAGIC, GET_BUF_RESV_SIZE(context), in do_one_sve_vl()
82 if (!head) { in do_one_sve_vl()
87 sve = (struct sve_context *)head; in do_one_sve_vl()
95 head->size, sve->vl); in do_one_sve_vl()
H A Dsme_vl.c33 struct _aarch64_ctx *head = GET_SF_RESV_HEAD(sf); in sme_vl() local
41 head = get_header(head, ZA_MAGIC, resv_sz, &offset); in sme_vl()
42 if (!head) { in sme_vl()
46 za = (struct za_context *)head; in sme_vl()
H A Dsve_vl.c33 struct _aarch64_ctx *head = GET_SF_RESV_HEAD(sf); in sve_vl() local
41 head = get_header(head, SVE_MAGIC, resv_sz, &offset); in sve_vl()
42 if (!head) { in sve_vl()
46 sve = (struct sve_context *)head; in sve_vl()
H A Dssve_regs.c66 struct _aarch64_ctx *head = GET_BUF_RESV_HEAD(context); in do_one_sme_vl() local
86 head = get_header(head, SVE_MAGIC, GET_BUF_RESV_SIZE(context), in do_one_sme_vl()
88 if (!head) { in do_one_sme_vl()
93 ssve = (struct sve_context *)head; in do_one_sme_vl()
106 head->size, ssve->vl); in do_one_sme_vl()
/openbmc/linux/include/linux/
H A Dacpi_iort.h38 struct list_head *head);
40 struct list_head *head);
44 void iort_iommu_get_resv_regions(struct device *dev, struct list_head *head);
54 void iort_get_rmr_sids(struct fwnode_handle *iommu_fwnode, struct list_head *head) { } in iort_get_rmr_sids() argument
56 void iort_put_rmr_sids(struct fwnode_handle *iommu_fwnode, struct list_head *head) { } in iort_put_rmr_sids() argument
63 void iort_iommu_get_resv_regions(struct device *dev, struct list_head *head) in iort_iommu_get_resv_regions() argument
H A Ddma-fence-array.h75 #define dma_fence_array_for_each(fence, index, head) \ argument
76 for (index = 0, fence = dma_fence_array_first(head); fence; \
77 ++(index), fence = dma_fence_array_next(head, index))
86 struct dma_fence *dma_fence_array_first(struct dma_fence *head);
87 struct dma_fence *dma_fence_array_next(struct dma_fence *head,
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/top/
H A Dbase.c39 list_add_tail(&info->head, &top->device); in nvkm_top_device_new()
51 list_for_each_entry(info, &top->device, head) { in nvkm_top_addr()
67 list_for_each_entry(info, &top->device, head) { in nvkm_top_reset()
83 list_for_each_entry(info, &top->device, head) { in nvkm_top_intr_mask()
98 list_for_each_entry(info, &top->device, head) { in nvkm_top_fault_id()
112 list_for_each_entry(info, &top->device, head) { in nvkm_top_fault()
137 list_for_each_entry_safe(info, temp, &top->device, head) { in nvkm_top_dtor()
138 list_del(&info->head); in nvkm_top_dtor()
/openbmc/linux/drivers/target/tcm_fc/
H A Dtfc_sess.c161 struct hlist_head *head; in ft_sess_get() local
172 head = &tport->hash[ft_sess_hash(port_id)]; in ft_sess_get()
173 hlist_for_each_entry_rcu(sess, head, hash) { in ft_sess_get()
197 hlist_add_head_rcu(&sess->hash, head); in ft_sess_alloc_cb()
212 struct hlist_head *head; in ft_sess_create() local
217 head = &tport->hash[ft_sess_hash(port_id)]; in ft_sess_create()
218 hlist_for_each_entry_rcu(sess, head, hash) in ft_sess_create()
263 struct hlist_head *head; in ft_sess_delete() local
289 struct hlist_head *head; in ft_sess_delete_all() local
292 for (head = tport->hash; in ft_sess_delete_all()
[all …]
/openbmc/linux/mm/
H A Dhugetlb_vmemmap.c44 struct page *head; in split_vmemmap_huge_pmd() local
48 head = pmd_leaf(*pmd) ? pmd_page(*pmd) : NULL; in split_vmemmap_huge_pmd()
51 if (!head) in split_vmemmap_huge_pmd()
64 entry = mk_pte(head + i, pgprot); in split_vmemmap_huge_pmd()
76 if (!PageReserved(head)) in split_vmemmap_huge_pmd()
77 split_page(head, get_order(PMD_SIZE)); in split_vmemmap_huge_pmd()
459 if (!HPageVmemmapOptimized(head)) in hugetlb_vmemmap_restore()
475 ClearHPageVmemmapOptimized(head); in hugetlb_vmemmap_restore()
494 unsigned long vaddr = (unsigned long)head; in vmemmap_should_optimize()
553 if (!vmemmap_should_optimize(h, head)) in hugetlb_vmemmap_optimize()
[all …]
/openbmc/linux/drivers/xen/events/
H A Devents_fifo.c61 uint32_t head[EVTCHN_FIFO_MAX_QUEUES]; member
112 q->head[i] = 0; in init_control_block()
280 uint32_t head; in consume_one_event() local
284 head = q->head[priority]; in consume_one_event()
290 if (head == 0) { in consume_one_event()
292 head = control_block->head[priority]; in consume_one_event()
295 port = head; in consume_one_event()
297 head = clear_linked(word); in consume_one_event()
306 if (head == 0) in consume_one_event()
316 q->head[priority] = head; in consume_one_event()
/openbmc/u-boot/lib/zlib/
H A Dinflate.c21 state->head = Z_NULL; in inflateReset()
376 if (state->head != Z_NULL) in inflate()
377 state->head->done = -1; in inflate()
419 if (state->head != Z_NULL) in inflate()
426 if (state->head != Z_NULL) in inflate()
427 state->head->time = hold; in inflate()
433 if (state->head != Z_NULL) { in inflate()
444 if (state->head != Z_NULL) in inflate()
449 else if (state->head != Z_NULL) in inflate()
525 if (state->head != Z_NULL) { in inflate()
[all …]
/openbmc/linux/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-log.c30 size_t head; member
105 size_t space = b->buf_sz - b->head; in log_buf__write()
108 memcpy(b->buf + b->head, buf, n); in log_buf__write()
111 b->head += n; in log_buf__write()
112 if (sz && b->head >= b->buf_sz) { in log_buf__write()
113 b->head = 0; in log_buf__write()
176 write_lines(b->buf + b->head, b->buf_sz - b->head, b->backend, &remove_first); in log_buf__dump()
178 write_lines(b->buf, b->head, b->backend, &remove_first); in log_buf__dump()
181 b->head = 0; in log_buf__dump()
/openbmc/linux/drivers/net/ethernet/amazon/ena/
H A Dena_eth_com.h176 u16 unreported_comp, head; in ena_com_update_dev_comp_head() local
180 head = io_cq->head; in ena_com_update_dev_comp_head()
181 unreported_comp = head - io_cq->last_head_update; in ena_com_update_dev_comp_head()
187 io_cq->qid, head); in ena_com_update_dev_comp_head()
188 writel(head, io_cq->cq_head_db_reg); in ena_com_update_dev_comp_head()
189 io_cq->last_head_update = head; in ena_com_update_dev_comp_head()
217 io_cq->head++; in ena_com_cq_inc_head()
220 if (unlikely((io_cq->head & (io_cq->q_depth - 1)) == 0)) in ena_com_cq_inc_head()
231 masked_head = io_cq->head & (io_cq->q_depth - 1); in ena_com_tx_comp_req_id_get()
/openbmc/linux/net/ipv4/
H A Dinet_hashtables.c193 spin_lock(&head->lock); in __inet_put_port()
210 spin_unlock(&head->lock); in __inet_put_port()
234 head = &table->bhash[bhash]; in __inet_inherit_port()
237 spin_lock(&head->lock); in __inet_inherit_port()
243 spin_unlock(&head->lock); in __inet_inherit_port()
288 spin_unlock(&head->lock); in __inet_inherit_port()
296 spin_unlock(&head->lock); in __inet_inherit_port()
673 list = &head->chain; in inet_ehash_insert()
942 spin_lock_bh(&head->lock); in __inet_bhash2_update_saddr()
1126 spin_unlock(&head->lock); in __inet_hash_connect()
[all …]
/openbmc/linux/lib/
H A Dtimerqueue.c35 bool timerqueue_add(struct timerqueue_head *head, struct timerqueue_node *node) in timerqueue_add() argument
40 return rb_add_cached(&node->node, &head->rb_root, __timerqueue_less); in timerqueue_add()
53 bool timerqueue_del(struct timerqueue_head *head, struct timerqueue_node *node) in timerqueue_del() argument
57 rb_erase_cached(&node->node, &head->rb_root); in timerqueue_del()
60 return !RB_EMPTY_ROOT(&head->rb_root.rb_root); in timerqueue_del()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dbase.c35 struct list_head head; member
51 list_add(&ptp->head, &mmu->ptp.list); in nvkm_mmu_ptp_put()
57 list_del(&ptp->head); in nvkm_mmu_ptp_put()
93 list_add(&ptp->head, &mmu->ptp.list); in nvkm_mmu_ptp_get()
104 list_del(&ptp->head); in nvkm_mmu_ptp_get()
113 struct list_head head; member
134 list_add(&ptc->head, &mmu->ptc.list); in nvkm_mmu_ptc_find()
156 list_add_tail(&pt->head, &pt->ptc->item); in nvkm_mmu_ptc_put()
194 list_del(&pt->head); in nvkm_mmu_ptc_get()
227 list_del(&pt->head); in nvkm_mmu_ptc_dump()
[all …]

12345678910>>...123