Home
last modified time | relevance | path

Searched refs:sn (Results 1 – 90 of 90) sorted by relevance

/linux-4.4.14/arch/mips/math-emu/
Dieee754.h242 #define ieee754dp_inf(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PINFINITY+(sn)]) argument
243 #define ieee754dp_zero(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PZERO+(sn)]) argument
244 #define ieee754dp_one(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PONE+(sn)]) argument
245 #define ieee754dp_ten(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PTEN+(sn)]) argument
247 #define ieee754dp_max(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PMAX+(sn)]) argument
248 #define ieee754dp_min(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PMIN+(sn)]) argument
249 #define ieee754dp_mind(sn) (ieee754dp_spcvals[IEEE754_SPCVAL_PMIND+(sn)]) argument
253 #define ieee754sp_inf(sn) (ieee754sp_spcvals[IEEE754_SPCVAL_PINFINITY+(sn)]) argument
254 #define ieee754sp_zero(sn) (ieee754sp_spcvals[IEEE754_SPCVAL_PZERO+(sn)]) argument
255 #define ieee754sp_one(sn) (ieee754sp_spcvals[IEEE754_SPCVAL_PONE+(sn)]) argument
[all …]
Dieee754dp.c57 static u64 ieee754dp_get_rounding(int sn, u64 xm) in ieee754dp_get_rounding() argument
70 if (!sn) /* ?? */ in ieee754dp_get_rounding()
74 if (sn) /* ?? */ in ieee754dp_get_rounding()
88 union ieee754dp ieee754dp_format(int sn, int xe, u64 xm) in ieee754dp_format() argument
106 return ieee754dp_zero(sn); in ieee754dp_format()
108 if (sn == 0) in ieee754dp_format()
113 if (sn == 0) in ieee754dp_format()
121 ieee754dp_get_rounding(sn, xm) >> (DP_FBITS + 1 + 3)) in ieee754dp_format()
125 xm = ieee754dp_get_rounding(sn, xm); in ieee754dp_format()
148 xm = ieee754dp_get_rounding(sn, xm); in ieee754dp_format()
[all …]
Dieee754sp.c57 static unsigned ieee754sp_get_rounding(int sn, unsigned xm) in ieee754sp_get_rounding() argument
70 if (!sn) /* ?? */ in ieee754sp_get_rounding()
74 if (sn) /* ?? */ in ieee754sp_get_rounding()
88 union ieee754sp ieee754sp_format(int sn, int xe, unsigned xm) in ieee754sp_format() argument
106 return ieee754sp_zero(sn); in ieee754sp_format()
108 if (sn == 0) in ieee754sp_format()
113 if (sn == 0) in ieee754sp_format()
121 ieee754sp_get_rounding(sn, xm) >> (SP_FBITS + 1 + 3)) in ieee754sp_format()
125 xm = ieee754sp_get_rounding(sn, xm); in ieee754sp_format()
146 xm = ieee754sp_get_rounding(sn, xm); in ieee754sp_format()
[all …]
/linux-4.4.14/drivers/staging/lustre/lnet/selftest/
Dframework.c119 void sfw_destroy_session(sfw_session_t *sn);
162 sfw_session_t *sn = sfw_data.fw_session; in sfw_add_session_timer() local
163 stt_timer_t *timer = &sn->sn_timer; in sfw_add_session_timer()
167 if (sn == NULL || sn->sn_timeout == 0) in sfw_add_session_timer()
170 LASSERT(!sn->sn_timer_active); in sfw_add_session_timer()
172 sn->sn_timer_active = 1; in sfw_add_session_timer()
173 timer->stt_expires = ktime_get_real_seconds() + sn->sn_timeout; in sfw_add_session_timer()
181 sfw_session_t *sn = sfw_data.fw_session; in sfw_del_session_timer() local
183 if (sn == NULL || !sn->sn_timer_active) in sfw_del_session_timer()
186 LASSERT(sn->sn_timeout != 0); in sfw_del_session_timer()
[all …]
Dping_test.c61 sfw_session_t *sn = tsi->tsi_batch->bat_session; in ping_client_init() local
64 LASSERT(sn != NULL && (sn->sn_features & ~LST_FEATS_MASK) == 0); in ping_client_init()
75 sfw_session_t *sn = tsi->tsi_batch->bat_session; in ping_client_fini() local
78 LASSERT(sn != NULL); in ping_client_fini()
81 errors = atomic_read(&sn->sn_ping_errors); in ping_client_fini()
94 sfw_session_t *sn = tsi->tsi_batch->bat_session; in ping_client_prep_rpc() local
98 LASSERT(sn != NULL); in ping_client_prep_rpc()
99 LASSERT((sn->sn_features & ~LST_FEATS_MASK) == 0); in ping_client_prep_rpc()
101 rc = sfw_create_test_rpc(tsu, dest, sn->sn_features, 0, 0, rpc); in ping_client_prep_rpc()
124 sfw_session_t *sn = tsi->tsi_batch->bat_session; in ping_client_done_rpc() local
[all …]
Dbrw_test.c72 sfw_session_t *sn = tsi->tsi_batch->bat_session; in brw_client_init() local
80 LASSERT(sn != NULL); in brw_client_init()
83 if ((sn->sn_features & LST_FEAT_BULK_LEN) == 0) { in brw_client_init()
98 LASSERT((sn->sn_features & ~LST_FEATS_MASK) == 0); in brw_client_init()
259 sfw_session_t *sn = tsi->tsi_batch->bat_session; in brw_client_prep_rpc() local
268 LASSERT(sn != NULL); in brw_client_prep_rpc()
271 if ((sn->sn_features & LST_FEAT_BULK_LEN) == 0) { in brw_client_prep_rpc()
284 LASSERT((sn->sn_features & ~LST_FEATS_MASK) == 0); in brw_client_prep_rpc()
292 rc = sfw_create_test_rpc(tsu, dest, sn->sn_features, npg, len, &rpc); in brw_client_prep_rpc()
316 sfw_session_t *sn = tsi->tsi_batch->bat_session; in brw_client_done_rpc() local
[all …]
/linux-4.4.14/net/sunrpc/auth_gss/
Dgss_rpc_upcall.c136 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 …]
Dsvcauth_gss.c1107 struct sunrpc_net *sn = net_generic(rqstp->rq_xprt->xpt_net, sunrpc_net_id); in svcauth_gss_legacy_init() local
1116 rsip = rsi_lookup(sn->rsi_cache, &rsikey); in svcauth_gss_legacy_init()
1120 if (cache_check(sn->rsi_cache, &rsip->h, &rqstp->rq_chandle) < 0) in svcauth_gss_legacy_init()
1126 if (gss_write_init_verf(sn->rsc_cache, rqstp, in svcauth_gss_legacy_init()
1136 cache_put(&rsip->h, sn->rsi_cache); in svcauth_gss_legacy_init()
1219 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in svcauth_gss_proxy_init() local
1242 status = gss_proxy_save_rsc(sn->rsc_cache, &ud, &handle); in svcauth_gss_proxy_init()
1254 if (gss_write_init_verf(sn->rsc_cache, rqstp, in svcauth_gss_proxy_init()
1275 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in set_gss_proxy() local
1279 ret = cmpxchg(&sn->use_gss_proxy, -1, type); in set_gss_proxy()
[all …]
Dauth_gss.c304 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in get_pipe_version() local
308 if (sn->pipe_version >= 0) { in get_pipe_version()
309 atomic_inc(&sn->pipe_users); in get_pipe_version()
310 ret = sn->pipe_version; in get_pipe_version()
319 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in put_pipe_version() local
321 if (atomic_dec_and_lock(&sn->pipe_users, &pipe_version_lock)) { in put_pipe_version()
322 sn->pipe_version = -1; in put_pipe_version()
611 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in gss_create_upcall() local
630 sn->pipe_version >= 0, 15 * HZ); in gss_create_upcall()
631 if (sn->pipe_version < 0) { in gss_create_upcall()
[all …]
/linux-4.4.14/net/sunrpc/
Drpcb_clnt.c167 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 …]
Dsvcauth_unix.c296 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 …]
Dstats.c246 struct sunrpc_net *sn; in do_register() local
249 sn = net_generic(net, sunrpc_net_id); in do_register()
250 return proc_create_data(name, 0, sn->proc_net_rpc, fops, data); in do_register()
263 struct sunrpc_net *sn; in rpc_proc_unregister() local
265 sn = net_generic(net, sunrpc_net_id); in rpc_proc_unregister()
266 remove_proc_entry(name, sn->proc_net_rpc); in rpc_proc_unregister()
280 struct sunrpc_net *sn; in svc_proc_unregister() local
282 sn = net_generic(net, sunrpc_net_id); in svc_proc_unregister()
283 remove_proc_entry(name, sn->proc_net_rpc); in svc_proc_unregister()
289 struct sunrpc_net *sn; in rpc_proc_init() local
[all …]
Drpc_pipe.c942 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_add_pipe_dir_object() local
944 mutex_lock(&sn->pipefs_sb_lock); in rpc_add_pipe_dir_object()
946 mutex_unlock(&sn->pipefs_sb_lock); in rpc_add_pipe_dir_object()
965 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_remove_pipe_dir_object() local
967 mutex_lock(&sn->pipefs_sb_lock); in rpc_remove_pipe_dir_object()
969 mutex_unlock(&sn->pipefs_sb_lock); in rpc_remove_pipe_dir_object()
990 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_find_or_alloc_pipe_dir_object() local
993 mutex_lock(&sn->pipefs_sb_lock); in rpc_find_or_alloc_pipe_dir_object()
1004 mutex_unlock(&sn->pipefs_sb_lock); in rpc_find_or_alloc_pipe_dir_object()
1216 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_pipefs_init_net() local
[all …]
Dsunrpc_syms.c33 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()
Dclnt.c86 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_register_client() local
88 spin_lock(&sn->rpc_client_lock); in rpc_register_client()
89 list_add(&clnt->cl_clients, &sn->all_clients); in rpc_register_client()
90 spin_unlock(&sn->rpc_client_lock); in rpc_register_client()
96 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_unregister_client() local
98 spin_lock(&sn->rpc_client_lock); in rpc_unregister_client()
100 spin_unlock(&sn->rpc_client_lock); in rpc_unregister_client()
223 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in rpc_get_client_for_event() local
226 spin_lock(&sn->rpc_client_lock); in rpc_get_client_for_event()
227 list_for_each_entry(clnt, &sn->all_clients, cl_clients) { in rpc_get_client_for_event()
[all …]
Dcache.c1604 struct sunrpc_net *sn; in remove_cache_proc_entries() local
1615 sn = net_generic(net, sunrpc_net_id); in remove_cache_proc_entries()
1616 remove_proc_entry(cd->name, sn->proc_net_rpc); in remove_cache_proc_entries()
1623 struct sunrpc_net *sn; in create_cache_proc_entries() local
1625 sn = net_generic(net, sunrpc_net_id); in create_cache_proc_entries()
1626 cd->u.procfs.proc_ent = proc_mkdir(cd->name, sn->proc_net_rpc); in create_cache_proc_entries()
/linux-4.4.14/drivers/net/wimax/i2400m/
Drx.c468 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-4.4.14/arch/arm/vfp/
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()
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-4.4.14/drivers/misc/sgi-xp/
Dxpc_uv.c76 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 …]
Dxpc_sn2.c273 chctl.all_flags = xpc_receive_IRQ_amo_sn2(part->sn.sn2. in xpc_check_for_sent_chctl_flags_sn2()
328 struct xpc_partition_sn2 *part_sn2 = &part->sn.sn2; 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 …]
Dxpc.h102 } sn; member
584 } sn; member
779 } sn; member
/linux-4.4.14/net/netfilter/
Dnf_conntrack_proto_sctp.c609 struct sctp_net *sn = sctp_pernet(net); in sctp_timeout_nlattr_to_obj() local
614 timeouts[i] = sn->timeouts[i]; in sctp_timeout_nlattr_to_obj()
765 struct sctp_net *sn) in sctp_kmemdup_sysctl_table() argument
777 pn->ctl_table[0].data = &sn->timeouts[SCTP_CONNTRACK_CLOSED]; in sctp_kmemdup_sysctl_table()
778 pn->ctl_table[1].data = &sn->timeouts[SCTP_CONNTRACK_COOKIE_WAIT]; in sctp_kmemdup_sysctl_table()
779 pn->ctl_table[2].data = &sn->timeouts[SCTP_CONNTRACK_COOKIE_ECHOED]; in sctp_kmemdup_sysctl_table()
780 pn->ctl_table[3].data = &sn->timeouts[SCTP_CONNTRACK_ESTABLISHED]; in sctp_kmemdup_sysctl_table()
781 pn->ctl_table[4].data = &sn->timeouts[SCTP_CONNTRACK_SHUTDOWN_SENT]; in sctp_kmemdup_sysctl_table()
782 pn->ctl_table[5].data = &sn->timeouts[SCTP_CONNTRACK_SHUTDOWN_RECD]; in sctp_kmemdup_sysctl_table()
783 pn->ctl_table[6].data = &sn->timeouts[SCTP_CONNTRACK_SHUTDOWN_ACK_SENT]; in sctp_kmemdup_sysctl_table()
[all …]
/linux-4.4.14/arch/ia64/include/asm/sn/
Dsimulator.h13 #define IS_MEDUSA() ({long sn; asm("mov %0=cpuid[%1]" : "=r"(sn) : "r"(2)); sn == SNMAGIC;})
/linux-4.4.14/tools/perf/util/
Dstrlist.h27 void strlist__remove(struct strlist *slist, struct str_node *sn);
55 static inline struct str_node *strlist__next(struct str_node *sn) in strlist__next() argument
58 if (!sn) in strlist__next()
60 rn = rb_next(&sn->rb_node); in strlist__next()
/linux-4.4.14/drivers/block/aoe/
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-4.4.14/crypto/
Dtwofish_common.c515 ctx->s[1][i] = mds[1][q0[q1[q1[(a) ^ sb] ^ sf] ^ sj] ^ sn]; \
594 u8 si = 0, sj = 0, sk = 0, sl = 0, sm = 0, sn = 0, so = 0, sp = 0; in __twofish_setkey() local
641 CALC_S (sm, sn, so, sp, 24, 0x00, 0x2D, 0x01, 0x2D); /* 01 A4 02 A4 */ in __twofish_setkey()
642 CALC_S (sm, sn, so, sp, 25, 0x2D, 0xA4, 0x44, 0x8A); /* A4 56 A1 55 */ in __twofish_setkey()
643 CALC_S (sm, sn, so, sp, 26, 0x8A, 0xD5, 0xBF, 0xD1); /* 55 82 FC 87 */ in __twofish_setkey()
644 CALC_S (sm, sn, so, sp, 27, 0xD1, 0x7F, 0x3D, 0x99); /* 87 F3 C1 5A */ in __twofish_setkey()
645 CALC_S (sm, sn, so, sp, 28, 0x99, 0x46, 0x66, 0x96); /* 5A 1E 47 58 */ in __twofish_setkey()
646 CALC_S (sm, sn, so, sp, 29, 0x96, 0x3C, 0x5B, 0xED); /* 58 C6 AE DB */ in __twofish_setkey()
647 CALC_S (sm, sn, so, sp, 30, 0xED, 0x37, 0x4F, 0xE0); /* DB 68 3D 9E */ in __twofish_setkey()
648 CALC_S (sm, sn, so, sp, 31, 0xE0, 0xD0, 0x8C, 0x17); /* 9E E5 19 03 */ in __twofish_setkey()
/linux-4.4.14/include/linux/mlx4/
Dcq.h144 u32 sn; in mlx4_cq_arm() local
147 sn = cq->arm_sn & 3; in mlx4_cq_arm()
150 *cq->arm_db = cpu_to_be32(sn << 28 | cmd | ci); in mlx4_cq_arm()
158 doorbell[0] = cpu_to_be32(sn << 28 | cmd | cq->cqn); in mlx4_cq_arm()
/linux-4.4.14/include/linux/mlx5/
Dcq.h144 u32 sn; in mlx5_cq_arm() local
147 sn = cq->arm_sn & 3; in mlx5_cq_arm()
150 *cq->arm_db = cpu_to_be32(sn << 28 | cmd | ci); in mlx5_cq_arm()
157 doorbell[0] = cpu_to_be32(sn << 28 | cmd | ci); in mlx5_cq_arm()
/linux-4.4.14/net/mac80211/
Dmesh_hwmp.c431 if (SN_GT(mpath->sn, orig_sn) || in hwmp_route_info_get()
432 (mpath->sn == orig_sn && in hwmp_route_info_get()
441 newer_sn = have_sn && SN_GT(orig_sn, mpath->sn); in hwmp_route_info_get()
443 (SN_DELTA(orig_sn, mpath->sn) > in hwmp_route_info_get()
471 mpath->sn = orig_sn; in hwmp_route_info_get()
558 ++ifmsh->sn; in hwmp_preq_frame_process()
561 target_sn = ifmsh->sn; in hwmp_preq_frame_process()
570 target_sn = ++ifmsh->sn; in hwmp_preq_frame_process()
583 SN_LT(mpath->sn, target_sn)) { in hwmp_preq_frame_process()
584 mpath->sn = target_sn; in hwmp_preq_frame_process()
[all …]
Dmesh_pathtbl.c768 ++mpath->sn; in mesh_plink_broken()
772 mpath->dst, mpath->sn, in mesh_plink_broken()
1027 mpath->sn = 0xffff; in mesh_path_fix_nexthop()
Dmesh.h113 u32 sn; member
Dieee80211_i.h652 u32 sn; member
Dcfg.c1493 pinfo->sn = mpath->sn; in mpath_set_pinfo()
/linux-4.4.14/net/rose/
Drose_route.c373 struct rose_neigh *sn; in rose_add_loopback_neigh() local
378 sn = rose_loopback_neigh; in rose_add_loopback_neigh()
380 sn->callsign = null_ax25_address; in rose_add_loopback_neigh()
381 sn->digipeat = NULL; in rose_add_loopback_neigh()
382 sn->ax25 = NULL; in rose_add_loopback_neigh()
383 sn->dev = NULL; in rose_add_loopback_neigh()
384 sn->count = 0; in rose_add_loopback_neigh()
385 sn->use = 0; in rose_add_loopback_neigh()
386 sn->dce_mode = 1; in rose_add_loopback_neigh()
387 sn->loopback = 1; in rose_add_loopback_neigh()
[all …]
/linux-4.4.14/drivers/net/wireless/ath/wcn36xx/
Dtxrx.c31 u16 fc, sn; in wcn36xx_rx_skb() local
66 sn = IEEE80211_SEQ_TO_SN(__le16_to_cpu(hdr->seq_ctrl)); in wcn36xx_rx_skb()
70 skb, skb->len, fc, sn); in wcn36xx_rx_skb()
75 skb, skb->len, fc, sn); in wcn36xx_rx_skb()
/linux-4.4.14/arch/ia64/uv/kernel/
DMakefile10 ccflags-y := -Iarch/ia64/sn/include
/linux-4.4.14/arch/ia64/sn/pci/
DMakefile10 ccflags-y := -Iarch/ia64/sn/include
/linux-4.4.14/arch/ia64/sn/pci/pcibr/
DMakefile10 ccflags-y := -Iarch/ia64/sn/include
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dtrace.h922 __field(u64, sn)
938 __entry->sn = txp ? txp->sn : ~0;
944 __entry->sn,
995 u64 sn
997 TP_ARGS(sde, sn),
1000 __field(u64, sn)
1005 __entry->sn = sn;
1012 __entry->sn
1019 u64 sn
1021 TP_ARGS(sde, sn)
[all …]
Dsdma.c406 trace_hfi1_sdma_out_sn(sde, txp->sn); in sdma_flush()
407 if (WARN_ON_ONCE(sde->head_sn != txp->sn)) in sdma_flush()
409 sde->head_sn, txp->sn); in sdma_flush()
596 trace_hfi1_sdma_out_sn(sde, txp->sn); in sdma_flush_descq()
597 if (WARN_ON_ONCE(sde->head_sn != txp->sn)) in sdma_flush_descq()
599 sde->head_sn, txp->sn); in sdma_flush_descq()
1501 trace_hfi1_sdma_out_sn(sde, txp->sn); in sdma_make_progress()
1502 if (WARN_ON_ONCE(sde->head_sn != txp->sn)) in sdma_make_progress()
1504 sde->head_sn, txp->sn); in sdma_make_progress()
2016 tx->sn = sde->tail_sn++; in submit_tx()
[all …]
Dsdma.h361 u64 sn; member
/linux-4.4.14/arch/ia64/sn/kernel/sn2/
DMakefile12 ccflags-y := -Iarch/ia64/sn/include
/linux-4.4.14/Documentation/zh_CN/
Dmagic-number.txt108 LABELCL_MAGIC 0x4857434c labelcl_info_s include/asm/ia64/sn/labelcl.h
120 GDA_MAGIC 0x58464552 gda arch/mips/include/asm/sn/gda.h
125 KV_MAGIC 0x5f4b565f kernel_vars_s arch/mips/include/asm/sn/klkernvars.h
147 NMI_MAGIC 0x48414d4d455201 nmi_s arch/mips/include/asm/sn/nmi.h
/linux-4.4.14/sound/pci/echoaudio/
Dechoaudio_dsp.c148 u32 sn[6]; in read_sn() local
151 if (read_dsp(chip, &sn[i])) { in read_sn()
159 sn[0], sn[1], sn[2], sn[3], sn[4]); in read_sn()
/linux-4.4.14/drivers/block/drbd/
Ddrbd_proc.c241 const char *sn; in drbd_seq_show() local
283 sn = drbd_conn_str(state.conn); in drbd_seq_show()
299 i, sn, in drbd_seq_show()
/linux-4.4.14/arch/ia64/sn/kernel/
DMakefile10 ccflags-y := -Iarch/ia64/sn/include
/linux-4.4.14/net/nfc/
Dllcp_core.c340 u8 *sn, size_t sn_len) in nfc_llcp_sock_from_sn() argument
345 pr_debug("sn %zd %p\n", sn_len, sn); in nfc_llcp_sock_from_sn()
347 if (sn == NULL || sn_len == 0) in nfc_llcp_sock_from_sn()
374 if (memcmp(sn, tmp_sock->service_name, sn_len) == 0) { in nfc_llcp_sock_from_sn()
801 u8 *sn, size_t sn_len) in nfc_llcp_sock_get_sn() argument
805 llcp_sock = nfc_llcp_sock_from_sn(local, sn, sn_len); in nfc_llcp_sock_get_sn()
893 u8 *sn; in nfc_llcp_recv_connect() local
896 sn = nfc_llcp_connect_sn(skb, &sn_len); in nfc_llcp_recv_connect()
897 if (sn == NULL) { in nfc_llcp_recv_connect()
904 sock = nfc_llcp_sock_get_sn(local, sn, sn_len); in nfc_llcp_recv_connect()
/linux-4.4.14/arch/ia64/
DMakefile54 core-$(CONFIG_IA64_SGI_SN2) += arch/ia64/sn/
61 …64_GENERIC) += arch/ia64/hp/common/ arch/ia64/hp/zx1/ arch/ia64/hp/sim/ arch/ia64/sn/ arch/ia64/uv/
DKconfig516 source "drivers/sn/Kconfig"
/linux-4.4.14/drivers/md/
Dmd-cluster.c994 int sn, err; in gather_bitmaps() local
1006 for (sn = 0; sn < mddev->bitmap_info.nodes; sn++) { in gather_bitmaps()
1007 if (sn == (cinfo->slot_number - 1)) in gather_bitmaps()
1009 err = bitmap_copy_from_slot(mddev, sn, &lo, &hi, false); in gather_bitmaps()
1011 pr_warn("md-cluster: Could not gather bitmaps from slot %d", sn); in gather_bitmaps()
/linux-4.4.14/fs/nilfs2/
Dthe_nilfs.c666 __u64 *sn; in nilfs_discard_segments() local
671 for (sn = segnump; sn < segnump + nsegs; sn++) { in nilfs_discard_segments()
672 nilfs_get_segment_range(nilfs, *sn, &seg_start, &seg_end); in nilfs_discard_segments()
/linux-4.4.14/drivers/iio/common/ms_sensors/
Dms_sensors_i2c.h50 int ms_sensors_read_serial(struct i2c_client *client, u64 *sn);
Dms_sensors_i2c.c186 int ms_sensors_read_serial(struct i2c_client *client, u64 *sn) in ms_sensors_read_serial() argument
225 *sn = (((rcv_val >> 32) & 0xFF000000) | in ms_sensors_read_serial()
248 *sn |= (rcv_val & 0xFFFF00) << 40 | (rcv_val >> 32); in ms_sensors_read_serial()
/linux-4.4.14/Documentation/
Dmagic-number.txt108 LABELCL_MAGIC 0x4857434c labelcl_info_s include/asm/ia64/sn/labelcl.h
120 GDA_MAGIC 0x58464552 gda arch/mips/include/asm/sn/gda.h
125 KV_MAGIC 0x5f4b565f kernel_vars_s arch/mips/include/asm/sn/klkernvars.h
147 NMI_MAGIC 0x48414d4d455201 nmi_s arch/mips/include/asm/sn/nmi.h
/linux-4.4.14/drivers/input/mouse/
Dsentelic.c306 static int fsp_get_sn(struct psmouse *psmouse, int *sn) in fsp_get_sn() argument
320 *sn = (v0 << 16) | (v1 << 8) | v2; in fsp_get_sn()
1037 int ver, rev, sn = 0; in fsp_init() local
1046 fsp_get_sn(psmouse, &sn); in fsp_init()
1051 ver >> 4, ver & 0x0F, rev, sn, fsp_drv_ver); in fsp_init()
/linux-4.4.14/drivers/usb/host/
Dehci-timer.c301 struct ehci_sitd *sitd, *sn; in end_free_itds() local
314 list_for_each_entry_safe(sitd, sn, &ehci->cached_sitd_list, sitd_list) { in end_free_itds()
/linux-4.4.14/include/net/
Dllc_pdu.h145 #define PDU_GET_NEXT_Vr(sn) (((sn) + 1) & ~LLC_2_SEQ_NBR_MODULO) argument
Dcfg80211.h1190 u32 sn; member
/linux-4.4.14/fs/fscache/
Dobject.c44 #define WORK_STATE(n, sn, f) \ argument
47 .short_name = sn, \
65 #define WAIT_STATE(n, sn, ...) \ argument
68 .short_name = sn, \
/linux-4.4.14/net/ipv6/
Dip6_fib.c978 struct fib6_node *sn; in fib6_add() local
1005 sn = fib6_add_1(sfn, &rt->rt6i_src.addr, in fib6_add()
1010 if (IS_ERR(sn)) { in fib6_add()
1016 err = PTR_ERR(sn); in fib6_add()
1024 sn = fib6_add_1(fn->subtree, &rt->rt6i_src.addr, in fib6_add()
1029 if (IS_ERR(sn)) { in fib6_add()
1030 err = PTR_ERR(sn); in fib6_add()
1039 fn = sn; in fib6_add()
/linux-4.4.14/arch/unicore32/mm/
Dalignment.c59 signed long sn; member
408 offset.sn >>= shiftval; in do_alignment()
/linux-4.4.14/drivers/block/
Dcciss.c683 __u8 sn[16]; in dev_show_unique_id() local
691 memcpy(sn, drv->serial_no, sizeof(sn)); in dev_show_unique_id()
700 sn[0], sn[1], sn[2], sn[3], in dev_show_unique_id()
701 sn[4], sn[5], sn[6], sn[7], in dev_show_unique_id()
702 sn[8], sn[9], sn[10], sn[11], in dev_show_unique_id()
703 sn[12], sn[13], sn[14], sn[15]); in dev_show_unique_id()
/linux-4.4.14/drivers/
DMakefile126 obj-$(CONFIG_SGI_SN) += sn/
/linux-4.4.14/drivers/infiniband/hw/mthca/
Dmthca_cq.c749 u32 sn = cq->arm_sn & 3; in mthca_arbel_arm_cq() local
752 db_rec[1] = cpu_to_be32((cq->cqn << 8) | (2 << 5) | (sn << 3) | in mthca_arbel_arm_cq()
764 dbhi = (sn << 28) | in mthca_arbel_arm_cq()
/linux-4.4.14/arch/arm/mm/
Dalignment.c178 signed long sn; member
867 offset.sn >>= shiftval; in do_alignment()
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_gs.c1264 uint32_t size, sn; in qla2x00_fdmi_rhba() local
1323 sn = ((ha->serial0 & 0x1f) << 16) | in qla2x00_fdmi_rhba()
1326 "%c%05d", 'A' + sn / 100000, sn % 100000); in qla2x00_fdmi_rhba()
1686 uint32_t size, sn; in qla2x00_fdmiv2_rhba() local
1747 sn = ((ha->serial0 & 0x1f) << 16) | in qla2x00_fdmiv2_rhba()
1750 "%c%05d", 'A' + sn / 100000, sn % 100000); in qla2x00_fdmiv2_rhba()
Dqla_attr.c1027 uint32_t sn; in qla2x00_serial_num_show() local
1037 sn = ((ha->serial0 & 0x1f) << 16) | (ha->serial2 << 8) | ha->serial1; in qla2x00_serial_num_show()
1038 return scnprintf(buf, PAGE_SIZE, "%c%05d\n", 'A' + sn / 100000, in qla2x00_serial_num_show()
1039 sn % 100000); in qla2x00_serial_num_show()
/linux-4.4.14/drivers/staging/speakup/
Dmain.c1410 int indcount, sentcount, rv, sn; in handle_cursor_read_all() local
1425 sn = 0; in handle_cursor_read_all()
1427 sn = 1; in handle_cursor_read_all()
1428 spk_reset_index_count(sn); in handle_cursor_read_all()
1431 if (!say_sentence_num(sn, 0)) { in handle_cursor_read_all()
/linux-4.4.14/mm/
Dmempolicy.c2210 struct sp_node *sn; in mpol_shared_policy_lookup() local
2215 sn = sp_lookup(sp, idx, idx+1); in mpol_shared_policy_lookup()
2216 if (sn) { in mpol_shared_policy_lookup()
2217 mpol_get(sn->policy); in mpol_shared_policy_lookup()
2218 pol = sn->policy; in mpol_shared_policy_lookup()
/linux-4.4.14/drivers/scsi/csiostor/
Dcsio_hw.c305 int i, ret, ec, sn, addr; in csio_hw_get_vpd_params() local
362 FIND_VPD_KW(sn, "SN"); in csio_hw_get_vpd_params()
369 i = vpd[sn - VPD_INFO_FLD_HDR_SIZE + 2]; in csio_hw_get_vpd_params()
370 memcpy(p->sn, vpd + sn, min(i, SERNUM_LEN)); in csio_hw_get_vpd_params()
371 s = strstrip(p->sn); in csio_hw_get_vpd_params()
Dcsio_hw.h267 uint8_t sn[SERNUM_LEN + 1]; member
Dcsio_lnode.c450 hw->vpd.sn, (uint16_t)sizeof(hw->vpd.sn)); in csio_ln_fdmi_dprt_cbfn()
/linux-4.4.14/drivers/scsi/
Dhpsa.c709 unsigned char sn[16]; in unique_id_show() local
719 memcpy(sn, hdev->device_id, sizeof(sn)); in unique_id_show()
724 sn[0], sn[1], sn[2], sn[3], in unique_id_show()
725 sn[4], sn[5], sn[6], sn[7], in unique_id_show()
726 sn[8], sn[9], sn[10], sn[11], in unique_id_show()
727 sn[12], sn[13], sn[14], sn[15]); in unique_id_show()
Dipr.h353 u8 sn[IPR_SERIAL_NUM_LEN]; member
Dipr.c1531 memcpy(&buffer[i], vpd->sn, IPR_SERIAL_NUM_LEN); in ipr_log_vpd_compact()
1555 memcpy(buffer, vpd->sn, IPR_SERIAL_NUM_LEN); in ipr_log_vpd()
1823 if (!memcmp(array_entry->vpd.vpd.sn, zero_sn, IPR_SERIAL_NUM_LEN)) in ipr_log_enhanced_array_error()
1872 if (!memcmp(array_entry->vpd.sn, zero_sn, IPR_SERIAL_NUM_LEN)) in ipr_log_array_error()
2311 if (!memcmp(array_entry->vpd.vpd.sn, zero_sn, IPR_SERIAL_NUM_LEN)) in ipr_log_sis64_array_error()
/linux-4.4.14/drivers/message/fusion/
Dmptfc.c991 char *sn; in mptfc_init_host_attr() local
1000 sn = fc_host_symbolic_name(sh); in mptfc_init_host_attr()
1001 snprintf(sn, FC_SYMBOLIC_NAME_SIZE, "%s %s%08xh", in mptfc_init_host_attr()
/linux-4.4.14/include/linux/
Dnvme.h102 char sn[20]; member
Dieee80211.h134 static inline u16 ieee80211_sn_inc(u16 sn) in ieee80211_sn_inc() argument
136 return ieee80211_sn_add(sn, 1); in ieee80211_sn_inc()
/linux-4.4.14/include/scsi/
Dscsi_transport_iscsi.h94 uint32_t sn);
/linux-4.4.14/net/mac802154/
Dllsec.c49 struct ieee802154_llsec_seclevel *sl, *sn; in mac802154_llsec_destroy() local
53 list_for_each_entry_safe(sl, sn, &sec->table.security_levels, list) { in mac802154_llsec_destroy()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
Dcommon.h360 u8 sn[SERNUM_LEN + 1]; member
Dt3_hw.c581 VPD_ENTRY(sn, SERNUM_LEN); /* serial number */
717 memcpy(p->sn, vpd.sn_data, SERNUM_LEN); in get_vpd_params()
Dcxgb3_main.c3143 adap->params.vpd.sn); in print_port_info()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c2583 int ec, sn, pn, na; in t4_get_raw_vpd_params() local
2657 FIND_VPD_KW(sn, "SN"); in t4_get_raw_vpd_params()
2666 i = pci_vpd_info_field_size(vpd + sn - PCI_VPD_INFO_FLD_HDR_SIZE); in t4_get_raw_vpd_params()
2667 memcpy(p->sn, vpd + sn, min(i, SERNUM_LEN)); in t4_get_raw_vpd_params()
2668 strim(p->sn); in t4_get_raw_vpd_params()
Dcxgb4.h284 u8 sn[SERNUM_LEN + 1]; member
Dcxgb4_main.c4575 adap->params.vpd.sn, adap->params.vpd.pn); in print_port_info()
/linux-4.4.14/net/wireless/
Dtrace.h893 __field(u32, sn)
906 __entry->sn = pinfo->sn;
917 __entry->filled, __entry->frame_qlen, __entry->sn,
Dnl80211.c4603 nla_put_u32(msg, NL80211_MPATH_INFO_SN, pinfo->sn)) || in nl80211_send_mpath()
/linux-4.4.14/drivers/nvme/host/
Dpci.c2636 memcpy(dev->serial, ctrl->sn, sizeof(ctrl->sn)); in nvme_dev_add()
/linux-4.4.14/arch/x86/kvm/
Dvmx.c464 sn : 1, member
2031 new.sn = 0; in vmx_vcpu_pi_load()
10632 WARN((pi_desc->sn == 1), in vmx_pre_block()
10681 new.sn = 0; in vmx_post_block()