Home
last modified time | relevance | path

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

12345678910>>...20

/net/sunrpc/
Dxdr.c40 unsigned int len; in xdr_decode_netobj() local
106 u32 len; in xdr_decode_string_inplace() local
124 xdr_terminate_string(struct xdr_buf *buf, const u32 len) in xdr_terminate_string()
178 struct page **pages, unsigned int base, unsigned int len) in xdr_inline_pages()
220 size_t pgfrom_base, size_t len) in _shift_data_right_pages()
280 _copy_to_pages(struct page **pages, size_t pgbase, const char *p, size_t len) in _copy_to_pages()
324 _copy_from_pages(char *p, struct page **pages, size_t pgbase, size_t len) in _copy_from_pages()
363 xdr_shrink_bufhead(struct xdr_buf *buf, size_t len) in xdr_shrink_bufhead()
447 xdr_shrink_pagelen(struct xdr_buf *buf, size_t len) in xdr_shrink_pagelen()
492 xdr_shift_buf(struct xdr_buf *buf, size_t len) in xdr_shift_buf()
[all …]
Dsocklib.c31 xdr_skb_read_bits(struct xdr_skb_reader *desc, void *to, size_t len) in xdr_skb_read_bits()
50 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()
77 unsigned int len, pglen = xdr->page_len; in xdr_partial_copy_from_skb() local
Dsvcsock.c191 int len = 0; in svc_send_common() local
249 int len = 0; in svc_sendto() local
290 int len; in svc_one_sock_name() local
328 ssize_t len; in svc_recvfrom() local
512 size_t len; in svc_udp_recvfrom() local
861 unsigned int i, len, npages; in svc_tcp_restore_pages() local
880 unsigned int i, len, npages; in svc_tcp_save_pages() local
894 unsigned int i, len, npages; in svc_tcp_clear_pages() local
921 int len; in svc_tcp_recv_record() local
1003 static int copy_pages_to_kvecs(struct kvec *vec, struct page **pages, int len) in copy_pages_to_kvecs()
[all …]
/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()
136 size_t len) in stp_state_store()
163 size_t len) in group_fwd_mask_store()
184 const char *buf, size_t len) in priority_store()
276 const char *buf, size_t len) in group_addr_store()
321 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/netfilter/
Dnf_sockopt.c94 char __user *opt, int *len, int get) in nf_sockopt()
113 unsigned int len) in nf_setsockopt()
120 int *len) in nf_getsockopt()
128 char __user *opt, int *len, int get) in compat_nf_sockopt()
154 int val, char __user *opt, unsigned int len) in compat_nf_setsockopt()
161 int val, char __user *opt, int *len) in compat_nf_getsockopt()
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
647 unsigned int count, effective_count = 0, i, len = 0; in decode_seqof() local
743 unsigned int type, ext, len = 0; in decode_choice() local
874 int len; in DecodeQ931() 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()
58 unsigned char opt, len; in dccp_parse_options() local
265 void dccp_encode_value_var(const u64 value, u8 *to, const u8 len) in dccp_encode_value_var()
289 const void *value, const unsigned char len) in dccp_insert_option()
321 const int len = ndp_len + 2; in dccp_insert_option_ndp() local
357 u32 elapsed_time, elapsed_time_len, len; in dccp_insert_option_timestamp_echo() local
403 u16 len = buflen + 2 * nr_opts; in dccp_insert_option_ackvec() local
501 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/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
151 static int smc_rx_splice(struct pipe_inode_info *pipe, char *src, size_t len, in smc_rx_splice()
221 static int smc_rx_recv_urg(struct smc_sock *smc, struct msghdr *msg, int len, in smc_rx_recv_urg()
284 struct pipe_inode_info *pipe, size_t len, int flags) in smc_rx_recvmsg()
/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
385 uint16_t len = 0; in p9pdu_vwritef() local
545 int p9stat_read(struct p9_client *clnt, char *buf, int len, struct p9_wstat *st) in p9stat_read()
594 int p9dirent_read(struct p9_client *clnt, char *buf, int len, in p9dirent_read()
/net/rds/
Dconnection.c522 static void rds_conn_message_info_cmn(struct socket *sock, unsigned int len, in rds_conn_message_info_cmn()
588 static void rds_conn_message_info(struct socket *sock, unsigned int len, in rds_conn_message_info()
597 static void rds6_conn_message_info(struct socket *sock, unsigned int len, in rds6_conn_message_info()
606 static void rds_conn_message_info_send(struct socket *sock, unsigned int len, in rds_conn_message_info_send()
614 static void rds6_conn_message_info_send(struct socket *sock, unsigned int len, in rds6_conn_message_info_send()
623 unsigned int len, in rds_conn_message_info_retrans()
632 unsigned int len, in rds6_conn_message_info_retrans()
640 void rds_for_each_conn_info(struct socket *sock, unsigned int len, in rds_for_each_conn_info()
678 static void rds_walk_conn_path_info(struct socket *sock, unsigned int len, in rds_walk_conn_path_info()
786 static void rds_conn_info(struct socket *sock, unsigned int len, in rds_conn_info()
[all …]
/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()
Dbuffer.c12 struct ceph_buffer *ceph_buffer_new(size_t len, gfp_t gfp) in ceph_buffer_new()
46 size_t len; in ceph_decode_buffer() local
/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.c251 u16 len, int flag) in mgmt_index_event()
258 u16 len, int flag, struct sock *skip_sk) in mgmt_limited_event()
264 static int mgmt_event(u16 event, struct hci_dev *hdev, void *data, u16 len, in mgmt_event()
1156 u16 len) in set_powered()
1335 u16 len) in set_discoverable()
1516 u16 len) in set_connectable()
1573 u16 len) in set_bondable()
1616 u16 len) in set_link_security()
1684 static int set_ssp(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) in set_ssp()
1765 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
406 u16 len = le16_to_cpu(hdr->len); in a2mp_getampassoc_rsp() local
605 u16 len; in a2mp_chan_recv_cb() local
723 unsigned long len, int nb) in a2mp_chan_alloc_skb_cb()
922 size_t len; in a2mp_send_getampassoc_rsp() local
957 size_t len; in a2mp_send_create_phy_link_req() local
/net/sctp/
Dsocket.c193 int len) in sctp_verify_addr()
316 union sctp_addr *addr, int len) in sctp_sockaddr_af()
346 static int sctp_do_bind(struct sock *sk, union sctp_addr *addr, int len) in sctp_do_bind()
1383 static int sctp_getsockopt_connectx3(struct sock *sk, int len, in sctp_getsockopt_connectx3()
1893 int len = msg->msg_namelen; in sctp_sendmsg_get_daddr() local
2039 static int sctp_skb_pull(struct sk_buff *skb, int len) in sctp_skb_pull()
2081 static int sctp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, in sctp_recvmsg()
5428 static int sctp_getsockopt_sctp_status(struct sock *sk, int len, in sctp_getsockopt_sctp_status()
5508 static int sctp_getsockopt_peer_addr_info(struct sock *sk, int len, in sctp_getsockopt_peer_addr_info()
5563 static int sctp_getsockopt_disable_fragments(struct sock *sk, int len, in sctp_getsockopt_disable_fragments()
[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/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/core/
Dskbuff.c424 struct sk_buff *__netdev_alloc_skb(struct net_device *dev, unsigned int len, in __netdev_alloc_skb()
496 struct sk_buff *__napi_alloc_skb(struct napi_struct *napi, unsigned int len, in __napi_alloc_skb()
727 int i, len, seg_len; in skb_dump() local
1176 static bool skb_zerocopy_notify_extend(struct sk_buff *skb, u32 lo, u16 len) in skb_zerocopy_notify_extend()
1204 u16 len; in sock_zerocopy_callback() local
1270 int skb_zerocopy_iter_dgram(struct sk_buff *skb, struct msghdr *msg, int len) in skb_zerocopy_iter_dgram()
1277 struct msghdr *msg, int len, in skb_zerocopy_iter_stream()
1840 void *pskb_put(struct sk_buff *skb, struct sk_buff *tail, int len) in pskb_put()
1859 void *skb_put(struct sk_buff *skb, unsigned int len) in skb_put()
1880 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
883 static int pep_sock_connect(struct sock *sk, struct sockaddr *addr, int len) in pep_sock_connect()
904 static int pep_sock_enable(struct sock *sk, struct sockaddr *addr, int len) in pep_sock_enable()
1043 int len, val; in pep_getsockopt() local
[all …]
/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()

12345678910>>...20