/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/ |
H A D | sym_hipd.h | 384 /*0*/ struct sym_tcbh head; member 474 /*0*/ struct sym_lcbh head; member 598 #define host_xflags phys.head.status[0] 599 #define host_status phys.head.status[1] 600 #define ssss_status phys.head.status[2] 601 #define host_flags phys.head.status[3] 667 cp->phys.head.lastp = cpu_to_scr(dp); \ 673 cp->phys.head.lastp : np->ccb_head.lastp) 677 cp->phys.head.lastp = cpu_to_scr(dp); \ 680 #define sym_get_script_dp(np, cp) (cp->phys.head 695 /*0*/ struct sym_ccbh head; global() member [all...] |
/kernel/linux/linux-5.10/security/tomoyo/ |
H A D | domain.c | 117 container_of(new_entry, struct tomoyo_path_acl, head) in tomoyo_update_domain() 224 head); in tomoyo_same_transition_control() 227 head); in tomoyo_same_transition_control() 276 error = tomoyo_update_policy(&e.head, sizeof(e), param, in tomoyo_write_transition_control() 304 list_for_each_entry_rcu(ptr, list, head.list, in tomoyo_scan_transition() 306 if (ptr->head.is_deleted || ptr->type != type) in tomoyo_scan_transition() 386 head); in tomoyo_same_aggregator() 388 head); in tomoyo_same_aggregator() 419 error = tomoyo_update_policy(&e.head, sizeof(e), param, in tomoyo_write_aggregator() 742 list_for_each_entry_rcu(ptr, list, head in tomoyo_find_next_domain() [all...] |
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | sigmadsp.c | 28 struct list_head head; member 39 struct list_head head; member 238 list_add_tail(&ctrl->head, &sigmadsp->ctrl_list); in sigma_fw_load_control() 269 list_add_tail(&data->head, &sigmadsp->data_list); in sigma_fw_load_data() 411 list_add_tail(&data->head, &sigmadsp->data_list); in process_sigma_action() 458 list_for_each_entry_safe(ctrl, _ctrl, &sigmadsp->ctrl_list, head) { in sigmadsp_firmware_release() 463 list_for_each_entry_safe(data, _data, &sigmadsp->data_list, head) in sigmadsp_firmware_release() 715 list_for_each_entry(ctrl, &sigmadsp->ctrl_list, head) { in sigmadsp_attach() 750 list_for_each_entry(data, &sigmadsp->data_list, head) { in sigmadsp_setup() 760 list_for_each_entry(ctrl, &sigmadsp->ctrl_list, head) in sigmadsp_setup() [all...] |
/kernel/linux/linux-5.10/tools/perf/arch/arm/util/ |
H A D | cs-etm.c | 719 size_t buffer_size, u64 head) in cs_etm_buffer_has_wrapped() 732 * @head is continuously increasing - if its value is equal or greater in cs_etm_buffer_has_wrapped() 735 if (head >= buffer_size) in cs_etm_buffer_has_wrapped() 739 * The value of @head is somewhere within the size of the ring buffer. in cs_etm_buffer_has_wrapped() 741 * buffer yet or the trace time was so long that @head has numerically in cs_etm_buffer_has_wrapped() 748 /* @head is less than 512 byte from the end of the ring buffer */ in cs_etm_buffer_has_wrapped() 749 if (head > watermark) in cs_etm_buffer_has_wrapped() 750 watermark = head; in cs_etm_buffer_has_wrapped() 759 * If we find trace data at the end of the ring buffer, @head has in cs_etm_buffer_has_wrapped() 772 u64 *head, u6 in cs_etm_find_snapshot() 718 cs_etm_buffer_has_wrapped(unsigned char *buffer, size_t buffer_size, u64 head) cs_etm_buffer_has_wrapped() argument 769 cs_etm_find_snapshot(struct auxtrace_record *itr, int idx, struct auxtrace_mmap *mm, unsigned char *data, u64 *head, u64 *old) cs_etm_find_snapshot() argument [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | mpage.c | 107 struct buffer_head *page_bh, *head; in map_buffer_to_page() local 122 head = page_buffers(page); in map_buffer_to_page() 123 page_bh = head; in map_buffer_to_page() 133 } while (page_bh != head); in map_buffer_to_page() 448 struct buffer_head *bh, *head; in clean_buffers() local 451 head = page_buffers(page); in clean_buffers() 452 bh = head; in clean_buffers() 459 } while (bh != head); in clean_buffers() 506 struct buffer_head *head = page_buffers(page); in __mpage_writepage() local 507 struct buffer_head *bh = head; in __mpage_writepage() [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | nlattr.c | 56 static int __nla_validate_parse(const struct nlattr *head, int len, int maxtype, 85 static int nla_validate_array(const struct nlattr *head, int len, int maxtype, in nla_validate_array() argument 93 nla_for_each_attr(entry, head, len, rem) { in nla_validate_array() 560 static int __nla_validate_parse(const struct nlattr *head, int len, int maxtype, in __nla_validate_parse() argument 578 nla_for_each_attr(nla, head, len, rem) { in __nla_validate_parse() 615 * @head: head of attribute stream 629 int __nla_validate(const struct nlattr *head, int len, int maxtype, in __nla_validate() argument 633 return __nla_validate_parse(head, len, maxtype, policy, validate, in __nla_validate() 671 * @head 683 __nla_parse(struct nlattr **tb, int maxtype, const struct nlattr *head, int len, const struct nla_policy *policy, unsigned int validate, struct netlink_ext_ack *extack) __nla_parse() argument 701 nla_find(const struct nlattr *head, int len, int attrtype) nla_find() argument [all...] |
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | ip_fragment.c | 137 struct sk_buff *head = NULL; in ip_expire() local 164 * pull the head out of the tree in order to be able to in ip_expire() 165 * deal with head->dev. in ip_expire() 167 head = inet_frag_pull_head(&qp->q); in ip_expire() 168 if (!head) in ip_expire() 170 head->dev = dev_get_by_index_rcu(net, qp->iif); in ip_expire() 171 if (!head->dev) in ip_expire() 176 iph = ip_hdr(head); in ip_expire() 177 err = ip_route_input_noref(head, iph->daddr, iph->saddr, in ip_expire() 178 iph->tos, head in ip_expire() [all...] |
H A D | udp_offload.c | 123 skb->head - (unsigned char *)uh); in __skb_udp_tunnel_segment() 140 skb->csum_start = skb_transport_header(skb) - skb->head; in __skb_udp_tunnel_segment() 425 static struct sk_buff *udp_gro_receive_segment(struct list_head *head, in udp_gro_receive_segment() argument 450 list_for_each_entry(p, head, list) { in udp_gro_receive_segment() 506 struct sk_buff *udp_gro_receive(struct list_head *head, struct sk_buff *skb, in udp_gro_receive() argument 525 pp = call_gro_receive(udp_gro_receive_segment, head, skb); in udp_gro_receive() 541 list_for_each_entry(p, head, list) { in udp_gro_receive() 559 pp = call_gro_receive_sk(udp_sk(sk)->gro_receive, sk, head, skb); in udp_gro_receive() 578 struct sk_buff *udp4_gro_receive(struct list_head *head, struct sk_buff *skb) in udp4_gro_receive() argument 604 pp = udp_gro_receive(head, sk in udp4_gro_receive() [all...] |
H A D | tunnel4.c | 90 #define for_each_tunnel_rcu(head, handler) \ 91 for (handler = rcu_dereference(head); \ 116 struct xfrm_tunnel __rcu *head; in tunnel4_rcv_cb() local 120 head = (proto == IPPROTO_IPIP) ? tunnel4_handlers : tunnel64_handlers; in tunnel4_rcv_cb() 122 for_each_tunnel_rcu(head, handler) { in tunnel4_rcv_cb()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | wait.h | 39 struct list_head head; member 59 .head = LIST_HEAD_INIT(name.head) } 129 return !list_empty(&wq_head->head); in waitqueue_active() 134 * @wq_head: wait queue head 142 return list_is_singular(&wq_head->head); in wq_has_single_sleeper() 147 * @wq_head: wait queue head 173 struct list_head *head = &wq_head->head; in __add_wait_queue() local 176 list_for_each_entry(wq, &wq_head->head, entr in __add_wait_queue() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/sym53c8xx_2/ |
H A D | sym_hipd.h | 384 /*0*/ struct sym_tcbh head; member 474 /*0*/ struct sym_lcbh head; member 598 #define host_xflags phys.head.status[0] 599 #define host_status phys.head.status[1] 600 #define ssss_status phys.head.status[2] 601 #define host_flags phys.head.status[3] 667 cp->phys.head.lastp = cpu_to_scr(dp); \ 673 cp->phys.head.lastp : np->ccb_head.lastp) 677 cp->phys.head.lastp = cpu_to_scr(dp); \ 680 #define sym_get_script_dp(np, cp) (cp->phys.head 695 /*0*/ struct sym_ccbh head; global() member [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/ |
H A D | sdio.c | 316 q->head = q->tail = 0; in mt76s_alloc_rx_queue() 525 u16 idx = q->head; in mt76s_tx_queue_skb() 535 q->entry[q->head].skb = tx_info.skb; in mt76s_tx_queue_skb() 536 q->entry[q->head].buf_sz = len; in mt76s_tx_queue_skb() 537 q->entry[q->head].wcid = 0xffff; in mt76s_tx_queue_skb() 541 q->head = (q->head + 1) % q->ndesc; in mt76s_tx_queue_skb() 563 q->entry[q->head].buf_sz = len; in mt76s_tx_queue_skb_raw() 564 q->entry[q->head].skb = skb; in mt76s_tx_queue_skb_raw() 569 q->head in mt76s_tx_queue_skb_raw() [all...] |
/kernel/linux/linux-6.6/drivers/pci/controller/ |
H A D | pcie-iproc-msi.c | 303 static inline u32 decode_msi_hwirq(struct iproc_msi *msi, u32 eq, u32 head) in decode_msi_hwirq() argument 309 offs = iproc_msi_eq_offset(msi, eq) + head * sizeof(u32); in decode_msi_hwirq() 327 u32 eq, head, tail, nr_events; in iproc_msi_handler() local 337 * iProc MSI event queue is tracked by head and tail pointers. Head in iproc_msi_handler() 342 * Entries between head and tail pointers contain valid MSI data. MSI in iproc_msi_handler() 346 head = iproc_msi_read_reg(msi, IPROC_MSI_EQ_HEAD, in iproc_msi_handler() 356 nr_events = (tail < head) ? in iproc_msi_handler() 357 (EQ_LEN - (head - tail)) : (tail - head); in iproc_msi_handler() 363 hwirq = decode_msi_hwirq(msi, eq, head); in iproc_msi_handler() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/ulp/rtrs/ |
H A D | rtrs.c | 109 static int rtrs_post_send(struct ib_qp *qp, struct ib_send_wr *head, in rtrs_post_send() argument 112 if (head) { in rtrs_post_send() 113 struct ib_send_wr *next = head; in rtrs_post_send() 119 head = wr; in rtrs_post_send() 125 return ib_post_send(qp, head, NULL); in rtrs_post_send() 129 struct ib_send_wr *head) in rtrs_iu_post_send() 150 return rtrs_post_send(con->qp, head, &wr, NULL); in rtrs_iu_post_send() 158 struct ib_send_wr *head, in rtrs_iu_post_rdma_write_imm() 183 return rtrs_post_send(con->qp, head, &wr.wr, tail); in rtrs_iu_post_rdma_write_imm() 190 struct ib_send_wr *head) in rtrs_post_rdma_write_imm_empty() 128 rtrs_iu_post_send(struct rtrs_con *con, struct rtrs_iu *iu, size_t size, struct ib_send_wr *head) rtrs_iu_post_send() argument 154 rtrs_iu_post_rdma_write_imm(struct rtrs_con *con, struct rtrs_iu *iu, struct ib_sge *sge, unsigned int num_sge, u32 rkey, u64 rdma_addr, u32 imm_data, enum ib_send_flags flags, struct ib_send_wr *head, struct ib_send_wr *tail) rtrs_iu_post_rdma_write_imm() argument 187 rtrs_post_rdma_write_imm_empty(struct rtrs_con *con, struct ib_cqe *cqe, u32 imm_data, struct ib_send_wr *head) rtrs_post_rdma_write_imm_empty() argument [all...] |
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nfnetlink_cttimeout.c | 37 struct list_head head; member 120 list_for_each_entry(timeout, &pernet->nfct_timeout_list, head) { in cttimeout_new_timeout() 174 list_add_tail_rcu(&timeout->head, &pernet->nfct_timeout_list); in cttimeout_new_timeout() 242 list_for_each_entry_rcu(cur, &pernet->nfct_timeout_list, head) { in ctnl_timeout_dump() 283 list_for_each_entry(cur, &pernet->nfct_timeout_list, head) { in cttimeout_get_timeout() 321 list_del_rcu(&timeout->head); in ctnl_timeout_try_del() 341 head) in cttimeout_del_timeout() 348 list_for_each_entry(cur, &pernet->nfct_timeout_list, head) { in cttimeout_del_timeout() 518 list_for_each_entry_rcu(timeout, &pernet->nfct_timeout_list, head) { in ctnl_timeout_find_get() 599 list_for_each_entry_safe(cur, tmp, &pernet->nfct_timeout_list, head) { in cttimeout_net_pre_exit() [all...] |
/kernel/linux/linux-6.6/security/tomoyo/ |
H A D | domain.c | 117 container_of(new_entry, struct tomoyo_path_acl, head) in tomoyo_update_domain() 224 head); in tomoyo_same_transition_control() 227 head); in tomoyo_same_transition_control() 276 error = tomoyo_update_policy(&e.head, sizeof(e), param, in tomoyo_write_transition_control() 304 list_for_each_entry_rcu(ptr, list, head.list, in tomoyo_scan_transition() 306 if (ptr->head.is_deleted || ptr->type != type) in tomoyo_scan_transition() 386 head); in tomoyo_same_aggregator() 388 head); in tomoyo_same_aggregator() 419 error = tomoyo_update_policy(&e.head, sizeof(e), param, in tomoyo_write_aggregator() 740 list_for_each_entry_rcu(ptr, list, head in tomoyo_find_next_domain() [all...] |
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | sigmadsp.c | 30 struct list_head head; member 42 struct list_head head; member 250 list_add_tail(&ctrl->head, &sigmadsp->ctrl_list); in sigma_fw_load_control() 281 list_add_tail(&data->head, &sigmadsp->data_list); in sigma_fw_load_data() 423 list_add_tail(&data->head, &sigmadsp->data_list); in process_sigma_action() 470 list_for_each_entry_safe(ctrl, _ctrl, &sigmadsp->ctrl_list, head) { in sigmadsp_firmware_release() 475 list_for_each_entry_safe(data, _data, &sigmadsp->data_list, head) in sigmadsp_firmware_release() 710 list_for_each_entry(ctrl, &sigmadsp->ctrl_list, head) { in sigmadsp_attach() 745 list_for_each_entry(data, &sigmadsp->data_list, head) { in sigmadsp_setup() 755 list_for_each_entry(ctrl, &sigmadsp->ctrl_list, head) in sigmadsp_setup() [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | ip_fragment.c | 137 struct sk_buff *head = NULL; in ip_expire() local 165 * pull the head out of the tree in order to be able to in ip_expire() 166 * deal with head->dev. in ip_expire() 168 head = inet_frag_pull_head(&qp->q); in ip_expire() 169 if (!head) in ip_expire() 171 head->dev = dev_get_by_index_rcu(net, qp->iif); in ip_expire() 172 if (!head->dev) in ip_expire() 177 iph = ip_hdr(head); in ip_expire() 178 err = ip_route_input_noref(head, iph->daddr, iph->saddr, in ip_expire() 179 iph->tos, head in ip_expire() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | crystalhd.c | 105 OpaqueList *head; member 200 if (!priv->head) { in opaque_list_push() 202 priv->head = newNode; in opaque_list_push() 222 OpaqueList *node = priv->head; in opaque_list_pop() 224 if (!priv->head) { in opaque_list_pop() 232 * the head pointer rather than the previous element in the list. in opaque_list_pop() 234 if (priv->head->fake_timestamp == fake_timestamp) { in opaque_list_pop() 235 priv->head = node->next; in opaque_list_pop() 237 if (!priv->head->next) in opaque_list_pop() 238 priv->tail = priv->head; in opaque_list_pop() [all...] |
/third_party/nghttp2/src/ |
H A D | template.h | 87 DList() : head(nullptr), tail(nullptr), len(0) {} in DList() 93 : head{std::exchange(other.head, nullptr)}, 101 head = std::exchange(other.head, nullptr); 116 head = tail = t; in append() 126 if (head == t) { in remove() 127 head = n; in remove() 138 bool empty() const { return head == nullptr; } in empty() 142 T *head, *tai variable [all...] |
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/ |
H A D | adf_cfg.c | 87 static void adf_cfg_section_del_all(struct list_head *head); 131 static void adf_cfg_keyval_del_all(struct list_head *head) in adf_cfg_keyval_del_all() argument 135 list_for_each_prev_safe(list_ptr, tmp, head) { in adf_cfg_keyval_del_all() 143 static void adf_cfg_section_del_all(struct list_head *head) in adf_cfg_section_del_all() argument 148 list_for_each_prev_safe(list, tmp, head) { in adf_cfg_section_del_all()
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | tunnel6.c | 117 #define for_each_tunnel_rcu(head, handler) \ 118 for (handler = rcu_dereference(head); \ 161 struct xfrm6_tunnel __rcu *head; in tunnel6_rcv_cb() local 165 head = (proto == IPPROTO_IPV6) ? tunnel6_handlers : tunnel46_handlers; in tunnel6_rcv_cb() 167 for_each_tunnel_rcu(head, handler) { in tunnel6_rcv_cb()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_modeset_lock.c | 233 struct drm_modeset_lock, head); in drm_modeset_drop_locks() 266 WARN_ON(!list_empty(&lock->head)); in modeset_lock() 267 list_add(&lock->head, &ctx->locked); in modeset_lock() 316 INIT_LIST_HEAD(&lock->head); in drm_modeset_lock_init() 370 list_del_init(&lock->head); in drm_modeset_unlock()
|
/kernel/linux/linux-5.10/drivers/nvmem/ |
H A D | rave-sp-eeprom.c | 227 unsigned int head; in rave_sp_eeprom_access() local 232 head = offset % RAVE_SP_EEPROM_PAGE_SIZE; in rave_sp_eeprom_access() 242 if (unlikely(head)) { in rave_sp_eeprom_access() 243 chunk = RAVE_SP_EEPROM_PAGE_SIZE - head; in rave_sp_eeprom_access() 247 * head to zero to process all the other in rave_sp_eeprom_access() 250 head = 0; in rave_sp_eeprom_access()
|
/kernel/linux/linux-6.6/drivers/dma-buf/ |
H A D | dma-fence-chain.c | 147 struct dma_fence_chain *head = to_dma_fence_chain(fence); in dma_fence_chain_enable_signaling() local 149 dma_fence_get(&head->base); in dma_fence_chain_enable_signaling() 150 dma_fence_chain_for_each(fence, &head->base) { in dma_fence_chain_enable_signaling() 154 if (!dma_fence_add_callback(f, &head->cb, dma_fence_chain_cb)) { in dma_fence_chain_enable_signaling() 160 dma_fence_put(&head->base); in dma_fence_chain_enable_signaling()
|