Home
last modified time | relevance | path

Searched refs:vs (Results 1 – 25 of 186) sorted by relevance

12345678

/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()
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()
146 struct virtio_pcm_stream *vs; in virtsnd_chmap_build_devs() local
[all …]
H A Dvirtio_pcm.c462 struct virtio_pcm_stream *vs; in virtsnd_pcm_build_devs() local
469 vs = &vpcm->streams[vss->direction]; in virtsnd_pcm_build_devs()
470 vs->substreams[vs->nsubstreams++] = vss; in virtsnd_pcm_build_devs()
475 struct virtio_pcm_stream *vs = &vpcm->streams[i]; in virtsnd_pcm_build_devs() local
479 if (!vs->nsubstreams) in virtsnd_pcm_build_devs()
483 vs->substreams[kss->number]->substream = kss; in virtsnd_pcm_build_devs()
/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/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()
H A Dlapb_subr.c93 while (vc != lapb->vs) { in lapb_validate_nr()
99 return nr == lapb->vs; in lapb_validate_nr()
273 *dptr++ = (lapb->vs << 1) & 0xFE; in lapb_transmit_frmr()
287 *dptr = (lapb->vs << 1) & 0x0E; in lapb_transmit_frmr()
H A Dlapb_in.c61 lapb->vs = 0; in lapb_state0_machine()
81 lapb->vs = 0; in lapb_state0_machine()
159 lapb->vs = 0; in lapb_state1_machine()
270 lapb->vs = 0; in lapb_state3_machine()
288 lapb->vs = 0; in lapb_state3_machine()
494 lapb->vs = 0; in lapb_state4_machine()
514 lapb->vs = 0; in lapb_state4_machine()
/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/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()
H A Dx25_in.c101 x25->vs = 0; in x25_state1_machine()
225 x25->vs = 0; in x25_state3_machine()
247 x25->vs = 0; in x25_state3_machine()
269 x25->vs = 0; in x25_state3_machine()
287 x25->vs = 0; in x25_state3_machine()
361 x25->vs = 0; in x25_state4_machine()
/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/vxlan/
H A Dvxlan_core.c73 static inline bool vxlan_collect_metadata(struct vxlan_sock *vs) in vxlan_collect_metadata() argument
75 return vs->flags & VXLAN_F_COLLECT_METADATA || in vxlan_collect_metadata()
86 struct vxlan_sock *vs; in vxlan_find_sock() local
90 hlist_for_each_entry_rcu(vs, vs_head(net, port), hlist) { in vxlan_find_sock()
91 if (inet_sk(vs->sock->sk)->inet_sport == port && in vxlan_find_sock()
92 vxlan_get_sk_family(vs) == family && in vxlan_find_sock()
93 vs->flags == flags && in vxlan_find_sock()
94 vs->sock->sk->sk_bound_dev_if == ifindex) in vxlan_find_sock()
95 return vs; in vxlan_find_sock()
100 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/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()
406 hs, vs, hs_pol_inv, vs_pol_inv); in sossi_setup_tearsync()
411 l |= vs << 3; in sossi_setup_tearsync()
/linux/Documentation/translations/zh_TW/admin-guide/
H A Dsecurity-bugs.rst59 <linux-distros@vs.openwall.org>進行協調,以便分發供應商做好準備,在公開披露
63 記住在電子郵件主題行前面加上“[vs]”,如linux發行版wiki中所述:
/linux/fs/afs/
H A Dsuper.c722 struct afs_volume_status *vs = &op->volstatus.vs; in afs_get_volume_status_success() local
725 if (vs->max_quota == 0) in afs_get_volume_status_success()
726 buf->f_blocks = vs->part_max_blocks; in afs_get_volume_status_success()
728 buf->f_blocks = vs->max_quota; in afs_get_volume_status_success()
730 if (buf->f_blocks > vs->blocks_in_use) in afs_get_volume_status_success()
732 buf->f_blocks - vs->blocks_in_use; in afs_get_volume_status_success()
H A Dfsclient.c214 struct afs_volume_status *vs) in xdr_decode_AFSFetchVolumeStatus() argument
218 vs->vid = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
219 vs->parent_id = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
220 vs->online = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
221 vs->in_service = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
222 vs->blessed = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
223 vs->needs_salvage = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
224 vs->type = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
225 vs->min_quota = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
226 vs->max_quota = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
[all …]
H A Dyfsclient.c304 struct afs_volume_status *vs) in xdr_decode_YFSFetchVolumeStatus() argument
309 vs->vid = xdr_to_u64(x->vid); in xdr_decode_YFSFetchVolumeStatus()
310 vs->parent_id = xdr_to_u64(x->parent_id); in xdr_decode_YFSFetchVolumeStatus()
312 vs->online = flags & yfs_FVSOnline; in xdr_decode_YFSFetchVolumeStatus()
313 vs->in_service = flags & yfs_FVSInservice; in xdr_decode_YFSFetchVolumeStatus()
314 vs->blessed = flags & yfs_FVSBlessed; in xdr_decode_YFSFetchVolumeStatus()
315 vs->needs_salvage = flags & yfs_FVSNeedsSalvage; in xdr_decode_YFSFetchVolumeStatus()
316 vs->type = ntohl(x->type); in xdr_decode_YFSFetchVolumeStatus()
317 vs->min_quota = 0; in xdr_decode_YFSFetchVolumeStatus()
318 vs->max_quota = xdr_to_u64(x->max_quota); in xdr_decode_YFSFetchVolumeStatus()
[all …]
/linux/arch/mips/kvm/
H A Dmips.c653 s64 vs[2]; in kvm_mips_get_reg() local
714 vs[0] = get_fpr64(&fpu->fpr[idx], 0); in kvm_mips_get_reg()
715 vs[1] = get_fpr64(&fpu->fpr[idx], 1); in kvm_mips_get_reg()
718 vs[0] = get_fpr64(&fpu->fpr[idx], 1); in kvm_mips_get_reg()
719 vs[1] = get_fpr64(&fpu->fpr[idx], 0); in kvm_mips_get_reg()
752 return copy_to_user(uaddr, vs, 16) ? -EFAULT : 0; in kvm_mips_get_reg()
764 s64 vs[2]; in kvm_mips_set_reg() local
782 return copy_from_user(vs, uaddr, 16) ? -EFAULT : 0; in kvm_mips_set_reg()
845 set_fpr64(&fpu->fpr[idx], 0, vs[0]); in kvm_mips_set_reg()
846 set_fpr64(&fpu->fpr[idx], 1, vs[1]); in kvm_mips_set_reg()
[all …]
/linux/Documentation/translations/zh_CN/core-api/
H A Drefcount-vs-atomic.rst3 :Original: Documentation/core-api/refcount-vs-atomic.rst
9 .. _cn_refcount-vs-atomic:
/linux/net/dcb/
H A DKconfig13 requirements (highly reliable, no drops vs. best effort vs. low
/linux/drivers/net/
H A Dveth.c57 struct veth_stats vs; member
208 const void *stats_base = (void *)&rq_stats->vs; in veth_get_ethtool_stats()
229 const void *base = (void *)&rq_stats->vs; in veth_get_ethtool_stats()
437 peer_tq_xdp_xmit_err = stats->vs.peer_tq_xdp_xmit_err; in veth_stats_rx()
438 xdp_tx_err = stats->vs.xdp_tx_err; in veth_stats_rx()
439 packets = stats->vs.xdp_packets; in veth_stats_rx()
440 bytes = stats->vs.xdp_bytes; in veth_stats_rx()
441 drops = stats->vs.rx_drops; in veth_stats_rx()
549 rq->stats.vs.peer_tq_xdp_xmit += nxmit; in veth_xdp_xmit()
550 rq->stats.vs.peer_tq_xdp_xmit_err += n - nxmit; in veth_xdp_xmit()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Ddp.c207 nvbios_dpcfg_match(struct nvkm_bios *bios, u16 outp, u8 pc, u8 vs, u8 pe, in nvbios_dpcfg_match() argument
216 idx = (pc * 10) + vsoff[vs] + pe; in nvbios_dpcfg_match()
225 if (nvbios_rd08(bios, data + 0x00) == vs && in nvbios_dpcfg_match()
/linux/drivers/video/fbdev/
H A Dasiliantfb.c180 unsigned vs = p->var.yres + p->var.lower_margin; in asiliant_set_timing() local
204 write_cr(0x10, (vs - 1) & 0xff); in asiliant_set_timing()
205 write_cr(0x32, ((vs - 1) >> 8) & 0xf); in asiliant_set_timing()
211 write_cr(0x15, (vs - 1) & 0xff); in asiliant_set_timing()
212 write_cr(0x33, ((vs - 1) >> 8) & 0xf); in asiliant_set_timing()
/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()
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()
533 __func__, llc_sk(sk)->state, vs, nr); in llc_conn_ev_rx_zzz_rsp_fbit_set_x_inval_nr()
/linux/tools/testing/selftests/rcutorture/bin/
H A Dkvm-test-1-run-qemu.sh110 echo Completed in $kruntime vs. $seconds >> $resdir/Warnings 2>&1
171 echo "!!! PID $qemu_pid hung at $kruntime vs. $seconds seconds `date`" >> $resdir/Warnings 2>&1

12345678