Home
last modified time | relevance | path

Searched full:vs (Results 1 – 25 of 1088) sorted by relevance

12345678910>>...44

/linux/drivers/vhost/
H A Dscsi.c218 struct vhost_scsi *vs; member
305 static void vhost_scsi_init_inflight(struct vhost_scsi *vs, in vhost_scsi_init_inflight() argument
312 for (i = 0; i < vs->dev.nvqs; i++) { in vhost_scsi_init_inflight()
313 vq = &vs->vqs[i].vq; in vhost_scsi_init_inflight()
318 idx = vs->vqs[i].inflight_idx; in vhost_scsi_init_inflight()
320 old_inflight[i] = &vs->vqs[i].inflights[idx]; in vhost_scsi_init_inflight()
323 vs->vqs[i].inflight_idx = idx ^ 1; in vhost_scsi_init_inflight()
324 new_inflight = &vs->vqs[i].inflights[idx ^ 1]; in vhost_scsi_init_inflight()
422 struct vhost_scsi *vs = svq->vs; in vhost_scsi_release_cmd_res() local
441 sg_free_table_chained(&tv_cmd->table, vs->inline_sg_cnt); in vhost_scsi_release_cmd_res()
[all …]
/linux/sound/virtio/
H A Dvirtio_chmap.c86 struct virtio_pcm_stream *vs; in virtsnd_chmap_parse_cfg() local
94 vs = &vpcm->streams[SNDRV_PCM_STREAM_PLAYBACK]; in virtsnd_chmap_parse_cfg()
97 vs = &vpcm->streams[SNDRV_PCM_STREAM_CAPTURE]; in virtsnd_chmap_parse_cfg()
106 vs->nchmaps++; in virtsnd_chmap_parse_cfg()
116 * @vs: VirtIO PCM stream.
122 struct virtio_pcm_stream *vs) in virtsnd_chmap_add_ctls() argument
127 for (i = 0; i < vs->nchmaps; i++) in virtsnd_chmap_add_ctls()
128 if (max_channels < vs->chmaps[i].channels) in virtsnd_chmap_add_ctls()
129 max_channels = vs->chmaps[i].channels; in virtsnd_chmap_add_ctls()
131 return snd_pcm_add_chmap_ctls(pcm, direction, vs->chmaps, max_channels, in virtsnd_chmap_add_ctls()
[all …]
/linux/arch/arm/vfp/
H A Dvfpsingle.c54 static void vfp_single_normalise_denormal(struct vfp_single *vs) in vfp_single_normalise_denormal() argument
56 int bits = 31 - fls(vs->significand); in vfp_single_normalise_denormal()
58 vfp_single_dump("normalise_denormal: in", vs); in vfp_single_normalise_denormal()
61 vs->exponent -= bits - 1; in vfp_single_normalise_denormal()
62 vs->significand <<= bits; in vfp_single_normalise_denormal()
65 vfp_single_dump("normalise_denormal: out", vs); in vfp_single_normalise_denormal()
70 u32 __vfp_single_normaliseround(int sd, struct vfp_single *vs, u32 fpscr, u32 exceptions) in __vfp_single_normaliseround() argument
72 u32 vfp_single_normaliseround(int sd, struct vfp_single *vs, u32 fpscr, u32 exceptions, const char … in __vfp_single_normaliseround()
78 vfp_single_dump("pack: in", vs); in __vfp_single_normaliseround()
83 if (vs->exponent == 255 && (vs->significand == 0 || exceptions)) in __vfp_single_normaliseround()
[all …]
/linux/arch/mips/math-emu/
H A Dieee754int.h54 #define EXPLODESP(v, vc, vs, ve, vm) \ argument
56 vs = SPSIGN(v); \
92 #define EXPLODEDP(v, vc, vs, ve, vm) \ argument
95 vs = DPSIGN(v); \
120 #define FLUSHDP(v, vc, vs, ve, vm) \ argument
127 v = ieee754dp_zero(vs); \
131 #define FLUSHSP(v, vc, vs, ve, vm) \ argument
138 v = ieee754sp_zero(vs); \
/linux/security/selinux/ss/
H A Dconstraint.h37 #define CEXPR_L1L2 32 /* low level 1 vs. low level 2 */
38 #define CEXPR_L1H2 64 /* low level 1 vs. high level 2 */
39 #define CEXPR_H1L2 128 /* high level 1 vs. low level 2 */
40 #define CEXPR_H1H2 256 /* high level 1 vs. high level 2 */
41 #define CEXPR_L1H1 512 /* low level 1 vs. high level 1 */
42 #define CEXPR_L2H2 1024 /* low level 2 vs. high level 2 */
/linux/net/lapb/
H A Dlapb_out.c48 frame[0] |= lapb->vs << 1; in lapb_send_iframe()
57 *frame |= lapb->vs << 1; in lapb_send_iframe()
61 lapb->dev, lapb->state, poll_bit, lapb->vs, lapb->vr); in lapb_send_iframe()
72 start = !skb_peek(&lapb->ack_queue) ? lapb->va : lapb->vs; in lapb_kick()
77 lapb->vs = start; in lapb_kick()
99 lapb->vs = (lapb->vs + 1) % modulus; in lapb_kick()
106 } while (lapb->vs != end && (skb = skb_dequeue(&lapb->write_queue)) != NULL); in lapb_kick()
191 if (lapb->vs == nr) { in lapb_check_iframes_acked()
/linux/arch/riscv/kvm/
H A Daia_imsic.c45 * 1) Hardware: IMSIC VS-file (vsfile_cpu >= 0)
49 /* IMSIC VS-file */
427 /* We can only read clear if we have a IMSIC VS-file */ in imsic_vsfile_read()
497 /* We can only access register if we have a IMSIC VS-file */ in imsic_vsfile_rw()
525 /* We can only zero-out if we have a IMSIC VS-file */ in imsic_vsfile_local_clear()
688 * only check for interrupt when IMSIC VS-file is being used. in kvm_riscv_vcpu_aia_imsic_has_interrupt()
741 /* Read and clear IMSIC VS-file details */ in kvm_riscv_vcpu_aia_imsic_release()
750 /* Do nothing, if no IMSIC VS-file to release */ in kvm_riscv_vcpu_aia_imsic_release()
756 * the old IMSIC VS-file so we first re-direct all interrupt in kvm_riscv_vcpu_aia_imsic_release()
769 * VS-file to the IMSIC SW-file. in kvm_riscv_vcpu_aia_imsic_release()
[all …]
/linux/kernel/futex/
H A Dwaitwake.c388 * @vs: The futex list to wait on
402 int futex_wait_multiple_setup(struct futex_vector *vs, int count, int *woken) in futex_wait_multiple_setup() argument
430 if (!(vs[i].w.flags & FLAGS_SHARED) && retry) in futex_wait_multiple_setup()
433 ret = get_futex_key(u64_to_user_ptr(vs[i].w.uaddr), in futex_wait_multiple_setup()
434 vs[i].w.flags, in futex_wait_multiple_setup()
435 &vs[i].q.key, FUTEX_READ); in futex_wait_multiple_setup()
444 u32 __user *uaddr = (u32 __user *)(unsigned long)vs[i].w.uaddr; in futex_wait_multiple_setup()
445 struct futex_q *q = &vs[i].q; in futex_wait_multiple_setup()
446 u32 val = vs[i].w.val; in futex_wait_multiple_setup()
473 *woken = futex_unqueue_multiple(vs, i); in futex_wait_multiple_setup()
[all …]
/linux/net/rose/
H A Drose_out.c38 skb->data[2] |= (rose->vs << 1) & 0x0E; in rose_send_iframe()
60 start = (skb_peek(&rose->ack_queue) == NULL) ? rose->va : rose->vs; in rose_kick()
66 rose->vs = start; in rose_kick()
88 rose->vs = (rose->vs + 1) % ROSE_MODULUS; in rose_kick()
95 } while (rose->vs != end && in rose_kick()
H A Drose_in.c46 rose->vs = 0; in rose_state1_machine()
114 rose->vs = 0; in rose_state3_machine()
132 rose->vs = 0; in rose_state3_machine()
154 rose->vs = 0; in rose_state3_machine()
174 rose->vs = 0; in rose_state3_machine()
228 rose->vs = 0; in rose_state4_machine()
/linux/tools/perf/tests/
H A Dpmu-events.c263 pr_debug2("testing event e1 %s: mismatched name string, %s vs %s\n", in compare_pmu_events()
269 pr_debug2("testing event e1 %s: mismatched compat string, %s vs %s\n", in compare_pmu_events()
275 pr_debug2("testing event e1 %s: mismatched event, %s vs %s\n", in compare_pmu_events()
281 pr_debug2("testing event e1 %s: mismatched desc, %s vs %s\n", in compare_pmu_events()
287 pr_debug2("testing event e1 %s: mismatched topic, %s vs %s\n", in compare_pmu_events()
293 pr_debug2("testing event e1 %s: mismatched long_desc, %s vs %s\n", in compare_pmu_events()
299 pr_debug2("testing event e1 %s: mismatched pmu string, %s vs %s\n", in compare_pmu_events()
305 pr_debug2("testing event e1 %s: mismatched unit, %s vs %s\n", in compare_pmu_events()
311 pr_debug2("testing event e1 %s: mismatched perpkg, %d vs %d\n", in compare_pmu_events()
317 pr_debug2("testing event e1 %s: mismatched deprecated, %d vs %d\n", in compare_pmu_events()
[all …]
/linux/net/x25/
H A Dx25_out.c124 skb->data[2] = (x25->vs << 1) & 0xFE; in x25_send_iframe()
129 skb->data[2] |= (x25->vs << 1) & 0x0E; in x25_send_iframe()
164 start = skb_peek(&x25->ack_queue) ? x25->vs : x25->va; in x25_kick()
170 x25->vs = start; in x25_kick()
192 x25->vs = (x25->vs + 1) % modulus; in x25_kick()
199 } while (x25->vs != end && in x25_kick()
/linux/drivers/hwmon/pmbus/
H A Dibm-cffps.c485 enum versions vs = cffps_unknown; in ibm_cffps_probe() local
492 vs = (uintptr_t)md; in ibm_cffps_probe()
496 vs = (enum versions)id->driver_data; in ibm_cffps_probe()
499 if (vs == cffps_unknown) { in ibm_cffps_probe()
521 vs = cffps1; in ibm_cffps_probe()
523 vs = cffps2; in ibm_cffps_probe()
526 vs = cffps2; in ibm_cffps_probe()
530 vs = cffps1; in ibm_cffps_probe()
532 vs = cffps2; in ibm_cffps_probe()
537 snprintf(client->name, I2C_NAME_SIZE, "cffps%d", vs + 1); in ibm_cffps_probe()
[all …]
/linux/net/netrom/
H A Dnr_out.c88 skb->data[2] = nr->vs; in nr_send_iframe()
139 start = (skb_peek(&nr->ack_queue) == NULL) ? nr->va : nr->vs; in nr_kick()
145 nr->vs = start; in nr_kick()
170 nr->vs = (nr->vs + 1) % NR_MODULUS; in nr_kick()
177 } while (nr->vs != end && in nr_kick()
262 if (nrom->vs == nr) { in nr_check_iframes_acked()
/linux/drivers/video/fbdev/omap/
H A Dsossi.c387 int hs, vs; in sossi_setup_tearsync() local
394 vs = ps_to_sossi_ticks(vs_pulse_time, div); in sossi_setup_tearsync()
395 if (vs < 8 || vs <= hs || vs >= (1 << 12)) in sossi_setup_tearsync()
397 vs /= 8; in sossi_setup_tearsync()
398 vs--; in sossi_setup_tearsync()
405 "setup_tearsync: hs %d vs %d hs_inv %d vs_inv %d\n", in sossi_setup_tearsync()
406 hs, vs, hs_pol_inv, vs_pol_inv); in sossi_setup_tearsync()
411 l |= vs << 3; in sossi_setup_tearsync()
436 mode = 2; /* HS or VS */ in sossi_enable_tearsync()
438 mode = 3; /* VS only */ in sossi_enable_tearsync()
H A Dhwa742.c793 int hs, vs; in setup_tearsync() local
835 * HS and VS in setup_tearsync()
839 /* decent transfer speed, we'll always use only VS */ in setup_tearsync()
844 * HS or'ed with VS doesn't work, use the active high in setup_tearsync()
851 vs = vndp; in setup_tearsync()
854 * Use HS or'ed with VS as a TE signal if both are needed in setup_tearsync()
859 vs = vsw; in setup_tearsync()
869 vs = vs * (hdisp + hndp) * 1000000 / (pix_clk / 1000); /* ps */ in setup_tearsync()
870 vs *= 1000; in setup_tearsync()
872 if (vs <= hs) in setup_tearsync()
[all …]
/linux/drivers/net/vxlan/
H A Dvxlan_core.c74 static inline bool vxlan_collect_metadata(struct vxlan_sock *vs) in vxlan_collect_metadata() argument
76 return vs->flags & VXLAN_F_COLLECT_METADATA || in vxlan_collect_metadata()
87 struct vxlan_sock *vs; in vxlan_find_sock() local
91 hlist_for_each_entry_rcu(vs, vs_head(net, port), hlist) { in vxlan_find_sock()
92 if (inet_sk(vs->sock->sk)->inet_sport == port && in vxlan_find_sock()
93 vxlan_get_sk_family(vs) == family && in vxlan_find_sock()
94 vs->flags == flags && in vxlan_find_sock()
95 vs->sock->sk->sk_bound_dev_if == ifindex) in vxlan_find_sock()
96 return vs; in vxlan_find_sock()
101 static struct vxlan_dev *vxlan_vs_find_vni(struct vxlan_sock *vs, in vxlan_vs_find_vni() argument
[all …]
H A Dvxlan_vnifilter.c44 struct vxlan_sock *vs; in vxlan_vs_add_del_vninode() local
59 vs = rtnl_dereference(vxlan->vn6_sock); in vxlan_vs_add_del_vninode()
60 if (vs && v) { in vxlan_vs_add_del_vninode()
62 hlist_add_head_rcu(&node->hlist, vni_head(vs, v->vni)); in vxlan_vs_add_del_vninode()
65 vs = rtnl_dereference(vxlan->vn4_sock); in vxlan_vs_add_del_vninode()
66 if (vs && v) { in vxlan_vs_add_del_vninode()
68 hlist_add_head_rcu(&node->hlist, vni_head(vs, v->vni)); in vxlan_vs_add_del_vninode()
73 struct vxlan_sock *vs, in vxlan_vs_add_vnigrp() argument
93 hlist_add_head_rcu(&node->hlist, vni_head(vs, v->vni)); in vxlan_vs_add_vnigrp()
253 u32 vs = be32_to_cpu(vbegin->vni); in vxlan_fill_vni_filter_entry() local
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dspin_lock.c20 "; R1=map_value(map=.data.A,ks=4,vs=4)\n2: (85) call bpf_this_cpu_ptr#154\n"
24 " R0=map_value(id=1,map=array_map,ks=4,vs=8)"
25 " R1=map_value(id=1,map=array_map,ks=4,vs=8)\n"
30 " R0=map_value(id=2,ks=4,vs=8)"
31 " R1=map_value(id=2,ks=4,vs=8)\n"
H A Dstacktrace_map_skip.c46 if (!ASSERT_OK(err, "compare_map_keys stackid_hmap vs. stackmap")) in test_stacktrace_map_skip()
50 if (!ASSERT_OK(err, "compare_map_keys stackmap vs. stackid_hmap")) in test_stacktrace_map_skip()
55 if (!ASSERT_OK(err, "compare_stack_ips stackmap vs. stack_amap")) in test_stacktrace_map_skip()
H A Dstacktrace_map.c37 if (CHECK(err, "compare_map_keys stackid_hmap vs. stackmap", in test_stacktrace_map()
42 if (CHECK(err, "compare_map_keys stackmap vs. stackid_hmap", in test_stacktrace_map()
48 if (CHECK(err, "compare_stack_ips stackmap vs. stack_amap", in test_stacktrace_map()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
H A Dnv40.c162 int ret, vs; in nv40_instmem_oneinit() local
168 vs = hweight8((nvkm_rd32(device, 0x001540) & 0x0000ff00) >> 8); in nv40_instmem_oneinit()
169 if (device->chipset == 0x40) imem->base.reserved = 0x6aa0 * vs; in nv40_instmem_oneinit()
170 else if (device->chipset < 0x43) imem->base.reserved = 0x4f00 * vs; in nv40_instmem_oneinit()
171 else if (nv44_gr_class(device)) imem->base.reserved = 0x4980 * vs; in nv40_instmem_oneinit()
172 else imem->base.reserved = 0x4a40 * vs; in nv40_instmem_oneinit()
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dtdls.h103 * @tx_to_peer_tid: TID reserved vs. the peer for FW based Tx
104 * @tx_to_peer_ssn: initial SSN the FW should use for Tx on its TID vs the peer
119 * @tx_to_ap_tid: TID reverved vs. the AP for FW based Tx
120 * @tx_to_ap_ssn: initial SSN the FW should use for Tx on its TID vs. the AP
/linux/net/llc/
H A Dllc_c_ev.c507 const u8 vs = llc_sk(sk)->vS; in llc_conn_ev_rx_zzz_cmd_pbit_set_x_inval_nr() local
512 nr != vs && llc_util_nr_inside_tx_window(sk, nr)) { in llc_conn_ev_rx_zzz_cmd_pbit_set_x_inval_nr()
513 dprintk("%s: matched, state=%d, vs=%d, nr=%d\n", in llc_conn_ev_rx_zzz_cmd_pbit_set_x_inval_nr()
514 __func__, llc_sk(sk)->state, vs, nr); in llc_conn_ev_rx_zzz_cmd_pbit_set_x_inval_nr()
525 const u8 vs = llc_sk(sk)->vS; in llc_conn_ev_rx_zzz_rsp_fbit_set_x_inval_nr() local
530 nr != vs && llc_util_nr_inside_tx_window(sk, nr)) { in llc_conn_ev_rx_zzz_rsp_fbit_set_x_inval_nr()
532 dprintk("%s: matched, state=%d, vs=%d, nr=%d\n", in llc_conn_ev_rx_zzz_rsp_fbit_set_x_inval_nr()
533 __func__, llc_sk(sk)->state, vs, nr); in llc_conn_ev_rx_zzz_rsp_fbit_set_x_inval_nr()
/linux/drivers/isdn/mISDN/
H A Dlayer2.c375 p1 = (l2->vs - l2->va) % 128; in cansend()
377 p1 = (l2->vs - l2->va) % 8; in cansend()
586 return ((nr - l2->va) % 128) <= ((l2->vs - l2->va) % 128); in legalnr()
588 return ((nr - l2->va) % 8) <= ((l2->vs - l2->va) % 8); in legalnr()
912 l2->vs = 0; in l2_start_multi()
955 if (l2->vs != l2->va) { in l2_restart_multi()
961 l2->vs = 0; in l2_restart_multi()
1013 } else if (l2->vs != l2->va) { in l2_connected()
1019 l2->vs = 0; in l2_connected()
1159 if (l2->vs != nr) { in invoke_retransmission()
[all …]

12345678910>>...44