Home
last modified time | relevance | path

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

12345678910

/linux-6.1.9/drivers/vhost/
Dscsi.c247 static void vhost_scsi_init_inflight(struct vhost_scsi *vs, in vhost_scsi_init_inflight() argument
254 for (i = 0; i < vs->dev.nvqs; i++) { in vhost_scsi_init_inflight()
255 vq = &vs->vqs[i].vq; in vhost_scsi_init_inflight()
260 idx = vs->vqs[i].inflight_idx; in vhost_scsi_init_inflight()
262 old_inflight[i] = &vs->vqs[i].inflights[idx]; in vhost_scsi_init_inflight()
265 vs->vqs[i].inflight_idx = idx ^ 1; in vhost_scsi_init_inflight()
266 new_inflight = &vs->vqs[i].inflights[idx ^ 1]; in vhost_scsi_init_inflight()
374 struct vhost_scsi *vs = cmd->tvc_vhost; in vhost_scsi_release_cmd() local
376 llist_add(&cmd->tvc_completion_list, &vs->vs_completion_list); in vhost_scsi_release_cmd()
377 vhost_work_queue(&vs->dev, &vs->vs_completion_work); in vhost_scsi_release_cmd()
[all …]
/linux-6.1.9/sound/virtio/
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 …]
Dvirtio_pcm.c451 struct virtio_pcm_stream *vs; in virtsnd_pcm_build_devs() local
458 vs = &vpcm->streams[vss->direction]; in virtsnd_pcm_build_devs()
459 vs->substreams[vs->nsubstreams++] = vss; in virtsnd_pcm_build_devs()
464 struct virtio_pcm_stream *vs = &vpcm->streams[i]; in virtsnd_pcm_build_devs() local
468 if (!vs->nsubstreams) in virtsnd_pcm_build_devs()
472 vs->substreams[kss->number]->substream = kss; in virtsnd_pcm_build_devs()
/linux-6.1.9/arch/arm/vfp/
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-6.1.9/kernel/futex/
Dwaitwake.c399 static int futex_wait_multiple_setup(struct futex_vector *vs, int count, int *woken) in futex_wait_multiple_setup() argument
422 if ((vs[i].w.flags & FUTEX_PRIVATE_FLAG) && retry) in futex_wait_multiple_setup()
425 ret = get_futex_key(u64_to_user_ptr(vs[i].w.uaddr), in futex_wait_multiple_setup()
426 !(vs[i].w.flags & FUTEX_PRIVATE_FLAG), in futex_wait_multiple_setup()
427 &vs[i].q.key, FUTEX_READ); in futex_wait_multiple_setup()
436 u32 __user *uaddr = (u32 __user *)(unsigned long)vs[i].w.uaddr; in futex_wait_multiple_setup()
437 struct futex_q *q = &vs[i].q; in futex_wait_multiple_setup()
438 u32 val = (u32)vs[i].w.val; in futex_wait_multiple_setup()
461 *woken = unqueue_multiple(vs, i); in futex_wait_multiple_setup()
496 static void futex_sleep_multiple(struct futex_vector *vs, unsigned int count, in futex_sleep_multiple() argument
[all …]
/linux-6.1.9/net/lapb/
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()
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()
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-6.1.9/net/rose/
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()
Drose_in.c46 rose->vs = 0; in rose_state1_machine()
113 rose->vs = 0; in rose_state3_machine()
131 rose->vs = 0; in rose_state3_machine()
153 rose->vs = 0; in rose_state3_machine()
173 rose->vs = 0; in rose_state3_machine()
227 rose->vs = 0; in rose_state4_machine()
/linux-6.1.9/arch/mips/math-emu/
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-6.1.9/net/x25/
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()
Dx25_in.c98 x25->vs = 0; in x25_state1_machine()
222 x25->vs = 0; in x25_state3_machine()
244 x25->vs = 0; in x25_state3_machine()
266 x25->vs = 0; in x25_state3_machine()
284 x25->vs = 0; in x25_state3_machine()
358 x25->vs = 0; in x25_state4_machine()
/linux-6.1.9/net/netrom/
Dnr_out.c86 skb->data[2] = nr->vs; in nr_send_iframe()
137 start = (skb_peek(&nr->ack_queue) == NULL) ? nr->va : nr->vs; in nr_kick()
143 nr->vs = start; in nr_kick()
168 nr->vs = (nr->vs + 1) % NR_MODULUS; in nr_kick()
175 } while (nr->vs != end && in nr_kick()
260 if (nrom->vs == nr) { in nr_check_iframes_acked()
/linux-6.1.9/drivers/hwmon/pmbus/
Dibm-cffps.c492 enum versions vs = cffps_unknown; in ibm_cffps_probe() local
500 vs = (enum versions)md; in ibm_cffps_probe()
504 vs = (enum versions)id->driver_data; in ibm_cffps_probe()
507 if (vs == cffps_unknown) { in ibm_cffps_probe()
529 vs = cffps1; in ibm_cffps_probe()
531 vs = cffps2; in ibm_cffps_probe()
534 vs = cffps2; in ibm_cffps_probe()
538 vs = cffps1; in ibm_cffps_probe()
540 vs = cffps2; in ibm_cffps_probe()
545 snprintf(client->name, I2C_NAME_SIZE, "cffps%d", vs + 1); in ibm_cffps_probe()
[all …]
/linux-6.1.9/drivers/net/vxlan/
Dvxlan_core.c68 static inline bool vxlan_collect_metadata(struct vxlan_sock *vs) in vxlan_collect_metadata() argument
70 return vs->flags & VXLAN_F_COLLECT_METADATA || in vxlan_collect_metadata()
128 struct vxlan_sock *vs; in vxlan_find_sock() local
132 hlist_for_each_entry_rcu(vs, vs_head(net, port), hlist) { in vxlan_find_sock()
133 if (inet_sk(vs->sock->sk)->inet_sport == port && in vxlan_find_sock()
134 vxlan_get_sk_family(vs) == family && in vxlan_find_sock()
135 vs->flags == flags && in vxlan_find_sock()
136 vs->sock->sk->sk_bound_dev_if == ifindex) in vxlan_find_sock()
137 return vs; in vxlan_find_sock()
142 static struct vxlan_dev *vxlan_vs_find_vni(struct vxlan_sock *vs, in vxlan_vs_find_vni() argument
[all …]
Dvxlan_vnifilter.c45 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()
75 struct vxlan_sock *vs, in vxlan_vs_add_vnigrp() argument
95 hlist_add_head_rcu(&node->hlist, vni_head(vs, v->vni)); in vxlan_vs_add_vnigrp()
257 u32 vs = be32_to_cpu(vbegin->vni); in vxlan_fill_vni_filter_entry() local
[all …]
/linux-6.1.9/net/ax25/
Dax25_out.c226 *frame |= (ax25->vs << 1); in ax25_send_iframe()
231 frame[0] |= (ax25->vs << 1); in ax25_send_iframe()
256 start = (skb_peek(&ax25->ack_queue) == NULL) ? ax25->va : ax25->vs; in ax25_kick()
276 ax25->vs = start; in ax25_kick()
287 next = (ax25->vs + 1) % ax25->modulus; in ax25_kick()
308 ax25->vs = next; in ax25_kick()
371 if (ax25->vs == nr) { in ax25_check_iframes_acked()
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
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-6.1.9/Documentation/devicetree/bindings/hwmon/
Dlm75.yaml48 vs-supply:
66 vs-supply = <&vs>;
/linux-6.1.9/drivers/video/fbdev/omap/
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-6.1.9/Documentation/translations/zh_CN/admin-guide/
Dsecurity-bugs.rst56 <linux-distros@vs.openwall.org>进行协调,以便分发供应商做好准备,在公开披露
60 记住在电子邮件主题行前面加上“[vs]”,如linux发行版wiki中所述:
/linux-6.1.9/Documentation/translations/zh_TW/admin-guide/
Dsecurity-bugs.rst59 <linux-distros@vs.openwall.org>進行協調,以便分發供應商做好準備,在公開披露
63 記住在電子郵件主題行前面加上「[vs]」,如linux發行版wiki中所述:
/linux-6.1.9/drivers/isdn/mISDN/
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 …]
/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Drefcount-vs-atomic.rst3 :Original: Documentation/core-api/refcount-vs-atomic.rst
9 .. _cn_refcount-vs-atomic:

12345678910