Home
last modified time | relevance | path

Searched refs:sc (Results 1 – 14 of 14) sorted by relevance

/net/tipc/
A Dname_table.c489 if (!sc) in tipc_nametbl_insert_publ()
491 if (sc && tipc_service_insert_publ(net, sc, p)) in tipc_nametbl_insert_publ()
509 if (!sc) in tipc_nametbl_remove_publ()
533 if (RB_EMPTY_ROOT(&sc->ranges) && list_empty(&sc->subscriptions)) { in tipc_nametbl_remove_publ()
685 if (!sc) in tipc_nametbl_lookup_mcast_sockets()
714 if (!sc) in tipc_nametbl_lookup_mcast_nodes()
740 if (!sc) in tipc_nametbl_build_group()
839 if (!sc) in tipc_nametbl_subscribe()
841 if (sc) { in tipc_nametbl_subscribe()
868 if (!sc) in tipc_nametbl_unsubscribe()
[all …]
A Daddr.h120 static inline int tipc_scope2node(struct net *net, int sc) in tipc_scope2node() argument
122 return sc != TIPC_NODE_SCOPE ? 0 : tipc_own_addr(net); in tipc_scope2node()
/net/ipv6/
A Dioam6.c45 if (sc) in ioam6_free_sc()
187 if (sc) in ioam6_genl_delns()
324 if (sc) { in ioam6_genl_addsc()
332 sc = kzalloc(sizeof(*sc) + len_aligned, GFP_KERNEL); in ioam6_genl_addsc()
333 if (!sc) { in ioam6_genl_addsc()
340 sc->hdr = cpu_to_be32(sc->id | ((u8)(sc->len / 4) << 24)); in ioam6_genl_addsc()
352 kfree(sc); in ioam6_genl_addsc()
373 if (!sc) { in ioam6_genl_delsc()
537 if (sc) { in ioam6_genl_ns_set_schema()
916 memcpy(data, sc->data, sc->len); in __ioam6_fill_trace_data()
[all …]
/net/ceph/
A Dsnapshot.c46 struct ceph_snap_context *ceph_get_snap_context(struct ceph_snap_context *sc) in ceph_get_snap_context() argument
48 if (sc) in ceph_get_snap_context()
49 refcount_inc(&sc->nref); in ceph_get_snap_context()
50 return sc; in ceph_get_snap_context()
54 void ceph_put_snap_context(struct ceph_snap_context *sc) in ceph_put_snap_context() argument
56 if (!sc) in ceph_put_snap_context()
58 if (refcount_dec_and_test(&sc->nref)) { in ceph_put_snap_context()
60 kfree(sc); in ceph_put_snap_context()
A Dauth_x.c680 struct ceph_x_server_challenge *sc = buf; in ceph_x_handle_reply() local
682 if (len != sizeof(*sc)) in ceph_x_handle_reply()
684 xi->server_challenge = le64_to_cpu(sc->server_challenge); in ceph_x_handle_reply()
/net/sunrpc/xprtrdma/
A Dverbs.c145 struct rpcrdma_sendctx *sc = in rpcrdma_wc_send() local
616 struct rpcrdma_sendctx *sc; in rpcrdma_sendctx_create() local
618 sc = kzalloc(struct_size(sc, sc_sges, ep->re_attr.cap.max_send_sge), in rpcrdma_sendctx_create()
620 if (!sc) in rpcrdma_sendctx_create()
625 sc->sc_cid.ci_completion_id = in rpcrdma_sendctx_create()
627 return sc; in rpcrdma_sendctx_create()
633 struct rpcrdma_sendctx *sc; in rpcrdma_sendctxs_create() local
649 if (!sc) in rpcrdma_sendctxs_create()
652 buf->rb_sc_ctxs[i] = sc; in rpcrdma_sendctxs_create()
686 struct rpcrdma_sendctx *sc; in rpcrdma_sendctx_get_locked() local
[all …]
A Drpc_rdma.c536 struct rpcrdma_regbuf *rb = sc->sc_req->rl_sendbuf; in rpcrdma_sendctx_unmap()
539 if (!sc->sc_unmap_count) in rpcrdma_sendctx_unmap()
546 for (sge = &sc->sc_sges[2]; sc->sc_unmap_count; in rpcrdma_sendctx_unmap()
547 ++sge, --sc->sc_unmap_count) in rpcrdma_sendctx_unmap()
559 struct rpcrdma_sendctx *sc = req->rl_sendctx; in rpcrdma_prepare_hdr_sge() local
577 struct rpcrdma_sendctx *sc = req->rl_sendctx; in rpcrdma_prepare_head_iov() local
599 struct rpcrdma_sendctx *sc = req->rl_sendctx; in rpcrdma_prepare_pagelist() local
609 sge = &sc->sc_sges[req->rl_wr.num_sge++]; in rpcrdma_prepare_pagelist()
619 sc->sc_unmap_count++; in rpcrdma_prepare_pagelist()
640 struct rpcrdma_sendctx *sc = req->rl_sendctx; in rpcrdma_prepare_tail_iov() local
[all …]
A Dxprt_rdma.h566 void rpcrdma_sendctx_unmap(struct rpcrdma_sendctx *sc);
/net/sched/
A Dsch_hfsc.c481 sc2isc(struct tc_service_curve *sc, struct internal_sc *isc) in sc2isc() argument
483 isc->sm1 = m2sm(sc->m1); in sc2isc()
484 isc->ism1 = m2ism(sc->m1); in sc2isc()
485 isc->dx = d2dx(sc->d); in sc2isc()
487 isc->sm2 = m2sm(sc->m2); in sc2isc()
488 isc->ism2 = m2ism(sc->m2); in sc2isc()
1270 hfsc_dump_sc(struct sk_buff *skb, int attr, struct internal_sc *sc) in hfsc_dump_sc() argument
1274 tsc.m1 = sm2m(sc->sm1); in hfsc_dump_sc()
1275 tsc.d = dx2d(sc->dx); in hfsc_dump_sc()
1276 tsc.m2 = sm2m(sc->sm2); in hfsc_dump_sc()
/net/netfilter/ipvs/
A Dip_vs_sync.c789 ip_vs_conn_fill_param_sync(struct netns_ipvs *ipvs, int af, union ip_vs_sync_conn *sc, in ip_vs_conn_fill_param_sync() argument
796 ip_vs_conn_fill_param(ipvs, af, sc->v6.protocol, in ip_vs_conn_fill_param_sync()
797 (const union nf_inet_addr *)&sc->v6.caddr, in ip_vs_conn_fill_param_sync()
798 sc->v6.cport, in ip_vs_conn_fill_param_sync()
799 (const union nf_inet_addr *)&sc->v6.vaddr, in ip_vs_conn_fill_param_sync()
800 sc->v6.vport, p); in ip_vs_conn_fill_param_sync()
803 ip_vs_conn_fill_param(ipvs, af, sc->v4.protocol, in ip_vs_conn_fill_param_sync()
804 (const union nf_inet_addr *)&sc->v4.caddr, in ip_vs_conn_fill_param_sync()
805 sc->v4.cport, in ip_vs_conn_fill_param_sync()
806 (const union nf_inet_addr *)&sc->v4.vaddr, in ip_vs_conn_fill_param_sync()
[all …]
/net/sunrpc/
A Dauth.c475 rpcauth_cache_shrink_scan(struct shrinker *shrink, struct shrink_control *sc) in rpcauth_cache_shrink_scan() argument
478 if ((sc->gfp_mask & GFP_KERNEL) != GFP_KERNEL) in rpcauth_cache_shrink_scan()
485 return rpcauth_cache_do_shrink(sc->nr_to_scan); in rpcauth_cache_shrink_scan()
489 rpcauth_cache_shrink_count(struct shrinker *shrink, struct shrink_control *sc) in rpcauth_cache_shrink_count() argument
/net/ieee802154/
A Dheader_ops.c245 static int ieee802154_hdr_sechdr_len(u8 sc) in ieee802154_hdr_sechdr_len() argument
247 return ieee802154_sechdr_lengths[IEEE802154_SCF_KEY_ID_MODE(sc)]; in ieee802154_hdr_sechdr_len()
/net/mac80211/
A Drx.c1371 u16 sc; in ieee80211_rx_reorder_ampdu() local
1416 sc = le16_to_cpu(hdr->seq_ctrl); in ieee80211_rx_reorder_ampdu()
1417 if (sc & IEEE80211_SCTL_FRAG) { in ieee80211_rx_reorder_ampdu()
2268 u16 sc; in ieee80211_rx_h_defragment() local
2281 sc = le16_to_cpu(hdr->seq_ctrl); in ieee80211_rx_h_defragment()
2282 frag = sc & IEEE80211_SCTL_FRAG; in ieee80211_rx_h_defragment()
2304 seq = (sc & IEEE80211_SCTL_SEQ) >> 4; in ieee80211_rx_h_defragment()
/net/nfc/
A Ddigital_core.c293 params->sc = DIGITAL_SENSF_FELICA_SC; in digital_tg_listen_mdaa()

Completed in 47 milliseconds