Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/net/ipv4/
Dfib_trie.c114 struct key_vector kv[1]; member
115 #define tn_bits kv[0].bits
118 #define TNODE_SIZE(n) offsetof(struct tnode, kv[0].tnode[n])
143 struct key_vector kv[1]; member
162 static inline struct tnode *tn_info(struct key_vector *kv) in tn_info() argument
164 return container_of(kv, struct tnode, kv[0]); in tn_info()
192 #define get_cindex(key, kv) (((key) ^ (kv)->key) >> (kv)->pos) argument
194 static inline unsigned long get_index(t_key key, struct key_vector *kv) in get_index() argument
196 unsigned long index = key ^ kv->key; in get_index()
198 if ((BITS_PER_LONG <= KEYLENGTH) && (KEYLENGTH == kv->pos)) in get_index()
[all …]
/linux-4.1.27/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.1.27/net/9p/
Dclient.c2055 struct kvec kv = {.iov_base = data, .iov_len = count}; in p9_client_readdir() local
2058 iov_iter_kvec(&to, READ | ITER_KVEC, &kv, 1, count); in p9_client_readdir()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dsi_dpm.c1772 s64 kt, kv, leakage_w, i_leakage, vddc; in si_calculate_leakage_for_v_and_t_formula() local
1789 kv = drm_fixp_mul(av, drm_fixp_exp(drm_fixp_mul(bv, vddc))); in si_calculate_leakage_for_v_and_t_formula()
1791 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()
1810 s64 kt, kv, leakage_w, i_leakage, vddc; in si_calculate_leakage_for_v_formula() local
1816 kv = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->av), 100000000), in si_calculate_leakage_for_v_formula()
1819 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()