Home
last modified time | relevance | path

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

/linux-4.4.14/virt/kvm/
Dvfio.c88 struct kvm_vfio *kv = dev->private; in kvm_vfio_update_coherency() local
92 mutex_lock(&kv->lock); in kvm_vfio_update_coherency()
94 list_for_each_entry(kvg, &kv->group_list, node) { in kvm_vfio_update_coherency()
101 if (noncoherent != kv->noncoherent) { in kvm_vfio_update_coherency()
102 kv->noncoherent = noncoherent; in kvm_vfio_update_coherency()
104 if (kv->noncoherent) in kvm_vfio_update_coherency()
110 mutex_unlock(&kv->lock); in kvm_vfio_update_coherency()
115 struct kvm_vfio *kv = dev->private; in kvm_vfio_set_group() local
138 mutex_lock(&kv->lock); in kvm_vfio_set_group()
140 list_for_each_entry(kvg, &kv->group_list, node) { in kvm_vfio_set_group()
[all …]
/linux-4.4.14/net/ipv4/
Dfib_trie.c116 struct key_vector kv[1]; member
117 #define tn_bits kv[0].bits
120 #define TNODE_SIZE(n) offsetof(struct tnode, kv[0].tnode[n])
145 struct key_vector kv[1]; member
164 static inline struct tnode *tn_info(struct key_vector *kv) in tn_info() argument
166 return container_of(kv, struct tnode, kv[0]); in tn_info()
194 #define get_cindex(key, kv) (((key) ^ (kv)->key) >> (kv)->pos) argument
196 static inline unsigned long get_index(t_key key, struct key_vector *kv) in get_index() argument
198 unsigned long index = key ^ kv->key; in get_index()
200 if ((BITS_PER_LONG <= KEYLENGTH) && (KEYLENGTH == kv->pos)) in get_index()
[all …]
/linux-4.4.14/arch/arc/mm/
Dhighmem.c86 void __kunmap_atomic(void *kv) in __kunmap_atomic() argument
88 unsigned long kvaddr = (unsigned long)kv; in __kunmap_atomic()
/linux-4.4.14/drivers/media/usb/pvrusb2/
Dpvrusb2-ctrl.c436 int mask,val,kv,mode,ret; in parse_tlist() local
460 if (parse_mtoken(ptr,cnt,&kv,names,valid_bits)) { in parse_tlist()
469 val |= kv; in parse_tlist()
472 mask |= kv; in parse_tlist()
473 val &= ~kv; in parse_tlist()
476 mask |= kv; in parse_tlist()
477 val |= kv; in parse_tlist()
/linux-4.4.14/net/9p/
Dclient.c2063 struct kvec kv = {.iov_base = data, .iov_len = count}; in p9_client_readdir() local
2066 iov_iter_kvec(&to, READ | ITER_KVEC, &kv, 1, count); in p9_client_readdir()
/linux-4.4.14/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()