Home
last modified time | relevance | path

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

12345678910>>...18

/net/sunrpc/
Dxdr.c37 unsigned int len; in xdr_decode_netobj() local
103 u32 len; in xdr_decode_string_inplace() local
121 xdr_terminate_string(struct xdr_buf *buf, const u32 len) in xdr_terminate_string()
133 struct page **pages, unsigned int base, unsigned int len) in xdr_inline_pages()
173 size_t pgfrom_base, size_t len) in _shift_data_right_pages()
233 _copy_to_pages(struct page **pages, size_t pgbase, const char *p, size_t len) in _copy_to_pages()
277 _copy_from_pages(char *p, struct page **pages, size_t pgbase, size_t len) in _copy_from_pages()
316 xdr_shrink_bufhead(struct xdr_buf *buf, size_t len) in xdr_shrink_bufhead()
392 xdr_shrink_pagelen(struct xdr_buf *buf, size_t len) in xdr_shrink_pagelen()
431 xdr_shift_buf(struct xdr_buf *buf, size_t len) in xdr_shift_buf()
[all …]
Dsocklib.c29 size_t xdr_skb_read_bits(struct xdr_skb_reader *desc, void *to, size_t len) in xdr_skb_read_bits()
49 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()
75 unsigned int len, pglen = xdr->page_len; in xdr_partial_copy_from_skb() local
Dsvcsock.c197 int len = 0; in svc_send_common() local
255 int len = 0; in svc_sendto() local
296 int len; in svc_one_sock_name() local
336 int len; in svc_recvfrom() local
550 size_t len; in svc_udp_recvfrom() local
906 unsigned int i, len, npages; in svc_tcp_restore_pages() local
925 unsigned int i, len, npages; in svc_tcp_save_pages() local
939 unsigned int i, len, npages; in svc_tcp_clear_pages() local
966 int len; in svc_tcp_recv_record() local
1047 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.c32 const char *buf, size_t len, in store_bridge_parm()
68 const char *buf, size_t len) in forward_delay_store()
83 size_t len) in hello_time_store()
97 const char *buf, size_t len) in max_age_store()
117 const char *buf, size_t len) in ageing_time_store()
140 size_t len) in stp_state_store()
167 size_t len) in group_fwd_mask_store()
188 const char *buf, size_t len) in priority_store()
283 const char *buf, size_t len) in group_addr_store()
332 const char *buf, size_t len) in flush_store()
[all …]
/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.c291 int len; in decode_oid() local
308 unsigned int len; in decode_int() local
368 unsigned int len; in decode_bitstr() local
402 unsigned int len; in decode_numstr() local
420 unsigned int len; in decode_octstr() local
469 unsigned int len; in decode_bmpstr() local
495 unsigned int ext, bmp, i, opt, len = 0, bmp2, bmp2_len; in decode_seq() local
612 unsigned int count, effective_count = 0, i, len = 0; in decode_seqof() local
702 unsigned int type, ext, len = 0; in decode_choice() local
825 int len; in DecodeQ931() local
/net/caif/
Dcfpkt_skbuff.c80 static struct cfpkt *cfpkt_create_pfx(u16 len, u16 pfx) in cfpkt_create_pfx()
92 inline struct cfpkt *cfpkt_create(u16 len) in cfpkt_create()
109 int cfpkt_peek_head(struct cfpkt *pkt, void *data, u16 len) in cfpkt_peek_head()
120 int cfpkt_extr_head(struct cfpkt *pkt, void *data, u16 len) in cfpkt_extr_head()
146 int cfpkt_extr_trail(struct cfpkt *pkt, void *dta, u16 len) in cfpkt_extr_trail()
168 int cfpkt_pad_trail(struct cfpkt *pkt, u16 len) in cfpkt_pad_trail()
173 int cfpkt_add_body(struct cfpkt *pkt, const void *data, u16 len) in cfpkt_add_body()
216 int cfpkt_add_head(struct cfpkt *pkt, const void *data2, u16 len) in cfpkt_add_head()
243 inline int cfpkt_add_trail(struct cfpkt *pkt, const void *data, u16 len) in cfpkt_add_trail()
271 int cfpkt_setlen(struct cfpkt *pkt, u16 len) in cfpkt_setlen()
/net/dccp/
Doptions.c26 u64 dccp_decode_value_var(const u8 *bf, const u8 len) in dccp_decode_value_var()
62 unsigned char opt, len; in dccp_parse_options() local
269 void dccp_encode_value_var(const u64 value, u8 *to, const u8 len) in dccp_encode_value_var()
293 const void *value, const unsigned char len) in dccp_insert_option()
325 const int len = ndp_len + 2; in dccp_insert_option_ndp() local
361 u32 elapsed_time, elapsed_time_len, len; in dccp_insert_option_timestamp_echo() local
407 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.c288 const struct dccp_hdr *dh, const unsigned int len) in __dccp_rcv_established()
369 const struct dccp_hdr *dh, const unsigned int len) in dccp_rcv_established()
391 const unsigned int len) in dccp_rcv_request_sent_state_process()
524 const unsigned int len) in dccp_rcv_respond_partopen_state_process()
575 struct dccp_hdr *dh, unsigned int len) in dccp_rcv_state_process()
/net/smc/
Dsmc_clc.c39 int len, datlen; in smc_clc_wait_msg() local
115 int len; in smc_clc_send_decline() local
148 int len, rc; in smc_clc_send_proposal() local
193 int len; in smc_clc_send_confirm() local
244 int len; in smc_clc_send_accept() local
/net/ipv6/
Dmcast_snoop.c29 unsigned int len; in ipv6_mc_check_ip6hdr() local
76 unsigned int len = skb_transport_offset(skb); in ipv6_mc_check_mld_reportv2() local
86 unsigned int len = skb_transport_offset(skb); in ipv6_mc_check_mld_query() local
145 unsigned int len = skb_transport_offset(skb) + sizeof(struct mld_msg); in __ipv6_mc_check_mld() local
/net/9p/
Dprotocol.c63 size_t len = min(pdu->size - pdu->offset, size); in pdu_read() local
71 size_t len = min(pdu->capacity - pdu->size, size); in pdu_write() local
80 size_t len = min(pdu->capacity - pdu->size, size); in pdu_write_u() local
155 uint16_t len; in p9pdu_vreadf() local
399 uint16_t len = 0; in p9pdu_vwritef() local
559 int p9stat_read(struct p9_client *clnt, char *buf, int len, struct p9_wstat *st) in p9stat_read()
608 int p9dirent_read(struct p9_client *clnt, char *buf, int len, in p9dirent_read()
/net/rose/
Drose_subr.c109 int len, faclen; in rose_write_internal() local
242 static int rose_parse_national(unsigned char *p, struct rose_facilities_struct *facilities, int len) in rose_parse_national()
336 static int rose_parse_ccitt(unsigned char *p, struct rose_facilities_struct *facilities, int len) in rose_parse_ccitt()
401 int facilities_len, len; in rose_parse_facilities() local
443 int len, nb; in rose_create_facilities() local
/net/mac80211/
Dfils_aead.c29 size_t num_elem, const u8 *addr[], size_t len[], u8 *v) in aes_s2v()
72 size_t len[], u8 *out) in aes_siv_encrypt()
149 size_t num_elem, const u8 *addr[], size_t len[], in aes_siv_decrypt()
226 size_t len[5 + 1]; in fils_encrypt_assoc_req() local
277 size_t len[5 + 1]; in fils_decrypt_assoc_resp() local
/net/core/
Dskbuff.c390 struct sk_buff *__netdev_alloc_skb(struct net_device *dev, unsigned int len, in __netdev_alloc_skb()
459 struct sk_buff *__napi_alloc_skb(struct napi_struct *napi, unsigned int len, in __napi_alloc_skb()
1014 static bool skb_zerocopy_notify_extend(struct sk_buff *skb, u32 lo, u16 len) in skb_zerocopy_notify_extend()
1042 u16 len; in sock_zerocopy_callback() local
1111 struct msghdr *msg, int len, in skb_zerocopy_iter_stream()
1673 void *pskb_put(struct sk_buff *skb, struct sk_buff *tail, int len) in pskb_put()
1692 void *skb_put(struct sk_buff *skb, unsigned int len) in skb_put()
1713 void *skb_push(struct sk_buff *skb, unsigned int len) in skb_push()
1733 void *skb_pull(struct sk_buff *skb, unsigned int len) in skb_pull()
1748 void skb_trim(struct sk_buff *skb, unsigned int len) in skb_trim()
[all …]
/net/ceph/
Dpagevec.c96 loff_t off, size_t len) in ceph_copy_user_to_page_vector()
122 loff_t off, size_t len) in ceph_copy_to_page_vector()
145 loff_t off, size_t len) in ceph_copy_from_page_vector()
170 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/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()
1030 u16 len) in set_powered()
1209 u16 len) in set_discoverable()
1390 u16 len) in set_connectable()
1447 u16 len) in set_bondable()
1490 u16 len) in set_link_security()
1558 static int set_ssp(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) in set_ssp()
1639 static int set_hs(struct sock *sk, struct hci_dev *hdev, void *data, u16 len) in set_hs()
[all …]
Da2mp.c30 static struct a2mp_cmd *__a2mp_build(u8 code, u8 ident, u16 len, void *data) in __a2mp_build()
49 static void a2mp_send(struct amp_mgr *mgr, u8 code, u8 ident, u16 len, void *data) in a2mp_send()
141 u16 len = le16_to_cpu(hdr->len); in a2mp_discover_req() local
201 u16 len = le16_to_cpu(hdr->len); in a2mp_discover_rsp() local
413 u16 len = le16_to_cpu(hdr->len); in a2mp_getampassoc_rsp() local
612 u16 len; in a2mp_chan_recv_cb() local
730 unsigned long len, int nb) in a2mp_chan_alloc_skb_cb()
929 size_t len; in a2mp_send_getampassoc_rsp() local
964 size_t len; in a2mp_send_create_phy_link_req() local
Dl2cap_sock.c86 int len, err = 0; in l2cap_sock_bind() local
181 int len, err = 0; in l2cap_sock_connect() local
361 int *len, int peer) in l2cap_sock_getname()
400 int len, err = 0; in l2cap_sock_getsockopt_old() local
503 int len, err = 0; in l2cap_sock_getsockopt() local
638 int len, err = 0; in l2cap_sock_setsockopt_old() local
752 int len, err = 0; in l2cap_sock_setsockopt() local
950 size_t len) in l2cap_sock_sendmsg()
982 size_t len, int flags) in l2cap_sock_recvmsg()
1378 unsigned long len, int nb) in l2cap_sock_alloc_skb_cb()
/net/x25/
Dx25_facilities.c50 unsigned int len; in x25_parse_facilities() local
198 int len; in x25_create_facilities() local
276 int len; in x25_negotiate_facilities() local
/net/sctp/
Dsocket.c205 int len) in sctp_verify_addr()
328 union sctp_addr *addr, int len) in sctp_sockaddr_af()
358 static int sctp_do_bind(struct sock *sk, union sctp_addr *addr, int len) in sctp_do_bind()
1426 static int sctp_getsockopt_connectx3(struct sock *sk, int len, in sctp_getsockopt_connectx3()
2083 static int sctp_skb_pull(struct sk_buff *skb, int len) in sctp_skb_pull()
2125 static int sctp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, in sctp_recvmsg()
4767 static int sctp_getsockopt_sctp_status(struct sock *sk, int len, in sctp_getsockopt_sctp_status()
4847 static int sctp_getsockopt_peer_addr_info(struct sock *sk, int len, in sctp_getsockopt_peer_addr_info()
4902 static int sctp_getsockopt_disable_fragments(struct sock *sk, int len, in sctp_getsockopt_disable_fragments()
4924 static int sctp_getsockopt_events(struct sock *sk, int len, char __user *optval, in sctp_getsockopt_events()
[all …]
/net/ax25/
Dax25_ip.c50 const void *saddr, unsigned int len) in ax25_hard_header()
219 const void *saddr, unsigned int len) in ax25_hard_header()
231 static bool ax25_validate_header(const char *header, unsigned int len) in ax25_validate_header()
/net/phonet/
Dpep.c83 int len, gfp_t priority) in pep_alloc_skb()
99 const void *data, int len, gfp_t priority) in pep_reply()
121 const void *data, int len, gfp_t priority) in pep_indicate()
142 const void *data, int len) in pipe_handler_request()
326 u8 type, buf[2], len = sizeof(buf); in pipe_rcv_created() local
511 u8 type, buf[6], len = sizeof(buf); in pep_connresp_rcv() local
822 u8 type, buf[1], len = sizeof(buf); in pep_sock_accept() local
896 static int pep_sock_connect(struct sock *sk, struct sockaddr *addr, int len) in pep_sock_connect()
917 static int pep_sock_enable(struct sock *sk, struct sockaddr *addr, int len) in pep_sock_enable()
1056 int len, val; in pep_getsockopt() local
[all …]
/net/tipc/
Dnetlink_compat.c96 static int tipc_add_tlv(struct sk_buff *skb, u16 type, void *data, u16 len) in tipc_add_tlv()
124 u16 len; in tipc_tlv_sprintf() local
175 static inline bool string_is_valid(char *s, int len) in string_is_valid()
184 int len = 0; in __tipc_nl_compat_dumpit() local
392 int len; in tipc_nl_compat_bearer_enable() local
434 int len; in tipc_nl_compat_bearer_disable() local
510 int len; in tipc_nl_compat_link_stat_dump() local
686 int len; in tipc_nl_compat_media_set() local
718 int len; in tipc_nl_compat_bearer_set() local
778 int len; in tipc_nl_compat_link_set() local
[all …]

12345678910>>...18