Home
last modified time | relevance | path

Searched refs:si (Results 1 – 7 of 7) sorted by relevance

/net/core/
Dfilter.c3723 const struct bpf_insn *si, in bpf_convert_ctx_access() argument
3730 switch (si->off) { in bpf_convert_ctx_access()
3732 *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, in bpf_convert_ctx_access()
3738 *insn++ = BPF_LDX_MEM(BPF_H, si->dst_reg, si->src_reg, in bpf_convert_ctx_access()
3744 *insn++ = BPF_LDX_MEM(BPF_H, si->dst_reg, si->src_reg, in bpf_convert_ctx_access()
3751 *insn++ = BPF_STX_MEM(BPF_W, si->dst_reg, si->src_reg, in bpf_convert_ctx_access()
3755 *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, in bpf_convert_ctx_access()
3761 *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, in bpf_convert_ctx_access()
3768 si->dst_reg, si->src_reg, in bpf_convert_ctx_access()
3770 *insn++ = BPF_JMP_IMM(BPF_JEQ, si->dst_reg, 0, 1); in bpf_convert_ctx_access()
[all …]
/net/ipv4/
Dinetpeer.c75 struct sysinfo si; in inet_initpeers() local
78 si_meminfo(&si); in inet_initpeers()
83 if (si.totalram <= (32768*1024)/PAGE_SIZE) in inet_initpeers()
85 if (si.totalram <= (16384*1024)/PAGE_SIZE) in inet_initpeers()
87 if (si.totalram <= (8192*1024)/PAGE_SIZE) in inet_initpeers()
/net/l2tp/
Dl2tp_netlink.c865 int si = cb->args[1]; in l2tp_nl_cmd_session_dump() local
874 session = l2tp_session_get_nth(tunnel, si, false); in l2tp_nl_cmd_session_dump()
878 si = 0; in l2tp_nl_cmd_session_dump()
890 si++; in l2tp_nl_cmd_session_dump()
895 cb->args[1] = si; in l2tp_nl_cmd_session_dump()
/net/xfrm/
Dxfrm_user.c1102 struct xfrmk_spdinfo si; in build_spdinfo() local
1117 xfrm_spd_getinfo(net, &si); in build_spdinfo()
1118 spc.incnt = si.incnt; in build_spdinfo()
1119 spc.outcnt = si.outcnt; in build_spdinfo()
1120 spc.fwdcnt = si.fwdcnt; in build_spdinfo()
1121 spc.inscnt = si.inscnt; in build_spdinfo()
1122 spc.outscnt = si.outscnt; in build_spdinfo()
1123 spc.fwdscnt = si.fwdscnt; in build_spdinfo()
1124 sph.spdhcnt = si.spdhcnt; in build_spdinfo()
1125 sph.spdhmcnt = si.spdhmcnt; in build_spdinfo()
[all …]
Dxfrm_policy.c536 void xfrm_spd_getinfo(struct net *net, struct xfrmk_spdinfo *si) in xfrm_spd_getinfo() argument
538 si->incnt = net->xfrm.policy_count[XFRM_POLICY_IN]; in xfrm_spd_getinfo()
539 si->outcnt = net->xfrm.policy_count[XFRM_POLICY_OUT]; in xfrm_spd_getinfo()
540 si->fwdcnt = net->xfrm.policy_count[XFRM_POLICY_FWD]; in xfrm_spd_getinfo()
541 si->inscnt = net->xfrm.policy_count[XFRM_POLICY_IN+XFRM_POLICY_MAX]; in xfrm_spd_getinfo()
542 si->outscnt = net->xfrm.policy_count[XFRM_POLICY_OUT+XFRM_POLICY_MAX]; in xfrm_spd_getinfo()
543 si->fwdscnt = net->xfrm.policy_count[XFRM_POLICY_FWD+XFRM_POLICY_MAX]; in xfrm_spd_getinfo()
544 si->spdhcnt = net->xfrm.policy_idx_hmask; in xfrm_spd_getinfo()
545 si->spdhmcnt = xfrm_policy_hashmax; in xfrm_spd_getinfo()
Dxfrm_state.c789 void xfrm_sad_getinfo(struct net *net, struct xfrmk_sadinfo *si) in xfrm_sad_getinfo() argument
792 si->sadcnt = net->xfrm.state_num; in xfrm_sad_getinfo()
793 si->sadhcnt = net->xfrm.state_hmask + 1; in xfrm_sad_getinfo()
794 si->sadhmcnt = xfrm_state_hashmax; in xfrm_sad_getinfo()
/net/rds/
Dib_recv.c1042 struct sysinfo si; in rds_ib_recv_init() local
1046 si_meminfo(&si); in rds_ib_recv_init()
1047 rds_ib_sysctl_max_recv_allocation = si.totalram / 3 * PAGE_SIZE / RDS_FRAG_SIZE; in rds_ib_recv_init()