Home
last modified time | relevance | path

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

12345

/linux/net/xdp/
H A Dxsk.c58 struct xdp_sock *xs; in xsk_set_tx_need_wakeup() local
64 list_for_each_entry_rcu(xs, &pool->xsk_tx_list, tx_list) { in xsk_set_tx_need_wakeup()
65 xs->tx->ring->flags |= XDP_RING_NEED_WAKEUP; in xsk_set_tx_need_wakeup()
85 struct xdp_sock *xs; in xsk_clear_tx_need_wakeup() local
91 list_for_each_entry_rcu(xs, &pool->xsk_tx_list, tx_list) { in xsk_clear_tx_need_wakeup()
92 xs->tx->ring->flags &= ~XDP_RING_NEED_WAKEUP; in xsk_clear_tx_need_wakeup()
146 static int __xsk_rcv_zc(struct xdp_sock *xs, struct xdp_buff_xsk *xskb, u32 len, in __xsk_rcv_zc() argument
153 err = xskq_prod_reserve_desc(xs->rx, addr, len, flags); in __xsk_rcv_zc()
155 xs->rx_queue_full++; in __xsk_rcv_zc()
163 static int xsk_rcv_zc(struct xdp_sock *xs, struc argument
234 __xsk_rcv(struct xdp_sock * xs,struct xdp_buff * xdp,u32 len) __xsk_rcv() argument
302 xsk_tx_writeable(struct xdp_sock * xs) xsk_tx_writeable() argument
310 __xsk_tx_release(struct xdp_sock * xs) __xsk_tx_release() argument
317 xsk_is_bound(struct xdp_sock * xs) xsk_is_bound() argument
327 xsk_rcv_check(struct xdp_sock * xs,struct xdp_buff * xdp,u32 len) xsk_rcv_check() argument
343 xsk_flush(struct xdp_sock * xs) xsk_flush() argument
350 xsk_generic_rcv(struct xdp_sock * xs,struct xdp_buff * xdp) xsk_generic_rcv() argument
366 xsk_rcv(struct xdp_sock * xs,struct xdp_buff * xdp) xsk_rcv() argument
386 __xsk_map_redirect(struct xdp_sock * xs,struct xdp_buff * xdp) __xsk_map_redirect() argument
405 struct xdp_sock *xs, *tmp; __xsk_map_flush() local
421 struct xdp_sock *xs; xsk_tx_release() local
433 struct xdp_sock *xs; xsk_tx_peek_desc() local
492 struct xdp_sock *xs; xsk_tx_peek_release_desc_batch() local
535 xsk_wakeup(struct xdp_sock * xs,u8 flags) xsk_wakeup() argument
643 xsk_skb_init_misc(struct sk_buff * skb,struct xdp_sock * xs,u64 addr) xsk_skb_init_misc() argument
655 struct xdp_sock *xs = xdp_sk(skb->sk); xsk_consume_skb() local
716 xsk_build_skb_zerocopy(struct xdp_sock * xs,struct xdp_desc * desc) xsk_build_skb_zerocopy() argument
798 xsk_build_skb(struct xdp_sock * xs,struct xdp_desc * desc) xsk_build_skb() argument
906 struct xdp_sock *xs = xdp_sk(sk); __xsk_generic_xmit() local
1017 xsk_check_common(struct xdp_sock * xs) xsk_check_common() argument
1031 struct xdp_sock *xs = xdp_sk(sk); __xsk_sendmsg() local
1073 struct xdp_sock *xs = xdp_sk(sk); __xsk_recvmsg() local
1111 struct xdp_sock *xs = xdp_sk(sk); xsk_poll() local
1157 xsk_unbind_dev(struct xdp_sock * xs) xsk_unbind_dev() argument
1171 xsk_get_map_list_entry(struct xdp_sock * xs,struct xdp_sock __rcu *** map_entry) xsk_get_map_list_entry() argument
1191 xsk_delete_from_maps(struct xdp_sock * xs) xsk_delete_from_maps() argument
1220 struct xdp_sock *xs = xdp_sk(sk); xsk_release() local
1272 xsk_validate_queues(struct xdp_sock * xs) xsk_validate_queues() argument
1281 struct xdp_sock *xs = xdp_sk(sk); xsk_bind() local
1468 struct xdp_sock *xs = xdp_sk(sk); xsk_setsockopt() local
1611 struct xdp_sock *xs = xdp_sk(sk); xsk_getsockopt() local
1743 struct xdp_sock *xs = xdp_sk(sock->sk); xsk_mmap() local
1787 struct xdp_sock *xs = xdp_sk(sk); xsk_notifier() local
1836 struct xdp_sock *xs = xdp_sk(sk); xsk_destruct() local
1848 struct xdp_sock *xs; xsk_create() local
[all...]
H A Dxsk_diag.c17 static int xsk_diag_put_info(const struct xdp_sock *xs, struct sk_buff *nlskb) in xsk_diag_put_info() argument
21 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()
35 static int xsk_diag_put_rings_cfg(const struct xdp_sock *xs, in xsk_diag_put_rings_cfg() argument
40 if (xs->rx) in xsk_diag_put_rings_cfg()
41 err = xsk_diag_put_ring(xs->rx, XDP_DIAG_RX_RING, nlskb); in xsk_diag_put_rings_cfg()
42 if (!err && xs->tx) in xsk_diag_put_rings_cfg()
43 err = xsk_diag_put_ring(xs->tx, XDP_DIAG_TX_RING, nlskb); in xsk_diag_put_rings_cfg()
47 static int xsk_diag_put_umem(const struct xdp_sock *xs, struct sk_buff *nlskb) in xsk_diag_put_umem() argument
49 struct xsk_buff_pool *pool = xs->pool; in xsk_diag_put_umem()
[all …]
H A Dxskmap.c42 static void xsk_map_sock_add(struct xdp_sock *xs, struct xsk_map_node *node) in xsk_map_sock_add() argument
44 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()
49 static void xsk_map_sock_delete(struct xdp_sock *xs, in xsk_map_sock_delete() argument
54 spin_lock_bh(&xs->map_list_lock); in xsk_map_sock_delete()
55 list_for_each_entry_safe(n, tmp, &xs->map_list, node) { 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()
[all …]
/linux/drivers/net/ethernet/intel/ixgbevf/
H A Dipsec.c19 struct xfrm_state *xs) in ixgbevf_ipsec_set_pf_sa() argument
28 sam->dir = xs->xso.dir; in ixgbevf_ipsec_set_pf_sa()
29 sam->spi = xs->id.spi; in ixgbevf_ipsec_set_pf_sa()
30 sam->proto = xs->id.proto; in ixgbevf_ipsec_set_pf_sa()
31 sam->family = xs->props.family; in ixgbevf_ipsec_set_pf_sa()
33 if (xs->props.family == AF_INET6) 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()
37 memcpy(sam->key, xs->aead->alg_key, sizeof(sam->key)); in ixgbevf_ipsec_set_pf_sa()
117 ret = ixgbevf_ipsec_set_pf_sa(adapter, r->xs); in ixgbevf_ipsec_restore()
[all …]
/linux/drivers/spi/
H A Dspi-xlp.c269 static int xlp_spi_xfer_block(struct xlp_spi_priv *xs, in xlp_spi_xfer_block() argument
276 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()
284 xlp_spi_fill_txfifo(xs); in xlp_spi_xfer_block()
286 xlp_spi_send_cmd(xs, xfer_len, cmd_cont); in xlp_spi_xfer_block()
293 if (xs->tx_len) in xlp_spi_xfer_block()
[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 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_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_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 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 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_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 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()
H A Dsp_flong.c16 int xs; in ieee754sp_flong() local
27 xs = (x < 0); in ieee754sp_flong()
28 if (xs) { in ieee754sp_flong()
51 return ieee754sp_format(xs, xe, xm); in ieee754sp_flong()
/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
36 dtb-$(CONFIG_ARCH_R8A77951) += r8a77951-salvator-xs-panel-aa104xd12.dtb
43 dtb-$(CONFIG_ARCH_R8A77960) += r8a77960-salvator-xs.dtb
44 r8a77960-salvator-xs-panel-aa104xd12-dtbs := r8a77960-salvator-xs.dtb salvator-panel-aa104xd12.dtbo
45 dtb-$(CONFIG_ARCH_R8A77960) += r8a77960-salvator-xs-panel-aa104xd12.dtb
49 dtb-$(CONFIG_ARCH_R8A77961) += r8a77961-salvator-xs.dtb
50 r8a77961-salvator-xs-panel-aa104xd12-dtbs := r8a77961-salvator-xs.dtb salvator-panel-aa104xd12.dtbo
51 dtb-$(CONFIG_ARCH_R8A77961) += r8a77961-salvator-xs-panel-aa104xd12.dtb
58 dtb-$(CONFIG_ARCH_R8A77965) += r8a77965-salvator-xs.dtb
[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
/linux/fs/ocfs2/
H A Dxattr.c250 struct ocfs2_xattr_search *xs);
255 struct ocfs2_xattr_search *xs);
263 struct ocfs2_xattr_search *xs,
268 struct ocfs2_xattr_search *xs,
1097 struct ocfs2_xattr_search *xs) in ocfs2_xattr_find_entry() argument
1107 entry = xs->here; in ocfs2_xattr_find_entry()
1108 for (i = 0; i < le16_to_cpu(xs->header->xh_count); i++) { in ocfs2_xattr_find_entry()
1109 if ((void *)entry >= xs->end) { in ocfs2_xattr_find_entry()
1118 if ((xs->base + name_offset + name_len) > xs->end) { in ocfs2_xattr_find_entry()
1123 cmp = memcmp(name, (xs->base + name_offset), name_len); in ocfs2_xattr_find_entry()
[all …]
/linux/drivers/staging/fbtft/
H A Dfb_ili9163.c111 static void set_addr_win(struct fbtft_par *par, int xs, int ys, in set_addr_win() argument
117 xs >> 8, xs & 0xff, xe >> 8, xe & 0xff); in set_addr_win()
124 (xs + __OFFSET) >> 8, (xs + __OFFSET) & 0xff, in set_addr_win()
132 xs >> 8, xs & 0xff, xe >> 8, xe & 0xff); in set_addr_win()

12345