/kernel/linux/linux-5.10/arch/mips/math-emu/ |
D | ieee754sp.c | 56 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 …]
|
D | ieee754dp.c | 56 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 …]
|
D | ieee754.h | 250 #define ieee754dp_inf(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PINFINITY+(sn)]) argument 251 #define ieee754dp_zero(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PZERO+(sn)]) argument 252 #define ieee754dp_one(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PONE+(sn)]) argument 253 #define ieee754dp_ten(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PTEN+(sn)]) argument 256 #define ieee754dp_max(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PMAX+(sn)]) argument 257 #define ieee754dp_min(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PMIN+(sn)]) argument 258 #define ieee754dp_mind(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PMIND+(sn)]) argument 262 #define ieee754sp_inf(sn) (ieee754sp_spcvals[IEEE754_SPCVAL_PINFINITY+(sn)]) argument 263 #define ieee754sp_zero(sn) (ieee754sp_spcvals[IEEE754_SPCVAL_PZERO+(sn)]) argument 264 #define ieee754sp_one(sn) (ieee754sp_spcvals[IEEE754_SPCVAL_PONE+(sn)]) argument [all …]
|
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/ |
D | gss_rpc_upcall.c | 123 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 …]
|
D | svcauth_gss.c | 1241 struct sunrpc_net *sn = net_generic(SVC_NET(rqstp), sunrpc_net_id); in svcauth_gss_legacy_init() local 1250 rsip = rsi_lookup(sn->rsi_cache, &rsikey); in svcauth_gss_legacy_init() 1254 if (cache_check(sn->rsi_cache, &rsip->h, &rqstp->rq_chandle) < 0) in svcauth_gss_legacy_init() 1260 if (gss_write_init_verf(sn->rsc_cache, rqstp, in svcauth_gss_legacy_init() 1270 cache_put(&rsip->h, sn->rsi_cache); in svcauth_gss_legacy_init() 1356 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in svcauth_gss_proxy_init() local 1378 status = gss_proxy_save_rsc(sn->rsc_cache, &ud, &handle); in svcauth_gss_proxy_init() 1389 if (gss_write_init_verf(sn->rsc_cache, rqstp, in svcauth_gss_proxy_init() 1411 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in set_gss_proxy() local 1415 ret = cmpxchg(&sn->use_gss_proxy, -1, type); in set_gss_proxy() [all …]
|
/kernel/linux/linux-5.10/net/sunrpc/ |
D | rpcb_clnt.c | 166 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpcb_get_local() local 168 spin_lock(&sn->rpcb_clnt_lock); in rpcb_get_local() 169 if (sn->rpcb_users) in rpcb_get_local() 170 sn->rpcb_users++; in rpcb_get_local() 171 cnt = sn->rpcb_users; in rpcb_get_local() 172 spin_unlock(&sn->rpcb_clnt_lock); in rpcb_get_local() 179 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpcb_put_local() local 180 struct rpc_clnt *clnt = sn->rpcb_local_clnt; in rpcb_put_local() 181 struct rpc_clnt *clnt4 = sn->rpcb_local_clnt4; in rpcb_put_local() 184 spin_lock(&sn->rpcb_clnt_lock); in rpcb_put_local() [all …]
|
D | svcauth_unix.c | 309 struct sunrpc_net *sn; in ip_map_lookup() local 311 sn = net_generic(net, sunrpc_net_id); in ip_map_lookup() 312 return __ip_map_lookup(sn->ip_map_cache, class, addr); in ip_map_lookup() 337 struct sunrpc_net *sn; in svcauth_unix_purge() local 339 sn = net_generic(net, sunrpc_net_id); in svcauth_unix_purge() 340 cache_purge(sn->ip_map_cache); in svcauth_unix_purge() 348 struct sunrpc_net *sn; in ip_map_cached_get() local 354 sn = net_generic(xprt->xpt_net, sunrpc_net_id); in ip_map_cached_get() 355 if (cache_is_expired(sn->ip_map_cache, &ipm->h)) { in ip_map_cached_get() 363 cache_put(&ipm->h, sn->ip_map_cache); in ip_map_cached_get() [all …]
|
D | stats.c | 285 struct sunrpc_net *sn; in do_register() local 288 sn = net_generic(net, sunrpc_net_id); in do_register() 289 return proc_create_data(name, 0, sn->proc_net_rpc, proc_ops, data); in do_register() 302 struct sunrpc_net *sn; in rpc_proc_unregister() local 304 sn = net_generic(net, sunrpc_net_id); in rpc_proc_unregister() 305 remove_proc_entry(name, sn->proc_net_rpc); in rpc_proc_unregister() 319 struct sunrpc_net *sn; in svc_proc_unregister() local 321 sn = net_generic(net, sunrpc_net_id); in svc_proc_unregister() 322 remove_proc_entry(name, sn->proc_net_rpc); in svc_proc_unregister() 328 struct sunrpc_net *sn; in rpc_proc_init() local [all …]
|
D | sunrpc_syms.c | 35 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in sunrpc_init_net() local 53 INIT_LIST_HEAD(&sn->all_clients); in sunrpc_init_net() 54 spin_lock_init(&sn->rpc_client_lock); in sunrpc_init_net() 55 spin_lock_init(&sn->rpcb_clnt_lock); in sunrpc_init_net() 70 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in sunrpc_exit_net() local 76 WARN_ON_ONCE(!list_empty(&sn->all_clients)); in sunrpc_exit_net()
|
D | rpc_pipe.c | 926 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_add_pipe_dir_object() local 928 mutex_lock(&sn->pipefs_sb_lock); in rpc_add_pipe_dir_object() 930 mutex_unlock(&sn->pipefs_sb_lock); in rpc_add_pipe_dir_object() 949 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_remove_pipe_dir_object() local 951 mutex_lock(&sn->pipefs_sb_lock); in rpc_remove_pipe_dir_object() 953 mutex_unlock(&sn->pipefs_sb_lock); in rpc_remove_pipe_dir_object() 974 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_find_or_alloc_pipe_dir_object() local 977 mutex_lock(&sn->pipefs_sb_lock); in rpc_find_or_alloc_pipe_dir_object() 988 mutex_unlock(&sn->pipefs_sb_lock); in rpc_find_or_alloc_pipe_dir_object() 1200 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_pipefs_init_net() local [all …]
|
/kernel/linux/linux-5.10/drivers/net/wimax/i2400m/ |
D | rx.c | 468 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 …]
|
/kernel/linux/linux-5.10/net/smc/ |
D | smc_pnet.c | 106 struct smc_net *sn; in smc_pnet_remove_by_pnetid() local 111 sn = net_generic(net, smc_net_id); in smc_pnet_remove_by_pnetid() 112 pnettable = &sn->pnettable; in smc_pnet_remove_by_pnetid() 187 struct smc_net *sn; in smc_pnet_add_by_ndev() local 191 sn = net_generic(net, smc_net_id); in smc_pnet_add_by_ndev() 192 pnettable = &sn->pnettable; in smc_pnet_add_by_ndev() 219 struct smc_net *sn; in smc_pnet_remove_by_ndev() local 223 sn = net_generic(net, smc_net_id); in smc_pnet_remove_by_ndev() 224 pnettable = &sn->pnettable; in smc_pnet_remove_by_ndev() 475 struct smc_net *sn; in smc_pnet_enter() local [all …]
|
/kernel/linux/linux-5.10/arch/arm/vfp/ |
D | vfpsingle.c | 895 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 …]
|
/kernel/linux/linux-5.10/drivers/misc/sgi-xp/ |
D | xpc_uv.c | 79 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 …]
|
/kernel/linux/linux-5.10/drivers/block/aoe/ |
D | aoenet.c | 136 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()
|
/kernel/linux/linux-5.10/fs/cifs/ |
D | cifs_debug.h | 84 const char *sn = ""; \ 86 sn = server->hostname; \ 89 __FILE__, sn, ##__VA_ARGS__); \ 92 sn, ##__VA_ARGS__); \ 95 sn, ##__VA_ARGS__); \
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | strlist.h | 35 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()
|
/kernel/linux/linux-5.10/crypto/ |
D | twofish_common.c | 501 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 624 CALC_S (sm, sn, so, sp, 24, 0x00, 0x2D, 0x01, 0x2D); /* 01 A4 02 A4 */ in __twofish_setkey() 625 CALC_S (sm, sn, so, sp, 25, 0x2D, 0xA4, 0x44, 0x8A); /* A4 56 A1 55 */ in __twofish_setkey() 626 CALC_S (sm, sn, so, sp, 26, 0x8A, 0xD5, 0xBF, 0xD1); /* 55 82 FC 87 */ in __twofish_setkey() 627 CALC_S (sm, sn, so, sp, 27, 0xD1, 0x7F, 0x3D, 0x99); /* 87 F3 C1 5A */ in __twofish_setkey() 628 CALC_S (sm, sn, so, sp, 28, 0x99, 0x46, 0x66, 0x96); /* 5A 1E 47 58 */ in __twofish_setkey() 629 CALC_S (sm, sn, so, sp, 29, 0x96, 0x3C, 0x5B, 0xED); /* 58 C6 AE DB */ in __twofish_setkey() 630 CALC_S (sm, sn, so, sp, 30, 0xED, 0x37, 0x4F, 0xE0); /* DB 68 3D 9E */ in __twofish_setkey() 631 CALC_S (sm, sn, so, sp, 31, 0xE0, 0xD0, 0x8C, 0x17); /* 9E E5 19 03 */ in __twofish_setkey()
|
/kernel/linux/linux-5.10/include/linux/mlx4/ |
D | cq.h | 152 u32 sn; in mlx4_cq_arm() local 155 sn = cq->arm_sn & 3; in mlx4_cq_arm() 158 *cq->arm_db = cpu_to_be32(sn << 28 | cmd | ci); in mlx4_cq_arm() 166 doorbell[0] = cpu_to_be32(sn << 28 | cmd | cq->cqn); in mlx4_cq_arm()
|
/kernel/linux/linux-5.10/net/mac80211/ |
D | mesh_hwmp.c | 449 if (SN_GT(mpath->sn, orig_sn) || in hwmp_route_info_get() 450 (mpath->sn == orig_sn && in hwmp_route_info_get() 462 newer_sn = have_sn && SN_GT(orig_sn, mpath->sn); in hwmp_route_info_get() 464 (SN_DELTA(orig_sn, mpath->sn) > in hwmp_route_info_get() 494 mpath->sn = orig_sn; in hwmp_route_info_get() 591 if (SN_GT(target_sn, ifmsh->sn)) in hwmp_preq_frame_process() 592 ifmsh->sn = target_sn; in hwmp_preq_frame_process() 597 ++ifmsh->sn; in hwmp_preq_frame_process() 600 target_sn = ifmsh->sn; in hwmp_preq_frame_process() 609 target_sn = ++ifmsh->sn; in hwmp_preq_frame_process() [all …]
|
/kernel/linux/linux-5.10/drivers/soc/atmel/ |
D | sfr.c | 48 u8 sn[SFR_SN_SIZE]; in atmel_sfr_probe() local 70 ret = atmel_sfr_read(priv, 0, sn, SFR_SN_SIZE); in atmel_sfr_probe() 72 add_device_randomness(sn, SFR_SN_SIZE); in atmel_sfr_probe()
|
/kernel/linux/linux-5.10/include/linux/mlx5/ |
D | cq.h | 156 u32 sn; in mlx5_cq_arm() local 159 sn = cq->arm_sn & 3; in mlx5_cq_arm() 162 *cq->arm_db = cpu_to_be32(sn << 28 | cmd | ci); in mlx5_cq_arm() 169 doorbell[0] = cpu_to_be32(sn << 28 | cmd | ci); in mlx5_cq_arm()
|
/kernel/linux/linux-5.10/net/rose/ |
D | rose_route.c | 371 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 …]
|
/kernel/linux/linux-5.10/drivers/s390/char/ |
D | sclp_early_core.c | 306 u16 sn; in sclp_early_read_storage_info() local 328 for (sn = 0; sn < sccb->assigned; sn++) { in sclp_early_read_storage_info() 329 if (!sccb->entries[sn]) in sclp_early_read_storage_info() 331 rn = sccb->entries[sn] >> 16; in sclp_early_read_storage_info()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/ |
D | tx.c | 59 SET_TX_DESC_SW_DEFINE(txdesc, pkt_info->sn); in rtw_tx_fill_tx_desc() 148 pkt_info->sn = (atomic_inc_return(&tx_report->sn) << 2) & 0xfc; in rtw_tx_report_enable() 168 void rtw_tx_report_enqueue(struct rtw_dev *rtwdev, struct sk_buff *skb, u8 sn) in rtw_tx_report_enqueue() argument 176 *drv_data = sn; in rtw_tx_report_enqueue() 207 u8 sn, st; in rtw_tx_report_handle() local 213 sn = GET_CCX_REPORT_SEQNUM_V0(c2h->payload); in rtw_tx_report_handle() 216 sn = GET_CCX_REPORT_SEQNUM_V1(c2h->payload); in rtw_tx_report_handle() 223 if (*n == sn) { in rtw_tx_report_handle()
|