| /linux/arch/mips/math-emu/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| /linux/net/sunrpc/ |
| H A 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 in rpcb_put_local() 210 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); rpcb_set_local() local 403 rpcb_register_call(struct sunrpc_net * sn,struct rpc_clnt * clnt,struct rpc_message * msg,bool is_set) rpcb_register_call() argument 465 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); rpcb_register() local 482 rpcb_register_inet4(struct sunrpc_net * sn,const struct sockaddr * sap,struct rpc_message * msg) rpcb_register_inet4() argument 510 rpcb_register_inet6(struct sunrpc_net * sn,const struct sockaddr * sap,struct rpc_message * msg) rpcb_register_inet6() argument 535 rpcb_unregister_all_protofamilies(struct sunrpc_net * sn,struct rpc_message * msg) rpcb_unregister_all_protofamilies() argument 604 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); rpcb_v4_register() local [all...] |
| H A D | svcauth_unix.c | 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 350 sn = net_generic(xprt->xpt_net, sunrpc_net_id); in ip_map_cached_get() 351 if (cache_is_expired(sn->ip_map_cache, &ipm->h)) { in ip_map_cached_get() 359 cache_put(&ipm->h, sn->ip_map_cache); in ip_map_cached_get() 382 struct sunrpc_net *sn; in ip_map_cached_put() local 384 sn = net_generic(xprt->xpt_net, sunrpc_net_id); in ip_map_cached_put() 385 cache_put(&ipm->h, sn in ip_map_cached_put() 396 struct sunrpc_net *sn; svcauth_unix_info_release() local 610 struct sunrpc_net *sn; sunrpc_nl_unix_gid_get_reqs_dumpit() local 799 struct sunrpc_net *sn; sunrpc_nl_unix_gid_set_reqs_doit() local 834 struct sunrpc_net *sn; sunrpc_nl_cache_flush_doit() local 871 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); unix_gid_cache_create() local 889 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); unix_gid_cache_destroy() local 916 struct sunrpc_net *sn = net_generic(rqstp->rq_xprt->xpt_net, unix_gid_find() local 947 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); svcauth_unix_set_client() local 1311 struct sunrpc_net *sn; sunrpc_nl_ip_map_get_reqs_dumpit() local 1509 struct sunrpc_net *sn; sunrpc_nl_ip_map_set_reqs_doit() local 1549 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); ip_map_cache_create() local 1567 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); ip_map_cache_destroy() local [all...] |
| H A D | rpc_pipe.c | 766 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_add_pipe_dir_object() 768 mutex_lock(&sn->pipefs_sb_lock); in rpc_add_pipe_dir_object() 770 mutex_unlock(&sn->pipefs_sb_lock); in rpc_add_pipe_dir_object() 789 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_remove_pipe_dir_object() 791 mutex_lock(&sn->pipefs_sb_lock); in rpc_remove_pipe_dir_object() 793 mutex_unlock(&sn->pipefs_sb_lock); in rpc_remove_pipe_dir_object() 814 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_find_or_alloc_pipe_dir_object() 817 mutex_lock(&sn->pipefs_sb_lock); in rpc_find_or_alloc_pipe_dir_object() 828 mutex_unlock(&sn->pipefs_sb_lock); in rpc_find_or_alloc_pipe_dir_object() 1015 struct sunrpc_net *sn in rpc_pipefs_init_net() 765 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); rpc_add_pipe_dir_object() local 788 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); rpc_remove_pipe_dir_object() local 813 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); rpc_find_or_alloc_pipe_dir_object() local 1014 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); rpc_pipefs_init_net() local 1027 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); rpc_pipefs_exit_net() local 1040 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); rpc_get_sb_net() local 1052 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); rpc_put_sb_net() local 1122 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); rpc_fill_super() local 1157 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); gssd_running() local 1191 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); rpc_kill_sb() local [all...] |
| H A D | sunrpc_syms.c | 39 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in sunrpc_init_net() local 57 INIT_LIST_HEAD(&sn->all_clients); in sunrpc_init_net() 58 spin_lock_init(&sn->rpc_client_lock); in sunrpc_init_net() 59 spin_lock_init(&sn->rpcb_clnt_lock); in sunrpc_init_net() 60 mutex_init(&sn->gssp_lock); in sunrpc_init_net() 75 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in sunrpc_exit_net() local 81 WARN_ON_ONCE(!list_empty(&sn->all_clients)); in sunrpc_exit_net()
|
| H A D | stats.c | 290 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 …]
|
| /linux/net/sunrpc/auth_gss/ |
| H A D | gss_rpc_upcall.c | 126 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in set_gssp_clnt() local 130 mutex_lock(&sn->gssp_lock); in set_gssp_clnt() 133 if (sn->gssp_clnt) in set_gssp_clnt() 134 rpc_shutdown_client(sn->gssp_clnt); in set_gssp_clnt() 135 sn->gssp_clnt = clnt; in set_gssp_clnt() 137 mutex_unlock(&sn->gssp_lock); in set_gssp_clnt() 141 void clear_gssp_clnt(struct sunrpc_net *sn) in clear_gssp_clnt() argument 143 mutex_lock(&sn->gssp_lock); in clear_gssp_clnt() 144 if (sn->gssp_clnt) { in clear_gssp_clnt() 145 rpc_shutdown_client(sn->gssp_clnt); in clear_gssp_clnt() [all …]
|
| H A D | svcauth_gss.c | 1172 struct sunrpc_net *sn = net_generic(SVC_NET(rqstp), sunrpc_net_id); in svcauth_gss_legacy_init() 1203 rsip = rsi_lookup(sn->rsi_cache, &rsikey); in svcauth_gss_legacy_init() 1207 if (cache_check(sn->rsi_cache, &rsip->h, &rqstp->rq_chandle) < 0) in svcauth_gss_legacy_init() 1212 if (!svcauth_gss_proc_init_verf(sn->rsc_cache, rqstp, &rsip->out_handle, in svcauth_gss_legacy_init() 1224 cache_put(&rsip->h, sn->rsi_cache); in gss_proxy_save_rsc() 1309 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in svcauth_gss_proxy_init() 1330 status = gss_proxy_save_rsc(sn->rsc_cache, &ud, &handle); in svcauth_gss_proxy_init() 1340 if (!svcauth_gss_proc_init_verf(sn->rsc_cache, rqstp, &cli_handle, in svcauth_gss_proxy_init() 1358 * Try to set the sn->use_gss_proxy variable to a new value. We only allow in set_gss_proxy() 1364 struct sunrpc_net *sn in set_gss_proxy() 1165 struct sunrpc_net *sn = net_generic(SVC_NET(rqstp), sunrpc_net_id); svcauth_gss_legacy_init() local 1302 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); svcauth_gss_proxy_init() local 1357 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); set_gss_proxy() local 1369 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); use_gss_proxy() local 1436 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); read_gssp() local 1462 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); create_use_gss_proxy_proc_entry() local 1476 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); destroy_use_gss_proxy_proc_entry() local 1516 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); create_krb5_enctypes_proc_entry() local 1527 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); destroy_krb5_enctypes_proc_entry() local 1634 struct sunrpc_net *sn = net_generic(SVC_NET(rqstp), sunrpc_net_id); svcauth_gss_accept() local 1942 struct sunrpc_net *sn = net_generic(SVC_NET(rqstp), sunrpc_net_id); svcauth_gss_release() local 2027 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); rsi_cache_create_net() local 2045 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); rsi_cache_destroy_net() local 2056 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); rsc_cache_create_net() local 2074 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); rsc_cache_destroy_net() local [all...] |
| /linux/net/smc/ |
| H A D | smc_pnet.c | 108 struct smc_net *sn; in smc_pnet_remove_by_pnetid() 113 sn = net_generic(net, smc_net_id); in smc_pnet_remove_by_pnetid() 114 pnettable = &sn->pnettable; in smc_pnet_remove_by_pnetid() 191 struct smc_net *sn; in smc_pnet_add_by_ndev() 195 sn = net_generic(net, smc_net_id); in smc_pnet_add_by_ndev() 196 pnettable = &sn->pnettable; in smc_pnet_add_by_ndev() 223 struct smc_net *sn; in smc_pnet_remove_by_ndev() 227 sn = net_generic(net, smc_net_id); in smc_pnet_remove_by_ndev() 228 pnettable = &sn->pnettable; in smc_pnet_remove_by_ndev() 493 struct smc_net *sn; in smc_pnet_enter() 107 struct smc_net *sn; smc_pnet_remove_by_pnetid() local 190 struct smc_net *sn; smc_pnet_add_by_ndev() local 222 struct smc_net *sn; smc_pnet_remove_by_ndev() local 483 struct smc_net *sn; smc_pnet_enter() local 606 struct smc_net *sn; _smc_pnet_dump() local 728 struct smc_net *sn = net_generic(net, smc_net_id); smc_pnet_is_ndev_pnetid() local 747 struct smc_net *sn = net_generic(net, smc_net_id); smc_pnet_add_pnetid() local 773 struct smc_net *sn = net_generic(net, smc_net_id); smc_pnet_remove_pnetid() local 828 struct smc_net *sn = net_generic(net, smc_net_id); smc_pnet_destroy_pnetids_list() local 879 struct smc_net *sn = net_generic(net, smc_net_id); smc_pnet_net_init() local 957 struct smc_net *sn; smc_pnet_find_ndev_pnetid_by_table() local 1170 struct smc_net *sn; smc_pnetid_by_table_ib() local 1198 struct smc_net *sn; smc_pnetid_by_table_smcd() local [all...] |
| /linux/arch/arm/vfp/ |
| H A 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/drivers/media/pci/mgb4/ |
| H A D | mgb4_sysfs_pci.c | 52 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/drivers/block/aoe/ |
| H A D | aoenet.c | 136 int sn; aoenet_rcv() local
|
| /linux/crypto/ |
| H A 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/tools/perf/util/ |
| H A D | strlist.h | 33 void strlist__remove(struct strlist *slist, struct str_node *sn); 61 static inline struct str_node *strlist__next(struct str_node *sn) in strlist__next() argument 64 if (!sn) in strlist__next() 66 rn = rb_next(&sn->rb_node); in strlist__next()
|
| /linux/include/linux/mlx4/ |
| H A 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/drivers/accel/amdxdna/ |
| H A D | aie2_message.c | 579 struct amdxdna_cmd_start_npu *sn; in aie2_init_exec_dpu_req() 582 sn = amdxdna_cmd_get_payload(cmd_bo, &cmd_len); in aie2_init_exec_dpu_req() 583 if (cmd_len - sizeof(*sn) > sizeof(dpu_req->payload)) in aie2_init_exec_dpu_req() 590 dpu_req->inst_buf_addr = sn->buffer; in aie2_init_exec_dpu_req() 591 dpu_req->inst_size = sn->buffer_size; in aie2_init_exec_dpu_req() 592 dpu_req->inst_prop_cnt = sn->prop_count; in aie2_init_exec_dpu_req() 593 memcpy(dpu_req->payload, sn->prop_args, cmd_len - sizeof(*sn)); in aie2_init_exec_dpu_req() 646 struct amdxdna_cmd_start_npu *sn; in aie2_cmdlist_fill_dpu() 650 sn in aie2_cmdlist_fill_dpu() 576 struct amdxdna_cmd_start_npu *sn; aie2_init_exec_dpu_req() local 643 struct amdxdna_cmd_start_npu *sn; aie2_cmdlist_fill_dpu() local 728 struct amdxdna_cmd_start_npu *sn; aie2_cmdlist_fill_npu_dpu() local [all...] |
| /linux/drivers/soc/atmel/ |
| H A D | sfr.c | 47 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()
|
| /linux/include/linux/mlx5/ |
| H A D | cq.h | 146 u32 sn; 149 sn = cq->arm_sn & 3; 152 *cq->arm_db = cpu_to_be32(sn << 28 | cmd | ci); in mlx5_cq_arm() 159 doorbell[0] = cpu_to_be32(sn << 28 | cmd | ci); in mlx5_cq_arm() 156 u32 sn; mlx5_cq_arm() local
|
| /linux/net/hsr/ |
| H A D | hsr_framereg.c | 33 struct hsr_self_node *sn; in hsr_addr_is_self() local 37 sn = rcu_dereference(hsr->self_node); in hsr_addr_is_self() 38 if (!sn) in hsr_addr_is_self() 41 if (ether_addr_equal(addr, sn->macaddress_A) || in hsr_addr_is_self() 42 ether_addr_equal(addr, sn->macaddress_B)) in hsr_addr_is_self() 79 struct hsr_self_node *sn, *old; in hsr_create_self_node() local 81 sn = kmalloc_obj(*sn); in hsr_create_self_node() 82 if (!sn) in hsr_create_self_node() 85 ether_addr_copy(sn->macaddress_A, addr_a); in hsr_create_self_node() 86 ether_addr_copy(sn->macaddress_B, addr_b); in hsr_create_self_node() [all …]
|
| /linux/drivers/s390/char/ |
| H A D | sclp_early_core.c | 360 u16 sn; in sclp_early_read_storage_info() local 382 for (sn = 0; sn < sccb->assigned; sn++) { in sclp_early_read_storage_info() 383 if (!sccb->entries[sn]) in sclp_early_read_storage_info() 385 rn = sccb->entries[sn] >> 16; in sclp_early_read_storage_info()
|
| /linux/drivers/scsi/aacraid/ |
| H A D | linit.c | 583 unsigned char sn[16]; in aac_show_unique_id() local 585 memset(sn, 0, sizeof(sn)); in aac_show_unique_id() 588 memcpy(sn, aac->fsa_dev[sdev_id(sdev)].identifier, sizeof(sn)); in aac_show_unique_id() 592 sn[0], sn[1], sn[2], sn[3], in aac_show_unique_id() 593 sn[4], sn[5], sn[6], sn[7], in aac_show_unique_id() 594 sn[8], sn[9], sn[10], sn[11], in aac_show_unique_id() 595 sn[12], sn[13], sn[14], sn[15]); in aac_show_unique_id()
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_devlink.c | 242 const char *sn, *vendor, *part; in nfp_devlink_info_get() local 249 sn = nfp_hwinfo_lookup(pf->hwinfo, "assembly.serial"); in nfp_devlink_info_get() 250 if (vendor && part && sn) { in nfp_devlink_info_get() 253 buf = kmalloc(strlen(vendor) + strlen(part) + strlen(sn) + 1, in nfp_devlink_info_get() 261 strcat(buf, sn); in nfp_devlink_info_get()
|
| /linux/net/netfilter/ |
| H A D | nf_conntrack_standalone.c | 974 struct nf_sctp_net *sn = nf_sctp_pernet(net); in nf_conntrack_standalone_init_sctp_sysctl() local 976 #define XASSIGN(XNAME, sn) \ in nf_conntrack_standalone_init_sctp_sysctl() argument 978 &(sn)->timeouts[SCTP_CONNTRACK_ ## XNAME] in nf_conntrack_standalone_init_sctp_sysctl() 980 XASSIGN(CLOSED, sn); in nf_conntrack_standalone_init_sctp_sysctl() 981 XASSIGN(COOKIE_WAIT, sn); in nf_conntrack_standalone_init_sctp_sysctl() 982 XASSIGN(COOKIE_ECHOED, sn); in nf_conntrack_standalone_init_sctp_sysctl() 983 XASSIGN(ESTABLISHED, sn); in nf_conntrack_standalone_init_sctp_sysctl() 984 XASSIGN(SHUTDOWN_SENT, sn); in nf_conntrack_standalone_init_sctp_sysctl() 985 XASSIGN(SHUTDOWN_RECD, sn); in nf_conntrack_standalone_init_sctp_sysctl() 986 XASSIGN(SHUTDOWN_ACK_SENT, sn); in nf_conntrack_standalone_init_sctp_sysctl() [all...] |