Home
last modified time | relevance | path

Searched refs:sn (Results 1 – 25 of 112) sorted by relevance

12345

/Linux-v5.4/arch/mips/math-emu/
Dieee754.h234 #define ieee754dp_inf(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PINFINITY+(sn)]) argument
235 #define ieee754dp_zero(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PZERO+(sn)]) argument
236 #define ieee754dp_one(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PONE+(sn)]) argument
237 #define ieee754dp_ten(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PTEN+(sn)]) argument
240 #define ieee754dp_max(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PMAX+(sn)]) argument
241 #define ieee754dp_min(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PMIN+(sn)]) argument
242 #define ieee754dp_mind(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PMIND+(sn)]) argument
246 #define ieee754sp_inf(sn) (ieee754sp_spcvals[IEEE754_SPCVAL_PINFINITY+(sn)]) argument
247 #define ieee754sp_zero(sn) (ieee754sp_spcvals[IEEE754_SPCVAL_PZERO+(sn)]) argument
248 #define ieee754sp_one(sn) (ieee754sp_spcvals[IEEE754_SPCVAL_PONE+(sn)]) argument
[all …]
Dieee754sp.c56 static unsigned int ieee754sp_get_rounding(int sn, unsigned int xm) in ieee754sp_get_rounding() argument
69 if (!sn) /* ?? */ in ieee754sp_get_rounding()
73 if (sn) /* ?? */ in ieee754sp_get_rounding()
87 union ieee754sp ieee754sp_format(int sn, int xe, unsigned int xm) in ieee754sp_format() argument
105 return ieee754sp_zero(sn); in ieee754sp_format()
107 if (sn == 0) in ieee754sp_format()
112 if (sn == 0) in ieee754sp_format()
120 ieee754sp_get_rounding(sn, xm) >> (SP_FBITS + 1 + 3)) in ieee754sp_format()
124 xm = ieee754sp_get_rounding(sn, xm); in ieee754sp_format()
146 xm = ieee754sp_get_rounding(sn, xm); in ieee754sp_format()
[all …]
Dieee754dp.c56 static u64 ieee754dp_get_rounding(int sn, u64 xm) in ieee754dp_get_rounding() argument
69 if (!sn) /* ?? */ in ieee754dp_get_rounding()
73 if (sn) /* ?? */ in ieee754dp_get_rounding()
87 union ieee754dp ieee754dp_format(int sn, int xe, u64 xm) in ieee754dp_format() argument
105 return ieee754dp_zero(sn); in ieee754dp_format()
107 if (sn == 0) in ieee754dp_format()
112 if (sn == 0) in ieee754dp_format()
120 ieee754dp_get_rounding(sn, xm) >> (DP_FBITS + 1 + 3)) in ieee754dp_format()
124 xm = ieee754dp_get_rounding(sn, xm); in ieee754dp_format()
147 xm = ieee754dp_get_rounding(sn, xm); in ieee754dp_format()
[all …]
/Linux-v5.4/net/sunrpc/auth_gss/
Dgss_rpc_upcall.c123 void init_gssp_clnt(struct sunrpc_net *sn) in init_gssp_clnt() argument
125 mutex_init(&sn->gssp_lock); in init_gssp_clnt()
126 sn->gssp_clnt = NULL; in init_gssp_clnt()
131 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in set_gssp_clnt() local
135 mutex_lock(&sn->gssp_lock); in set_gssp_clnt()
138 if (sn->gssp_clnt) in set_gssp_clnt()
139 rpc_shutdown_client(sn->gssp_clnt); in set_gssp_clnt()
140 sn->gssp_clnt = clnt; in set_gssp_clnt()
142 mutex_unlock(&sn->gssp_lock); in set_gssp_clnt()
146 void clear_gssp_clnt(struct sunrpc_net *sn) in clear_gssp_clnt() argument
[all …]
Dsvcauth_gss.c1146 struct sunrpc_net *sn = net_generic(SVC_NET(rqstp), sunrpc_net_id); in svcauth_gss_legacy_init() local
1155 rsip = rsi_lookup(sn->rsi_cache, &rsikey); in svcauth_gss_legacy_init()
1159 if (cache_check(sn->rsi_cache, &rsip->h, &rqstp->rq_chandle) < 0) in svcauth_gss_legacy_init()
1165 if (gss_write_init_verf(sn->rsc_cache, rqstp, in svcauth_gss_legacy_init()
1175 cache_put(&rsip->h, sn->rsi_cache); in svcauth_gss_legacy_init()
1258 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in svcauth_gss_proxy_init() local
1282 status = gss_proxy_save_rsc(sn->rsc_cache, &ud, &handle); in svcauth_gss_proxy_init()
1294 if (gss_write_init_verf(sn->rsc_cache, rqstp, in svcauth_gss_proxy_init()
1315 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in set_gss_proxy() local
1319 ret = cmpxchg(&sn->use_gss_proxy, -1, type); in set_gss_proxy()
[all …]
/Linux-v5.4/net/sunrpc/
Drpcb_clnt.c168 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpcb_get_local() local
170 spin_lock(&sn->rpcb_clnt_lock); in rpcb_get_local()
171 if (sn->rpcb_users) in rpcb_get_local()
172 sn->rpcb_users++; in rpcb_get_local()
173 cnt = sn->rpcb_users; in rpcb_get_local()
174 spin_unlock(&sn->rpcb_clnt_lock); in rpcb_get_local()
181 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpcb_put_local() local
182 struct rpc_clnt *clnt = sn->rpcb_local_clnt; in rpcb_put_local()
183 struct rpc_clnt *clnt4 = sn->rpcb_local_clnt4; in rpcb_put_local()
186 spin_lock(&sn->rpcb_clnt_lock); in rpcb_put_local()
[all …]
Dsvcauth_unix.c304 struct sunrpc_net *sn; in ip_map_lookup() local
306 sn = net_generic(net, sunrpc_net_id); in ip_map_lookup()
307 return __ip_map_lookup(sn->ip_map_cache, class, addr); in ip_map_lookup()
333 struct sunrpc_net *sn; in ip_map_update() local
335 sn = net_generic(net, sunrpc_net_id); in ip_map_update()
336 return __ip_map_update(sn->ip_map_cache, ipm, udom, expiry); in ip_map_update()
341 struct sunrpc_net *sn; in svcauth_unix_purge() local
343 sn = net_generic(net, sunrpc_net_id); in svcauth_unix_purge()
344 cache_purge(sn->ip_map_cache); in svcauth_unix_purge()
352 struct sunrpc_net *sn; in ip_map_cached_get() local
[all …]
Dstats.c286 struct sunrpc_net *sn; in do_register() local
289 sn = net_generic(net, sunrpc_net_id); in do_register()
290 return proc_create_data(name, 0, sn->proc_net_rpc, fops, data); in do_register()
303 struct sunrpc_net *sn; in rpc_proc_unregister() local
305 sn = net_generic(net, sunrpc_net_id); in rpc_proc_unregister()
306 remove_proc_entry(name, sn->proc_net_rpc); in rpc_proc_unregister()
320 struct sunrpc_net *sn; in svc_proc_unregister() local
322 sn = net_generic(net, sunrpc_net_id); in svc_proc_unregister()
323 remove_proc_entry(name, sn->proc_net_rpc); in svc_proc_unregister()
329 struct sunrpc_net *sn; in rpc_proc_init() local
[all …]
Dsunrpc_syms.c34 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in sunrpc_init_net() local
52 INIT_LIST_HEAD(&sn->all_clients); in sunrpc_init_net()
53 spin_lock_init(&sn->rpc_client_lock); in sunrpc_init_net()
54 spin_lock_init(&sn->rpcb_clnt_lock); in sunrpc_init_net()
69 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in sunrpc_exit_net() local
75 WARN_ON_ONCE(!list_empty(&sn->all_clients)); in sunrpc_exit_net()
Drpc_pipe.c925 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_add_pipe_dir_object() local
927 mutex_lock(&sn->pipefs_sb_lock); in rpc_add_pipe_dir_object()
929 mutex_unlock(&sn->pipefs_sb_lock); in rpc_add_pipe_dir_object()
948 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_remove_pipe_dir_object() local
950 mutex_lock(&sn->pipefs_sb_lock); in rpc_remove_pipe_dir_object()
952 mutex_unlock(&sn->pipefs_sb_lock); in rpc_remove_pipe_dir_object()
973 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_find_or_alloc_pipe_dir_object() local
976 mutex_lock(&sn->pipefs_sb_lock); in rpc_find_or_alloc_pipe_dir_object()
987 mutex_unlock(&sn->pipefs_sb_lock); in rpc_find_or_alloc_pipe_dir_object()
1199 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_pipefs_init_net() local
[all …]
/Linux-v5.4/drivers/net/wimax/i2400m/
Drx.c468 unsigned sn; /* Serial number for the skb */ member
522 unsigned __i2400m_roq_nsn(struct i2400m_roq *roq, unsigned sn) in __i2400m_roq_nsn() argument
525 r = ((int) sn - (int) roq->ws) % 2048; in __i2400m_roq_nsn()
545 unsigned ws, count, sn, nsn, new_ws; member
563 index, e->ws, e->count, e->sn, e->nsn, e->new_ws); in i2400m_roq_log_entry_print()
567 index, e->ws, e->count, e->sn, e->nsn); in i2400m_roq_log_entry_print()
572 index, e->ws, e->count, e->sn, e->nsn, e->new_ws); in i2400m_roq_log_entry_print()
577 index, e->ws, e->count, e->sn, e->nsn, e->new_ws); in i2400m_roq_log_entry_print()
590 unsigned ws, unsigned count, unsigned sn, in i2400m_roq_log_add() argument
606 e->sn = sn; in i2400m_roq_log_add()
[all …]
/Linux-v5.4/arch/arm/vfp/
Dvfpsingle.c895 vfp_single_multiply_accumulate(int sd, int sn, s32 m, u32 fpscr, u32 negate, char *func) in vfp_single_multiply_accumulate() argument
901 v = vfp_get_float(sn); in vfp_single_multiply_accumulate()
902 pr_debug("VFP: s%u = %08x\n", sn, v); in vfp_single_multiply_accumulate()
935 static u32 vfp_single_fmac(int sd, int sn, s32 m, u32 fpscr) in vfp_single_fmac() argument
937 return vfp_single_multiply_accumulate(sd, sn, m, fpscr, 0, "fmac"); in vfp_single_fmac()
943 static u32 vfp_single_fnmac(int sd, int sn, s32 m, u32 fpscr) in vfp_single_fnmac() argument
945 return vfp_single_multiply_accumulate(sd, sn, m, fpscr, NEG_MULTIPLY, "fnmac"); in vfp_single_fnmac()
951 static u32 vfp_single_fmsc(int sd, int sn, s32 m, u32 fpscr) in vfp_single_fmsc() argument
953 return vfp_single_multiply_accumulate(sd, sn, m, fpscr, NEG_SUBTRACT, "fmsc"); in vfp_single_fmsc()
959 static u32 vfp_single_fnmsc(int sd, int sn, s32 m, u32 fpscr) in vfp_single_fnmsc() argument
[all …]
/Linux-v5.4/drivers/misc/sgi-xp/
Dxpc_uv.c79 part_uv = &xpc_partitions[partid].sn.uv; in xpc_setup_partitions_uv()
96 part_uv = &xpc_partitions[partid].sn.uv; in xpc_teardown_partitions_uv()
385 if (part->sn.uv.act_state_req == 0) in xpc_process_activate_IRQ_rcvd_uv()
391 act_state_req = part->sn.uv.act_state_req; in xpc_process_activate_IRQ_rcvd_uv()
392 part->sn.uv.act_state_req = 0; in xpc_process_activate_IRQ_rcvd_uv()
408 XPC_DEACTIVATE_PARTITION(part, part->sn.uv.reason); in xpc_process_activate_IRQ_rcvd_uv()
429 struct xpc_partition_uv *part_uv = &part->sn.uv; in xpc_handle_activate_mq_msg_uv()
680 struct xpc_partition_uv *part_uv = &part->sn.uv; in xpc_send_activate_IRQ_uv()
765 struct xpc_partition_uv *part_uv = &part->sn.uv; in xpc_send_local_activate_IRQ_uv()
819 &xpc_partitions[sn_partition_id].sn.uv.cached_heartbeat; in xpc_setup_rsvd_page_uv()
[all …]
/Linux-v5.4/drivers/block/aoe/
Daoenet.c136 int sn; in aoenet_rcv() local
147 sn = sizeof(*h) + sizeof(*ah); in aoenet_rcv()
148 if (skb->len >= sn) { in aoenet_rcv()
149 sn -= skb_headlen(skb); in aoenet_rcv()
150 if (sn > 0 && !__pskb_pull_tail(skb, sn)) in aoenet_rcv()
/Linux-v5.4/fs/cifs/
Dcifs_debug.h85 const char *sn = ""; \
87 sn = server->hostname; \
90 __FILE__, sn, ##__VA_ARGS__); \
93 sn, ##__VA_ARGS__); \
96 sn, ##__VA_ARGS__); \
/Linux-v5.4/tools/perf/util/
Dstrlist.h35 void strlist__remove(struct strlist *slist, struct str_node *sn);
63 static inline struct str_node *strlist__next(struct str_node *sn) in strlist__next() argument
66 if (!sn) in strlist__next()
68 rn = rb_next(&sn->rb_node); in strlist__next()
/Linux-v5.4/crypto/
Dtwofish_common.c501 ctx->s[1][i] = mds[1][q0[q1[q1[(a) ^ sb] ^ sf] ^ sj] ^ sn]; \
580 u8 si = 0, sj = 0, sk = 0, sl = 0, sm = 0, sn = 0, so = 0, sp = 0; in __twofish_setkey() local
627 CALC_S (sm, sn, so, sp, 24, 0x00, 0x2D, 0x01, 0x2D); /* 01 A4 02 A4 */ in __twofish_setkey()
628 CALC_S (sm, sn, so, sp, 25, 0x2D, 0xA4, 0x44, 0x8A); /* A4 56 A1 55 */ in __twofish_setkey()
629 CALC_S (sm, sn, so, sp, 26, 0x8A, 0xD5, 0xBF, 0xD1); /* 55 82 FC 87 */ in __twofish_setkey()
630 CALC_S (sm, sn, so, sp, 27, 0xD1, 0x7F, 0x3D, 0x99); /* 87 F3 C1 5A */ in __twofish_setkey()
631 CALC_S (sm, sn, so, sp, 28, 0x99, 0x46, 0x66, 0x96); /* 5A 1E 47 58 */ in __twofish_setkey()
632 CALC_S (sm, sn, so, sp, 29, 0x96, 0x3C, 0x5B, 0xED); /* 58 C6 AE DB */ in __twofish_setkey()
633 CALC_S (sm, sn, so, sp, 30, 0xED, 0x37, 0x4F, 0xE0); /* DB 68 3D 9E */ in __twofish_setkey()
634 CALC_S (sm, sn, so, sp, 31, 0xE0, 0xD0, 0x8C, 0x17); /* 9E E5 19 03 */ in __twofish_setkey()
/Linux-v5.4/net/smc/
Dsmc_pnet.c101 struct smc_net *sn; in smc_pnet_remove_by_pnetid() local
106 sn = net_generic(net, smc_net_id); in smc_pnet_remove_by_pnetid()
107 pnettable = &sn->pnettable; in smc_pnet_remove_by_pnetid()
165 struct smc_net *sn; in smc_pnet_remove_by_ndev() local
169 sn = net_generic(net, smc_net_id); in smc_pnet_remove_by_ndev()
170 pnettable = &sn->pnettable; in smc_pnet_remove_by_ndev()
420 struct smc_net *sn; in smc_pnet_add() local
424 sn = net_generic(net, smc_net_id); in smc_pnet_add()
425 pnettable = &sn->pnettable; in smc_pnet_add()
477 struct smc_net *sn; in _smc_pnet_dump() local
[all …]
/Linux-v5.4/include/linux/mlx4/
Dcq.h147 u32 sn; in mlx4_cq_arm() local
150 sn = cq->arm_sn & 3; in mlx4_cq_arm()
153 *cq->arm_db = cpu_to_be32(sn << 28 | cmd | ci); in mlx4_cq_arm()
161 doorbell[0] = cpu_to_be32(sn << 28 | cmd | cq->cqn); in mlx4_cq_arm()
/Linux-v5.4/net/mac80211/
Dmesh_hwmp.c446 if (SN_GT(mpath->sn, orig_sn) || in hwmp_route_info_get()
447 (mpath->sn == orig_sn && in hwmp_route_info_get()
459 newer_sn = have_sn && SN_GT(orig_sn, mpath->sn); in hwmp_route_info_get()
461 (SN_DELTA(orig_sn, mpath->sn) > in hwmp_route_info_get()
491 mpath->sn = orig_sn; in hwmp_route_info_get()
588 if (SN_GT(target_sn, ifmsh->sn)) in hwmp_preq_frame_process()
589 ifmsh->sn = target_sn; in hwmp_preq_frame_process()
594 ++ifmsh->sn; in hwmp_preq_frame_process()
597 target_sn = ifmsh->sn; in hwmp_preq_frame_process()
606 target_sn = ++ifmsh->sn; in hwmp_preq_frame_process()
[all …]
/Linux-v5.4/drivers/net/wireless/realtek/rtw88/
Dtx.c60 SET_TX_DESC_SW_DEFINE(txdesc, pkt_info->sn); in rtw_tx_fill_tx_desc()
143 pkt_info->sn = (atomic_inc_return(&tx_report->sn) << 2) & 0xfc; in rtw_tx_report_enable()
163 void rtw_tx_report_enqueue(struct rtw_dev *rtwdev, struct sk_buff *skb, u8 sn) in rtw_tx_report_enqueue() argument
171 *drv_data = sn; in rtw_tx_report_enqueue()
202 u8 sn, st; in rtw_tx_report_handle() local
207 sn = GET_CCX_REPORT_SEQNUM(c2h->payload); in rtw_tx_report_handle()
213 if (*n == sn) { in rtw_tx_report_handle()
/Linux-v5.4/include/linux/mlx5/
Dcq.h157 u32 sn; in mlx5_cq_arm() local
160 sn = cq->arm_sn & 3; in mlx5_cq_arm()
163 *cq->arm_db = cpu_to_be32(sn << 28 | cmd | ci); in mlx5_cq_arm()
170 doorbell[0] = cpu_to_be32(sn << 28 | cmd | ci); in mlx5_cq_arm()
/Linux-v5.4/net/rose/
Drose_route.c371 struct rose_neigh *sn; in rose_add_loopback_neigh() local
376 sn = rose_loopback_neigh; in rose_add_loopback_neigh()
378 sn->callsign = null_ax25_address; in rose_add_loopback_neigh()
379 sn->digipeat = NULL; in rose_add_loopback_neigh()
380 sn->ax25 = NULL; in rose_add_loopback_neigh()
381 sn->dev = NULL; in rose_add_loopback_neigh()
382 sn->count = 0; in rose_add_loopback_neigh()
383 sn->use = 0; in rose_add_loopback_neigh()
384 sn->dce_mode = 1; in rose_add_loopback_neigh()
385 sn->loopback = 1; in rose_add_loopback_neigh()
[all …]
/Linux-v5.4/drivers/s390/char/
Dsclp_early_core.c311 u16 sn; in sclp_early_read_storage_info() local
333 for (sn = 0; sn < sccb->assigned; sn++) { in sclp_early_read_storage_info()
334 if (!sccb->entries[sn]) in sclp_early_read_storage_info()
336 rn = sccb->entries[sn] >> 16; in sclp_early_read_storage_info()
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dtrace_tx.h406 __field(u64, sn)
421 __entry->sn = txp ? txp->sn : ~0;
427 __entry->sn,
472 TP_PROTO(struct sdma_engine *sde, u64 sn),
473 TP_ARGS(sde, sn),
475 __field(u64, sn)
479 __entry->sn = sn;
485 __entry->sn
492 u64 sn
494 TP_ARGS(sde, sn)
[all …]

12345