Home
last modified time | relevance | path

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

12345678

/linux/drivers/vhost/
H A Dscsi.c248 struct vhost_scsi *vs; member
335 static void vhost_scsi_init_inflight(struct vhost_scsi *vs, in vhost_scsi_init_inflight() argument
342 for (i = 0; i < vs->dev.nvqs; i++) { in vhost_scsi_init_inflight()
343 vq = &vs->vqs[i].vq; in vhost_scsi_init_inflight()
348 idx = vs->vqs[i].inflight_idx; in vhost_scsi_init_inflight()
350 old_inflight[i] = &vs->vqs[i].inflights[idx]; in vhost_scsi_init_inflight()
353 vs->vqs[i].inflight_idx = idx ^ 1; in vhost_scsi_init_inflight()
354 new_inflight = &vs->vqs[i].inflights[idx ^ 1]; in vhost_scsi_init_inflight()
452 struct vhost_scsi *vs = svq->vs; in vhost_scsi_release_cmd_res() local
562 vhost_scsi_free_evt(struct vhost_scsi * vs,struct vhost_scsi_evt * evt) vhost_scsi_free_evt() argument
569 vhost_scsi_allocate_evt(struct vhost_scsi * vs,u32 event,u32 reason) vhost_scsi_allocate_evt() argument
600 vhost_scsi_do_evt_work(struct vhost_scsi * vs,struct vhost_scsi_evt * evt) vhost_scsi_do_evt_work() argument
663 vhost_scsi_complete_events(struct vhost_scsi * vs,bool drop) vhost_scsi_complete_events() argument
681 struct vhost_scsi *vs = container_of(work, struct vhost_scsi, vhost_scsi_evt_work() local
996 vhost_scsi_mapal(struct vhost_scsi * vs,struct vhost_scsi_cmd * cmd,size_t prot_bytes,struct iov_iter * prot_iter,size_t data_bytes,struct iov_iter * data_iter,int data_dir) vhost_scsi_mapal() argument
1109 vhost_scsi_send_status(struct vhost_scsi * vs,struct vhost_virtqueue * vq,struct vhost_scsi_ctx * vc,u8 status) vhost_scsi_send_status() argument
1135 vhost_scsi_send_bad_target(struct vhost_scsi * vs,struct vhost_virtqueue * vq,struct vhost_scsi_ctx * vc,int type) vhost_scsi_send_bad_target() argument
1173 vhost_scsi_get_desc(struct vhost_scsi * vs,struct vhost_virtqueue * vq,struct vhost_scsi_ctx * vc,struct vhost_log * log,unsigned int * log_num) vhost_scsi_get_desc() argument
1317 vhost_scsi_handle_vq(struct vhost_scsi * vs,struct vhost_virtqueue * vq) vhost_scsi_handle_vq() argument
1565 vhost_scsi_send_tmf_resp(struct vhost_scsi * vs,struct vhost_virtqueue * vq,int in_iovs,int vq_desc,struct iovec * resp_iov,int tmf_resp_code) vhost_scsi_send_tmf_resp() argument
1622 vhost_scsi_handle_tmf(struct vhost_scsi * vs,struct vhost_scsi_tpg * tpg,struct vhost_virtqueue * vq,struct virtio_scsi_ctrl_tmf_req * vtmf,struct vhost_scsi_ctx * vc,struct vhost_log * log,unsigned int log_num) vhost_scsi_handle_tmf() argument
1683 vhost_scsi_send_an_resp(struct vhost_scsi * vs,struct vhost_virtqueue * vq,struct vhost_scsi_ctx * vc) vhost_scsi_send_an_resp() argument
1705 vhost_scsi_ctl_handle_vq(struct vhost_scsi * vs,struct vhost_virtqueue * vq) vhost_scsi_ctl_handle_vq() argument
1830 struct vhost_scsi *vs = container_of(vq->dev, struct vhost_scsi, dev); vhost_scsi_ctl_handle_kick() local
1837 vhost_scsi_send_evt(struct vhost_scsi * vs,struct vhost_virtqueue * vq,struct vhost_scsi_tpg * tpg,struct se_lun * lun,u32 event,u32 reason) vhost_scsi_send_evt() argument
1869 struct vhost_scsi *vs = container_of(vq->dev, struct vhost_scsi, dev); vhost_scsi_evt_handle_kick() local
1886 struct vhost_scsi *vs = container_of(vq->dev, struct vhost_scsi, dev); vhost_scsi_handle_kick() local
1892 vhost_scsi_flush(struct vhost_scsi * vs) vhost_scsi_flush() argument
1961 struct vhost_scsi *vs = svq->vs; vhost_scsi_setup_vq_cmds() local
2019 vhost_scsi_set_endpoint(struct vhost_scsi * vs,struct vhost_scsi_target * t) vhost_scsi_set_endpoint() argument
2151 vhost_scsi_clear_endpoint(struct vhost_scsi * vs,struct vhost_scsi_target * t) vhost_scsi_clear_endpoint() argument
2256 vhost_scsi_set_features(struct vhost_scsi * vs,u64 features) vhost_scsi_set_features() argument
2321 struct vhost_scsi *vs; vhost_scsi_open() local
2385 struct vhost_scsi *vs = f->private_data; vhost_scsi_release() local
2406 struct vhost_scsi *vs = f->private_data; vhost_scsi_ioctl() local
2524 struct vhost_scsi *vs = tpg->vhost_scsi; vhost_scsi_do_plug() local
[all...]
/linux/sound/virtio/
H A Dvirtio_chmap.c85 struct virtio_pcm_stream *vs; in virtsnd_chmap_parse_cfg()
93 vs = &vpcm->streams[SNDRV_PCM_STREAM_PLAYBACK]; in virtsnd_chmap_parse_cfg()
96 vs = &vpcm->streams[SNDRV_PCM_STREAM_CAPTURE]; in virtsnd_chmap_parse_cfg()
105 vs->nchmaps++; in virtsnd_chmap_parse_cfg()
115 * @vs: VirtIO PCM stream.
121 struct virtio_pcm_stream *vs) in virtsnd_chmap_add_ctls()
126 for (i = 0; i < vs->nchmaps; i++) in virtsnd_chmap_add_ctls()
127 if (max_channels < vs->chmaps[i].channels) in virtsnd_chmap_add_ctls()
128 max_channels = vs->chmaps[i].channels; in virtsnd_chmap_add_ctls()
130 return snd_pcm_add_chmap_ctls(pcm, direction, vs in virtsnd_chmap_add_ctls()
86 struct virtio_pcm_stream *vs; virtsnd_chmap_parse_cfg() local
122 virtsnd_chmap_add_ctls(struct snd_pcm * pcm,int direction,struct virtio_pcm_stream * vs) virtsnd_chmap_add_ctls() argument
146 struct virtio_pcm_stream *vs; virtsnd_chmap_build_devs() local
[all...]
H A Dvirtio_pcm.c463 struct virtio_pcm_stream *vs; in virtsnd_pcm_build_devs()
470 vs = &vpcm->streams[vss->direction]; in virtsnd_pcm_build_devs()
471 vs->substreams[vs->nsubstreams++] = vss; in virtsnd_pcm_build_devs()
476 struct virtio_pcm_stream *vs = &vpcm->streams[i]; in virtsnd_pcm_build_devs()
480 if (!vs->nsubstreams) in virtsnd_pcm_build_devs()
484 vs->substreams[kss->number]->substream = kss; in virtsnd_pcm_build_devs()
462 struct virtio_pcm_stream *vs; virtsnd_pcm_build_devs() local
475 struct virtio_pcm_stream *vs = &vpcm->streams[i]; virtsnd_pcm_build_devs() local
/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->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->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
145 struct vxlan_sock *vs; vxlan_find_vni() local
662 struct vxlan_sock *vs; vxlan_gro_prepare_receive() local
1501 __vxlan_sock_release_prep(struct vxlan_sock * vs) __vxlan_sock_release_prep() argument
1601 vxlan_set_mac(struct vxlan_dev * vxlan,struct vxlan_sock * vs,struct sk_buff * skb,__be32 vni) vxlan_set_mac() argument
1633 vxlan_ecn_decapsulate(struct vxlan_sock * vs,void * oiph,struct sk_buff * skb) vxlan_ecn_decapsulate() argument
1662 struct vxlan_sock *vs; vxlan_rcv() local
1829 struct vxlan_sock *vs; vxlan_err_lookup() local
2919 vxlan_vs_add_dev(struct vxlan_sock * vs,struct vxlan_dev * vxlan,struct vxlan_dev_node * node) vxlan_vs_add_dev() argument
3348 struct vxlan_sock *vs; vxlan_offload_rx_ports() local
3611 struct vxlan_sock *vs; vxlan_socket_create() local
3663 struct vxlan_sock *vs = NULL; __vxlan_sock_add() local
[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()
254 u32 vs in vxlan_fill_vni_filter_entry()
253 u32 vs = be32_to_cpu(vbegin->vni); 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.c723 struct afs_volume_status *vs = &op->volstatus.vs; in afs_get_volume_status_success() local
726 if (vs->max_quota == 0) in afs_get_volume_status_success()
727 buf->f_blocks = vs->part_max_blocks; in afs_get_volume_status_success()
729 buf->f_blocks = vs->max_quota; in afs_get_volume_status_success()
731 if (buf->f_blocks > vs->blocks_in_use) in afs_get_volume_status_success()
733 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/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/arch/mips/kvm/
H A Dmips.c648 s64 vs[2]; in kvm_mips_get_reg()
709 vs[0] = get_fpr64(&fpu->fpr[idx], 0); in kvm_mips_get_reg()
710 vs[1] = get_fpr64(&fpu->fpr[idx], 1); in kvm_mips_get_reg()
713 vs[0] = get_fpr64(&fpu->fpr[idx], 1); in kvm_mips_get_reg()
714 vs[1] = get_fpr64(&fpu->fpr[idx], 0); in kvm_mips_get_reg()
747 return copy_to_user(uaddr, vs, 16) ? -EFAULT : 0; in kvm_mips_get_reg()
759 s64 vs[2]; in kvm_mips_set_reg()
777 return copy_from_user(vs, uaddr, 16) ? -EFAULT : 0; in kvm_mips_set_reg()
840 set_fpr64(&fpu->fpr[idx], 0, vs[0]); in kvm_mips_set_reg()
841 set_fpr64(&fpu->fpr[idx], 1, vs[ in kvm_mips_set_reg()
653 s64 vs[2]; kvm_mips_get_reg() local
764 s64 vs[2]; kvm_mips_set_reg() local
[all...]
/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
209 const void *stats_base = (void *)&rq_stats->vs; in veth_get_ethtool_stats()
230 const void *base = (void *)&rq_stats->vs; in veth_get_ethtool_stats()
443 peer_tq_xdp_xmit_err = stats->vs.peer_tq_xdp_xmit_err; in veth_stats_rx()
444 xdp_tx_err = stats->vs.xdp_tx_err; in veth_stats_rx()
445 packets = stats->vs.xdp_packets; in veth_stats_rx()
446 bytes = stats->vs.xdp_bytes; in veth_stats_rx()
447 drops = stats->vs.rx_drops; in veth_stats_rx()
555 rq->stats.vs.peer_tq_xdp_xmit += nxmit; in veth_xdp_xmit()
556 rq->stats.vs 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/drivers/scsi/fnic/
H A Dfnic_main.c264 struct vnic_stats *vs; in fnic_get_stats()
281 vs = fnic->stats; in fnic_get_stats()
282 stats->tx_frames = vs->tx.tx_unicast_frames_ok; in fnic_get_stats()
283 stats->tx_words = vs->tx.tx_unicast_bytes_ok / 4; in fnic_get_stats()
284 stats->rx_frames = vs->rx.rx_unicast_frames_ok; in fnic_get_stats()
285 stats->rx_words = vs->rx.rx_unicast_bytes_ok / 4; in fnic_get_stats()
286 stats->error_frames = vs->tx.tx_errors + vs->rx.rx_errors; in fnic_get_stats()
287 stats->dumped_frames = vs->tx.tx_drops + vs in fnic_get_stats()
261 struct vnic_stats *vs; fnic_get_stats() local
[all...]

12345678