Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 170) sorted by relevance

1234567

/net/bridge/
Dbr_sysfs_br.c32 const char *buf, size_t len, in store_bridge_parm()
53 struct device_attribute *attr, char *buf) in forward_delay_show()
61 const char *buf, size_t len) in forward_delay_store()
68 char *buf) in hello_time_show()
75 struct device_attribute *attr, const char *buf, in hello_time_store()
83 char *buf) in max_age_show()
90 const char *buf, size_t len) in max_age_store()
97 struct device_attribute *attr, char *buf) in ageing_time_show()
118 const char *buf, size_t len) in ageing_time_store()
125 struct device_attribute *attr, char *buf) in stp_state_show()
[all …]
Dbr_sysfs_if.c69 static ssize_t show_path_cost(struct net_bridge_port *p, char *buf) in show_path_cost()
77 static ssize_t show_priority(struct net_bridge_port *p, char *buf) in show_priority()
85 static ssize_t show_designated_root(struct net_bridge_port *p, char *buf) in show_designated_root()
91 static ssize_t show_designated_bridge(struct net_bridge_port *p, char *buf) in show_designated_bridge()
97 static ssize_t show_designated_port(struct net_bridge_port *p, char *buf) in show_designated_port()
103 static ssize_t show_designated_cost(struct net_bridge_port *p, char *buf) in show_designated_cost()
109 static ssize_t show_port_id(struct net_bridge_port *p, char *buf) in show_port_id()
115 static ssize_t show_port_no(struct net_bridge_port *p, char *buf) in show_port_no()
122 static ssize_t show_change_ack(struct net_bridge_port *p, char *buf) in show_change_ack()
128 static ssize_t show_config_pending(struct net_bridge_port *p, char *buf) in show_config_pending()
[all …]
Dbr_stp_bpdu.c85 unsigned char buf[35]; in br_send_config_bpdu() local
130 unsigned char buf[4]; in br_send_tcn_bpdu() local
152 const unsigned char *buf; in br_stp_rcv() local
Dbr_ioctl.c63 void *buf; in get_fdb_entries() local
330 char buf[IFNAMSIZ]; in old_deviceless() local
360 char buf[IFNAMSIZ]; in br_ioctl_deviceless_stub() local
/net/sunrpc/
Daddr.c28 char *buf, const int buflen) in rpc_ntop6_noscopeid()
66 char *buf, const size_t buflen) in rpc_ntop6()
98 char *buf, const int buflen) in rpc_ntop6_noscopeid()
104 char *buf, const size_t buflen) in rpc_ntop6()
112 char *buf, const size_t buflen) in rpc_ntop4()
128 size_t rpc_ntop(const struct sockaddr *sap, char *buf, const size_t buflen) in rpc_ntop()
141 static size_t rpc_pton4(const char *buf, const size_t buflen, in rpc_pton4()
160 static int rpc_parse_scope_id(struct net *net, const char *buf, in rpc_parse_scope_id()
202 static size_t rpc_pton6(struct net *net, const char *buf, const size_t buflen, in rpc_pton6()
225 static size_t rpc_pton6(struct net *net, const char *buf, const size_t buflen, in rpc_pton6()
[all …]
Dxdr.c121 xdr_terminate_string(struct xdr_buf *buf, const u32 len) in xdr_terminate_string()
137 char *buf = (char *)head->iov_base; in xdr_inline_pages() local
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()
460 void xdr_init_encode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p) in xdr_init_encode()
605 struct xdr_buf *buf = xdr->buf; in xdr_truncate_encode() local
667 struct xdr_buf *buf = xdr->buf; in xdr_restrict_buflen() local
693 struct xdr_buf *buf = xdr->buf; in xdr_write_pages() local
789 void xdr_init_decode(struct xdr_stream *xdr, struct xdr_buf *buf, __be32 *p) in xdr_init_decode()
[all …]
Dcache.c747 char * buf; member
768 static ssize_t cache_read(struct file *filp, char __user *buf, size_t count, in cache_read()
850 static ssize_t cache_do_downcall(char *kaddr, const char __user *buf, in cache_do_downcall()
866 static ssize_t cache_slow_downcall(const char __user *buf, in cache_slow_downcall()
882 const char __user *buf, in cache_downcall()
906 static ssize_t cache_write(struct file *filp, const char __user *buf, in cache_write()
1102 void qword_addhex(char **bpp, int *lp, char *buf, int blen) in qword_addhex()
1164 char *buf; in sunrpc_cache_pipe_upcall() local
1429 static ssize_t read_flush(struct file *file, char __user *buf, in read_flush()
1450 static ssize_t write_flush(struct file *file, const char __user *buf, in write_flush()
[all …]
/net/core/
Dnet-sysfs.c44 struct device_attribute *attr, char *buf, in netdev_show() argument
80 const char *buf, size_t len, in netdev_store()
116 char *buf) in iflink_show()
124 static ssize_t format_name_assign_type(const struct net_device *dev, char *buf) in format_name_assign_type()
131 char *buf) in name_assign_type_show()
145 char *buf) in address_show()
159 struct device_attribute *attr, char *buf) in broadcast_show()
176 const char *buf, size_t len) in carrier_store()
182 struct device_attribute *attr, char *buf) in carrier_show()
193 struct device_attribute *attr, char *buf) in speed_show()
[all …]
/net/mac80211/
Ddebugfs_netdev.c33 char buf[70]; in ieee80211_if_read() local
52 char buf[64]; in ieee80211_if_write() local
183 char *buf, int buflen) in ieee80211_if_fmt_rc_rateidx_vht_mcs_mask_2ghz()
199 char *buf, int buflen) in ieee80211_if_fmt_rc_rateidx_vht_mcs_mask_5ghz()
221 char *buf, int buflen) in ieee80211_if_fmt_hw_queues()
282 char *buf, int buflen) in ieee80211_if_fmt_smps()
296 const char *buf, int buflen) in ieee80211_if_parse_smps()
314 struct ieee80211_sub_if_data *sdata, const char *buf, int buflen) in ieee80211_if_parse_tkip_mic_test()
381 struct ieee80211_sub_if_data *sdata, const char *buf, int buflen) in ieee80211_if_parse_beacon_loss()
393 const struct ieee80211_sub_if_data *sdata, char *buf, int buflen) in ieee80211_if_fmt_uapsd_queues()
[all …]
Ddebugfs_key.c76 char buf[15]; in key_algorithm_read() local
125 char buf[20]; in key_tx_spec_read() local
163 char buf[14*IEEE80211_NUM_TIDS+1], *p = buf; in key_rx_spec_read() local
231 char buf[20]; in key_replays_read() local
264 char buf[20]; in key_icverrors_read() local
289 char buf[20]; in key_mic_failures_read() local
306 char *buf = kmalloc(bufsize, GFP_KERNEL); in key_key_read() local
332 char buf[100]; in ieee80211_debugfs_key_add() local
380 char buf[50]; in ieee80211_debugfs_key_update_default() local
415 char buf[50]; in ieee80211_debugfs_key_add_mgmt_default() local
Ddebugfs_sta.c57 char buf[121]; in sta_flags_read() local
87 char buf[17*IEEE80211_NUM_ACS], *p = buf; in sta_num_ps_buf_frames_read() local
101 char buf[15*IEEE80211_NUM_TIDS], *p = buf; in sta_last_seq_ctrl_read() local
115 char buf[71 + IEEE80211_NUM_TIDS * 40], *p = buf; in sta_agg_status_read() local
154 char _buf[12] = {}, *buf = _buf; in sta_agg_status_write() local
218 char buf[512], *p = buf; in sta_ht_capa_read() local
295 char buf[128], *p = buf; in sta_vht_capa_read() local
Ddebugfs.c24 char buf[DEBUGFS_FORMAT_BUFFER_SIZE]; in mac80211_format_buffer() local
137 char *buf = kzalloc(bufsz, GFP_KERNEL); in hwflags_read() local
166 char buf[IEEE80211_MAX_QUEUES * 20]; in queues_read() local
187 int (*printvalue)(struct ieee80211_low_level_stats *stats, char *buf, in format_devstat_counter()
191 char buf[20]; in format_devstat_counter() local
/net/ieee802154/
Dheader_ops.c23 ieee802154_hdr_push_addr(u8 *buf, const struct ieee802154_addr *addr, in ieee802154_hdr_push_addr()
55 ieee802154_hdr_push_sechdr(u8 *buf, const struct ieee802154_sechdr *hdr) in ieee802154_hdr_push_sechdr()
88 u8 buf[IEEE802154_MAX_HEADER_LEN]; in ieee802154_hdr_push() local
132 ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan, in ieee802154_hdr_get_addr()
169 ieee802154_hdr_get_sechdr(const u8 *buf, struct ieee802154_sechdr *hdr) in ieee802154_hdr_get_sechdr()
226 ieee802154_hdr_get_addrs(const u8 *buf, struct ieee802154_hdr *hdr) in ieee802154_hdr_get_addrs()
274 const u8 *buf = skb_mac_header(skb); in ieee802154_hdr_peek_addrs() local
294 const u8 *buf = skb_mac_header(skb); in ieee802154_hdr_peek() local
/net/irda/
Dparameters.c78 static int irda_insert_no_value(void *self, __u8 *buf, int len, __u8 pi, in irda_insert_no_value()
105 static int irda_extract_no_value(void *self, __u8 *buf, int len, __u8 pi, in irda_extract_no_value()
126 static int irda_insert_integer(void *self, __u8 *buf, int len, __u8 pi, in irda_insert_integer()
202 static int irda_extract_integer(void *self, __u8 *buf, int len, __u8 pi, in irda_extract_integer()
286 static int irda_extract_string(void *self, __u8 *buf, int len, __u8 pi, in irda_extract_string()
331 static int irda_extract_octseq(void *self, __u8 *buf, int len, __u8 pi, in irda_extract_octseq()
359 int irda_param_pack(__u8 *buf, char *fmt, ...) in irda_param_pack()
402 static int irda_param_unpack(__u8 *buf, char *fmt, ...) in irda_param_unpack()
449 int irda_param_insert(void *self, __u8 pi, __u8 *buf, int len, in irda_param_insert()
504 static int irda_param_extract(void *self, __u8 *buf, int len, in irda_param_extract()
[all …]
/net/sunrpc/auth_gss/
Dgss_krb5_wrap.c49 gss_krb5_add_padding(struct xdr_buf *buf, int offset, int blocksize) in gss_krb5_add_padding()
66 gss_krb5_remove_padding(struct xdr_buf *buf, int blocksize) in gss_krb5_remove_padding()
159 struct xdr_buf *buf, struct page **pages) in gss_wrap_kerberos_v1()
266 gss_unwrap_kerberos_v1(struct krb5_ctx *kctx, int offset, struct xdr_buf *buf) in gss_unwrap_kerberos_v1()
401 static void rotate_buf_a_little(struct xdr_buf *buf, unsigned int shift) in rotate_buf_a_little()
418 static void _rotate_left(struct xdr_buf *buf, unsigned int shift) in _rotate_left()
431 static void rotate_left(u32 base, struct xdr_buf *buf, unsigned int shift) in rotate_left()
441 struct xdr_buf *buf, struct page **pages) in gss_wrap_kerberos_v2()
495 gss_unwrap_kerberos_v2(struct krb5_ctx *kctx, int offset, struct xdr_buf *buf) in gss_unwrap_kerberos_v2()
592 struct xdr_buf *buf, struct page **pages) in gss_wrap_kerberos()
[all …]
Dgss_generic_token.c96 der_write_length(unsigned char **buf, int length) in der_write_length()
118 der_read_length(unsigned char **buf, int *bufsize) in der_read_length()
160 g_make_token_header(struct xdr_netobj *mech, int body_size, unsigned char **buf) in g_make_token_header()
183 unsigned char *buf = *buf_in; in g_verify_token_header() local
Dgss_krb5_seqnum.c44 unsigned char *cksum, unsigned char *buf) in krb5_make_rc4_seq_num()
79 unsigned char *cksum, unsigned char *buf) in krb5_make_seq_num()
102 unsigned char *buf, int *direction, s32 *seqnum) in krb5_get_rc4_seq_num()
140 unsigned char *buf, in krb5_get_seq_num()
/net/atm/
Datm_sysfs.c14 struct device_attribute *attr, char *buf) in show_type()
22 struct device_attribute *attr, char *buf) in show_address()
30 struct device_attribute *attr, char *buf) in show_atmaddress()
59 struct device_attribute *attr, char *buf) in show_atmindex()
67 struct device_attribute *attr, char *buf) in show_carrier()
76 struct device_attribute *attr, char *buf) in show_link_rate()
/net/bluetooth/
Dhci_sysfs.c27 struct device_attribute *attr, char *buf) in show_link_type()
34 struct device_attribute *attr, char *buf) in show_link_address()
140 struct device_attribute *attr, char *buf) in show_type()
147 struct device_attribute *attr, char *buf) in show_name()
161 struct device_attribute *attr, char *buf) in show_address()
/net/ax25/
Dax25_addr.c49 char *ax2asc(char *buf, const ax25_address *a) in ax2asc()
159 const unsigned char *ax25_addr_parse(const unsigned char *buf, int len, in ax25_addr_parse()
218 int ax25_addr_build(unsigned char *buf, const ax25_address *src, in ax25_addr_build()
/net/rfkill/
Dcore.c586 char *buf) in name_show()
621 char *buf) in type_show()
630 char *buf) in index_show()
639 struct device_attribute *attr, char *buf) in persistent_show()
648 char *buf) in hard_show()
657 char *buf) in soft_show()
665 const char *buf, size_t count) in soft_store()
700 char *buf) in state_show()
708 const char *buf, size_t count) in state_store()
734 char *buf) in claim_show()
[all …]
/net/sunrpc/xprtrdma/
Dbackchannel.c23 struct rpcrdma_buffer *buf = &r_xprt->rx_buf; in rpcrdma_bc_free_rqst() local
41 struct xdr_buf *buf; in rpcrdma_bc_setup_rqst() local
292 struct xdr_buf *buf; in rpcrdma_bc_receive_call() local
/net/wireless/
Ddebugfs.c44 char *buf, int buf_size, int offset) in ht_print_chan()
70 char *buf; in ht40allow_map_read() local
Dmlme.c23 const u8 *buf, size_t len, int uapsd_queues) in cfg80211_rx_assoc_resp()
56 const u8 *buf, size_t len) in cfg80211_process_auth()
65 const u8 *buf, size_t len) in cfg80211_process_deauth()
84 const u8 *buf, size_t len) in cfg80211_process_disassoc()
102 void cfg80211_rx_mlme_mgmt(struct net_device *dev, const u8 *buf, size_t len) in cfg80211_rx_mlme_mgmt()
164 void cfg80211_tx_mlme_mgmt(struct net_device *dev, const u8 *buf, size_t len) in cfg80211_tx_mlme_mgmt()
191 char *buf = kmalloc(128, gfp); in cfg80211_michael_mic_failure() local
667 const u8 *buf, size_t len, u32 flags) in cfg80211_rx_mgmt()
/net/irda/irnet/
Dirnet_ppp.c46 const char __user *buf, in irnet_ctrl_write()
281 char __user * buf, in irnet_ctrl_read()
565 const char __user *buf, in dev_irnet_write()
589 char __user * buf, in dev_irnet_read()

1234567