/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | esp_scsi.c | 880 struct list_head *head = &esp->esp_cmd_pool; in esp_get_ent() local 883 if (list_empty(head)) { in esp_get_ent() 886 ret = list_entry(head->next, struct esp_cmd_entry, list); in esp_get_ent()
|
H A D | megaraid.c | 430 struct list_head *head = &adapter->free_list; in mega_allocate_scb() local 434 if( !list_empty(head) ) { in mega_allocate_scb() 436 scb = list_entry(head->next, scb_t, list); in mega_allocate_scb() 438 list_del_init(head->next); in mega_allocate_scb()
|
/kernel/linux/linux-5.10/drivers/vdpa/mlx5/net/ |
H A D | mlx5_vnet.c | 71 u16 head; member 325 vqp->head += n; in rx_post() 326 vqp->db.db[0] = cpu_to_be32(vqp->head); in rx_post()
|
/kernel/linux/linux-5.10/net/sunrpc/ |
H A D | clnt.c | 1843 req->rq_snd_buf.head[0].iov_len = 0; in rpc_xdr_encode() 1845 req->rq_snd_buf.head[0].iov_base, req); in rpc_xdr_encode() 2485 req->rq_rcv_buf.head[0].iov_base, req); in call_decode()
|
/kernel/linux/linux-5.10/fs/ceph/ |
H A D | file.c | 519 le32_to_cpu(req->r_reply_info.head->result); in ceph_async_create_cb() 723 !list_is_singular(&as_ctx.pagelist->head)) in ceph_atomic_open() 783 if ((flags & O_CREAT) && !req->r_reply_info.head->is_dentry) in ceph_atomic_open()
|
/kernel/linux/linux-5.10/fs/quota/ |
H A D | dquot.c | 291 struct hlist_head *head; in insert_dquot_hash() local 292 head = dquot_hash + hashfn(dquot->dq_sb, dquot->dq_id); in insert_dquot_hash() 293 hlist_add_head(&dquot->dq_hash, head); in insert_dquot_hash() 825 /* Exchange the list head to avoid livelock. */ in quota_release_workfn()
|
/kernel/linux/linux-5.10/net/netfilter/ipset/ |
H A D | ip_set_core.c | 1191 ip_set_destroy_set_rcu(struct rcu_head *head) in ip_set_destroy_set_rcu() argument 1193 struct ip_set *set = container_of(head, struct ip_set, rcu); in ip_set_destroy_set_rcu() 1639 ret = set->variant->head(set, skb); in ip_set_dump_do()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_panel.c | 71 list_for_each_entry(scan, &connector->base.probed_modes, head) { in intel_panel_edid_downclock_mode() 116 list_for_each_entry(scan, &connector->base.probed_modes, head) { in intel_panel_edid_fixed_mode() 133 typeof(*scan), head); in intel_panel_edid_fixed_mode()
|
/kernel/linux/linux-6.6/drivers/atm/ |
H A D | he.c | 330 struct hlist_head *head; in __find_vcc() local 338 head = &vcc_hash[vci & (VCC_HTABLE_SIZE -1)]; in __find_vcc() 340 sk_for_each(s, head) { in __find_vcc() 2062 * check to see if we are about to set the tail == head in __enqueue_tpd() 2063 * if true, update the head pointer from the adapter in __enqueue_tpd() 2065 * head for every enqueue would be unnecessarily slow) in __enqueue_tpd()
|
/kernel/linux/linux-6.6/fs/quota/ |
H A D | dquot.c | 291 struct hlist_head *head; in insert_dquot_hash() local 292 head = dquot_hash + hashfn(dquot->dq_sb, dquot->dq_id); in insert_dquot_hash() 293 hlist_add_head(&dquot->dq_hash, head); in insert_dquot_hash() 823 /* Exchange the list head to avoid livelock. */ in quota_release_workfn()
|
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | amba-pl08x.c | 1523 LIST_HEAD(head); in pl08x_free_txd_list() 1525 vchan_get_all_descriptors(&plchan->vc, &head); in pl08x_free_txd_list() 1526 vchan_dma_desc_free_list(&plchan->vc, &head); in pl08x_free_txd_list()
|
/kernel/linux/linux-6.6/drivers/dma/ti/ |
H A D | edma.c | 815 LIST_HEAD(head); in edma_terminate_all() 834 vchan_get_all_descriptors(&echan->vchan, &head); in edma_terminate_all() 836 vchan_dma_desc_free_list(&echan->vchan, &head); in edma_terminate_all()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/wil6210/ |
H A D | debugfs.c | 297 seq_printf(s, " head = 0x%08x\n", r.head); in wil_print_mbox_ring() 308 !wmi_addr(wil, r.head)) { in wil_print_mbox_ring() 324 (r.head - r.base == delta) ? "h" : " ", in wil_print_mbox_ring()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_execbuffer.c | 1070 struct hlist_head *head; in eb_get_vma() local 1073 head = &eb->buckets[hash_32(handle, eb->lut_size)]; in eb_get_vma() 1074 hlist_for_each_entry(ev, head, node) { in eb_get_vma()
|
/kernel/linux/linux-6.6/drivers/infiniband/ulp/rtrs/ |
H A D | rtrs-clt.c | 753 * @head: the head for the list. 756 * Next clt path returned in round-robin fashion, i.e. head will be skipped, 763 rtrs_clt_get_next_path_or_null(struct list_head *head, struct rtrs_clt_path *clt_path) in rtrs_clt_get_next_path_or_null() argument 765 return list_next_or_null_rcu(head, &clt_path->s.entry, typeof(*clt_path), s.entry) ?: in rtrs_clt_get_next_path_or_null() 766 list_next_or_null_rcu(head, in rtrs_clt_get_next_path_or_null()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | cs-etm.c | 430 queue->head = 0; in cs_etm__clear_packet_queue() 1088 if (list_empty(&queue->head) || etmq) in cs_etm__setup_queue() 1749 * is the head of the new coming packet, to generate in cs_etm__sample() 2779 list_for_each_entry(buf, &etm->queues.queue_array[i].head, list) in dump_queued_data() 2995 * In this mode, the head also points to the end of the buffer so aux_offset in cs_etm__queue_aux_fragment()
|
/kernel/linux/linux-6.6/security/ |
H A D | security.c | 527 hlist_add_tail_rcu(&hooks[i].list, hooks[i].head); in security_add_hooks() 1504 static void inode_free_by_rcu(struct rcu_head *head) in inode_free_by_rcu() argument 1507 * The rcu head is at the start of the inode blob in inode_free_by_rcu() 1509 kmem_cache_free(lsm_inode_cache, head); in inode_free_by_rcu()
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | esp_scsi.c | 880 struct list_head *head = &esp->esp_cmd_pool; in esp_get_ent() local 883 if (list_empty(head)) { in esp_get_ent() 886 ret = list_entry(head->next, struct esp_cmd_entry, list); in esp_get_ent()
|
/kernel/linux/linux-6.6/net/netfilter/ipset/ |
H A D | ip_set_core.c | 1187 ip_set_destroy_set_rcu(struct rcu_head *head) in ip_set_destroy_set_rcu() argument 1189 struct ip_set *set = container_of(head, struct ip_set, rcu); in ip_set_destroy_set_rcu() 1629 ret = set->variant->head(set, skb); in ip_set_dump_do()
|
/kernel/linux/linux-6.6/net/sunrpc/ |
H A D | clnt.c | 1938 req->rq_snd_buf.head[0].iov_len = 0; in rpc_xdr_encode() 1940 req->rq_snd_buf.head[0].iov_base, req); in rpc_xdr_encode() 2602 req->rq_rcv_buf.head[0].iov_base, req); in call_decode()
|
/third_party/selinux/libsepol/cil/src/ |
H A D | cil.c | 1436 if (db->userprefixes->head == NULL) { in cil_userprefixes_to_string() 1669 if (db->selinuxusers->head == NULL) { in cil_selinuxusers_to_string() 1693 for(curr = db->selinuxusers->head; curr != NULL; curr = curr->next) { in cil_selinuxusers_to_string()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
H A D | qib_iba6120.c | 2058 u32 head, tail; in qib_6120_hdrqempty() local 2060 head = qib_read_ureg32(rcd->dd, ur_rcvhdrhead, rcd->ctxt); in qib_6120_hdrqempty() 2065 return head == tail; in qib_6120_hdrqempty() 2144 * disabled, tail and head should both be zero in rcvctrl_6120_mod() 2152 dd->rcd[ctxt]->head = val; in rcvctrl_6120_mod()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fs_core.c | 797 #define list_for_each_advance_continue(pos, head, reverse) \ in find_closest_ft_recursive() 799 &pos->list != (head); \ in find_closest_ft_recursive() 1729 static void free_match_list(struct match_list *head, bool ft_locked) in free_match_list() argument 1733 list_for_each_entry_safe(iter, match_tmp, &head->list, in free_match_list()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/os_dep/ |
H A D | ioctl_cfg80211.c | 2709 static int rtw_add_beacon(struct adapter *adapter, const u8 *head, size_t head_len, const u8 *tail, size_t tail_len) in rtw_add_beacon() argument 2728 memcpy(pbuf, (void *)head+24, head_len-24);/* 24 =beacon header len. */ in rtw_add_beacon() 2765 ret = rtw_add_beacon(adapter, settings->beacon.head, settings->beacon.head_len, in cfg80211_rtw_start_ap() 2790 return rtw_add_beacon(adapter, info->head, info->head_len, info->tail, info->tail_len); in cfg80211_rtw_change_beacon()
|
/kernel/linux/linux-5.10/net/tipc/ |
H A D | socket.c | 529 static void tipc_sk_callback(struct rcu_head *head) in tipc_sk_callback() argument 531 struct tipc_sock *tsk = container_of(head, struct tipc_sock, rcu); in tipc_sk_callback() 3997 i += scnprintf(buf + i, sz - i, "sk_backlog:\n head "); in tipc_sk_dump() 3998 i += tipc_skb_dump(sk->sk_backlog.head, false, buf + i); in tipc_sk_dump() 3999 if (sk->sk_backlog.tail != sk->sk_backlog.head) { in tipc_sk_dump()
|