Searched refs:buf (Results 126 - 150 of 8632) sorted by relevance

1234567891011>>

/linux-master/drivers/net/wireless/st/cw1200/
H A Dwsm.c27 #define WSM_SKIP(buf, size) \
29 if ((buf)->data + size > (buf)->end) \
31 (buf)->data += size; \
34 #define WSM_GET(buf, ptr, size) \
36 if ((buf)->data + size > (buf)->end) \
38 memcpy(ptr, (buf)->data, size); \
39 (buf)->data += size; \
42 #define __WSM_GET(buf, typ
91 wsm_generic_confirm(struct cw1200_common *priv, void *arg, struct wsm_buf *buf) argument
108 struct wsm_buf *buf = &priv->wsm_cmd_buf; local
134 wsm_configuration_confirm(struct cw1200_common *priv, struct wsm_configuration *arg, struct wsm_buf *buf) argument
166 struct wsm_buf *buf = &priv->wsm_cmd_buf; local
185 void *buf; member in struct:wsm_mib
193 struct wsm_buf *buf = &priv->wsm_cmd_buf; local
214 wsm_read_mib_confirm(struct cw1200_common *priv, struct wsm_mib *arg, struct wsm_buf *buf) argument
244 struct wsm_buf *buf = &priv->wsm_cmd_buf; local
267 wsm_write_mib_confirm(struct cw1200_common *priv, struct wsm_mib *arg, struct wsm_buf *buf) argument
291 struct wsm_buf *buf = &priv->wsm_cmd_buf; local
343 struct wsm_buf *buf = &priv->wsm_cmd_buf; local
352 wsm_tx_confirm(struct cw1200_common *priv, struct wsm_buf *buf, int link_id) argument
374 wsm_multi_tx_confirm(struct cw1200_common *priv, struct wsm_buf *buf, int link_id) argument
407 wsm_join_confirm(struct cw1200_common *priv, struct wsm_join_cnf *arg, struct wsm_buf *buf) argument
428 struct wsm_buf *buf = &priv->wsm_cmd_buf; local
467 struct wsm_buf *buf = &priv->wsm_cmd_buf; local
492 struct wsm_buf *buf = &priv->wsm_cmd_buf; local
514 struct wsm_buf *buf = &priv->wsm_cmd_buf; local
539 struct wsm_buf *buf = &priv->wsm_cmd_buf; local
568 struct wsm_buf *buf = &priv->wsm_cmd_buf; local
615 struct wsm_buf *buf = &priv->wsm_cmd_buf; local
643 struct wsm_buf *buf = &priv->wsm_cmd_buf; local
669 struct wsm_buf *buf = &priv->wsm_cmd_buf; local
703 struct wsm_buf *buf = &priv->wsm_cmd_buf; local
725 struct wsm_buf *buf = &priv->wsm_cmd_buf; local
738 struct wsm_buf *buf = &priv->wsm_cmd_buf; local
751 struct wsm_buf *buf = &priv->wsm_cmd_buf; local
775 struct wsm_buf *buf = &priv->wsm_cmd_buf; local
810 wsm_startup_indication(struct cw1200_common *priv, struct wsm_buf *buf) argument
860 wsm_receive_indication(struct cw1200_common *priv, int link_id, struct wsm_buf *buf, struct sk_buff **skb_p) argument
915 wsm_event_indication(struct cw1200_common *priv, struct wsm_buf *buf) argument
950 wsm_channel_switch_indication(struct cw1200_common *priv, struct wsm_buf *buf) argument
966 wsm_set_pm_indication(struct cw1200_common *priv, struct wsm_buf *buf) argument
977 wsm_scan_started(struct cw1200_common *priv, void *arg, struct wsm_buf *buf) argument
992 wsm_scan_complete_indication(struct cw1200_common *priv, struct wsm_buf *buf) argument
1007 wsm_join_complete_indication(struct cw1200_common *priv, struct wsm_buf *buf) argument
1021 wsm_find_complete_indication(struct cw1200_common *priv, struct wsm_buf *buf) argument
1028 wsm_ba_timeout_indication(struct cw1200_common *priv, struct wsm_buf *buf) argument
1048 wsm_suspend_resume_indication(struct cw1200_common *priv, int link_id, struct wsm_buf *buf) argument
1072 wsm_cmd_send(struct cw1200_common *priv, struct wsm_buf *buf, void *arg, u16 cmd, long tmo) argument
1241 struct wsm_buf buf; local
1775 wsm_buf_init(struct wsm_buf *buf) argument
1783 wsm_buf_deinit(struct wsm_buf *buf) argument
1789 wsm_buf_reset(struct wsm_buf *buf) argument
1799 wsm_buf_reserve(struct wsm_buf *buf, size_t extra_size) argument
[all...]
/linux-master/lib/
H A Dvsprintf.c218 * one of them accounted for in buf. This is needed by ip4_string
222 char *put_dec_trunc8(char *buf, unsigned r) argument
232 *((u16 *)buf) = decpair[r - 100*q];
233 buf += 2;
241 *((u16 *)buf) = decpair[q - 100*r];
242 buf += 2;
250 *((u16 *)buf) = decpair[r - 100*q];
251 buf += 2;
257 *((u16 *)buf) = decpair[r];
258 buf
264 put_dec_full8(char *buf, unsigned r) argument
290 put_dec(char *buf, unsigned long long n) argument
304 put_dec_full4(char *buf, unsigned r) argument
324 put_dec_helper4(char *buf, unsigned x) argument
338 put_dec(char *buf, unsigned long long n) argument
379 num_to_str(char *buf, int size, unsigned long long num, unsigned int width) argument
457 number(char *buf, char *end, unsigned long long num, struct printf_spec spec) argument
578 special_hex_number(char *buf, char *end, unsigned long long num, int size) argument
591 move_right(char *buf, char *end, unsigned len, unsigned spaces) argument
618 widen_string(char *buf, int n, char *end, struct printf_spec spec) argument
639 string_nocheck(char *buf, char *end, const char *s, struct printf_spec spec) argument
657 err_ptr(char *buf, char *end, void *ptr, struct printf_spec spec) argument
677 error_string(char *buf, char *end, const char *s, struct printf_spec spec) argument
707 check_pointer(char **buf, char *end, const void *ptr, struct printf_spec spec) argument
722 string(char *buf, char *end, const char *s, struct printf_spec spec) argument
731 pointer_string(char *buf, char *end, const void *ptr, struct printf_spec spec) argument
807 ptr_to_id(char *buf, char *end, const void *ptr, struct printf_spec spec) argument
837 default_pointer(char *buf, char *end, const void *ptr, struct printf_spec spec) argument
853 restricted_pointer(char *buf, char *end, const void *ptr, struct printf_spec spec) argument
900 dentry_name(char *buf, char *end, const struct dentry *d, struct printf_spec spec, const char *fmt) argument
949 file_dentry_name(char *buf, char *end, const struct file *f, struct printf_spec spec, const char *fmt) argument
959 bdev_name(char *buf, char *end, struct block_device *bdev, struct printf_spec spec, const char *fmt) argument
982 symbol_string(char *buf, char *end, void *ptr, struct printf_spec spec, const char *fmt) argument
1043 resource_string(char *buf, char *end, struct resource *res, struct printf_spec spec, const char *fmt) argument
1144 hex_string(char *buf, char *end, u8 *addr, struct printf_spec spec, const char *fmt) argument
1195 bitmap_string(char *buf, char *end, const unsigned long *bitmap, struct printf_spec spec, const char *fmt) argument
1239 bitmap_list_string(char *buf, char *end, const unsigned long *bitmap, struct printf_spec spec, const char *fmt) argument
1269 mac_address_string(char *buf, char *end, u8 *addr, struct printf_spec spec, const char *fmt) argument
1459 ip6_addr_string(char *buf, char *end, const u8 *addr, struct printf_spec spec, const char *fmt) argument
1473 ip4_addr_string(char *buf, char *end, const u8 *addr, struct printf_spec spec, const char *fmt) argument
1484 ip6_addr_string_sa(char *buf, char *end, const struct sockaddr_in6 *sa, struct printf_spec spec, const char *fmt) argument
1546 ip4_addr_string_sa(char *buf, char *end, const struct sockaddr_in *sa, struct printf_spec spec, const char *fmt) argument
1581 ip_addr_string(char *buf, char *end, const void *ptr, struct printf_spec spec, const char *fmt) argument
1616 escaped_string(char *buf, char *end, u8 *addr, struct printf_spec spec, const char *fmt) argument
1674 va_format(char *buf, char *end, struct va_format *va_fmt, struct printf_spec spec, const char *fmt) argument
1690 uuid_string(char *buf, char *end, const u8 *addr, struct printf_spec spec, const char *fmt) argument
1735 netdev_bits(char *buf, char *end, const void *addr, struct printf_spec spec, const char *fmt) argument
1757 fourcc_string(char *buf, char *end, const u32 *fourcc, struct printf_spec spec, const char *fmt) argument
1795 address_val(char *buf, char *end, const void *addr, struct printf_spec spec, const char *fmt) argument
1820 date_str(char *buf, char *end, const struct rtc_time *tm, bool r) argument
1839 time_str(char *buf, char *end, const struct rtc_time *tm, bool r) argument
1855 rtc_str(char *buf, char *end, const struct rtc_time *tm, struct printf_spec spec, const char *fmt) argument
1905 time64_str(char *buf, char *end, const time64_t time, struct printf_spec spec, const char *fmt) argument
1928 time_and_date(char *buf, char *end, void *ptr, struct printf_spec spec, const char *fmt) argument
1942 clock(char *buf, char *end, struct clk *clk, struct printf_spec spec, const char *fmt) argument
1963 format_flags(char *buf, char *end, unsigned long flags, const struct trace_print_flags *names) argument
2011 format_page_flags(char *buf, char *end, unsigned long flags) argument
2058 format_page_type(char *buf, char *end, unsigned int page_type) argument
2077 flags_string(char *buf, char *end, void *flags_ptr, struct printf_spec spec, const char *fmt) argument
2107 fwnode_full_name_string(struct fwnode_handle *fwnode, char *buf, char *end) argument
2134 device_node_string(char *buf, char *end, struct device_node *dn, struct printf_spec spec, const char *fmt) argument
2224 fwnode_string(char *buf, char *end, struct fwnode_handle *fwnode, struct printf_spec spec, const char *fmt) argument
2413 pointer(const char *fmt, char *buf, char *end, void *ptr, struct printf_spec spec) argument
2754 vsnprintf(char *buf, size_t size, const char *fmt, va_list args) argument
2923 vscnprintf(char *buf, size_t size, const char *fmt, va_list args) argument
2953 snprintf(char *buf, size_t size, const char *fmt, ...) argument
2977 scnprintf(char *buf, size_t size, const char *fmt, ...) argument
3004 vsprintf(char *buf, const char *fmt, va_list args) argument
3022 sprintf(char *buf, const char *fmt, ...) argument
3218 bstr_printf(char *buf, size_t size, const char *fmt, const u32 *bin_buf) argument
3438 vsscanf(const char *buf, const char *fmt, va_list args) argument
3715 sscanf(const char *buf, const char *fmt, ...) argument
[all...]
H A Dtest_meminit.c66 void *buf; local
72 buf = page_address(page);
73 fill_with_garbage(buf, size);
79 buf = page_address(page);
80 if (count_nonzero_bytes(buf, size))
82 fill_with_garbage(buf, size);
107 void *buf; local
109 buf = kmalloc(size, GFP_KERNEL);
110 if (!buf)
112 fill_with_garbage(buf, siz
131 void *buf; local
187 check_buf(void *buf, int size, bool want_ctor, bool want_rcu, bool want_zero) argument
224 void *buf, *buf_copy; local
295 void *buf, *buf_contents, *saved_ptr; local
[all...]
/linux-master/drivers/media/common/siano/
H A Dsmsdvb-debugfs.c38 char *buf; local
46 buf = debug_data->stats_data;
48 n += sysfs_emit_at(buf, n, "is_rf_locked = %d\n", p->is_rf_locked);
49 n += sysfs_emit_at(buf, n, "is_demod_locked = %d\n", p->is_demod_locked);
50 n += sysfs_emit_at(buf, n, "is_external_lna_on = %d\n", p->is_external_lna_on);
51 n += sysfs_emit_at(buf, n, "SNR = %d\n", p->SNR);
52 n += sysfs_emit_at(buf, n, "ber = %d\n", p->ber);
53 n += sysfs_emit_at(buf, n, "FIB_CRC = %d\n", p->FIB_CRC);
54 n += sysfs_emit_at(buf, n, "ts_per = %d\n", p->ts_per);
55 n += sysfs_emit_at(buf,
100 char *buf; local
164 char *buf; local
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtask_fd_query_tp.c14 char buf[256]; local
21 snprintf(buf, sizeof(buf),
24 snprintf(buf, sizeof(buf),
27 efd = open(buf, O_RDONLY, 0);
30 bytes = read(efd, buf, sizeof(buf));
32 if (CHECK(bytes <= 0 || bytes >= sizeof(buf), "read",
36 attr.config = strtol(buf, NUL
[all...]
/linux-master/drivers/staging/media/av7110/
H A Ddvb_filter.c73 unsigned char *buf=p2ts->buf; local
75 buf[0]=0x47;
76 buf[1]=(pid>>8);
77 buf[2]=pid&0xff;
86 unsigned char *buf=p2ts->buf; local
92 buf[1]|=0x40;
94 buf[1]&=~0x40;
96 buf[
[all...]
/linux-master/tools/perf/util/
H A Ddemangle-java.c35 * up to maxlen characters into buf. The parser starts in mode.
41 * success: buf
45 __demangle_java_sym(const char *str, const char *end, char *buf, int maxlen, int mode) argument
65 rlen += scnprintf(buf + rlen, maxlen - rlen, ", ");
73 buf[rlen++] = *q;
85 rlen += scnprintf(buf + rlen, maxlen - rlen, ", ");
86 rlen += scnprintf(buf + rlen, maxlen - rlen, "%s", base_types[*q - 'A']);
88 rlen += scnprintf(buf + rlen, maxlen - rlen, "[]");
92 buf[rlen++] = *q;
96 rlen += scnprintf(buf
160 char *buf, *ptr; local
[all...]
H A Dtrace-event-read.c28 static int __do_read(int fd, void *buf, int size) argument
33 int ret = read(fd, buf, size);
39 int retw = write(STDOUT_FILENO, buf, ret);
48 buf += ret;
73 char buf[BUFSIZ]; local
78 do_read(buf, r);
103 char buf[BUFSIZ]; local
130 buf[size++] = c;
140 memcpy(str, buf, size);
171 char *buf; local
199 char buf[BUFSIZ]; local
249 char *buf; local
275 char *buf; local
347 char *buf; local
377 char buf[BUFSIZ]; local
[all...]
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dhtc_drv_debug.c24 char buf[512]; local
40 len += scnprintf(buf + len, sizeof(buf) - len,
44 len += scnprintf(buf + len, sizeof(buf) - len,
48 len += scnprintf(buf + len, sizeof(buf) - len,
52 len += scnprintf(buf + len, sizeof(buf) - len,
56 len += scnprintf(buf
82 char buf[512]; local
152 char buf[512]; local
197 char buf[512]; local
255 char *buf; local
293 char buf[512]; local
317 char buf[512]; local
365 char buf[32]; local
[all...]
/linux-master/drivers/rtc/
H A Drtc-max6916.c45 unsigned char buf[2]; local
47 buf[0] = address & 0x7F;
48 buf[1] = data;
50 return spi_write_then_read(spi, buf, 2, NULL, 0);
57 unsigned char buf[8]; local
59 buf[0] = MAX6916_CLOCK_BURST | 0x80;
61 err = spi_write_then_read(spi, buf, 1, buf, 8);
66 dt->tm_sec = bcd2bin(buf[0]);
67 dt->tm_min = bcd2bin(buf[
80 unsigned char buf[9]; local
[all...]
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-debugifc.c18 static unsigned int debugifc_count_whitespace(const char *buf, argument
25 ch = buf[scnt];
35 static unsigned int debugifc_count_nonwhitespace(const char *buf, argument
42 ch = buf[scnt];
51 static unsigned int debugifc_isolate_word(const char *buf,unsigned int count, argument
62 scnt = debugifc_count_whitespace(buf,count);
63 consume_cnt += scnt; count -= scnt; buf += scnt;
66 scnt = debugifc_count_nonwhitespace(buf,count);
68 wptr = buf;
70 consume_cnt += scnt; count -= scnt; buf
79 debugifc_parse_unsigned_number(const char *buf,unsigned int count, u32 *num_ptr) argument
105 debugifc_match_keyword(const char *buf,unsigned int count, const char *keyword) argument
116 pvr2_debugifc_print_info(struct pvr2_hdw *hdw,char *buf,unsigned int acnt) argument
132 pvr2_debugifc_print_status(struct pvr2_hdw *hdw, char *buf,unsigned int acnt) argument
179 pvr2_debugifc_do1cmd(struct pvr2_hdw *hdw,const char *buf, unsigned int count) argument
289 pvr2_debugifc_docmd(struct pvr2_hdw *hdw,const char *buf, unsigned int count) argument
[all...]
/linux-master/sound/firewire/
H A Dfcp.c33 u8 *buf; local
47 buf = kzalloc(8, GFP_KERNEL);
48 if (buf == NULL)
51 buf[0] = 0x00; /* AV/C CONTROL */
52 buf[1] = 0xff; /* UNIT */
54 buf[2] = 0x19; /* INPUT PLUG SIGNAL FORMAT */
56 buf[2] = 0x18; /* OUTPUT PLUG SIGNAL FORMAT */
57 buf[3] = 0xff & pid; /* plug id */
58 buf[4] = 0x90; /* EOH_1, Form_1, FMT. AM824 */
59 buf[
89 u8 *buf; local
143 u8 *buf; local
[all...]
/linux-master/tools/spi/
H A Dspidev_fdx.c20 unsigned char buf[32], *bp; local
26 else if (len > sizeof(buf))
27 len = sizeof(buf);
28 memset(buf, 0, sizeof buf);
30 status = read(fd, buf, len);
41 buf[0], buf[1]);
43 bp = buf + 2;
52 unsigned char buf[3 local
[all...]
/linux-master/net/bridge/
H A Dbr_sysfs_br.c32 const char *buf, size_t len,
44 err = kstrtoul(buf, 0, &val);
67 struct device_attribute *attr, char *buf)
70 return sprintf(buf, "%lu\n", jiffies_to_clock_t(br->forward_delay));
81 const char *buf, size_t len)
83 return store_bridge_parm(d, buf, len, set_forward_delay);
88 char *buf)
90 return sprintf(buf, "%lu\n",
101 struct device_attribute *attr, const char *buf,
104 return store_bridge_parm(d, buf, le
31 store_bridge_parm(struct device *d, const char *buf, size_t len, int (*set)(struct net_bridge *br, unsigned long val, struct netlink_ext_ack *extack)) argument
66 forward_delay_show(struct device *d, struct device_attribute *attr, char *buf) argument
79 forward_delay_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
87 hello_time_show(struct device *d, struct device_attribute *attr, char *buf) argument
100 hello_time_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
108 max_age_show(struct device *d, struct device_attribute *attr, char *buf) argument
121 max_age_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
128 ageing_time_show(struct device *d, struct device_attribute *attr, char *buf) argument
141 ageing_time_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
149 stp_state_show(struct device *d, struct device_attribute *attr, char *buf) argument
163 stp_state_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
171 group_fwd_mask_show(struct device *d, struct device_attribute *attr, char *buf) argument
190 group_fwd_mask_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
199 priority_show(struct device *d, struct device_attribute *attr, char *buf) argument
214 priority_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
221 root_id_show(struct device *d, struct device_attribute *attr, char *buf) argument
228 bridge_id_show(struct device *d, struct device_attribute *attr, char *buf) argument
235 root_port_show(struct device *d, struct device_attribute *attr, char *buf) argument
242 root_path_cost_show(struct device *d, struct device_attribute *attr, char *buf) argument
249 topology_change_show(struct device *d, struct device_attribute *attr, char *buf) argument
256 topology_change_detected_show(struct device *d, struct device_attribute *attr, char *buf) argument
265 hello_timer_show(struct device *d, struct device_attribute *attr, char *buf) argument
273 tcn_timer_show(struct device *d, struct device_attribute *attr, char *buf) argument
281 topology_change_timer_show(struct device *d, struct device_attribute *attr, char *buf) argument
290 gc_timer_show(struct device *d, struct device_attribute *attr, char *buf) argument
298 group_addr_show(struct device *d, struct device_attribute *attr, char *buf) argument
305 group_addr_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
355 flush_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
363 no_linklocal_learn_show(struct device *d, struct device_attribute *attr, char *buf) argument
377 no_linklocal_learn_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
386 multicast_router_show(struct device *d, struct device_attribute *attr, char *buf) argument
399 multicast_router_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
407 multicast_snooping_show(struct device *d, struct device_attribute *attr, char *buf) argument
415 multicast_snooping_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
423 multicast_query_use_ifaddr_show(struct device *d, struct device_attribute *attr, char *buf) argument
440 multicast_query_use_ifaddr_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
448 multicast_querier_show(struct device *d, struct device_attribute *attr, char *buf) argument
462 multicast_querier_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
470 hash_elasticity_show(struct device *d, struct device_attribute *attr, char *buf) argument
485 hash_elasticity_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
493 hash_max_show(struct device *d, struct device_attribute *attr, char *buf) argument
507 hash_max_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
514 multicast_igmp_version_show(struct device *d, struct device_attribute *attr, char *buf) argument
529 multicast_igmp_version_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
537 multicast_last_member_count_show(struct device *d, struct device_attribute *attr, char *buf) argument
552 multicast_last_member_count_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
560 multicast_startup_query_count_show( struct device *d, struct device_attribute *attr, char *buf) argument
574 multicast_startup_query_count_store( struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
582 multicast_last_member_interval_show( struct device *d, struct device_attribute *attr, char *buf) argument
597 multicast_last_member_interval_store( struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
605 multicast_membership_interval_show( struct device *d, struct device_attribute *attr, char *buf) argument
620 multicast_membership_interval_store( struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
628 multicast_querier_interval_show(struct device *d, struct device_attribute *attr, char *buf) argument
644 multicast_querier_interval_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
652 multicast_query_interval_show(struct device *d, struct device_attribute *attr, char *buf) argument
668 multicast_query_interval_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
676 multicast_query_response_interval_show( struct device *d, struct device_attribute *attr, char *buf) argument
692 multicast_query_response_interval_store( struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
700 multicast_startup_query_interval_show( struct device *d, struct device_attribute *attr, char *buf) argument
716 multicast_startup_query_interval_store( struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
724 multicast_stats_enabled_show(struct device *d, struct device_attribute *attr, char *buf) argument
741 multicast_stats_enabled_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
751 multicast_mld_version_show(struct device *d, struct device_attribute *attr, char *buf) argument
766 multicast_mld_version_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
776 nf_call_iptables_show( struct device *d, struct device_attribute *attr, char *buf) argument
790 nf_call_iptables_store( struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
798 nf_call_ip6tables_show( struct device *d, struct device_attribute *attr, char *buf) argument
812 nf_call_ip6tables_store( struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
820 nf_call_arptables_show( struct device *d, struct device_attribute *attr, char *buf) argument
834 nf_call_arptables_store( struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
843 vlan_filtering_show(struct device *d, struct device_attribute *attr, char *buf) argument
851 vlan_filtering_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
859 vlan_protocol_show(struct device *d, struct device_attribute *attr, char *buf) argument
867 vlan_protocol_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
875 default_pvid_show(struct device *d, struct device_attribute *attr, char *buf) argument
883 default_pvid_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
891 vlan_stats_enabled_show(struct device *d, struct device_attribute *attr, char *buf) argument
905 vlan_stats_enabled_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
913 vlan_stats_per_port_show(struct device *d, struct device_attribute *attr, char *buf) argument
927 vlan_stats_per_port_store(struct device *d, struct device_attribute *attr, const char *buf, size_t len) argument
1004 brforward_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
[all...]
/linux-master/fs/cachefiles/
H A Dxattr.c41 struct cachefiles_xattr *buf; local
53 buf = kmalloc(sizeof(struct cachefiles_xattr) + len, GFP_KERNEL);
54 if (!buf)
57 buf->object_size = cpu_to_be64(object->cookie->object_size);
58 buf->zero_point = 0;
59 buf->type = CACHEFILES_COOKIE_TYPE_DATA;
60 buf->content = object->content_info;
62 buf->content = CACHEFILES_CONTENT_DIRTY;
64 memcpy(buf->data, fscache_get_aux(object->cookie), len);
69 buf, sizeo
96 struct cachefiles_xattr *buf; local
193 struct cachefiles_vol_xattr *buf; local
235 struct cachefiles_vol_xattr *buf; local
[all...]
/linux-master/drivers/media/pci/mgb4/
H A Dmgb4_sysfs_pci.c15 struct device_attribute *attr, char *buf)
19 return sprintf(buf, "%u\n", mgbdev->module_version & 0x0F);
23 struct device_attribute *attr, char *buf)
27 return sprintf(buf, "%u\n", mgbdev->module_version >> 4);
31 struct device_attribute *attr, char *buf)
36 return sprintf(buf, "%u\n", config & 0xFFFF);
40 struct device_attribute *attr, char *buf)
45 return sprintf(buf, "%u\n", config >> 24);
49 struct device_attribute *attr, char *buf)
54 return sprintf(buf, "
14 module_version_show(struct device *dev, struct device_attribute *attr, char *buf) argument
22 module_type_show(struct device *dev, struct device_attribute *attr, char *buf) argument
30 fw_version_show(struct device *dev, struct device_attribute *attr, char *buf) argument
39 fw_type_show(struct device *dev, struct device_attribute *attr, char *buf) argument
48 serial_number_show(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
/linux-master/sound/soc/codecs/
H A Dsigmadsp-i2c.c19 uint8_t *buf; local
22 buf = kzalloc(2 + len, GFP_KERNEL | GFP_DMA);
23 if (!buf)
26 put_unaligned_be16(addr, buf);
27 memcpy(buf + 2, data, len);
29 ret = i2c_master_send(control_data, buf, len + 2);
31 kfree(buf);
44 uint8_t buf[2]; local
47 put_unaligned_be16(addr, buf);
50 msgs[0].len = sizeof(buf);
[all...]
/linux-master/sound/firewire/dice/
H A Ddice-proc.c114 } buf; local
125 quadlets = min_t(u32, sections[1], sizeof(buf.global) / 4);
126 if (dice_proc_read_mem(dice, &buf.global, sections[0], quadlets) < 0)
130 buf.global.owner_hi >> 16,
131 buf.global.owner_hi & 0xffff, buf.global.owner_lo);
132 snd_iprintf(buffer, " notification: %08x\n", buf.global.notification);
133 dice_proc_fixup_string(buf.global.nick_name, NICK_NAME_SIZE);
134 snd_iprintf(buffer, " nick name: %s\n", buf.global.nick_name);
137 buf
[all...]
/linux-master/net/mac80211/
H A Ddebugfs.c24 char buf[DEBUGFS_FORMAT_BUFFER_SIZE]; local
28 res = vscnprintf(buf, sizeof(buf), fmt, args);
31 return simple_read_from_buffer(userbuf, count, ppos, buf, res);
82 char buf[200]; local
88 len = scnprintf(buf, sizeof(buf),
113 buf, len);
122 char buf[100]; local
124 if (count >= sizeof(buf))
157 char buf[128] = {}, *pos, *end; local
178 char buf[16]; local
209 char buf[400]; local
240 char buf[400]; local
267 char buf[100]; local
318 char buf[3]; local
331 char buf[3]; local
371 char buf[3]; local
386 char buf[3]; local
511 char *buf = kzalloc(bufsz, GFP_KERNEL); local
541 char *buf; local
572 char buf[IEEE80211_MAX_QUEUES * 20]; local
591 format_devstat_counter(struct ieee80211_local *local, char __user *userbuf, size_t count, loff_t *ppos, int (*printvalue)(struct ieee80211_low_level_stats *stats, char *buf, int buflen)) argument
598 char buf[20]; local
[all...]
/linux-master/drivers/media/tuners/
H A Dtda9887.c271 static void dump_read_message(struct dvb_frontend *fe, unsigned char *buf) argument
293 tuner_info("read: 0x%2x\n", buf[0]);
294 tuner_info(" after power on : %s\n", (buf[0] & 0x01) ? "yes" : "no");
295 tuner_info(" afc : %s\n", afc[(buf[0] >> 1) & 0x0f]);
296 tuner_info(" fmif level : %s\n", (buf[0] & 0x20) ? "high" : "low");
297 tuner_info(" afc window : %s\n", (buf[0] & 0x40) ? "in" : "out");
298 tuner_info(" vfi level : %s\n", (buf[0] & 0x80) ? "high" : "low");
301 static void dump_write_message(struct dvb_frontend *fe, unsigned char *buf) argument
343 tuner_info("write: byte B 0x%02x\n", buf[1]);
345 (buf[
405 char *buf = priv->data; local
446 char *buf = priv->data; local
478 char *buf = priv->data; local
537 unsigned char buf[1]; local
[all...]
/linux-master/arch/powerpc/kernel/ptrace/
H A Dptrace-vsx.c24 u64 buf[33]; local
31 buf[i] = target->thread.TS_FPR(i);
32 buf[32] = target->thread.fp_state.fpscr;
33 return membuf_write(&to, buf, 33 * sizeof(u64));
53 u64 buf[33]; local
59 buf[i] = target->thread.TS_FPR(i);
60 buf[32] = target->thread.fp_state.fpscr;
63 i = user_regset_copyin(&pos, &count, &kbuf, &ubuf, buf, 0, -1);
68 target->thread.TS_FPR(i) = buf[i];
69 target->thread.fp_state.fpscr = buf[3
100 u64 buf[32]; local
130 u64 buf[32]; local
[all...]
/linux-master/tools/perf/arch/
H A Dcommon.c108 char buf[PATH_MAX]; local
120 scnprintf(buf, sizeof(buf), "%s/%s", path, name);
121 if (access(buf, F_OK) == 0) {
134 char buf[PATH_MAX]; local
137 scnprintf(buf, sizeof(buf), "%s%s", triplets[i], name);
138 if (lookup_path(buf))
150 char *buf = NULL; local
161 if (asprintf(&buf, "
[all...]
/linux-master/net/ax25/
H A Dax25_addr.c46 char *ax2asc(char *buf, const ax25_address *a) argument
51 for (n = 0, s = buf; n < 6; n++) {
67 if (*buf == '\0' || *buf == '-')
70 return buf;
156 const unsigned char *ax25_addr_parse(const unsigned char *buf, int len, argument
167 if (buf[6] & AX25_CBIT)
169 if (buf[13] & AX25_CBIT)
174 *dama = ~buf[13] & AX25_DAMA_FLAG;
178 memcpy(dest, buf
215 ax25_addr_build(unsigned char *buf, const ax25_address *src, const ax25_address *dest, const ax25_digi *d, int flag, int modulus) argument
[all...]
/linux-master/kernel/
H A Dksysfs.c40 struct kobj_attribute *attr, char *buf)
42 return sysfs_emit(buf, "%llu\n", (u64)atomic64_read(&uevent_seqnum));
48 struct kobj_attribute *attr, char *buf)
50 return sysfs_emit(buf, "%s\n", CPU_BYTEORDER_STRING);
56 struct kobj_attribute *attr, char *buf)
58 return sysfs_emit(buf, "%zu\n", sizeof(void *) * 8 /* CHAR_BIT */);
65 struct kobj_attribute *attr, char *buf)
67 return sysfs_emit(buf, "%s\n", uevent_helper);
71 const char *buf, size_t count)
75 memcpy(uevent_helper, buf, coun
39 uevent_seqnum_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
47 cpu_byteorder_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
55 address_bits_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
64 uevent_helper_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
69 uevent_helper_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
85 profiling_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
90 profiling_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
116 kexec_loaded_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
124 kexec_crash_loaded_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
131 kexec_crash_size_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
141 kexec_crash_size_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
161 vmcoreinfo_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
171 crash_elfcorehdr_size_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
185 fscaps_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
194 rcu_expedited_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
199 rcu_expedited_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
211 rcu_normal_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) argument
216 rcu_normal_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument
235 notes_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
[all...]
/linux-master/drivers/net/dsa/sja1105/
H A Dsja1105_static_config.c17 void sja1105_pack(void *buf, const u64 *val, int start, int end, size_t len) argument
19 int rc = packing(buf, (u64 *)val, start, end, len,
39 void sja1105_unpack(const void *buf, u64 *val, int start, int end, size_t len) argument
41 int rc = packing((void *)buf, val, start, end, len,
56 void sja1105_packing(void *buf, u64 *val, int start, int end, argument
59 int rc = packing(buf, val, start, end, len, op, QUIRK_LSW32_IS_FIRST);
79 u32 sja1105_crc32(const void *buf, size_t len) argument
88 sja1105_unpack(buf + i, &word, 31, 0, 4);
94 static size_t sja1105et_avb_params_entry_packing(void *buf, void *entry_ptr, argument
100 sja1105_packing(buf,
105 sja1105pqrs_avb_params_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
117 sja1105et_general_params_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
149 sja1105pqrs_general_params_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
183 sja1110_general_params_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
221 sja1105_l2_forwarding_params_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
235 sja1110_l2_forwarding_params_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
249 sja1105_l2_forwarding_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
265 sja1110_l2_forwarding_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
287 sja1105et_l2_lookup_params_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
302 sja1105pqrs_l2_lookup_params_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
324 sja1110_l2_lookup_params_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
346 sja1105et_l2_lookup_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
360 sja1105pqrs_l2_lookup_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
388 sja1110_l2_lookup_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
418 sja1105_l2_policing_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
432 sja1110_l2_policing_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
446 sja1105et_mac_config_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
480 sja1105pqrs_mac_config_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
514 sja1110_mac_config_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
549 sja1105_schedule_entry_points_params_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
561 sja1105_schedule_entry_points_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
574 sja1110_schedule_entry_points_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
586 sja1105_schedule_params_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
599 sja1110_schedule_params_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
612 sja1105_schedule_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
631 sja1110_schedule_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
651 sja1105_vl_forwarding_params_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
666 sja1110_vl_forwarding_params_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
680 sja1105_vl_forwarding_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
693 sja1110_vl_forwarding_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
706 sja1105_vl_lookup_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
740 sja1110_vl_lookup_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
774 sja1105_vl_policing_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
790 sja1110_vl_policing_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
806 sja1105_vlan_lookup_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
821 sja1110_vlan_lookup_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
837 sja1105_xmii_params_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
853 sja1110_xmii_params_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
871 sja1105_retagging_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
887 sja1110_retagging_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
903 sja1110_pcp_remapping_entry_packing(void *buf, void *entry_ptr, enum packing_op op) argument
917 sja1105_table_header_packing(void *buf, void *entry_ptr, enum packing_op op) argument
933 sja1105_table_header_pack_with_crc(void *buf, struct sja1105_table_header *hdr) argument
1120 sja1105_static_config_pack(void *buf, struct sja1105_static_config *config) argument
[all...]

Completed in 280 milliseconds

1234567891011>>