Searched refs:sc (Results 1 - 9 of 9) sorted by relevance

/net/ceph/
H A Dsnapshot.c61 struct ceph_snap_context *ceph_get_snap_context(struct ceph_snap_context *sc) argument
63 if (sc)
64 atomic_inc(&sc->nref);
65 return sc;
69 void ceph_put_snap_context(struct ceph_snap_context *sc) argument
71 if (!sc)
73 if (atomic_dec_and_test(&sc->nref)) {
74 /*printk(" deleting snap_context %p\n", sc);*/
75 kfree(sc);
H A Dceph_fs.c13 __u32 sc = le32_to_cpu(layout->fl_stripe_count); local
25 if (!sc)
H A Dosdmap.c1037 u32 sc = le32_to_cpu(layout->fl_stripe_count); local
1044 if (su == 0 || sc == 0)
1061 stripeno = bl / sc;
1062 stripepos = bl % sc;
1065 *ono = objsetno * sc + stripepos;
1066 dout("objset %u * sc %u = ono %u\n", objsetno, sc, (unsigned int)*ono);
H A Dauth_x.c488 struct ceph_x_server_challenge *sc = buf; local
490 if (len != sizeof(*sc))
492 xi->server_challenge = le64_to_cpu(sc->server_challenge);
/net/tipc/
H A Daddr.h80 static inline u32 addr_domain(u32 sc) argument
82 if (likely(sc == TIPC_NODE_SCOPE))
84 if (sc == TIPC_CLUSTER_SCOPE)
/net/netfilter/ipvs/
H A Dip_vs_sync.c771 ip_vs_conn_fill_param_sync(struct net *net, int af, union ip_vs_sync_conn *sc, argument
778 ip_vs_conn_fill_param(net, af, sc->v6.protocol,
779 (const union nf_inet_addr *)&sc->v6.caddr,
780 sc->v6.cport,
781 (const union nf_inet_addr *)&sc->v6.vaddr,
782 sc->v6.vport, p);
785 ip_vs_conn_fill_param(net, af, sc->v4.protocol,
786 (const union nf_inet_addr *)&sc->v4.caddr,
787 sc->v4.cport,
788 (const union nf_inet_addr *)&sc
[all...]
/net/sched/
H A Dsch_hfsc.c482 sc2isc(struct tc_service_curve *sc, struct internal_sc *isc) argument
484 isc->sm1 = m2sm(sc->m1);
485 isc->ism1 = m2ism(sc->m1);
486 isc->dx = d2dx(sc->d);
488 isc->sm2 = m2sm(sc->m2);
489 isc->ism2 = m2ism(sc->m2);
1301 hfsc_dump_sc(struct sk_buff *skb, int attr, struct internal_sc *sc) argument
1305 tsc.m1 = sm2m(sc->sm1);
1306 tsc.d = dx2d(sc->dx);
1307 tsc.m2 = sm2m(sc
[all...]
/net/sunrpc/
H A Dauth.c456 rpcauth_cache_shrinker(struct shrinker *shrink, struct shrink_control *sc) argument
460 int nr_to_scan = sc->nr_to_scan;
461 gfp_t gfp_mask = sc->gfp_mask;
/net/mac80211/
H A Drx.c786 u16 sc = le16_to_cpu(hdr->seq_ctrl); local
787 u16 mpdu_seq_num = (sc & IEEE80211_SCTL_SEQ) >> 4;
864 u16 sc; local
906 sc = le16_to_cpu(hdr->seq_ctrl);
907 if (sc & IEEE80211_SCTL_FRAG) {
1565 u16 sc; local
1578 sc = le16_to_cpu(hdr->seq_ctrl);
1579 frag = sc & IEEE80211_SCTL_FRAG;
1597 seq = (sc & IEEE80211_SCTL_SEQ) >> 4;

Completed in 210 milliseconds