/Linux-v6.1/arch/mips/math-emu/ |
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 | 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 | 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 …]
|
/Linux-v6.1/net/sunrpc/auth_gss/ |
D | gss_rpc_upcall.c | 124 void init_gssp_clnt(struct sunrpc_net *sn) in init_gssp_clnt() argument 126 mutex_init(&sn->gssp_lock); in init_gssp_clnt() 127 sn->gssp_clnt = NULL; in init_gssp_clnt() 132 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in set_gssp_clnt() local 136 mutex_lock(&sn->gssp_lock); in set_gssp_clnt() 139 if (sn->gssp_clnt) in set_gssp_clnt() 140 rpc_shutdown_client(sn->gssp_clnt); in set_gssp_clnt() 141 sn->gssp_clnt = clnt; in set_gssp_clnt() 143 mutex_unlock(&sn->gssp_lock); in set_gssp_clnt() 147 void clear_gssp_clnt(struct sunrpc_net *sn) in clear_gssp_clnt() argument [all …]
|
D | svcauth_gss.c | 1242 struct sunrpc_net *sn = net_generic(SVC_NET(rqstp), sunrpc_net_id); in svcauth_gss_legacy_init() local 1251 rsip = rsi_lookup(sn->rsi_cache, &rsikey); in svcauth_gss_legacy_init() 1255 if (cache_check(sn->rsi_cache, &rsip->h, &rqstp->rq_chandle) < 0) in svcauth_gss_legacy_init() 1261 if (gss_write_init_verf(sn->rsc_cache, rqstp, in svcauth_gss_legacy_init() 1271 cache_put(&rsip->h, sn->rsi_cache); in svcauth_gss_legacy_init() 1357 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 …]
|
/Linux-v6.1/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 | 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 | 36 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in sunrpc_init_net() local 54 INIT_LIST_HEAD(&sn->all_clients); in sunrpc_init_net() 55 spin_lock_init(&sn->rpc_client_lock); in sunrpc_init_net() 56 spin_lock_init(&sn->rpcb_clnt_lock); in sunrpc_init_net() 71 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in sunrpc_exit_net() local 77 WARN_ON_ONCE(!list_empty(&sn->all_clients)); in sunrpc_exit_net()
|
D | svcauth_unix.c | 329 struct sunrpc_net *sn; in svcauth_unix_purge() local 331 sn = net_generic(net, sunrpc_net_id); in svcauth_unix_purge() 332 cache_purge(sn->ip_map_cache); in svcauth_unix_purge() 340 struct sunrpc_net *sn; in ip_map_cached_get() local 346 sn = net_generic(xprt->xpt_net, sunrpc_net_id); in ip_map_cached_get() 347 if (cache_is_expired(sn->ip_map_cache, &ipm->h)) { in ip_map_cached_get() 355 cache_put(&ipm->h, sn->ip_map_cache); in ip_map_cached_get() 378 struct sunrpc_net *sn; in ip_map_cached_put() local 380 sn = net_generic(xprt->xpt_net, sunrpc_net_id); in ip_map_cached_put() 381 cache_put(&ipm->h, sn->ip_map_cache); in ip_map_cached_put() [all …]
|
D | rpc_pipe.c | 927 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_add_pipe_dir_object() local 929 mutex_lock(&sn->pipefs_sb_lock); in rpc_add_pipe_dir_object() 931 mutex_unlock(&sn->pipefs_sb_lock); in rpc_add_pipe_dir_object() 950 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_remove_pipe_dir_object() local 952 mutex_lock(&sn->pipefs_sb_lock); in rpc_remove_pipe_dir_object() 954 mutex_unlock(&sn->pipefs_sb_lock); in rpc_remove_pipe_dir_object() 975 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_find_or_alloc_pipe_dir_object() local 978 mutex_lock(&sn->pipefs_sb_lock); in rpc_find_or_alloc_pipe_dir_object() 989 mutex_unlock(&sn->pipefs_sb_lock); in rpc_find_or_alloc_pipe_dir_object() 1201 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_pipefs_init_net() local [all …]
|
/Linux-v6.1/net/smc/ |
D | smc_pnet.c | 107 struct smc_net *sn; in smc_pnet_remove_by_pnetid() local 112 sn = net_generic(net, smc_net_id); in smc_pnet_remove_by_pnetid() 113 pnettable = &sn->pnettable; in smc_pnet_remove_by_pnetid() 189 struct smc_net *sn; in smc_pnet_add_by_ndev() local 193 sn = net_generic(net, smc_net_id); in smc_pnet_add_by_ndev() 194 pnettable = &sn->pnettable; in smc_pnet_add_by_ndev() 221 struct smc_net *sn; in smc_pnet_remove_by_ndev() local 225 sn = net_generic(net, smc_net_id); in smc_pnet_remove_by_ndev() 226 pnettable = &sn->pnettable; in smc_pnet_remove_by_ndev() 479 struct smc_net *sn; in smc_pnet_enter() local [all …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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()
|
/Linux-v6.1/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__); \
|
/Linux-v6.1/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()
|
/Linux-v6.1/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()
|
/Linux-v6.1/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()
|
/Linux-v6.1/net/mac80211/ |
D | mesh_hwmp.c | 454 if (SN_GT(mpath->sn, orig_sn) || in hwmp_route_info_get() 455 (mpath->sn == orig_sn && in hwmp_route_info_get() 467 newer_sn = have_sn && SN_GT(orig_sn, mpath->sn); in hwmp_route_info_get() 469 (SN_DELTA(orig_sn, mpath->sn) > in hwmp_route_info_get() 499 mpath->sn = orig_sn; in hwmp_route_info_get() 596 if (SN_GT(target_sn, ifmsh->sn)) in hwmp_preq_frame_process() 597 ifmsh->sn = target_sn; in hwmp_preq_frame_process() 602 ++ifmsh->sn; in hwmp_preq_frame_process() 605 target_sn = ifmsh->sn; in hwmp_preq_frame_process() 614 target_sn = ++ifmsh->sn; in hwmp_preq_frame_process() [all …]
|
/Linux-v6.1/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()
|
/Linux-v6.1/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()
|
/Linux-v6.1/net/rose/ |
D | rose_route.c | 372 struct rose_neigh *sn; in rose_add_loopback_neigh() local 377 sn = rose_loopback_neigh; in rose_add_loopback_neigh() 379 sn->callsign = null_ax25_address; in rose_add_loopback_neigh() 380 sn->digipeat = NULL; in rose_add_loopback_neigh() 381 sn->ax25 = NULL; in rose_add_loopback_neigh() 382 sn->dev = NULL; in rose_add_loopback_neigh() 383 sn->count = 0; in rose_add_loopback_neigh() 384 sn->use = 0; in rose_add_loopback_neigh() 385 sn->dce_mode = 1; in rose_add_loopback_neigh() 386 sn->loopback = 1; in rose_add_loopback_neigh() [all …]
|
/Linux-v6.1/drivers/s390/char/ |
D | sclp_early_core.c | 322 u16 sn; in sclp_early_read_storage_info() local 344 for (sn = 0; sn < sccb->assigned; sn++) { in sclp_early_read_storage_info() 345 if (!sccb->entries[sn]) in sclp_early_read_storage_info() 347 rn = sccb->entries[sn] >> 16; in sclp_early_read_storage_info()
|
/Linux-v6.1/drivers/scsi/aacraid/ |
D | linit.c | 582 unsigned char sn[16]; in aac_show_unique_id() local 584 memset(sn, 0, sizeof(sn)); in aac_show_unique_id() 587 memcpy(sn, aac->fsa_dev[sdev_id(sdev)].identifier, sizeof(sn)); in aac_show_unique_id() 591 sn[0], sn[1], sn[2], sn[3], in aac_show_unique_id() 592 sn[4], sn[5], sn[6], sn[7], in aac_show_unique_id() 593 sn[8], sn[9], sn[10], sn[11], in aac_show_unique_id() 594 sn[12], sn[13], sn[14], sn[15]); in aac_show_unique_id()
|
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/ |
D | nfp_devlink.c | 237 const char *sn, *vendor, *part; in nfp_devlink_info_get() local 248 sn = nfp_hwinfo_lookup(pf->hwinfo, "assembly.serial"); in nfp_devlink_info_get() 249 if (vendor && part && sn) { in nfp_devlink_info_get() 252 buf = kmalloc(strlen(vendor) + strlen(part) + strlen(sn) + 1, in nfp_devlink_info_get() 260 strcat(buf, sn); in nfp_devlink_info_get()
|