Searched refs:buf_len (Results 1 – 8 of 8) sorted by relevance
/net/ipv4/ |
D | cipso_ipv4.c | 1817 static int cipso_v4_genopt(unsigned char *buf, u32 buf_len, in cipso_v4_genopt() argument 1824 if (buf_len <= CIPSO_V4_HDR_LEN) in cipso_v4_genopt() 1832 memset(buf, 0, buf_len); in cipso_v4_genopt() 1838 buf_len - CIPSO_V4_HDR_LEN); in cipso_v4_genopt() 1844 buf_len - CIPSO_V4_HDR_LEN); in cipso_v4_genopt() 1850 buf_len - CIPSO_V4_HDR_LEN); in cipso_v4_genopt() 1856 buf_len - CIPSO_V4_HDR_LEN); in cipso_v4_genopt() 1892 u32 buf_len; in cipso_v4_sock_setattr() local 1908 buf_len = CIPSO_V4_OPT_LEN_MAX; in cipso_v4_sock_setattr() 1909 buf = kmalloc(buf_len, GFP_ATOMIC); in cipso_v4_sock_setattr() [all …]
|
/net/ceph/ |
D | auth_none.c | 83 au->buf_len = p - (void *)au->buf; in ceph_auth_none_create_authorizer() 85 dout("built authorizer len %d\n", au->buf_len); in ceph_auth_none_create_authorizer() 90 auth->authorizer_buf_len = au->buf_len; in ceph_auth_none_create_authorizer()
|
D | crypto.c | 106 const void *buf, unsigned int buf_len) in setup_sgtable() argument 112 unsigned int chunk_len = PAGE_ALIGN(off + buf_len); in setup_sgtable() 116 if (buf_len == 0) { in setup_sgtable() 139 unsigned int len = min(chunk_len - off, buf_len); in setup_sgtable() 150 buf_len -= len; in setup_sgtable() 152 WARN_ON(buf_len != 0); in setup_sgtable()
|
D | mon_client.c | 591 req->buf_len = sizeof(*buf); in ceph_monc_do_statfs() 673 req->buf_len = sizeof(*newest); in ceph_monc_do_get_version() 715 u32 buf_len; in get_poolop_reply_buf() local 720 buf_len = le32_to_cpu(*(u32 *)src); in get_poolop_reply_buf() 721 if (buf_len != dst_len) in get_poolop_reply_buf() 742 if (req->buf_len && in handle_poolop_reply() 745 req->buf, req->buf_len) < 0) { in handle_poolop_reply() 781 req->buf_len = len; in do_poolop()
|
D | auth_none.h | 16 int buf_len; member
|
/net/netfilter/ipvs/ |
D | ip_vs_ftp.c | 180 unsigned int buf_len; in ip_vs_ftp_out() local 261 buf_len = strlen(buf); in ip_vs_ftp_out() 275 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 | 1319 struct msghdr *m, size_t buf_len, int flags) in tipc_recvmsg() argument 1331 if (unlikely(!buf_len)) in tipc_recvmsg() 1371 if (unlikely(buf_len < sz)) { in tipc_recvmsg() 1372 sz = buf_len; in tipc_recvmsg() 1415 struct msghdr *m, size_t buf_len, int flags) in tipc_recv_stream() argument 1429 if (unlikely(!buf_len)) in tipc_recv_stream() 1439 target = sock_rcvlowat(sk, flags & MSG_WAITALL, buf_len); in tipc_recv_stream() 1473 needed = (buf_len - sz_copied); in tipc_recv_stream() 1509 if ((sz_copied < buf_len) && /* didn't get all requested data */ in tipc_recv_stream()
|