Home
last modified time | relevance | path

Searched refs:xs (Results 1 – 25 of 120) sorted by relevance

12345

/linux/net/xdp/
H A Dxsk.c52 struct xdp_sock *xs; in xsk_set_tx_need_wakeup() local
58 list_for_each_entry_rcu(xs, &pool->xsk_tx_list, tx_list) { in xsk_set_tx_need_wakeup()
59 xs->tx->ring->flags |= XDP_RING_NEED_WAKEUP; in xsk_set_tx_need_wakeup()
79 struct xdp_sock *xs; in xsk_clear_tx_need_wakeup() local
85 list_for_each_entry_rcu(xs, &pool->xsk_tx_list, tx_list) { in xsk_clear_tx_need_wakeup()
86 xs->tx->ring->flags &= ~XDP_RING_NEED_WAKEUP; in xsk_clear_tx_need_wakeup()
140 static int __xsk_rcv_zc(struct xdp_sock *xs, struct xdp_buff_xsk *xskb, u32 len, in __xsk_rcv_zc() argument
147 err = xskq_prod_reserve_desc(xs->rx, addr, len, flags); in __xsk_rcv_zc()
149 xs->rx_queue_full++; in __xsk_rcv_zc()
157 static int xsk_rcv_zc(struct xdp_sock *xs, struc argument
228 __xsk_rcv(struct xdp_sock * xs,struct xdp_buff * xdp,u32 len) __xsk_rcv() argument
296 xsk_tx_writeable(struct xdp_sock * xs) xsk_tx_writeable() argument
304 xsk_is_bound(struct xdp_sock * xs) xsk_is_bound() argument
314 xsk_rcv_check(struct xdp_sock * xs,struct xdp_buff * xdp,u32 len) xsk_rcv_check() argument
334 xsk_flush(struct xdp_sock * xs) xsk_flush() argument
341 xsk_generic_rcv(struct xdp_sock * xs,struct xdp_buff * xdp) xsk_generic_rcv() argument
356 xsk_rcv(struct xdp_sock * xs,struct xdp_buff * xdp) xsk_rcv() argument
376 __xsk_map_redirect(struct xdp_sock * xs,struct xdp_buff * xdp) __xsk_map_redirect() argument
394 struct xdp_sock *xs, *tmp; __xsk_map_flush() local
420 struct xdp_sock *xs; xsk_tx_release() local
435 struct xdp_sock *xs; xsk_tx_peek_desc() local
494 struct xdp_sock *xs; xsk_tx_peek_release_desc_batch() local
537 xsk_wakeup(struct xdp_sock * xs,u8 flags) xsk_wakeup() argument
544 xsk_cq_reserve_addr_locked(struct xdp_sock * xs,u64 addr) xsk_cq_reserve_addr_locked() argument
556 xsk_cq_submit_locked(struct xdp_sock * xs,u32 n) xsk_cq_submit_locked() argument
565 xsk_cq_cancel_locked(struct xdp_sock * xs,u32 n) xsk_cq_cancel_locked() argument
601 struct xdp_sock *xs = xdp_sk(skb->sk); xsk_consume_skb() local
616 xsk_build_skb_zerocopy(struct xdp_sock * xs,struct xdp_desc * desc) xsk_build_skb_zerocopy() argument
669 xsk_build_skb(struct xdp_sock * xs,struct xdp_desc * desc) xsk_build_skb() argument
790 struct xdp_sock *xs = xdp_sk(sk); __xsk_generic_xmit() local
898 xsk_check_common(struct xdp_sock * xs) xsk_check_common() argument
912 struct xdp_sock *xs = xdp_sk(sk); __xsk_sendmsg() local
957 struct xdp_sock *xs = xdp_sk(sk); __xsk_recvmsg() local
995 struct xdp_sock *xs = xdp_sk(sk); xsk_poll() local
1041 xsk_unbind_dev(struct xdp_sock * xs) xsk_unbind_dev() argument
1055 xsk_get_map_list_entry(struct xdp_sock * xs,struct xdp_sock __rcu *** map_entry) xsk_get_map_list_entry() argument
1075 xsk_delete_from_maps(struct xdp_sock * xs) xsk_delete_from_maps() argument
1104 struct xdp_sock *xs = xdp_sk(sk); xsk_release() local
1156 xsk_validate_queues(struct xdp_sock * xs) xsk_validate_queues() argument
1165 struct xdp_sock *xs = xdp_sk(sk); xsk_bind() local
1349 struct xdp_sock *xs = xdp_sk(sk); xsk_setsockopt() local
1468 struct xdp_sock *xs = xdp_sk(sk); xsk_getsockopt() local
1600 struct xdp_sock *xs = xdp_sk(sock->sk); xsk_mmap() local
1644 struct xdp_sock *xs = xdp_sk(sk); xsk_notifier() local
1693 struct xdp_sock *xs = xdp_sk(sk); xsk_destruct() local
1705 struct xdp_sock *xs; xsk_create() local
[all...]
H A Dxsk_diag.c21 di.ifindex = xs->dev ? xs->dev->ifindex : 0; in xsk_diag_put_info()
22 di.queue_id = xs->queue_id; in xsk_diag_put_info()
40 if (xs->rx) in xsk_diag_put_rings_cfg()
42 if (!err && xs->tx) in xsk_diag_put_rings_cfg()
50 struct xdp_umem *umem = xs->umem; in xsk_diag_put_umem()
83 du.n_rx_dropped = xs->rx_dropped; in xsk_diag_put_stats()
85 du.n_rx_full = xs->rx_queue_full; in xsk_diag_put_stats()
86 du.n_fill_ring_empty = xs->pool ? xskq_nb_queue_empty_descs(xs->pool->fq) : 0; in xsk_diag_put_stats()
113 mutex_lock(&xs->mutex); in xsk_diag_fill()
141 mutex_unlock(&xs->mutex); in xsk_diag_fill()
[all …]
H A Dxskmap.c44 spin_lock_bh(&xs->map_list_lock); in xsk_map_sock_add()
45 list_add_tail(&node->node, &xs->map_list); in xsk_map_sock_add()
46 spin_unlock_bh(&xs->map_list_lock); in xsk_map_sock_add()
54 spin_lock_bh(&xs->map_list_lock); in xsk_map_sock_delete()
61 spin_unlock_bh(&xs->map_list_lock); in xsk_map_sock_delete()
166 struct xdp_sock *xs, *old_xs; in xsk_map_update_elem() local
186 xs = (struct xdp_sock *)sock->sk; in xsk_map_update_elem()
197 if (old_xs == xs) { in xsk_map_update_elem()
207 xsk_map_sock_add(xs, node); in xsk_map_update_elem()
208 rcu_assign_pointer(*map_entry, xs); in xsk_map_update_elem()
[all …]
/linux/drivers/xen/xenfs/
H A Dxensyms.c29 memset(xs->name, 0, xs->namelen); in xensyms_next_sym()
43 kfree(xs->name); in xensyms_next_sym()
46 xs->name = kzalloc(xs->namelen, GFP_KERNEL); in xensyms_next_sym()
47 if (!xs->name) in xensyms_next_sym()
114 struct xensyms *xs; in xensyms_open() local
123 xs = m->private; in xensyms_open()
126 xs->name = kzalloc(xs->namelen, GFP_KERNEL); in xensyms_open()
127 if (!xs->name) { in xensyms_open()
131 set_xen_guest_handle(xs->op.u.symdata.name, xs->name); in xensyms_open()
133 xs->op.u.symdata.namelen = xs->namelen; in xensyms_open()
[all …]
/linux/drivers/net/ethernet/intel/ixgbevf/
H A Dipsec.c29 sam->spi = xs->id.spi; in ixgbevf_ipsec_set_pf_sa()
34 memcpy(sam->addr, &xs->id.daddr.a6, sizeof(xs->id.daddr.a6)); in ixgbevf_ipsec_set_pf_sa()
36 memcpy(sam->addr, &xs->id.daddr.a4, sizeof(xs->id.daddr.a4)); in ixgbevf_ipsec_set_pf_sa()
193 ret = rsa->xs; in ixgbevf_ipsec_find_rx_state()
219 if (!xs->aead) { in ixgbevf_ipsec_parse_proto_keys()
274 if (xs->id.proto != IPPROTO_ESP && xs->id.proto != IPPROTO_AH) { in ixgbevf_ipsec_add_sa()
292 if (xs->calg) { in ixgbevf_ipsec_add_sa()
307 rsa.xs = xs; in ixgbevf_ipsec_add_sa()
310 rsa.decrypt = xs->ealg || xs->aead; in ixgbevf_ipsec_add_sa()
361 tsa.xs = xs; in ixgbevf_ipsec_add_sa()
[all …]
/linux/drivers/net/netdevsim/
H A Dipsec.c93 if (!xs->aead) { in nsim_ipsec_parse_proto_keys()
106 alg_name = xs->aead->alg_name; in nsim_ipsec_parse_proto_keys()
138 dev = xs->xso.real_dev; in nsim_ipsec_add_sa()
142 if (xs->id.proto != IPPROTO_ESP && xs->id.proto != IPPROTO_AH) { in nsim_ipsec_add_sa()
147 if (xs->calg) { in nsim_ipsec_add_sa()
167 sa.xs = xs; in nsim_ipsec_add_sa()
170 sa.crypt = xs->ealg || xs->aead; in nsim_ipsec_add_sa()
237 struct xfrm_state *xs; in nsim_ipsec_tx() local
251 xs = xfrm_input_state(skb); in nsim_ipsec_tx()
252 if (unlikely(!xs)) { in nsim_ipsec_tx()
[all …]
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ipsec.c409 ret = rsa->xs; in ixgbe_ipsec_find_rx_state()
435 if (!xs->aead) { in ixgbe_ipsec_parse_proto_keys()
597 if (xs->calg) { in ixgbe_ipsec_add_sa()
612 rsa.xs = xs; in ixgbe_ipsec_add_sa()
615 rsa.decrypt = xs->ealg || xs->aead; in ixgbe_ipsec_add_sa()
722 tsa.xs = xs; in ixgbe_ipsec_add_sa()
725 tsa.encrypt = xs->ealg || xs->aead; in ixgbe_ipsec_add_sa()
923 xs = kzalloc(sizeof(*xs), GFP_ATOMIC); in ixgbe_ipsec_vf_add_sa()
934 memcpy(&xs->id.daddr.a6, sam->addr, sizeof(xs->id.daddr.a6)); in ixgbe_ipsec_vf_add_sa()
1033 xs = ipsec->rx_tbl[sa_idx].xs; in ixgbe_ipsec_vf_del_sa()
[all …]
/linux/arch/mips/math-emu/
H A Dsp_fdp.c13 static inline union ieee754sp ieee754sp_nan_fdp(int xs, u64 xm) in ieee754sp_nan_fdp() argument
15 return buildsp(xs, SP_EMAX + 1 + SP_EBIAS, in ieee754sp_nan_fdp()
39 y = ieee754sp_nan_fdp(xs, xm); in ieee754sp_fdp()
48 return ieee754sp_inf(xs); in ieee754sp_fdp()
51 return ieee754sp_zero(xs); in ieee754sp_fdp()
57 if ((ieee754_csr.rm == FPU_CSR_RU && !xs) || in ieee754sp_fdp()
58 (ieee754_csr.rm == FPU_CSR_RD && xs)) in ieee754sp_fdp()
59 return ieee754sp_mind(xs); in ieee754sp_fdp()
60 return ieee754sp_zero(xs); in ieee754sp_fdp()
72 return ieee754sp_format(xs, xe, rm); in ieee754sp_fdp()
H A Ddp_fsp.c13 static inline union ieee754dp ieee754dp_nan_fsp(int xs, u64 xm) in ieee754dp_nan_fsp() argument
15 return builddp(xs, DP_EMAX + 1 + DP_EBIAS, in ieee754dp_nan_fsp()
31 return ieee754dp_nanxcpt(ieee754dp_nan_fsp(xs, xm)); in ieee754dp_fsp()
34 return ieee754dp_nan_fsp(xs, xm); in ieee754dp_fsp()
37 return ieee754dp_inf(xs); in ieee754dp_fsp()
40 return ieee754dp_zero(xs); in ieee754dp_fsp()
61 return builddp(xs, xe + DP_EBIAS, in ieee754dp_fsp()
H A Dsp_tint.c34 return ieee754si_overflow(xs); in ieee754sp_tint()
45 if (xe == 31 && xs && xm == SP_HIDDEN_BIT) in ieee754sp_tint()
50 return ieee754si_overflow(xs); in ieee754sp_tint()
80 if ((round || sticky) && !xs) in ieee754sp_tint()
84 if ((round || sticky) && xs) in ieee754sp_tint()
91 return ieee754si_overflow(xs); in ieee754sp_tint()
96 if (xs) in ieee754sp_tint()
H A Ddp_tint.c34 return ieee754si_overflow(xs); in ieee754dp_tint()
47 return ieee754si_overflow(xs); in ieee754dp_tint()
75 if ((round || sticky) && !xs) in ieee754dp_tint()
79 if ((round || sticky) && xs) in ieee754dp_tint()
84 if ((xm >> 31) != 0 && (xs == 0 || xm != 0x80000000)) { in ieee754dp_tint()
87 return ieee754si_overflow(xs); in ieee754dp_tint()
92 if (xs) in ieee754dp_tint()
H A Ddp_tlong.c34 return ieee754di_overflow(xs); in ieee754dp_tlong()
45 if (xe == 63 && xs && xm == DP_HIDDEN_BIT) in ieee754dp_tlong()
50 return ieee754di_overflow(xs); in ieee754dp_tlong()
80 if ((round || sticky) && !xs) in ieee754dp_tlong()
84 if ((round || sticky) && xs) in ieee754dp_tlong()
91 return ieee754di_overflow(xs); in ieee754dp_tlong()
96 if (xs) in ieee754dp_tlong()
H A Dsp_tlong.c34 return ieee754di_overflow(xs); in ieee754sp_tlong()
45 if (xe == 63 && xs && xm == SP_HIDDEN_BIT) in ieee754sp_tlong()
50 return ieee754di_overflow(xs); in ieee754sp_tlong()
76 if ((round || sticky) && !xs) in ieee754sp_tlong()
80 if ((round || sticky) && xs) in ieee754sp_tlong()
87 return ieee754di_overflow(xs); in ieee754sp_tlong()
92 if (xs) in ieee754sp_tlong()
H A Ddp_fmax.c81 return xs ? y : x; in ieee754dp_fmax()
92 return ieee754dp_zero(xs & ys); in ieee754dp_fmax()
111 if (xs > ys) in ieee754dp_fmax()
113 else if (xs < ys) in ieee754dp_fmax()
117 if (xs == 0) { in ieee754dp_fmax()
132 if (xs == 0) { in ieee754dp_fmax()
203 return ieee754dp_inf(xs & ys); in ieee754dp_fmaxa()
220 return ieee754dp_zero(xs & ys); in ieee754dp_fmaxa()
249 else if (xs == 0) in ieee754dp_fmaxa()
H A Dsp_fmax.c81 return xs ? y : x; in ieee754sp_fmax()
92 return ieee754sp_zero(xs & ys); in ieee754sp_fmax()
111 if (xs > ys) in ieee754sp_fmax()
113 else if (xs < ys) in ieee754sp_fmax()
117 if (xs == 0) { in ieee754sp_fmax()
132 if (xs == 0) { in ieee754sp_fmax()
203 return ieee754sp_inf(xs & ys); in ieee754sp_fmaxa()
220 return ieee754sp_zero(xs & ys); in ieee754sp_fmaxa()
249 else if (xs == 0) in ieee754sp_fmaxa()
H A Dsp_fmin.c81 return xs ? x : y; in ieee754sp_fmin()
92 return ieee754sp_zero(xs | ys); in ieee754sp_fmin()
111 if (xs > ys) in ieee754sp_fmin()
113 else if (xs < ys) in ieee754sp_fmin()
117 if (xs == 0) { in ieee754sp_fmin()
132 if (xs == 0) { in ieee754sp_fmin()
203 return ieee754sp_inf(xs | ys); in ieee754sp_fmina()
220 return ieee754sp_zero(xs | ys); in ieee754sp_fmina()
249 else if (xs == 1) in ieee754sp_fmina()
H A Ddp_fmin.c81 return xs ? x : y; in ieee754dp_fmin()
92 return ieee754dp_zero(xs | ys); in ieee754dp_fmin()
111 if (xs > ys) in ieee754dp_fmin()
113 else if (xs < ys) in ieee754dp_fmin()
117 if (xs == 0) { in ieee754dp_fmin()
132 if (xs == 0) { in ieee754dp_fmin()
203 return ieee754dp_inf(xs | ys); in ieee754dp_fmina()
220 return ieee754dp_zero(xs | ys); in ieee754dp_fmina()
249 else if (xs == 1) in ieee754dp_fmina()
H A Dsp_2008class.c41 return 0x04 << (xs ? 0 : 4); in ieee754sp_2008class()
43 return 0x08 << (xs ? 0 : 4); in ieee754sp_2008class()
45 return 0x10 << (xs ? 0 : 4); in ieee754sp_2008class()
47 return 0x20 << (xs ? 0 : 4); in ieee754sp_2008class()
H A Ddp_2008class.c41 return 0x04 << (xs ? 0 : 4); in ieee754dp_2008class()
43 return 0x08 << (xs ? 0 : 4); in ieee754dp_2008class()
45 return 0x10 << (xs ? 0 : 4); in ieee754dp_2008class()
47 return 0x20 << (xs ? 0 : 4); in ieee754dp_2008class()
H A Ddp_fint.c16 int xs; in ieee754dp_fint() local
27 xs = (x < 0); in ieee754dp_fint()
28 if (xs) { in ieee754dp_fint()
43 return builddp(xs, xe + DP_EBIAS, xm & ~DP_HIDDEN_BIT); in ieee754dp_fint()
H A Dsp_fint.c16 int xs; in ieee754sp_fint() local
27 xs = (x < 0); in ieee754sp_fint()
28 if (xs) { in ieee754sp_fint()
52 return ieee754sp_format(xs, xe, xm); in ieee754sp_fint()
H A Ddp_flong.c16 int xs; in ieee754dp_flong() local
27 xs = (x < 0); in ieee754dp_flong()
28 if (xs) { in ieee754dp_flong()
52 return ieee754dp_format(xs, xe, xm); in ieee754dp_flong()
/linux/drivers/spi/
H A Dspi-xlp.c276 xs->tx_buf = tx_buf; in xlp_spi_xfer_block()
277 xs->rx_buf = rx_buf; in xlp_spi_xfer_block()
278 xs->tx_len = (xs->tx_buf == NULL) ? 0 : xfer_len; in xlp_spi_xfer_block()
279 xs->rx_len = (xs->rx_buf == NULL) ? 0 : xfer_len; in xlp_spi_xfer_block()
280 xs->txerrors = xs->rxerrors = 0; in xlp_spi_xfer_block()
283 if (xs->tx_len) in xlp_spi_xfer_block()
293 if (xs->tx_len) in xlp_spi_xfer_block()
300 xlp_spi_reg_write(xs, xs->cs, XLP_SPI_INTR_EN, intr_mask); in xlp_spi_xfer_block()
305 xlp_spi_reg_write(xs, xs->cs, XLP_SPI_INTR_EN, 0x0); in xlp_spi_xfer_block()
310 if (xs->txerrors || xs->rxerrors) in xlp_spi_xfer_block()
[all …]
/linux/arch/arm64/boot/dts/renesas/
H A DMakefile34 dtb-$(CONFIG_ARCH_R8A77951) += r8a77951-salvator-xs.dtb
35 r8a77951-salvator-xs-panel-aa104xd12-dtbs := r8a77951-salvator-xs.dtb salvator-panel-aa104xd12.dtbo
43 dtb-$(CONFIG_ARCH_R8A77960) += r8a77960-salvator-xs.dtb
44 r8a77960-salvator-xs-panel-aa104xd12-dtbs := r8a77960-salvator-xs.dtb salvator-panel-aa104xd12.dtbo
49 dtb-$(CONFIG_ARCH_R8A77961) += r8a77961-salvator-xs.dtb
50 r8a77961-salvator-xs-panel-aa104xd12-dtbs := r8a77961-salvator-xs.dtb salvator-panel-aa104xd12.dtbo
58 dtb-$(CONFIG_ARCH_R8A77965) += r8a77965-salvator-xs.dtb
59 r8a77965-salvator-xs-panel-aa104xd12-dtbs := r8a77965-salvator-xs.dtb salvator-panel-aa104xd12.dtbo
98 r8a779m1-salvator-xs-panel-aa104xd12-dtbs := r8a779m1-salvator-xs.dtb salvator-panel-aa104xd12.dtbo
104 r8a779m3-salvator-xs-panel-aa104xd12-dtbs := r8a779m3-salvator-xs.dtb salvator-panel-aa104xd12.dtbo
[all …]
/linux/tools/testing/selftests/powerpc/include/
H A Dreg.h109 #define VSX_XX1(xs, ra, rb) (((xs) & 0x1f) << 21 | ((ra) << 16) | \ argument
110 ((rb) << 11) | (((xs) >> 5)))
111 #define STXVD2X(xs, ra, rb) .long (0x7c000798 | VSX_XX1((xs), (ra), (rb))) argument
112 #define LXVD2X(xs, ra, rb) .long (0x7c000698 | VSX_XX1((xs), (ra), (rb))) argument

12345