Home
last modified time | relevance | path

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

12345678

/net/bridge/
Dbr_sysfs_br.c28 const char *buf, size_t len, in store_bridge_parm()
56 struct device_attribute *attr, char *buf) in forward_delay_show()
64 const char *buf, size_t len) in forward_delay_store()
71 char *buf) in hello_time_show()
78 struct device_attribute *attr, const char *buf, in hello_time_store()
86 char *buf) in max_age_show()
93 const char *buf, size_t len) in max_age_store()
100 struct device_attribute *attr, char *buf) in ageing_time_show()
113 const char *buf, size_t len) in ageing_time_store()
120 struct device_attribute *attr, char *buf) in stp_state_show()
[all …]
Dbr_sysfs_if.c77 static ssize_t show_path_cost(struct net_bridge_port *p, char *buf) in show_path_cost()
85 static ssize_t show_priority(struct net_bridge_port *p, char *buf) in show_priority()
93 static ssize_t show_designated_root(struct net_bridge_port *p, char *buf) in show_designated_root()
99 static ssize_t show_designated_bridge(struct net_bridge_port *p, char *buf) in show_designated_bridge()
105 static ssize_t show_designated_port(struct net_bridge_port *p, char *buf) in show_designated_port()
111 static ssize_t show_designated_cost(struct net_bridge_port *p, char *buf) in show_designated_cost()
117 static ssize_t show_port_id(struct net_bridge_port *p, char *buf) in show_port_id()
123 static ssize_t show_port_no(struct net_bridge_port *p, char *buf) in show_port_no()
130 static ssize_t show_change_ack(struct net_bridge_port *p, char *buf) in show_change_ack()
136 static ssize_t show_config_pending(struct net_bridge_port *p, char *buf) in show_config_pending()
[all …]
Dbr_stp_bpdu.c81 unsigned char buf[35]; in br_send_config_bpdu() local
128 unsigned char buf[4]; in br_send_tcn_bpdu() local
152 const unsigned char *buf; in br_stp_rcv() local
Dbr_ioctl.c59 void *buf; in get_fdb_entries() local
333 char buf[IFNAMSIZ]; in old_deviceless() local
363 char buf[IFNAMSIZ]; in br_ioctl_deviceless_stub() local
/net/sunrpc/
Daddr.c29 char *buf, const int buflen) in rpc_ntop6_noscopeid()
67 char *buf, const size_t buflen) in rpc_ntop6()
99 char *buf, const int buflen) in rpc_ntop6_noscopeid()
105 char *buf, const size_t buflen) in rpc_ntop6()
113 char *buf, const size_t buflen) in rpc_ntop4()
129 size_t rpc_ntop(const struct sockaddr *sap, char *buf, const size_t buflen) in rpc_ntop()
142 static size_t rpc_pton4(const char *buf, const size_t buflen, in rpc_pton4()
161 static int rpc_parse_scope_id(struct net *net, const char *buf, in rpc_parse_scope_id()
199 static size_t rpc_pton6(struct net *net, const char *buf, const size_t buflen, in rpc_pton6()
222 static size_t rpc_pton6(struct net *net, const char *buf, const size_t buflen, in rpc_pton6()
[all …]
Dxdr.c127 xdr_terminate_string(struct xdr_buf *buf, const u32 len) in xdr_terminate_string()
138 xdr_buf_pagecount(struct xdr_buf *buf) in xdr_buf_pagecount()
146 xdr_alloc_bvec(struct xdr_buf *buf, gfp_t gfp) in xdr_alloc_bvec()
164 xdr_free_bvec(struct xdr_buf *buf) in xdr_free_bvec()
185 char *buf = (char *)head->iov_base; in xdr_inline_pages() local
270 _shift_data_left_tail(struct xdr_buf *buf, unsigned int pgto, size_t len) in _shift_data_left_tail()
355 _shift_data_right_tail(struct xdr_buf *buf, unsigned int pgfrom, size_t len) in _shift_data_right_tail()
520 xdr_shrink_bufhead(struct xdr_buf *buf, size_t len) in xdr_shrink_bufhead()
604 xdr_shrink_pagelen(struct xdr_buf *buf, size_t len) in xdr_shrink_pagelen()
623 xdr_shift_buf(struct xdr_buf *buf, size_t len) in xdr_shift_buf()
[all …]
Dcache.c790 char * buf; member
811 static ssize_t cache_read(struct file *filp, char __user *buf, size_t count, in cache_read()
893 static ssize_t cache_do_downcall(char *kaddr, const char __user *buf, in cache_do_downcall()
909 static ssize_t cache_slow_downcall(const char __user *buf, in cache_slow_downcall()
925 const char __user *buf, in cache_downcall()
949 static ssize_t cache_write(struct file *filp, const char __user *buf, in cache_write()
1149 void qword_addhex(char **bpp, int *lp, char *buf, int blen) in qword_addhex()
1210 char *buf; in cache_pipe_upcall() local
1500 static ssize_t read_flush(struct file *file, char __user *buf, in read_flush()
1512 static ssize_t write_flush(struct file *file, const char __user *buf, in write_flush()
[all …]
/net/core/
Dnet-sysfs.c42 struct device_attribute *attr, char *buf, in netdev_show() argument
78 const char *buf, size_t len, in netdev_store()
115 char *buf) in iflink_show()
123 static ssize_t format_name_assign_type(const struct net_device *dev, char *buf) in format_name_assign_type()
130 char *buf) in name_assign_type_show()
144 char *buf) in address_show()
158 struct device_attribute *attr, char *buf) in broadcast_show()
176 const char *buf, size_t len) in carrier_store()
190 struct device_attribute *attr, char *buf) in carrier_show()
202 struct device_attribute *attr, char *buf) in speed_show()
[all …]
Dhwbm.c13 void hwbm_buf_free(struct hwbm_pool *bm_pool, void *buf) in hwbm_buf_free()
26 void *buf; in hwbm_pool_refill() local
/net/mac80211/
Ddebugfs_netdev.c31 char buf[200]; in ieee80211_if_read() local
50 char buf[64]; in ieee80211_if_write() local
181 char *buf, int buflen) in ieee80211_if_fmt_rc_rateidx_vht_mcs_mask_2ghz()
197 char *buf, int buflen) in ieee80211_if_fmt_rc_rateidx_vht_mcs_mask_5ghz()
219 char *buf, int buflen) in ieee80211_if_fmt_hw_queues()
276 char *buf, int buflen) in ieee80211_if_fmt_smps()
286 const char *buf, int buflen) in ieee80211_if_parse_smps()
304 struct ieee80211_sub_if_data *sdata, const char *buf, int buflen) in ieee80211_if_parse_tkip_mic_test()
370 struct ieee80211_sub_if_data *sdata, const char *buf, int buflen) in ieee80211_if_parse_beacon_loss()
382 const struct ieee80211_sub_if_data *sdata, char *buf, int buflen) in ieee80211_if_fmt_uapsd_queues()
[all …]
Ddebugfs.c24 char buf[DEBUGFS_FORMAT_BUFFER_SIZE]; in mac80211_format_buffer() local
82 char buf[200]; in aqm_read() local
122 char buf[100]; in aqm_write() local
157 char buf[128] = {}, *pos, *end; in airtime_flags_read() local
178 char buf[16]; in airtime_flags_write() local
210 char buf[400]; in aql_txq_limit_read() local
237 char buf[100]; in aql_txq_limit_write() local
290 char buf[3]; in force_tx_status_read() local
305 char buf[3]; in force_tx_status_write() local
416 char *buf = kzalloc(bufsz, GFP_KERNEL); in hwflags_read() local
[all …]
Ddebugfs_key.c73 char buf[15]; in key_algorithm_read() local
122 char buf[20]; in key_tx_spec_read() local
161 char buf[14*IEEE80211_NUM_TIDS+1], *p = buf; in key_rx_spec_read() local
229 char buf[20]; in key_replays_read() local
262 char buf[20]; in key_icverrors_read() local
287 char buf[20]; in key_mic_failures_read() local
304 char *buf = kmalloc(bufsize, GFP_KERNEL); in key_key_read() local
330 char buf[100]; in ieee80211_debugfs_key_add() local
375 char buf[50]; in ieee80211_debugfs_key_update_default() local
410 char buf[50]; in ieee80211_debugfs_key_add_mgmt_default() local
[all …]
Ddebugfs_sta.c88 char buf[16 * NUM_WLAN_STA_FLAGS], *pos = buf; in sta_flags_read() local
110 char buf[17*IEEE80211_NUM_ACS], *p = buf; in sta_num_ps_buf_frames_read() local
124 char buf[15*IEEE80211_NUM_TIDS], *p = buf; in sta_last_seq_ctrl_read() local
143 char *buf = kzalloc(bufsz, GFP_KERNEL), *p = buf; in sta_aqm_read() local
202 char *buf = kzalloc(bufsz, GFP_KERNEL), *p = buf; in sta_airtime_read() local
255 char *buf = kzalloc(bufsz, GFP_KERNEL), *p = buf; in sta_aql_read() local
289 char _buf[100] = {}, *buf = _buf; in sta_aql_write() local
316 char buf[71 + IEEE80211_NUM_TIDS * 40], *p = buf; in sta_agg_status_read() local
360 char _buf[25] = {}, *buf = _buf; in sta_agg_status_write() local
436 char buf[512], *p = buf; in sta_ht_capa_read() local
[all …]
/net/sunrpc/xprtrdma/
Dverbs.c628 struct rpcrdma_buffer *buf = &r_xprt->rx_buf; in rpcrdma_sendctxs_destroy() local
654 struct rpcrdma_buffer *buf = &r_xprt->rx_buf; in rpcrdma_sendctxs_create() local
686 static unsigned long rpcrdma_sendctx_next(struct rpcrdma_buffer *buf, in rpcrdma_sendctx_next()
707 struct rpcrdma_buffer *buf = &r_xprt->rx_buf; in rpcrdma_sendctx_get_locked() local
749 struct rpcrdma_buffer *buf = &r_xprt->rx_buf; in rpcrdma_sendctx_put_locked() local
773 struct rpcrdma_buffer *buf = &r_xprt->rx_buf; in rpcrdma_mrs_create() local
804 struct rpcrdma_buffer *buf = container_of(work, struct rpcrdma_buffer, in rpcrdma_mr_refresh_worker() local
820 struct rpcrdma_buffer *buf = &r_xprt->rx_buf; in rpcrdma_mrs_refresh() local
917 struct rpcrdma_buffer *buf = &r_xprt->rx_buf; in rpcrdma_reqs_setup() local
950 struct rpcrdma_buffer *buf = &r_xprt->rx_buf; in rpcrdma_reqs_reset() local
[all …]
/net/ieee802154/
Dheader_ops.c15 ieee802154_hdr_push_addr(u8 *buf, const struct ieee802154_addr *addr, in ieee802154_hdr_push_addr()
47 ieee802154_hdr_push_sechdr(u8 *buf, const struct ieee802154_sechdr *hdr) in ieee802154_hdr_push_sechdr()
80 u8 buf[IEEE802154_MAX_HEADER_LEN]; in ieee802154_hdr_push() local
124 ieee802154_hdr_get_addr(const u8 *buf, int mode, bool omit_pan, in ieee802154_hdr_get_addr()
161 ieee802154_hdr_get_sechdr(const u8 *buf, struct ieee802154_sechdr *hdr) in ieee802154_hdr_get_sechdr()
218 ieee802154_hdr_get_addrs(const u8 *buf, struct ieee802154_hdr *hdr) in ieee802154_hdr_get_addrs()
266 const u8 *buf = skb_mac_header(skb); in ieee802154_hdr_peek_addrs() local
286 const u8 *buf = skb_mac_header(skb); in ieee802154_hdr_peek() local
/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()
248 struct xdr_buf *buf, unsigned int *slack, in gss_unwrap_kerberos_v1()
370 static void rotate_buf_a_little(struct xdr_buf *buf, unsigned int shift) in rotate_buf_a_little()
387 static void _rotate_left(struct xdr_buf *buf, unsigned int shift) in _rotate_left()
400 static void rotate_left(u32 base, struct xdr_buf *buf, unsigned int shift) in rotate_left()
410 struct xdr_buf *buf, struct page **pages) in gss_wrap_kerberos_v2()
461 struct xdr_buf *buf, unsigned int *slack, in gss_unwrap_kerberos_v2()
562 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.c47 unsigned char *cksum, unsigned char *buf) in krb5_make_seq_num()
74 unsigned char *buf, in krb5_get_seq_num()
Dgss_krb5_crypto.c396 gss_encrypt_xdr_buf(struct crypto_sync_skcipher *tfm, struct xdr_buf *buf, in gss_encrypt_xdr_buf()
479 gss_decrypt_xdr_buf(struct crypto_sync_skcipher *tfm, struct xdr_buf *buf, in gss_decrypt_xdr_buf()
522 xdr_extend_head(struct xdr_buf *buf, unsigned int base, unsigned int shiftlen) in xdr_extend_head()
543 gss_krb5_cts_crypt(struct crypto_sync_skcipher *cipher, struct xdr_buf *buf, in gss_krb5_cts_crypt()
600 struct xdr_buf *buf, struct page **pages) in gss_krb5_aes_encrypt()
721 struct xdr_buf *buf, u32 *headskip, u32 *tailskip) in gss_krb5_aes_decrypt()
/net/atm/
Datm_sysfs.c15 struct device_attribute *attr, char *buf) in show_type()
23 struct device_attribute *attr, char *buf) in show_address()
31 struct device_attribute *attr, char *buf) in show_atmaddress()
54 struct device_attribute *attr, char *buf) in show_atmindex()
62 struct device_attribute *attr, char *buf) in show_carrier()
71 struct device_attribute *attr, char *buf) in show_link_rate()
/net/ceph/
Dcrypto.c23 static int set_secret(struct ceph_crypto_key *key, void *buf) in set_secret()
111 void *buf, *p; in ceph_crypto_key_unarmor() local
161 const void *buf, unsigned int buf_len) in setup_sgtable()
219 void *buf, int buf_len, int in_len, int *pout_len) in ceph_aes_crypt()
283 void *buf, int buf_len, int in_len, int *pout_len) in ceph_crypt()
/net/ax25/
Dax25_addr.c46 char *ax2asc(char *buf, const ax25_address *a) in ax2asc()
156 const unsigned char *ax25_addr_parse(const unsigned char *buf, int len, in ax25_addr_parse()
215 int ax25_addr_build(unsigned char *buf, const ax25_address *src, in ax25_addr_build()
/net/rfkill/
Dcore.c670 char *buf) in name_show()
679 char *buf) in type_show()
688 char *buf) in index_show()
697 struct device_attribute *attr, char *buf) in persistent_show()
706 char *buf) in hard_show()
715 char *buf) in soft_show()
723 const char *buf, size_t count) in soft_store()
758 char *buf) in state_show()
766 const char *buf, size_t count) in state_store()
1167 static ssize_t rfkill_fop_read(struct file *file, char __user *buf, in rfkill_fop_read()
[all …]
/net/tipc/
Dtrace.c53 int tipc_skb_dump(struct sk_buff *skb, bool more, char *buf) in tipc_skb_dump()
166 int tipc_list_dump(struct sk_buff_head *list, bool more, char *buf) in tipc_list_dump()
/net/wireless/
Ddebugfs.c41 char *buf, int buf_size, int offset) in ht_print_chan()
67 char *buf; in ht40allow_map_read() local

12345678