/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | htc_drv_debug.c | 24 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 D | rtc-max6916.c | 45 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...] |
H A D | rtc-88pm860x.c | 81 unsigned char buf[8]; local 84 pm860x_page_bulk_read(info->i2c, REG0_ADDR, 8, buf); 85 dev_dbg(info->dev, "%x-%x-%x-%x-%x-%x-%x-%x\n", buf[0], buf[1], 86 buf[2], buf[3], buf[4], buf[5], buf[6], buf[ 106 unsigned char buf[4]; local 130 unsigned char buf[8]; local 158 unsigned char buf[8]; local 201 unsigned char buf[2]; local [all...] |
/linux-master/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-debugifc.c | 18 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 D | fcp.c | 33 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 D | spidev_fdx.c | 20 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 D | br_sysfs_br.c | 32 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 D | xattr.c | 41 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 D | mgb4_sysfs_pci.c | 15 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 D | sigmadsp-i2c.c | 19 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 D | dice-proc.c | 114 } 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/lib/ |
H A D | test_meminit.c | 66 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/net/mac80211/ |
H A D | debugfs.c | 24 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 510 char *buf = kzalloc(bufsz, GFP_KERNEL); local 540 char *buf; local 571 char buf[IEEE80211_MAX_QUEUES * 20]; local 590 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 597 char buf[20]; local [all...] |
/linux-master/tools/perf/util/ |
H A D | trace-event-read.c | 28 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/media/tuners/ |
H A D | tda9887.c | 271 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 D | ptrace-vsx.c | 24 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 D | common.c | 108 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 D | ax25_addr.c | 46 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 D | ksysfs.c | 40 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 D | sja1105_static_config.c | 17 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...] |
/linux-master/samples/bpf/ |
H A D | task_fd_query_user.c | 49 char buf[256]; local 52 ret = snprintf(buf, sizeof(buf), PMU_TYPE_FILE, event_type); 53 CHECK_PERROR_RET(ret < 0 || ret >= sizeof(buf)); 55 fd = open(buf, O_RDONLY); 58 ret = read(fd, buf, sizeof(buf)); 60 CHECK_PERROR_RET(ret < 0 || ret >= sizeof(buf)); 63 ret = (int)strtol(buf, NULL, 10); 71 char buf[25 local 97 char buf[256]; local 123 test_nondebug_fs_kuprobe_common(const char *event_type, const char *name, __u64 offset, __u64 addr, bool is_return, char *buf, __u32 *buf_len, __u32 *prog_id, __u32 *fd_type, __u64 *probe_offset, __u64 *probe_addr) argument 173 test_nondebug_fs_probe(const char *event_type, const char *name, __u64 offset, __u64 addr, bool is_return, __u32 expected_fd_type, __u32 expected_ret_fd_type, char *buf, __u32 buf_len) argument 229 char buf[256], event_alias[sizeof("test_1234567890")]; local 313 char filename[256], buf[256]; local [all...] |
/linux-master/drivers/watchdog/ |
H A D | watchdog_pretimeout.h | 22 int watchdog_pretimeout_available_governors_get(char *buf); 23 int watchdog_pretimeout_governor_get(struct watchdog_device *wdd, char *buf); 25 const char *buf); 43 static inline int watchdog_pretimeout_available_governors_get(char *buf) argument 49 char *buf) 55 const char *buf) 48 watchdog_pretimeout_governor_get(struct watchdog_device *wdd, char *buf) argument 54 watchdog_pretimeout_governor_set(struct watchdog_device *wdd, const char *buf) argument
|
/linux-master/tools/testing/selftests/proc/ |
H A D | fd-003-kthread.c | 43 char buf[4096]; local 47 snprintf(buf, sizeof(buf), "/proc/%u", pid); 48 dir_fd = open(buf, O_RDONLY|O_DIRECTORY); 61 rv = read(fd, buf, sizeof(buf)); 63 if (0 < rv && rv <= sizeof(buf)) { 68 assert(buf[rv - 1] == '\n'); 69 buf[rv - 1] = '\0'; 73 p = strrchr(buf, ' '); 133 char buf[64]; local [all...] |
/linux-master/arch/arm/kernel/ |
H A D | early_printk.c | 17 char buf[128]; local 19 unsigned l = min(n, sizeof(buf)-1); 20 memcpy(buf, s, l); 21 buf[l] = 0; 24 printascii(buf); 40 static int __init setup_early_printk(char *buf) argument
|
/linux-master/drivers/s390/char/ |
H A D | ctrlchar.c | 39 * @buf: console input buffer 49 ctrlchar_handle(const unsigned char *buf, int len, struct tty_struct *tty) argument 56 if ((buf[0] != '^') && (buf[0] != '\252')) 61 if (len == 3 && buf[1] == '-') { 62 ctrlchar_sysrq.key = buf[2]; 71 switch (tolower(buf[1])) {
|