/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_gt_idle.c | 86 struct device_attribute *attr, char *buff) 90 return sysfs_emit(buff, "%s\n", gtidle->name); 95 struct device_attribute *attr, char *buff) 103 return sysfs_emit(buff, "%s\n", gt_idle_state_to_string(state)); 108 struct device_attribute *attr, char *buff) 115 return sysfs_emit(buff, "%llu\n", get_residency_ms(gtidle, residency)); 85 name_show(struct device *dev, struct device_attribute *attr, char *buff) argument 94 idle_status_show(struct device *dev, struct device_attribute *attr, char *buff) argument 107 idle_residency_ms_show(struct device *dev, struct device_attribute *attr, char *buff) argument
|
H A D | xe_device_sysfs.c | 45 const char *buff, size_t count) 55 ret = kstrtou32(buff, 0, &vram_d3cold_threshold); 44 vram_d3cold_threshold_store(struct device *dev, struct device_attribute *attr, const char *buff, size_t count) argument
|
/linux-master/tools/usb/usbip/libsrc/ |
H A D | vhci_driver.c | 359 char buff[200]; /* what size should be ? */ local 365 snprintf(buff, sizeof(buff), "%u %d %u %u", 367 dbg("writing: %s", buff); 374 ret = write_sysfs_attribute(attach_attr_path, buff, strlen(buff)); 403 char buff[200]; /* what size should be ? */ local 407 snprintf(buff, sizeof(buff), "%u", port); 408 dbg("writing: %s", buff); [all...] |
/linux-master/arch/m68k/include/asm/ |
H A D | checksum.h | 12 * computes the checksum of a memory block at buff, length len, 21 * it's best to have buff aligned on a 32-bit boundary 23 __wsum csum_partial(const void *buff, int len, __wsum sum); 113 static inline __sum16 ip_compute_csum(const void *buff, int len) argument 115 return csum_fold (csum_partial(buff, len, 0));
|
/linux-master/arch/sparc/include/asm/ |
H A D | checksum_64.h | 22 /* computes the checksum of a memory block at buff, length len, 31 * it's best to have buff aligned on a 32-bit boundary 33 __wsum csum_partial(const void * buff, int len, __wsum sum); 127 static inline __sum16 ip_compute_csum(const void *buff, int len) argument 129 return csum_fold(csum_partial(buff, len, 0));
|
/linux-master/arch/arm/include/asm/ |
H A D | checksum.h | 17 * computes the checksum of a memory block at buff, length len, 26 * it's best to have buff aligned on a 32-bit boundary 28 __wsum csum_partial(const void *buff, int len, __wsum sum); 149 ip_compute_csum(const void *buff, int len) argument 151 return csum_fold(csum_partial(buff, len, 0));
|
/linux-master/include/linux/ |
H A D | via_i2c.h | 23 int viafb_i2c_readbytes(u8 adap, u8 slave_addr, u8 index, u8 *buff, int buff_len);
|
/linux-master/tools/usb/usbip/src/ |
H A D | usbip_network.c | 95 static ssize_t usbip_net_xmit(int sockfd, void *buff, size_t bufflen, argument 106 nbytes = send(sockfd, buff, bufflen, 0); 108 nbytes = recv(sockfd, buff, bufflen, MSG_WAITALL); 113 buff = (void *)((intptr_t) buff + nbytes); 122 ssize_t usbip_net_recv(int sockfd, void *buff, size_t bufflen) argument 124 return usbip_net_xmit(sockfd, buff, bufflen, 0); 127 ssize_t usbip_net_send(int sockfd, void *buff, size_t bufflen) argument 129 return usbip_net_xmit(sockfd, buff, bufflen, 1);
|
H A D | usbip_attach.c | 43 char buff[MAX_BUFF+1]; local 67 snprintf(buff, MAX_BUFF, "%s %s %s\n", 70 ret = write(fd, buff, strlen(buff)); 71 if (ret != (ssize_t) strlen(buff)) {
|
/linux-master/drivers/net/wireless/microchip/wilc1000/ |
H A D | mon.c | 24 void wilc_wfi_monitor_rx(struct net_device *mon_dev, u8 *buff, u32 size) argument 38 header = get_unaligned_le32(buff - HOST_HDR_OFFSET); 52 skb_put_data(skb, buff, size); 78 skb_put_data(skb, buff, size); 100 void *buff; member in struct:tx_complete_mon_data 110 kfree(pv_data->buff); 127 mgmt_tx->buff = kmemdup(buf, len, GFP_ATOMIC); 128 if (!mgmt_tx->buff) { 135 wilc_wlan_txq_add_mgmt_pkt(dev, mgmt_tx, mgmt_tx->buff, mgmt_tx->size,
|
H A D | cfg80211.h | 16 void wilc_wfi_monitor_rx(struct net_device *mon_dev, u8 *buff, u32 size);
|
/linux-master/arch/loongarch/lib/ |
H A D | csum.c | 22 unsigned int __no_sanitize_address do_csum(const unsigned char *buff, int len) argument 31 offset = (unsigned long)buff & 7; 34 * result in a different page or cache line being accessed, and @buff 40 kasan_check_read(buff, len); 41 ptr = (u64 *)(buff - offset);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_dbg.h | 13 char *buff; member in struct:mlx5dr_dbg_dump_buff
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt_sysfs_pm.c | 100 struct attribute *attr, char *buff) \ 105 return sysfs_emit(buff, "%u\n", val); \ 108 struct kobj_attribute *attr, char *buff) \ 110 return _name ##_show_common(kobj, &attr->attr, buff); \ 113 struct device_attribute *attr, char *buff) \ 115 return _name##_show_common(&dev->kobj, &attr->attr, buff); \ 121 const char *buff, size_t count) \ 126 ret = kstrtou32(buff, 0, &val); \ 135 struct kobj_attribute *attr, const char *buff, \ 138 return _name##_store_common(kobj, &attr->attr, buff, coun 179 rc6_enable_show(struct kobject *kobj, struct kobj_attribute *attr, char *buff) argument 188 rc6_enable_dev_show(struct device *dev, struct device_attribute *attr, char *buff) argument 430 punit_req_freq_mhz_show(struct kobject *kobj, struct kobj_attribute *attr, char *buff) argument 440 slpc_ignore_eff_freq_show(struct kobject *kobj, struct kobj_attribute *attr, char *buff) argument 450 slpc_ignore_eff_freq_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buff, size_t count) argument 475 throttle_reason_bool_show(struct kobject *kobj, struct kobj_attribute *attr, char *buff) argument 558 freq_factor_scale_show(struct kobject *kobj, struct kobj_attribute *attr, char *buff) argument 571 media_freq_factor_show(struct kobject *kobj, struct kobj_attribute *attr, char *buff) argument 602 media_freq_factor_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buff, size_t count) argument 631 media_RP0_freq_mhz_show(struct kobject *kobj, struct kobj_attribute *attr, char *buff) argument 652 media_RPn_freq_mhz_show(struct kobject *kobj, struct kobj_attribute *attr, char *buff) argument [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_debugfs.c | 230 char buff[32] = {}; local 232 snprintf(buff, sizeof(buff), "%d\n", 235 return simple_read_from_buffer(buffer, count, ppos, buff, strlen(buff)); 305 char buff[32] = {}; local 307 snprintf(buff, sizeof(buff), "%u\n", 311 return simple_read_from_buffer(buffer, count, ppos, buff, strlen(buff)); 400 char buff[32] = {}; local [all...] |
/linux-master/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H A D | hw_atl_b0.c | 664 struct aq_ring_buff_s *buff = NULL; local 672 buff = &ring->buff_ring[ring->sw_tail]; 673 pkt_len = (buff->is_eop && buff->is_sop) ? buff->len : buff->len_pkt; 682 buff = &ring->buff_ring[ring->sw_tail]; 684 if (buff->is_gso_tcp || buff->is_gso_udp) { 685 if (buff 829 struct aq_ring_buff_s *buff = &ring->buff_ring[sw_tail_old]; local 910 struct aq_ring_buff_s *buff = NULL; local [all...] |
/linux-master/drivers/net/ethernet/alacritech/ |
H A D | slicoss.c | 346 struct slic_tx_buffer *buff; local 360 buff = &txq->txbuffs[idx]; 362 if (unlikely(!buff->skb)) { 368 dma_unmap_addr(buff, map_addr), 369 dma_unmap_len(buff, map_len), DMA_TO_DEVICE); 371 bytes += buff->skb->len; 374 dev_kfree_skb_any(buff->skb); 375 buff->skb = NULL; 398 struct slic_rx_buffer *buff; local 437 buff 551 struct slic_rx_buffer *buff; local 839 struct slic_tx_buffer *buff; local 897 struct slic_tx_buffer *buff; local 919 struct slic_rx_buffer *buff; local 938 struct slic_rx_buffer *buff; local 1411 struct slic_tx_buffer *buff; local [all...] |
/linux-master/arch/alpha/include/asm/ |
H A D | checksum.h | 24 * computes the checksum of a memory block at buff, length len, 33 * it's best to have buff aligned on a 32-bit boundary 35 extern __wsum csum_partial(const void *buff, int len, __wsum sum); 56 extern __sum16 ip_compute_csum(const void *buff, int len);
|
/linux-master/drivers/accessibility/speakup/ |
H A D | spk_priv.h | 55 const char *buff); 57 const char *buff);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_tag.c | 94 char buff[256]; local 98 snprintf(buff, sizeof(buff), "/proc/%d/fdinfo/%d", getpid(), 100 fp = fopen(buff, "r"); 103 while (fgets(buff, sizeof(buff), fp)) { 104 if (strncmp(buff, "prog_tag:\t", prefix_len)) 106 ret = hex2bin(tag, buff + prefix_len, len);
|
/linux-master/net/atm/ |
H A D | mpoa_proc.c | 51 static ssize_t proc_mpc_write(struct file *file, const char __user *buff, 54 static int parse_qos(const char *buff); 206 static ssize_t proc_mpc_write(struct file *file, const char __user *buff, argument 223 if (get_user(*p, buff++)) { 242 static int parse_qos(const char *buff) argument 254 if (sscanf(buff, "del %hhu.%hhu.%hhu.%hhu", 260 if (sscanf(buff, "add %hhu.%hhu.%hhu.%hhu tx=%d,%d rx=tx", 264 } else if (sscanf(buff, "add %hhu.%hhu.%hhu.%hhu tx=%d,%d rx=%d,%d",
|
/linux-master/include/net/sctp/ |
H A D | checksum.h | 31 static inline __wsum sctp_csum_update(const void *buff, int len, __wsum sum) argument 36 return (__force __wsum)crc32c((__force __u32)sum, buff, len);
|
/linux-master/tools/testing/selftests/connector/ |
H A D | proc_filter.c | 42 char buff[NL_MESSAGE_SIZE]; local 46 hdr = (struct nlmsghdr *)buff; 134 int handle_packet(char *buff, int fd, struct proc_event *event) argument 138 hdr = (struct nlmsghdr *)buff; 215 char buff[CONNECTOR_MAX_MSG_SIZE]; local 229 if (recv(ev[i].data.fd, buff, sizeof(buff), 0) == -1) { 234 err = handle_packet(buff, ev[i].data.fd, pev);
|
/linux-master/arch/s390/lib/ |
H A D | csum-partial.c | 81 __wsum csum_partial(const void *buff, int len, __wsum sum) argument 83 return csum_copy(NULL, buff, len, sum, false);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | global_data.c | 107 __u8 *buff; local 124 buff = malloc(bpf_map__value_size(map)); 125 if (buff) 126 err = bpf_map_update_elem(map_fd, &zero, buff, 0); 127 free(buff);
|