Home
last modified time | relevance | path

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

/net/ipv4/
Dcipso_ipv4.c1807 static int cipso_v4_genopt(unsigned char *buf, u32 buf_len, in cipso_v4_genopt() argument
1814 if (buf_len <= CIPSO_V4_HDR_LEN) in cipso_v4_genopt()
1822 memset(buf, 0, buf_len); in cipso_v4_genopt()
1828 buf_len - CIPSO_V4_HDR_LEN); in cipso_v4_genopt()
1834 buf_len - CIPSO_V4_HDR_LEN); in cipso_v4_genopt()
1840 buf_len - CIPSO_V4_HDR_LEN); in cipso_v4_genopt()
1846 buf_len - CIPSO_V4_HDR_LEN); in cipso_v4_genopt()
1882 u32 buf_len; in cipso_v4_sock_setattr() local
1898 buf_len = CIPSO_V4_OPT_LEN_MAX; in cipso_v4_sock_setattr()
1899 buf = kmalloc(buf_len, GFP_ATOMIC); in cipso_v4_sock_setattr()
[all …]
/net/ceph/
Dauth_none.c78 au->buf_len = p - (void *)au->buf; in ceph_auth_none_create_authorizer()
80 dout("built authorizer len %d\n", au->buf_len); in ceph_auth_none_create_authorizer()
85 auth->authorizer_buf_len = au->buf_len; in ceph_auth_none_create_authorizer()
Dauth_none.h16 int buf_len; member
Dmon_client.c554 req->buf_len = sizeof(*buf); in ceph_monc_do_statfs()
588 u32 buf_len; in get_poolop_reply_buf() local
593 buf_len = le32_to_cpu(*(u32 *)src); in get_poolop_reply_buf()
594 if (buf_len != dst_len) in get_poolop_reply_buf()
615 if (req->buf_len && in handle_poolop_reply()
618 req->buf, req->buf_len) < 0) { in handle_poolop_reply()
654 req->buf_len = len; in do_poolop()
/net/netfilter/ipvs/
Dip_vs_ftp.c180 unsigned int buf_len; in ip_vs_ftp_out() local
260 buf_len = strlen(buf); in ip_vs_ftp_out()
274 buf, buf_len); in ip_vs_ftp_out()
Dip_vs_pe_sip.c12 static const char *ip_vs_dbg_callid(char *buf, size_t buf_len, in ip_vs_dbg_callid() argument
17 size_t len = min3(max_len, callid_len, buf_len - *idx - 1); in ip_vs_dbg_callid()
/net/tipc/
Dsocket.c886 struct msghdr *m, size_t buf_len, int flags) in recv_msg() argument
898 if (unlikely(!buf_len)) in recv_msg()
953 if (unlikely(buf_len < sz)) { in recv_msg()
954 sz = buf_len; in recv_msg()
995 struct msghdr *m, size_t buf_len, int flags) in recv_stream() argument
1009 if (unlikely(!buf_len)) in recv_stream()
1023 target = sock_rcvlowat(sk, flags & MSG_WAITALL, buf_len); in recv_stream()
1069 needed = (buf_len - sz_copied); in recv_stream()
1103 if ((sz_copied < buf_len) && /* didn't get all requested data */ in recv_stream()