/Linux-v4.19/arch/mips/math-emu/ |
D | ieee754.h | 246 #define ieee754dp_inf(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PINFINITY+(sn)]) argument 247 #define ieee754dp_zero(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PZERO+(sn)]) argument 248 #define ieee754dp_one(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PONE+(sn)]) argument 249 #define ieee754dp_ten(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PTEN+(sn)]) argument 252 #define ieee754dp_max(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PMAX+(sn)]) argument 253 #define ieee754dp_min(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PMIN+(sn)]) argument 254 #define ieee754dp_mind(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PMIND+(sn)]) argument 258 #define ieee754sp_inf(sn) (ieee754sp_spcvals[IEEE754_SPCVAL_PINFINITY+(sn)]) argument 259 #define ieee754sp_zero(sn) (ieee754sp_spcvals[IEEE754_SPCVAL_PZERO+(sn)]) argument 260 #define ieee754sp_one(sn) (ieee754sp_spcvals[IEEE754_SPCVAL_PONE+(sn)]) argument [all …]
|
D | ieee754dp.c | 68 static u64 ieee754dp_get_rounding(int sn, u64 xm) in ieee754dp_get_rounding() argument 81 if (!sn) /* ?? */ in ieee754dp_get_rounding() 85 if (sn) /* ?? */ in ieee754dp_get_rounding() 99 union ieee754dp ieee754dp_format(int sn, int xe, u64 xm) in ieee754dp_format() argument 117 return ieee754dp_zero(sn); in ieee754dp_format() 119 if (sn == 0) in ieee754dp_format() 124 if (sn == 0) in ieee754dp_format() 132 ieee754dp_get_rounding(sn, xm) >> (DP_FBITS + 1 + 3)) in ieee754dp_format() 136 xm = ieee754dp_get_rounding(sn, xm); in ieee754dp_format() 159 xm = ieee754dp_get_rounding(sn, xm); in ieee754dp_format() [all …]
|
D | ieee754sp.c | 68 static unsigned int ieee754sp_get_rounding(int sn, unsigned int xm) in ieee754sp_get_rounding() argument 81 if (!sn) /* ?? */ in ieee754sp_get_rounding() 85 if (sn) /* ?? */ in ieee754sp_get_rounding() 99 union ieee754sp ieee754sp_format(int sn, int xe, unsigned int xm) in ieee754sp_format() argument 117 return ieee754sp_zero(sn); in ieee754sp_format() 119 if (sn == 0) in ieee754sp_format() 124 if (sn == 0) in ieee754sp_format() 132 ieee754sp_get_rounding(sn, xm) >> (SP_FBITS + 1 + 3)) in ieee754sp_format() 136 xm = ieee754sp_get_rounding(sn, xm); in ieee754sp_format() 158 xm = ieee754sp_get_rounding(sn, xm); in ieee754sp_format() [all …]
|
/Linux-v4.19/net/sunrpc/auth_gss/ |
D | gss_rpc_upcall.c | 136 void init_gssp_clnt(struct sunrpc_net *sn) in init_gssp_clnt() argument 138 mutex_init(&sn->gssp_lock); in init_gssp_clnt() 139 sn->gssp_clnt = NULL; in init_gssp_clnt() 144 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in set_gssp_clnt() local 148 mutex_lock(&sn->gssp_lock); in set_gssp_clnt() 151 if (sn->gssp_clnt) in set_gssp_clnt() 152 rpc_shutdown_client(sn->gssp_clnt); in set_gssp_clnt() 153 sn->gssp_clnt = clnt; in set_gssp_clnt() 155 mutex_unlock(&sn->gssp_lock); in set_gssp_clnt() 159 void clear_gssp_clnt(struct sunrpc_net *sn) in clear_gssp_clnt() argument [all …]
|
D | svcauth_gss.c | 1125 struct sunrpc_net *sn = net_generic(rqstp->rq_xprt->xpt_net, sunrpc_net_id); in svcauth_gss_legacy_init() local 1134 rsip = rsi_lookup(sn->rsi_cache, &rsikey); in svcauth_gss_legacy_init() 1138 if (cache_check(sn->rsi_cache, &rsip->h, &rqstp->rq_chandle) < 0) in svcauth_gss_legacy_init() 1144 if (gss_write_init_verf(sn->rsc_cache, rqstp, in svcauth_gss_legacy_init() 1154 cache_put(&rsip->h, sn->rsi_cache); in svcauth_gss_legacy_init() 1237 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in svcauth_gss_proxy_init() local 1261 status = gss_proxy_save_rsc(sn->rsc_cache, &ud, &handle); in svcauth_gss_proxy_init() 1273 if (gss_write_init_verf(sn->rsc_cache, rqstp, in svcauth_gss_proxy_init() 1294 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in set_gss_proxy() local 1298 ret = cmpxchg(&sn->use_gss_proxy, -1, type); in set_gss_proxy() [all …]
|
/Linux-v4.19/net/sunrpc/ |
D | rpcb_clnt.c | 167 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpcb_get_local() local 169 spin_lock(&sn->rpcb_clnt_lock); in rpcb_get_local() 170 if (sn->rpcb_users) in rpcb_get_local() 171 sn->rpcb_users++; in rpcb_get_local() 172 cnt = sn->rpcb_users; in rpcb_get_local() 173 spin_unlock(&sn->rpcb_clnt_lock); in rpcb_get_local() 180 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpcb_put_local() local 181 struct rpc_clnt *clnt = sn->rpcb_local_clnt; in rpcb_put_local() 182 struct rpc_clnt *clnt4 = sn->rpcb_local_clnt4; in rpcb_put_local() 185 spin_lock(&sn->rpcb_clnt_lock); in rpcb_put_local() [all …]
|
D | svcauth_unix.c | 296 struct sunrpc_net *sn; in ip_map_lookup() local 298 sn = net_generic(net, sunrpc_net_id); in ip_map_lookup() 299 return __ip_map_lookup(sn->ip_map_cache, class, addr); in ip_map_lookup() 325 struct sunrpc_net *sn; in ip_map_update() local 327 sn = net_generic(net, sunrpc_net_id); in ip_map_update() 328 return __ip_map_update(sn->ip_map_cache, ipm, udom, expiry); in ip_map_update() 333 struct sunrpc_net *sn; in svcauth_unix_purge() local 335 sn = net_generic(net, sunrpc_net_id); in svcauth_unix_purge() 336 cache_purge(sn->ip_map_cache); in svcauth_unix_purge() 344 struct sunrpc_net *sn; in ip_map_cached_get() local [all …]
|
D | stats.c | 278 struct sunrpc_net *sn; in do_register() local 281 sn = net_generic(net, sunrpc_net_id); in do_register() 282 return proc_create_data(name, 0, sn->proc_net_rpc, fops, data); in do_register() 295 struct sunrpc_net *sn; in rpc_proc_unregister() local 297 sn = net_generic(net, sunrpc_net_id); in rpc_proc_unregister() 298 remove_proc_entry(name, sn->proc_net_rpc); in rpc_proc_unregister() 312 struct sunrpc_net *sn; in svc_proc_unregister() local 314 sn = net_generic(net, sunrpc_net_id); in svc_proc_unregister() 315 remove_proc_entry(name, sn->proc_net_rpc); in svc_proc_unregister() 321 struct sunrpc_net *sn; in rpc_proc_init() local [all …]
|
D | sunrpc_syms.c | 33 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in sunrpc_init_net() local 51 INIT_LIST_HEAD(&sn->all_clients); in sunrpc_init_net() 52 spin_lock_init(&sn->rpc_client_lock); in sunrpc_init_net() 53 spin_lock_init(&sn->rpcb_clnt_lock); in sunrpc_init_net() 68 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in sunrpc_exit_net() local 74 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 …]
|
/Linux-v4.19/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 …]
|
/Linux-v4.19/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-v4.19/drivers/misc/sgi-xp/ |
D | xpc_uv.c | 76 part_uv = &xpc_partitions[partid].sn.uv; in xpc_setup_partitions_uv() 93 part_uv = &xpc_partitions[partid].sn.uv; in xpc_teardown_partitions_uv() 382 if (part->sn.uv.act_state_req == 0) in xpc_process_activate_IRQ_rcvd_uv() 388 act_state_req = part->sn.uv.act_state_req; in xpc_process_activate_IRQ_rcvd_uv() 389 part->sn.uv.act_state_req = 0; in xpc_process_activate_IRQ_rcvd_uv() 405 XPC_DEACTIVATE_PARTITION(part, part->sn.uv.reason); in xpc_process_activate_IRQ_rcvd_uv() 426 struct xpc_partition_uv *part_uv = &part->sn.uv; in xpc_handle_activate_mq_msg_uv() 676 struct xpc_partition_uv *part_uv = &part->sn.uv; in xpc_send_activate_IRQ_uv() 761 struct xpc_partition_uv *part_uv = &part->sn.uv; in xpc_send_local_activate_IRQ_uv() 815 &xpc_partitions[sn_partition_id].sn.uv.cached_heartbeat; in xpc_setup_rsvd_page_uv() [all …]
|
D | xpc_sn2.c | 273 chctl.all_flags = xpc_receive_IRQ_amo_sn2(part->sn.sn2. in xpc_check_for_sent_chctl_flags_sn2() 329 from_timer(part, t, sn.sn2.dropped_notify_IRQ_timer); in xpc_check_for_dropped_notify_IRQ_sn2() 349 struct xpc_partition_sn2 *part_sn2 = &part->sn.sn2; in xpc_send_notify_IRQ_sn2() 388 FETCHOP_STORE_OP(TO_AMO((u64)&part->sn.sn2.local_chctl_amo_va-> in xpc_send_local_notify_IRQ_sn2() 401 struct xpc_openclose_args *args = ch->sn.sn2.local_openclose_args; in xpc_send_chctl_closerequest_sn2() 416 struct xpc_openclose_args *args = ch->sn.sn2.local_openclose_args; in xpc_send_chctl_openrequest_sn2() 426 struct xpc_openclose_args *args = ch->sn.sn2.local_openclose_args; in xpc_send_chctl_openreply_sn2() 430 args->local_msgqueue_pa = xp_pa(ch->sn.sn2.local_msgqueue); in xpc_send_chctl_openreply_sn2() 457 ch->sn.sn2.remote_msgqueue_pa = msgqueue_pa; in xpc_save_remote_msgqueue_pa_sn2() 470 struct amo *amo = (struct amo *)__va(part->sn.sn2.remote_amos_page_pa + in xpc_indicate_partition_engaged_sn2() [all …]
|
/Linux-v4.19/arch/ia64/include/asm/sn/ |
D | simulator.h | 13 #define IS_MEDUSA() ({long sn; asm("mov %0=cpuid[%1]" : "=r"(sn) : "r"(2)); sn == SNMAGIC;})
|
/Linux-v4.19/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-v4.19/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-v4.19/crypto/ |
D | twofish_common.c | 514 ctx->s[1][i] = mds[1][q0[q1[q1[(a) ^ sb] ^ sf] ^ sj] ^ sn]; \ 593 u8 si = 0, sj = 0, sk = 0, sl = 0, sm = 0, sn = 0, so = 0, sp = 0; in __twofish_setkey() local 640 CALC_S (sm, sn, so, sp, 24, 0x00, 0x2D, 0x01, 0x2D); /* 01 A4 02 A4 */ in __twofish_setkey() 641 CALC_S (sm, sn, so, sp, 25, 0x2D, 0xA4, 0x44, 0x8A); /* A4 56 A1 55 */ in __twofish_setkey() 642 CALC_S (sm, sn, so, sp, 26, 0x8A, 0xD5, 0xBF, 0xD1); /* 55 82 FC 87 */ in __twofish_setkey() 643 CALC_S (sm, sn, so, sp, 27, 0xD1, 0x7F, 0x3D, 0x99); /* 87 F3 C1 5A */ in __twofish_setkey() 644 CALC_S (sm, sn, so, sp, 28, 0x99, 0x46, 0x66, 0x96); /* 5A 1E 47 58 */ in __twofish_setkey() 645 CALC_S (sm, sn, so, sp, 29, 0x96, 0x3C, 0x5B, 0xED); /* 58 C6 AE DB */ in __twofish_setkey() 646 CALC_S (sm, sn, so, sp, 30, 0xED, 0x37, 0x4F, 0xE0); /* DB 68 3D 9E */ in __twofish_setkey() 647 CALC_S (sm, sn, so, sp, 31, 0xE0, 0xD0, 0x8C, 0x17); /* 9E E5 19 03 */ in __twofish_setkey()
|
/Linux-v4.19/net/netfilter/ |
D | nf_conntrack_proto_sctp.c | 603 struct nf_sctp_net *sn = sctp_pernet(net); in sctp_timeout_nlattr_to_obj() local 608 timeouts[i] = sn->timeouts[i]; in sctp_timeout_nlattr_to_obj() 713 struct nf_sctp_net *sn) in sctp_kmemdup_sysctl_table() argument 725 pn->ctl_table[0].data = &sn->timeouts[SCTP_CONNTRACK_CLOSED]; in sctp_kmemdup_sysctl_table() 726 pn->ctl_table[1].data = &sn->timeouts[SCTP_CONNTRACK_COOKIE_WAIT]; in sctp_kmemdup_sysctl_table() 727 pn->ctl_table[2].data = &sn->timeouts[SCTP_CONNTRACK_COOKIE_ECHOED]; in sctp_kmemdup_sysctl_table() 728 pn->ctl_table[3].data = &sn->timeouts[SCTP_CONNTRACK_ESTABLISHED]; in sctp_kmemdup_sysctl_table() 729 pn->ctl_table[4].data = &sn->timeouts[SCTP_CONNTRACK_SHUTDOWN_SENT]; in sctp_kmemdup_sysctl_table() 730 pn->ctl_table[5].data = &sn->timeouts[SCTP_CONNTRACK_SHUTDOWN_RECD]; in sctp_kmemdup_sysctl_table() 731 pn->ctl_table[6].data = &sn->timeouts[SCTP_CONNTRACK_SHUTDOWN_ACK_SENT]; in sctp_kmemdup_sysctl_table() [all …]
|
/Linux-v4.19/include/linux/mlx4/ |
D | cq.h | 147 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-v4.19/net/mac80211/ |
D | mesh_hwmp.c | 442 if (SN_GT(mpath->sn, orig_sn) || in hwmp_route_info_get() 443 (mpath->sn == orig_sn && in hwmp_route_info_get() 452 newer_sn = have_sn && SN_GT(orig_sn, mpath->sn); in hwmp_route_info_get() 454 (SN_DELTA(orig_sn, mpath->sn) > in hwmp_route_info_get() 482 mpath->sn = orig_sn; in hwmp_route_info_get() 573 if (SN_GT(target_sn, ifmsh->sn)) in hwmp_preq_frame_process() 574 ifmsh->sn = target_sn; in hwmp_preq_frame_process() 579 ++ifmsh->sn; in hwmp_preq_frame_process() 582 target_sn = ifmsh->sn; in hwmp_preq_frame_process() 591 target_sn = ++ifmsh->sn; in hwmp_preq_frame_process() [all …]
|
/Linux-v4.19/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-v4.19/net/rose/ |
D | rose_route.c | 374 struct rose_neigh *sn; in rose_add_loopback_neigh() local 379 sn = rose_loopback_neigh; in rose_add_loopback_neigh() 381 sn->callsign = null_ax25_address; in rose_add_loopback_neigh() 382 sn->digipeat = NULL; in rose_add_loopback_neigh() 383 sn->ax25 = NULL; in rose_add_loopback_neigh() 384 sn->dev = NULL; in rose_add_loopback_neigh() 385 sn->count = 0; in rose_add_loopback_neigh() 386 sn->use = 0; in rose_add_loopback_neigh() 387 sn->dce_mode = 1; in rose_add_loopback_neigh() 388 sn->loopback = 1; in rose_add_loopback_neigh() [all …]
|
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | trace_tx.h | 398 __field(u64, sn) 413 __entry->sn = txp ? txp->sn : ~0; 419 __entry->sn, 464 TP_PROTO(struct sdma_engine *sde, u64 sn), 465 TP_ARGS(sde, sn), 467 __field(u64, sn) 471 __entry->sn = sn; 477 __entry->sn 484 u64 sn 486 TP_ARGS(sde, sn) [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/nvmem/ |
D | amlogic-efuse.txt | 17 sn: sn@14 {
|