Home
last modified time | relevance | path

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

/Linux-v4.19/virt/kvm/
Dvfio.c162 struct kvm_vfio *kv = dev->private; in kvm_vfio_update_coherency() local
166 mutex_lock(&kv->lock); in kvm_vfio_update_coherency()
168 list_for_each_entry(kvg, &kv->group_list, node) { in kvm_vfio_update_coherency()
175 if (noncoherent != kv->noncoherent) { in kvm_vfio_update_coherency()
176 kv->noncoherent = noncoherent; in kvm_vfio_update_coherency()
178 if (kv->noncoherent) in kvm_vfio_update_coherency()
184 mutex_unlock(&kv->lock); in kvm_vfio_update_coherency()
189 struct kvm_vfio *kv = dev->private; in kvm_vfio_set_group() local
212 mutex_lock(&kv->lock); in kvm_vfio_set_group()
214 list_for_each_entry(kvg, &kv->group_list, node) { in kvm_vfio_set_group()
[all …]
/Linux-v4.19/net/ipv4/
Dfib_trie.c150 struct key_vector kv[1]; member
151 #define tn_bits kv[0].bits
154 #define TNODE_SIZE(n) offsetof(struct tnode, kv[0].tnode[n])
179 struct key_vector kv[1]; member
198 static inline struct tnode *tn_info(struct key_vector *kv) in tn_info() argument
200 return container_of(kv, struct tnode, kv[0]); in tn_info()
228 #define get_cindex(key, kv) (((key) ^ (kv)->key) >> (kv)->pos) argument
230 static inline unsigned long get_index(t_key key, struct key_vector *kv) in get_index() argument
232 unsigned long index = key ^ kv->key; in get_index()
234 if ((BITS_PER_LONG <= KEYLENGTH) && (KEYLENGTH == kv->pos)) in get_index()
[all …]
/Linux-v4.19/arch/arc/mm/
Dhighmem.c87 void __kunmap_atomic(void *kv) in __kunmap_atomic() argument
89 unsigned long kvaddr = (unsigned long)kv; in __kunmap_atomic()
/Linux-v4.19/drivers/media/usb/pvrusb2/
Dpvrusb2-ctrl.c432 int mask,val,kv,mode,ret; in parse_tlist() local
456 if (parse_mtoken(ptr,cnt,&kv,names,valid_bits)) { in parse_tlist()
465 val |= kv; in parse_tlist()
468 mask |= kv; in parse_tlist()
469 val &= ~kv; in parse_tlist()
472 mask |= kv; in parse_tlist()
473 val |= kv; in parse_tlist()
/Linux-v4.19/net/9p/
Dclient.c2070 struct kvec kv = {.iov_base = data, .iov_len = count}; in p9_client_readdir() local
2073 iov_iter_kvec(&to, READ | ITER_KVEC, &kv, 1, count); in p9_client_readdir()
/Linux-v4.19/drivers/gpu/drm/radeon/
Dsi_dpm.c1773 s64 kt, kv, leakage_w, i_leakage, vddc; in si_calculate_leakage_for_v_and_t_formula() local
1790 kv = drm_fixp_mul(av, drm_fixp_exp(drm_fixp_mul(bv, vddc))); in si_calculate_leakage_for_v_and_t_formula()
1792 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()
1811 s64 kt, kv, leakage_w, i_leakage, vddc; in si_calculate_leakage_for_v_formula() local
1817 kv = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->av), 100000000), in si_calculate_leakage_for_v_formula()
1820 leakage_w = drm_fixp_mul(drm_fixp_mul(drm_fixp_mul(i_leakage, kt), kv), vddc); in si_calculate_leakage_for_v_formula()
Dni_dpm.c745 s64 kt, kv, leakage_w, i_leakage, vddc, temperature; in ni_calculate_leakage_for_v_and_t_formula() local
753 kv = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->av), 1000), in ni_calculate_leakage_for_v_and_t_formula()
756 leakage_w = drm_fixp_mul(drm_fixp_mul(drm_fixp_mul(i_leakage, kt), kv), vddc); in ni_calculate_leakage_for_v_and_t_formula()
/Linux-v4.19/net/core/
Dskbuff.c2294 struct kvec kv; in skb_send_sock_locked() local
2298 kv.iov_base = skb->data + offset; in skb_send_sock_locked()
2299 kv.iov_len = slen; in skb_send_sock_locked()
2302 ret = kernel_sendmsg_locked(sk, &msg, &kv, 1, slen); in skb_send_sock_locked()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Dsi_dpm.c1864 s64 kt, kv, leakage_w, i_leakage, vddc; in si_calculate_leakage_for_v_and_t_formula() local
1881 kv = drm_fixp_mul(av, drm_fixp_exp(drm_fixp_mul(bv, vddc))); in si_calculate_leakage_for_v_and_t_formula()
1883 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()
1902 s64 kt, kv, leakage_w, i_leakage, vddc; in si_calculate_leakage_for_v_formula() local
1908 kv = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->av), 100000000), in si_calculate_leakage_for_v_formula()
1911 leakage_w = drm_fixp_mul(drm_fixp_mul(drm_fixp_mul(i_leakage, kt), kv), vddc); in si_calculate_leakage_for_v_formula()