Searched refs:buf_len (Results 1 – 7 of 7) sorted by relevance
/net/ipv4/ |
D | cipso_ipv4.c | 1807 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/ |
D | auth_none.c | 78 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()
|
D | auth_none.h | 16 int buf_len; member
|
D | mon_client.c | 554 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/ |
D | ip_vs_ftp.c | 180 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()
|
D | ip_vs_pe_sip.c | 12 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/ |
D | socket.c | 886 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()
|