Home
last modified time | relevance | path

Searched full:sn (Results 1 – 25 of 205) sorted by relevance

123456789

/linux/arch/mips/math-emu/
H A Dieee754.h250 #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 …]
H A 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()
83 * sn is sign
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()
[all …]
H A 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()
83 * sn is sign
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()
[all …]
/linux/net/sunrpc/auth_gss/
H A Dgss_rpc_upcall.c124 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 …]
H A Dsvcauth_gss.c1163 struct sunrpc_net *sn = net_generic(SVC_NET(rqstp), sunrpc_net_id); in svcauth_gss_legacy_init()
1194 rsip = rsi_lookup(sn->rsi_cache, &rsikey); in svcauth_gss_legacy_init()
1198 if (cache_check(sn->rsi_cache, &rsip->h, &rqstp->rq_chandle) < 0) in svcauth_gss_legacy_init()
1203 if (!svcauth_gss_proc_init_verf(sn->rsc_cache, rqstp, &rsip->out_handle, in svcauth_gss_legacy_init()
1215 cache_put(&rsip->h, sn->rsi_cache); in svcauth_gss_legacy_init()
1300 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in svcauth_gss_proxy_init()
1321 status = gss_proxy_save_rsc(sn->rsc_cache, &ud, &handle); in svcauth_gss_proxy_init()
1331 if (!svcauth_gss_proc_init_verf(sn->rsc_cache, rqstp, &cli_handle, in svcauth_gss_proxy_init()
1349 * Try to set the sn->use_gss_proxy variable to a new value. We only allow
1355 struct sunrpc_net *sn in set_gss_proxy()
1162 struct sunrpc_net *sn = net_generic(SVC_NET(rqstp), sunrpc_net_id); svcauth_gss_legacy_init() local
1299 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); svcauth_gss_proxy_init() local
1354 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); set_gss_proxy() local
1366 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); use_gss_proxy() local
1433 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); read_gssp() local
1459 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); create_use_gss_proxy_proc_entry() local
1474 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); destroy_use_gss_proxy_proc_entry() local
1514 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); create_krb5_enctypes_proc_entry() local
1525 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); destroy_krb5_enctypes_proc_entry() local
1629 struct sunrpc_net *sn = net_generic(SVC_NET(rqstp), sunrpc_net_id); svcauth_gss_accept() local
1937 struct sunrpc_net *sn = net_generic(SVC_NET(rqstp), sunrpc_net_id); svcauth_gss_release() local
2020 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); rsi_cache_create_net() local
2038 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); rsi_cache_destroy_net() local
2049 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); rsc_cache_create_net() local
2067 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); rsc_cache_destroy_net() local
[all...]
/linux/arch/arm/vfp/
H A 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()
933 * sd = sd + (sn * sm)
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()
941 * sd = sd - (sn * sm)
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()
949 * sd = -sd + (sn * sm)
[all …]
/linux/drivers/misc/sgi-xp/
H A Dxpc_uv.c57 part_uv = &xpc_partitions[partid].sn.uv; in xpc_setup_partitions_uv()
74 part_uv = &xpc_partitions[partid].sn.uv; in xpc_teardown_partitions_uv()
314 if (part->sn.uv.act_state_req == 0) in xpc_process_activate_IRQ_rcvd_uv()
320 act_state_req = part->sn.uv.act_state_req; in xpc_process_activate_IRQ_rcvd_uv()
321 part->sn.uv.act_state_req = 0; in xpc_process_activate_IRQ_rcvd_uv()
337 XPC_DEACTIVATE_PARTITION(part, part->sn.uv.reason); in xpc_process_activate_IRQ_rcvd_uv()
358 struct xpc_partition_uv *part_uv = &part->sn.uv; in xpc_handle_activate_mq_msg_uv()
609 struct xpc_partition_uv *part_uv = &part->sn.uv; in xpc_send_activate_IRQ_uv()
694 struct xpc_partition_uv *part_uv = &part->sn.uv; in xpc_send_local_activate_IRQ_uv()
734 &xpc_partitions[sn_partition_id].sn.uv.cached_heartbeat; in xpc_setup_rsvd_page_uv()
[all …]
/linux/net/sunrpc/
H A Drpc_pipe.c765 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_add_pipe_dir_object() local
767 mutex_lock(&sn->pipefs_sb_lock); in rpc_add_pipe_dir_object()
769 mutex_unlock(&sn->pipefs_sb_lock); in rpc_add_pipe_dir_object()
788 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_remove_pipe_dir_object() local
790 mutex_lock(&sn->pipefs_sb_lock); in rpc_remove_pipe_dir_object()
792 mutex_unlock(&sn->pipefs_sb_lock); in rpc_remove_pipe_dir_object()
813 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_find_or_alloc_pipe_dir_object() local
816 mutex_lock(&sn->pipefs_sb_lock); in rpc_find_or_alloc_pipe_dir_object()
827 mutex_unlock(&sn->pipefs_sb_lock); in rpc_find_or_alloc_pipe_dir_object()
1014 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_pipefs_init_net() local
[all …]
H A Dstats.c290 struct sunrpc_net *sn; in do_register() local
293 sn = net_generic(net, sunrpc_net_id); in do_register()
294 return proc_create_data(name, 0, sn->proc_net_rpc, proc_ops, data); in do_register()
307 struct sunrpc_net *sn; in rpc_proc_unregister() local
309 sn = net_generic(net, sunrpc_net_id); in rpc_proc_unregister()
310 remove_proc_entry(name, sn->proc_net_rpc); in rpc_proc_unregister()
324 struct sunrpc_net *sn; in svc_proc_unregister() local
326 sn = net_generic(net, sunrpc_net_id); in svc_proc_unregister()
327 remove_proc_entry(name, sn->proc_net_rpc); in svc_proc_unregister()
333 struct sunrpc_net *sn; in rpc_proc_init() local
[all …]
H A Dsvcauth_unix.c330 struct sunrpc_net *sn; in svcauth_unix_purge() local
332 sn = net_generic(net, sunrpc_net_id); in svcauth_unix_purge()
333 cache_purge(sn->ip_map_cache); in svcauth_unix_purge()
341 struct sunrpc_net *sn; in ip_map_cached_get() local
347 sn = net_generic(xprt->xpt_net, sunrpc_net_id); in ip_map_cached_get()
348 if (cache_is_expired(sn->ip_map_cache, &ipm->h)) { in ip_map_cached_get()
356 cache_put(&ipm->h, sn->ip_map_cache); in ip_map_cached_get()
379 struct sunrpc_net *sn; in ip_map_cached_put() local
381 sn = net_generic(xprt->xpt_net, sunrpc_net_id); in ip_map_cached_put()
382 cache_put(&ipm->h, sn->ip_map_cache); in ip_map_cached_put()
[all …]
H A Dsunrpc_syms.c36 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()
/linux/arch/mips/include/asm/sn/sn0/
H A Dhub.h27 #include <asm/sn/sn0/addrs.h>
28 #include <asm/sn/sn0/hubpi.h>
29 #include <asm/sn/sn0/hubmd.h>
30 #include <asm/sn/sn0/hubio.h>
31 #include <asm/sn/sn0/hubni.h>
32 //#include <asm/sn/sn0/hubcore.h>
/linux/arch/mips/sgi-ip27/
H A Dip27-init.c21 #include <asm/sn/agent.h>
22 #include <asm/sn/types.h>
23 #include <asm/sn/klconfig.h>
24 #include <asm/sn/ioc3.h>
26 #include <asm/sn/gda.h>
27 #include <asm/sn/intr.h>
32 #include <asm/sn/launch.h>
33 #include <asm/sn/mapped_kernel.h>
H A Dip27-smp.c18 #include <asm/sn/agent.h>
19 #include <asm/sn/arch.h>
20 #include <asm/sn/gda.h>
21 #include <asm/sn/intr.h>
22 #include <asm/sn/klconfig.h>
23 #include <asm/sn/launch.h>
24 #include <asm/sn/mapped_kernel.h>
25 #include <asm/sn/types.h>
H A Dip27-console.c11 #include <asm/sn/addrs.h>
12 #include <asm/sn/agent.h>
13 #include <asm/sn/klconfig.h>
14 #include <asm/sn/ioc3.h>
H A Dip27-reset.c24 #include <asm/sn/addrs.h>
25 #include <asm/sn/agent.h>
26 #include <asm/sn/arch.h>
27 #include <asm/sn/gda.h>
H A Dip27-klnuma.c16 #include <asm/sn/types.h>
17 #include <asm/sn/arch.h>
18 #include <asm/sn/gda.h>
19 #include <asm/sn/mapped_kernel.h>
/linux/arch/mips/pci/
H A Dpci-ip27.c13 #include <asm/sn/addrs.h>
14 #include <asm/sn/types.h>
15 #include <asm/sn/klconfig.h>
16 #include <asm/sn/agent.h>
17 #include <asm/sn/ioc3.h>
/linux/arch/mips/include/asm/mach-ip27/
H A Dmmzone.h5 #include <asm/sn/addrs.h>
6 #include <asm/sn/arch.h>
7 #include <asm/sn/agent.h>
8 #include <asm/sn/klkernvars.h>
/linux/drivers/media/pci/mgb4/
H A Dmgb4_sysfs_pci.c52 u32 sn = mgbdev->serial_number; in serial_number_show() local
54 return sprintf(buf, "%03d-%03d-%03d-%03d\n", sn >> 24, (sn >> 16) & 0xFF, in serial_number_show()
55 (sn >> 8) & 0xFF, sn & 0xFF); in serial_number_show()
/linux/arch/mips/include/asm/sn/
H A Dagent.h14 #include <asm/sn/addrs.h>
15 #include <asm/sn/arch.h>
18 #include <asm/sn/sn0/hub.h>
20 #include <asm/sn/sn1/hub.h>
/linux/net/mac80211/
H A Dmesh_hwmp.c226 * @target_sn: SN of the broken destination
463 if (SN_GT(mpath->sn, orig_sn) || in hwmp_route_info_get()
464 (mpath->sn == orig_sn && in hwmp_route_info_get()
476 newer_sn = have_sn && SN_GT(orig_sn, mpath->sn); in hwmp_route_info_get()
478 (SN_DELTA(orig_sn, mpath->sn) > in hwmp_route_info_get()
482 /* if SN is newer than what we had in hwmp_route_info_get()
485 /* if SN is way different than what in hwmp_route_info_get()
510 mpath->sn = orig_sn; in hwmp_route_info_get()
595 /* Update target SN, if present */ in hwmp_preq_frame_process()
613 if (SN_GT(target_sn, ifmsh->sn)) in hwmp_preq_frame_process()
[all...]
/linux/drivers/block/aoe/
H A 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/drivers/soc/atmel/
H A Dsfr.c47 u8 sn[SFR_SN_SIZE]; in atmel_sfr_probe() local
69 ret = atmel_sfr_read(priv, 0, sn, SFR_SN_SIZE); in atmel_sfr_probe()
71 add_device_randomness(sn, SFR_SN_SIZE); in atmel_sfr_probe()
97 MODULE_DESCRIPTION("Atmel SFR SN driver for SAMA5D2/4 SoC family");
/linux/tools/perf/util/
H A 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()

123456789