Home
last modified time | relevance | path

Searched defs:len (Results 1 – 25 of 507) sorted by relevance

12345678910>>...21

/net/sunrpc/
Dxdr.c43 unsigned int len; in xdr_decode_netobj() local
109 u32 len; in xdr_decode_string_inplace() local
127 xdr_terminate_string(struct xdr_buf *buf, const u32 len) in xdr_terminate_string()
181 struct page **pages, unsigned int base, unsigned int len) in xdr_inline_pages()
223 size_t pgfrom_base, size_t len) in _shift_data_left_pages()
270 _shift_data_left_tail(struct xdr_buf *buf, unsigned int pgto, size_t len) in _shift_data_left_tail()
305 size_t pgfrom_base, size_t len) in _shift_data_right_pages()
355 _shift_data_right_tail(struct xdr_buf *buf, unsigned int pgfrom, size_t len) in _shift_data_right_tail()
405 _copy_to_pages(struct page **pages, size_t pgbase, const char *p, size_t len) in _copy_to_pages()
449 _copy_from_pages(char *p, struct page **pages, size_t pgbase, size_t len) in _copy_from_pages()
[all …]
Dsocklib.c46 xdr_skb_read_bits(struct xdr_skb_reader *desc, void *to, size_t len) in xdr_skb_read_bits()
65 static size_t xdr_skb_read_and_csum_bits(struct xdr_skb_reader *desc, void *to, size_t len) in xdr_skb_read_and_csum_bits()
92 unsigned int len, pglen = xdr->page_len; in xdr_partial_copy_from_skb() local
250 size_t len = iov[0].iov_len + iov[1].iov_len; in xprt_send_rm_and_kvec() local
286 unsigned int len = want - base; in xprt_sock_sendmsg() local
305 unsigned int len = xdr->page_len - base; in xprt_sock_sendmsg() local
/net/bridge/
Dbr_sysfs_br.c28 const char *buf, size_t len, in store_bridge_parm()
64 const char *buf, size_t len) in forward_delay_store()
79 size_t len) in hello_time_store()
93 const char *buf, size_t len) in max_age_store()
113 const char *buf, size_t len) in ageing_time_store()
134 size_t len) in stp_state_store()
161 size_t len) in group_fwd_mask_store()
182 const char *buf, size_t len) in priority_store()
274 const char *buf, size_t len) in group_addr_store()
319 const char *buf, size_t len) in flush_store()
[all …]
/net/ipv6/
Dmcast_snoop.c17 unsigned int len; in ipv6_mc_check_ip6hdr() local
66 unsigned int len = skb_transport_offset(skb); in ipv6_mc_check_mld_reportv2() local
77 unsigned int len; in ipv6_mc_check_mld_query() local
108 unsigned int len = skb_transport_offset(skb) + sizeof(struct mld_msg); in ipv6_mc_check_mld_msg() local
136 unsigned int len = skb_transport_offset(skb) + sizeof(struct icmp6hdr); in ipv6_mc_check_icmpv6() local
/net/caif/
Dcfpkt_skbuff.c79 static struct cfpkt *cfpkt_create_pfx(u16 len, u16 pfx) in cfpkt_create_pfx()
91 inline struct cfpkt *cfpkt_create(u16 len) in cfpkt_create()
108 int cfpkt_peek_head(struct cfpkt *pkt, void *data, u16 len) in cfpkt_peek_head()
119 int cfpkt_extr_head(struct cfpkt *pkt, void *data, u16 len) in cfpkt_extr_head()
145 int cfpkt_extr_trail(struct cfpkt *pkt, void *dta, u16 len) in cfpkt_extr_trail()
167 int cfpkt_pad_trail(struct cfpkt *pkt, u16 len) in cfpkt_pad_trail()
172 int cfpkt_add_body(struct cfpkt *pkt, const void *data, u16 len) in cfpkt_add_body()
215 int cfpkt_add_head(struct cfpkt *pkt, const void *data2, u16 len) in cfpkt_add_head()
242 inline int cfpkt_add_trail(struct cfpkt *pkt, const void *data, u16 len) in cfpkt_add_trail()
270 int cfpkt_setlen(struct cfpkt *pkt, u16 len) in cfpkt_setlen()
/net/dccp/
Doptions.c22 u64 dccp_decode_value_var(const u8 *bf, const u8 len) in dccp_decode_value_var()
59 unsigned char opt, len; in dccp_parse_options() local
266 void dccp_encode_value_var(const u64 value, u8 *to, const u8 len) in dccp_encode_value_var()
290 const void *value, const unsigned char len) in dccp_insert_option()
322 const int len = ndp_len + 2; in dccp_insert_option_ndp() local
358 u32 elapsed_time, elapsed_time_len, len; in dccp_insert_option_timestamp_echo() local
404 u16 len = buflen + 2 * nr_opts; in dccp_insert_option_ackvec() local
505 u8 *val, u8 len, bool repeat_first) in dccp_insert_fn_opt()
Dinput.c284 const struct dccp_hdr *dh, const unsigned int len) in __dccp_rcv_established()
365 const struct dccp_hdr *dh, const unsigned int len) in dccp_rcv_established()
387 const unsigned int len) in dccp_rcv_request_sent_state_process()
520 const unsigned int len) in dccp_rcv_respond_partopen_state_process()
572 struct dccp_hdr *dh, unsigned int len) in dccp_rcv_state_process()
/net/
Dcompat.c39 compat_uptr_t *ptr, compat_size_t *len) in __get_compat_msghdr()
94 compat_size_t len; in get_compat_msghdr() local
107 #define CMSG_COMPAT_ALIGN(len) ALIGN((len), sizeof(s32)) argument
111 #define CMSG_COMPAT_SPACE(len) \ argument
113 #define CMSG_COMPAT_LEN(len) \ argument
228 int put_cmsg_compat(struct msghdr *kmsg, int level, int type, int len, void *data) in put_cmsg_compat()
386 compat_size_t len, unsigned int flags, in __compat_sys_recvfrom()
394 COMPAT_SYSCALL_DEFINE4(recv, int, fd, void __user *, buf, compat_size_t, len, unsigned int, flags) in COMPAT_SYSCALL_DEFINE4() argument
399 COMPAT_SYSCALL_DEFINE6(recvfrom, int, fd, void __user *, buf, compat_size_t, len, in COMPAT_SYSCALL_DEFINE6() argument
427 unsigned int len; in COMPAT_SYSCALL_DEFINE2() local
/net/smc/
Dsmc_rx.c54 union smc_host_cursor cons, size_t len) in smc_rx_update_consumer()
94 static void smc_rx_update_cons(struct smc_sock *smc, size_t len) in smc_rx_update_cons()
105 size_t len; member
143 static int smc_rx_splice(struct pipe_inode_info *pipe, char *src, size_t len, in smc_rx_splice()
217 static int smc_rx_recv_urg(struct smc_sock *smc, struct msghdr *msg, int len, in smc_rx_recv_urg()
280 struct pipe_inode_info *pipe, size_t len, int flags) in smc_rx_recvmsg()
Dsmc_clc.c107 static void smc_clc_fill_fce(struct smc_clc_first_contact_ext *fce, int *len) in smc_clc_fill_fce()
346 int len, datlen, recvlen; in smc_clc_wait_msg() local
452 int len; in smc_clc_send_decline() local
491 int len, i, plen, rc; in smc_clc_send_proposal() local
647 int i, len; in smc_clc_send_confirm_accept() local
740 int len; in smc_clc_send_confirm() local
764 int len; in smc_clc_send_accept() local
/net/rds/
Dconnection.c534 static void rds_conn_message_info_cmn(struct socket *sock, unsigned int len, in rds_conn_message_info_cmn()
600 static void rds_conn_message_info(struct socket *sock, unsigned int len, in rds_conn_message_info()
609 static void rds6_conn_message_info(struct socket *sock, unsigned int len, in rds6_conn_message_info()
618 static void rds_conn_message_info_send(struct socket *sock, unsigned int len, in rds_conn_message_info_send()
626 static void rds6_conn_message_info_send(struct socket *sock, unsigned int len, in rds6_conn_message_info_send()
635 unsigned int len, in rds_conn_message_info_retrans()
644 unsigned int len, in rds6_conn_message_info_retrans()
652 void rds_for_each_conn_info(struct socket *sock, unsigned int len, in rds_for_each_conn_info()
690 static void rds_walk_conn_path_info(struct socket *sock, unsigned int len, in rds_walk_conn_path_info()
798 static void rds_conn_info(struct socket *sock, unsigned int len, in rds_conn_info()
[all …]
/net/9p/
Dprotocol.c48 size_t len = min(pdu->size - pdu->offset, size); in pdu_read() local
56 size_t len = min(pdu->capacity - pdu->size, size); in pdu_write() local
65 size_t len = min(pdu->capacity - pdu->size, size); in pdu_write_u() local
140 uint16_t len; in p9pdu_vreadf() local
394 uint16_t len = 0; in p9pdu_vwritef() local
554 int p9stat_read(struct p9_client *clnt, char *buf, int len, struct p9_wstat *st) in p9stat_read()
603 int p9dirent_read(struct p9_client *clnt, char *buf, int len, in p9dirent_read()
/net/sctp/
Dsocket.c208 int len) in sctp_verify_addr()
331 union sctp_addr *addr, int len) in sctp_sockaddr_af()
373 static int sctp_do_bind(struct sock *sk, union sctp_addr *addr, int len) in sctp_do_bind()
1389 static int sctp_getsockopt_connectx3(struct sock *sk, int len, in sctp_getsockopt_connectx3()
1907 int len = msg->msg_namelen; in sctp_sendmsg_get_daddr() local
2053 static int sctp_skb_pull(struct sk_buff *skb, int len) in sctp_skb_pull()
2095 static int sctp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, in sctp_recvmsg()
3880 int len; in sctp_setsockopt_paddr_thresholds() local
5288 static int sctp_getsockopt_sctp_status(struct sock *sk, int len, in sctp_getsockopt_sctp_status()
5368 static int sctp_getsockopt_peer_addr_info(struct sock *sk, int len, in sctp_getsockopt_peer_addr_info()
[all …]
Dtsnmap.c35 struct sctp_tsnmap *sctp_tsnmap_init(struct sctp_tsnmap *map, __u16 len, in sctp_tsnmap_init()
230 u16 len; in sctp_tsnmap_update() local
273 __u16 len, __u16 *start, __u16 *end) in sctp_tsnmap_find_gap_ack()
345 u16 len; in sctp_tsnmap_grow() local
/net/ceph/
Dpagevec.c63 loff_t off, size_t len) in ceph_copy_user_to_page_vector()
89 loff_t off, size_t len) in ceph_copy_to_page_vector()
112 loff_t off, size_t len) in ceph_copy_from_page_vector()
137 void ceph_zero_page_vector_range(int off, int len, struct page **pages) in ceph_zero_page_vector_range()
/net/mac80211/
Dfils_aead.c26 size_t num_elem, const u8 *addr[], size_t len[], u8 *v) in aes_s2v()
69 size_t len[], u8 *out) in aes_siv_encrypt()
146 size_t num_elem, const u8 *addr[], size_t len[], in aes_siv_decrypt()
223 size_t len[5 + 1]; in fils_encrypt_assoc_req() local
274 size_t len[5 + 1]; in fils_decrypt_assoc_resp() local
/net/rose/
Drose_subr.c106 int len, faclen; in rose_write_internal() local
239 static int rose_parse_national(unsigned char *p, struct rose_facilities_struct *facilities, int len) in rose_parse_national()
333 static int rose_parse_ccitt(unsigned char *p, struct rose_facilities_struct *facilities, int len) in rose_parse_ccitt()
398 int facilities_len, len; in rose_parse_facilities() local
440 int len, nb; in rose_create_facilities() local
/net/bluetooth/
Dmgmt.c282 u16 len, int flag) in mgmt_index_event()
289 u16 len, int flag, struct sock *skip_sk) in mgmt_limited_event()
295 static int mgmt_event(u16 event, struct hci_dev *hdev, void *data, u16 len, in mgmt_event()
1200 u16 len) in set_powered()
1379 u16 len) in set_discoverable()
1566 u16 len) in set_connectable()
1623 u16 len) in set_bondable()
1666 u16 len) in set_link_security()
1734 static int set_ssp(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) in set_ssp()
1815 static int set_hs(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) in set_hs()
[all …]
Da2mp.c23 static struct a2mp_cmd *__a2mp_build(u8 code, u8 ident, u16 len, void *data) in __a2mp_build()
42 static void a2mp_send(struct amp_mgr *mgr, u8 code, u8 ident, u16 len, void *data) in a2mp_send()
134 u16 len = le16_to_cpu(hdr->len); in a2mp_discover_req() local
194 u16 len = le16_to_cpu(hdr->len); in a2mp_discover_rsp() local
415 u16 len = le16_to_cpu(hdr->len); in a2mp_getampassoc_rsp() local
618 u16 len; in a2mp_chan_recv_cb() local
738 unsigned long len, int nb) in a2mp_chan_alloc_skb_cb()
939 size_t len; in a2mp_send_getampassoc_rsp() local
974 size_t len; in a2mp_send_create_phy_link_req() local
/net/core/
Dskbuff.c431 struct sk_buff *__netdev_alloc_skb(struct net_device *dev, unsigned int len, in __netdev_alloc_skb()
506 struct sk_buff *__napi_alloc_skb(struct napi_struct *napi, unsigned int len, in __napi_alloc_skb()
741 int i, len, seg_len; in skb_dump() local
1186 static bool skb_zerocopy_notify_extend(struct sk_buff *skb, u32 lo, u16 len) in skb_zerocopy_notify_extend()
1214 u16 len; in sock_zerocopy_callback() local
1280 int skb_zerocopy_iter_dgram(struct sk_buff *skb, struct msghdr *msg, int len) in skb_zerocopy_iter_dgram()
1287 struct msghdr *msg, int len, in skb_zerocopy_iter_stream()
1881 void *pskb_put(struct sk_buff *skb, struct sk_buff *tail, int len) in pskb_put()
1900 void *skb_put(struct sk_buff *skb, unsigned int len) in skb_put()
1921 void *skb_push(struct sk_buff *skb, unsigned int len) in skb_push()
[all …]
/net/phonet/
Dpep.c70 int len, gfp_t priority) in pep_alloc_skb()
86 const void *data, int len, gfp_t priority) in pep_reply()
108 const void *data, int len, gfp_t priority) in pep_indicate()
129 const void *data, int len) in pipe_handler_request()
313 u8 type, buf[2], len = sizeof(buf); in pipe_rcv_created() local
498 u8 type, buf[6], len = sizeof(buf); in pep_connresp_rcv() local
809 u8 type, buf[1], len = sizeof(buf); in pep_sock_accept() local
884 static int pep_sock_connect(struct sock *sk, struct sockaddr *addr, int len) in pep_sock_connect()
905 static int pep_sock_enable(struct sock *sk, struct sockaddr *addr, int len) in pep_sock_enable()
1046 int len, val; in pep_getsockopt() local
[all …]
/net/x25/
Dx25_facilities.c45 unsigned int len; in x25_parse_facilities() local
193 int len; in x25_create_facilities() local
271 int len; in x25_negotiate_facilities() local
/net/netfilter/
Dnf_conntrack_h323_asn1.c298 int len; in decode_oid() local
317 unsigned int len; in decode_int() local
380 unsigned int len; in decode_bitstr() local
416 unsigned int len; in decode_numstr() local
436 unsigned int len; in decode_octstr() local
489 unsigned int len; in decode_bmpstr() local
518 unsigned int ext, bmp, i, opt, len = 0, bmp2, bmp2_len; in decode_seq() local
651 unsigned int count, effective_count = 0, i, len = 0; in decode_seqof() local
747 unsigned int type, ext, len = 0; in decode_choice() local
878 int len; in DecodeQ931() local
/net/ax25/
Dax25_ip.c47 const void *saddr, unsigned int len) in ax25_hard_header()
216 const void *saddr, unsigned int len) in ax25_hard_header()
228 static bool ax25_validate_header(const char *header, unsigned int len) in ax25_validate_header()
/net/sunrpc/xprtrdma/
Dsvc_rdma_sendto.c375 const size_t len = rpcrdma_segment_maxsz * sizeof(*p); in svc_rdma_encode_write_segment() local
419 ssize_t len, ret; in svc_rdma_encode_write_chunk() local
471 ssize_t len, ret; in svc_rdma_encode_write_list() local
513 unsigned int len) in svc_rdma_dma_map_page()
538 unsigned int len) in svc_rdma_dma_map_buf()
631 unsigned int len, remaining; in svc_rdma_pull_up_reply_msg() local
673 unsigned int len, remaining; in svc_rdma_map_reply_msg() local

12345678910>>...21