Home
last modified time | relevance | path

Searched refs:kv (Results 1 – 17 of 17) sorted by relevance

/linux/virt/kvm/
H A Dvfio.c122 struct kvm_vfio *kv = dev->private; in kvm_vfio_update_coherency() local
126 list_for_each_entry(kvf, &kv->file_list, node) { in kvm_vfio_update_coherency()
133 if (noncoherent != kv->noncoherent) { in kvm_vfio_update_coherency()
134 kv->noncoherent = noncoherent; in kvm_vfio_update_coherency()
136 if (kv->noncoherent) in kvm_vfio_update_coherency()
145 struct kvm_vfio *kv = dev->private; in kvm_vfio_file_add() local
160 mutex_lock(&kv->lock); in kvm_vfio_file_add()
162 list_for_each_entry(kvf, &kv->file_list, node) { in kvm_vfio_file_add()
176 list_add_tail(&kvf->node, &kv->file_list); in kvm_vfio_file_add()
182 mutex_unlock(&kv->lock); in kvm_vfio_file_add()
[all …]
/linux/net/rxrpc/
H A Doutput.c82 struct kvec *kv = call->local->kvec; in rxrpc_alloc_ack() local
105 kv[0].iov_base = whdr; in rxrpc_alloc_ack()
106 kv[0].iov_len = sizeof(*whdr) + sizeof(*ack); in rxrpc_alloc_ack()
107 kv[1].iov_base = buf2; in rxrpc_alloc_ack()
108 kv[1].iov_len = sack_size; in rxrpc_alloc_ack()
109 kv[2].iov_base = filler; in rxrpc_alloc_ack()
110 kv[2].iov_len = 3 + sizeof(*trailer); in rxrpc_alloc_ack()
155 struct kvec *kv = call->local->kvec; in rxrpc_fill_out_ack() local
156 struct rxrpc_wire_header *whdr = kv[0].iov_base; in rxrpc_fill_out_ack()
157 struct rxrpc_acktrailer *trailer = kv[2].iov_base + 3; in rxrpc_fill_out_ack()
[all …]
/linux/tools/perf/scripts/python/
H A Dsyscall-counts.py64 key = lambda kv: (kv[1], kv[0]), reverse = True):
H A Dsctop.py82 key = lambda kv: (kv[1], kv[0]),
H A Dsyscall-counts-by-pid.py74 key = lambda kv: (kv[1], kv[0]), reverse = True):
H A Dfailed-syscalls-by-pid.py78 …for ret, val in sorted(syscalls[comm][pid][id].items(), key = lambda kv: (kv[1], kv[0]), reverse =…
/linux/net/ipv4/
H A Dfib_trie.c139 struct key_vector kv[1]; member
140 #define tn_bits kv[0].bits
143 #define TNODE_SIZE(n) offsetof(struct tnode, kv[0].tnode[n])
168 struct key_vector kv[1]; member
189 static inline struct tnode *tn_info(struct key_vector *kv) in tn_info() argument
191 return container_of(kv, struct tnode, kv[0]); in tn_info()
219 #define get_cindex(key, kv) (((key) ^ (kv)->key) >> (kv)->pos) argument
221 static inline unsigned long get_index(t_key key, struct key_vector *kv) in get_index() argument
223 unsigned long index = key ^ kv->key; in get_index()
225 if ((BITS_PER_LONG <= KEYLENGTH) && (KEYLENGTH == kv->pos)) in get_index()
[all …]
/linux/drivers/input/touchscreen/
H A Dili210x.c423 u8 kv[5]; in ili251x_firmware_update_kernel_version() local
427 &kv, sizeof(kv)); in ili251x_firmware_update_kernel_version()
429 memcpy(priv->version_kernel, kv, sizeof(kv)); in ili251x_firmware_update_kernel_version()
521 u8 *kv = priv->version_kernel; in ili251x_kernel_version_show() local
524 kv[0], kv[1], kv[2], kv[3], kv[4]); in ili251x_kernel_version_show()
/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-ctrl.c401 int mask,val,kv,mode,ret; in parse_tlist() local
425 if (parse_mtoken(ptr,cnt,&kv,names,valid_bits)) { in parse_tlist()
434 val |= kv; in parse_tlist()
437 mask |= kv; in parse_tlist()
438 val &= ~kv; in parse_tlist()
441 mask |= kv; in parse_tlist()
442 val |= kv; in parse_tlist()
/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-btf.rst30 | *BTF_SRC* := { **id** *BTF_ID* | **prog** *PROG* | **map** *MAP* [{**key** | **value** | **kv** |…
55 both key and value (**kv**), or all BTF types present in associated BTF
56 object (**all**). If not specified, **kv** is assumed.
72 (such as the "key", "value", or "kv" arguments when dumping BTF for a map).
211 **# bpftool btf dump map id 123 kv**
/linux/lib/
H A Dscatterlist.c1195 const struct kvec *kv = iter->kvec; in extract_kvec_to_sg() local
1206 len = kv[i].iov_len; in extract_kvec_to_sg()
1212 kaddr = (unsigned long)kv[i].iov_base + start; in extract_kvec_to_sg()
/linux/fs/smb/client/
H A Dsmbdirect.c2883 const struct kvec *kv = iter->kvec; in smb_extract_kvec_to_rdma() local
2893 len = kv[i].iov_len; in smb_extract_kvec_to_rdma()
2899 kaddr = (unsigned long)kv[i].iov_base + start; in smb_extract_kvec_to_rdma()
/linux/drivers/gpu/drm/radeon/
H A Dsi_dpm.c1709 s64 kt, kv, leakage_w, i_leakage, vddc; in si_calculate_leakage_for_v_and_t_formula() local
1726 kv = drm_fixp_mul(av, drm_fixp_exp(drm_fixp_mul(bv, vddc))); in si_calculate_leakage_for_v_and_t_formula()
1728 leakage_w = drm_fixp_mul(drm_fixp_mul(drm_fixp_mul(i_leakage, kt), kv), vddc); in si_calculate_leakage_for_v_and_t_formula()
1747 s64 kt, kv, leakage_w, i_leakage, vddc; in si_calculate_leakage_for_v_formula() local
1753 kv = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->av), 100000000), in si_calculate_leakage_for_v_formula()
1756 leakage_w = drm_fixp_mul(drm_fixp_mul(drm_fixp_mul(i_leakage, kt), kv), vddc); in si_calculate_leakage_for_v_formula()
/linux/net/9p/
H A Dclient.c1989 struct kvec kv = {.iov_base = data, .iov_len = count}; in p9_client_readdir() local
1992 iov_iter_kvec(&to, ITER_DEST, &kv, 1, count); in p9_client_readdir()
/linux/crypto/
H A Dtestmgr.c1247 struct kvec kv; in build_hash_sglist() local
1250 kv.iov_base = (void *)vec->plaintext; in build_hash_sglist()
1251 kv.iov_len = vec->psize; in build_hash_sglist()
1252 iov_iter_kvec(&input, ITER_SOURCE, &kv, 1, vec->psize); in build_hash_sglist()
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.c1877 s64 kt, kv, leakage_w, i_leakage, vddc; in si_calculate_leakage_for_v_and_t_formula() local
1894 kv = drm_fixp_mul(av, drm_fixp_exp(drm_fixp_mul(bv, vddc))); in si_calculate_leakage_for_v_and_t_formula()
1896 leakage_w = drm_fixp_mul(drm_fixp_mul(drm_fixp_mul(i_leakage, kt), kv), vddc); in si_calculate_leakage_for_v_and_t_formula()
1915 s64 kt, kv, leakage_w, i_leakage, vddc; in si_calculate_leakage_for_v_formula() local
1921 kv = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->av), 100000000), in si_calculate_leakage_for_v_formula()
1924 leakage_w = drm_fixp_mul(drm_fixp_mul(drm_fixp_mul(i_leakage, kt), kv), vddc); in si_calculate_leakage_for_v_formula()
/linux/net/core/
H A Dskbuff.c3285 struct kvec kv; in __skb_send_sock() local
3289 kv.iov_base = skb->data + offset; in __skb_send_sock()
3290 kv.iov_len = slen; in __skb_send_sock()
3296 iov_iter_kvec(&msg.msg_iter, ITER_SOURCE, &kv, 1, slen); in __skb_send_sock()