Home
last modified time | relevance | path

Searched refs:bufsz (Results 1 – 53 of 53) sorted by relevance

/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
Ddebugfs.c110 size_t bufsz; in iwl_dbgfs_sram_read() local
130 bufsz = 50 + len * 4; in iwl_dbgfs_sram_read()
131 buf = kmalloc(bufsz, GFP_KERNEL); in iwl_dbgfs_sram_read()
135 pos += scnprintf(buf + pos, bufsz - pos, "sram_len: 0x%x\n", in iwl_dbgfs_sram_read()
137 pos += scnprintf(buf + pos, bufsz - pos, "sram_offset: 0x%x\n", in iwl_dbgfs_sram_read()
150 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sram_read()
154 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sram_read()
157 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sram_read()
170 pos += scnprintf(buf + pos, bufsz - pos, "\n"); in iwl_dbgfs_sram_read()
172 pos += scnprintf(buf + pos, bufsz - pos, " "); in iwl_dbgfs_sram_read()
[all …]
Dmain.c1597 int pos, char **buf, size_t bufsz) in iwl_print_event_log() argument
1641 if (bufsz) { in iwl_print_event_log()
1642 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_print_event_log()
1653 if (bufsz) { in iwl_print_event_log()
1654 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_print_event_log()
1677 int pos, char **buf, size_t bufsz) in iwl_print_last_event_logs() argument
1688 pos, buf, bufsz); in iwl_print_last_event_logs()
1691 pos, buf, bufsz); in iwl_print_last_event_logs()
1694 size, mode, pos, buf, bufsz); in iwl_print_last_event_logs()
1698 mode, pos, buf, bufsz); in iwl_print_last_event_logs()
[all …]
/linux-4.1.27/drivers/net/wireless/iwlegacy/
D4965-debug.c37 il4965_stats_flag(struct il_priv *il, char *buf, int bufsz) in il4965_stats_flag() argument
44 p += scnprintf(buf + p, bufsz - p, "Statistics Flag(0x%X):\n", flag); in il4965_stats_flag()
46 p += scnprintf(buf + p, bufsz - p, in il4965_stats_flag()
48 p += scnprintf(buf + p, bufsz - p, "\tOperational Frequency: %s\n", in il4965_stats_flag()
51 p += scnprintf(buf + p, bufsz - p, "\tTGj Narrow Band: %s\n", in il4965_stats_flag()
65 int bufsz = in il4965_ucode_rx_stats_read() local
79 buf = kzalloc(bufsz, GFP_KERNEL); in il4965_ucode_rx_stats_read()
107 pos += il4965_stats_flag(il, buf, bufsz); in il4965_ucode_rx_stats_read()
109 scnprintf(buf + pos, bufsz - pos, fmt_header, in il4965_ucode_rx_stats_read()
112 scnprintf(buf + pos, bufsz - pos, fmt_table, "ina_cnt:", in il4965_ucode_rx_stats_read()
[all …]
D3945-debug.c33 il3945_stats_flag(struct il_priv *il, char *buf, int bufsz) in il3945_stats_flag() argument
37 p += scnprintf(buf + p, bufsz - p, "Statistics Flag(0x%X):\n", in il3945_stats_flag()
40 p += scnprintf(buf + p, bufsz - p, in il3945_stats_flag()
42 p += scnprintf(buf + p, bufsz - p, "\tOperational Frequency: %s\n", in il3945_stats_flag()
45 p += scnprintf(buf + p, bufsz - p, "\tTGj Narrow Band: %s\n", in il3945_stats_flag()
58 int bufsz = in il3945_ucode_rx_stats_read() local
70 buf = kzalloc(bufsz, GFP_KERNEL); in il3945_ucode_rx_stats_read()
94 pos += il3945_stats_flag(il, buf, bufsz); in il3945_ucode_rx_stats_read()
96 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
101 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
[all …]
Ddebug.c241 const size_t bufsz = in il_dbgfs_tx_stats_read() local
243 buf = kzalloc(bufsz, GFP_KERNEL); in il_dbgfs_tx_stats_read()
246 pos += scnprintf(buf + pos, bufsz - pos, "Management:\n"); in il_dbgfs_tx_stats_read()
249 scnprintf(buf + pos, bufsz - pos, "\t%25s\t\t: %u\n", in il_dbgfs_tx_stats_read()
252 pos += scnprintf(buf + pos, bufsz - pos, "Control\n"); in il_dbgfs_tx_stats_read()
255 scnprintf(buf + pos, bufsz - pos, "\t%25s\t\t: %u\n", in il_dbgfs_tx_stats_read()
258 pos += scnprintf(buf + pos, bufsz - pos, "Data:\n"); in il_dbgfs_tx_stats_read()
260 scnprintf(buf + pos, bufsz - pos, "\tcnt: %u\n", in il_dbgfs_tx_stats_read()
263 scnprintf(buf + pos, bufsz - pos, "\tbytes: %llu\n", in il_dbgfs_tx_stats_read()
301 const size_t bufsz = in il_dbgfs_rx_stats_read() local
[all …]
D4965-mac.c1224 size_t bufsz = 0; in il4965_dump_fh() local
1239 bufsz = ARRAY_SIZE(fh_tbl) * 48 + 40; in il4965_dump_fh()
1240 *buf = kmalloc(bufsz, GFP_KERNEL); in il4965_dump_fh()
1244 scnprintf(*buf + pos, bufsz - pos, "FH register values:\n"); in il4965_dump_fh()
1247 scnprintf(*buf + pos, bufsz - pos, in il4965_dump_fh()
/linux-4.1.27/drivers/misc/mei/
Ddebugfs.c32 size_t bufsz = 1; in mei_dbgfs_read_meclients() local
43 bufsz++; in mei_dbgfs_read_meclients()
45 bufsz *= sizeof(HDR) + 1; in mei_dbgfs_read_meclients()
46 buf = kzalloc(bufsz, GFP_KERNEL); in mei_dbgfs_read_meclients()
52 pos += scnprintf(buf + pos, bufsz - pos, HDR); in mei_dbgfs_read_meclients()
61 pos += scnprintf(buf + pos, bufsz - pos, in mei_dbgfs_read_meclients()
93 const size_t bufsz = 1024; in mei_dbgfs_read_active() local
102 buf = kzalloc(bufsz, GFP_KERNEL); in mei_dbgfs_read_active()
106 pos += scnprintf(buf + pos, bufsz - pos, in mei_dbgfs_read_active()
117 pos += scnprintf(buf + pos, bufsz - pos, in mei_dbgfs_read_active()
[all …]
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Ddebugfs.c286 int i, pos = 0, bufsz = sizeof(buf); in iwl_dbgfs_stations_read() local
291 pos += scnprintf(buf + pos, bufsz - pos, "%.2d: ", i); in iwl_dbgfs_stations_read()
295 pos += scnprintf(buf + pos, bufsz - pos, "N/A\n"); in iwl_dbgfs_stations_read()
297 pos += scnprintf(buf + pos, bufsz - pos, "%ld\n", in iwl_dbgfs_stations_read()
300 pos += scnprintf(buf + pos, bufsz - pos, "%pM\n", in iwl_dbgfs_stations_read()
315 int bufsz = sizeof(buf); in iwl_dbgfs_disable_power_off_read() local
318 pos += scnprintf(buf+pos, bufsz-pos, "disable_power_off_d0=%d\n", in iwl_dbgfs_disable_power_off_read()
320 pos += scnprintf(buf+pos, bufsz-pos, "disable_power_off_d3=%d\n", in iwl_dbgfs_disable_power_off_read()
359 pos += scnprintf(buf + pos, bufsz - pos, \
367 int pos, int bufsz) in iwl_mvm_coex_dump_mbox() argument
[all …]
Ddebugfs-vif.c201 int bufsz = sizeof(buf); in iwl_dbgfs_pm_params_read() local
204 pos = iwl_mvm_power_mac_dbgfs_read(mvm, vif, buf, bufsz); in iwl_dbgfs_pm_params_read()
219 int bufsz = sizeof(buf); in iwl_dbgfs_mac_params_read() local
229 pos += scnprintf(buf+pos, bufsz-pos, "type: ibss\n"); in iwl_dbgfs_mac_params_read()
232 pos += scnprintf(buf+pos, bufsz-pos, "type: bss\n"); in iwl_dbgfs_mac_params_read()
235 pos += scnprintf(buf+pos, bufsz-pos, "type: ap\n"); in iwl_dbgfs_mac_params_read()
238 pos += scnprintf(buf+pos, bufsz-pos, "type: p2p client\n"); in iwl_dbgfs_mac_params_read()
241 pos += scnprintf(buf+pos, bufsz-pos, "type: p2p go\n"); in iwl_dbgfs_mac_params_read()
244 pos += scnprintf(buf+pos, bufsz-pos, "type: p2p dev\n"); in iwl_dbgfs_mac_params_read()
250 pos += scnprintf(buf+pos, bufsz-pos, "mac id/color: %d / %d\n", in iwl_dbgfs_mac_params_read()
[all …]
Dpower.c693 int bufsz) in iwl_mvm_power_mac_dbgfs_read() argument
703 pos += scnprintf(buf+pos, bufsz-pos, "power_scheme = %d\n", in iwl_mvm_power_mac_dbgfs_read()
705 pos += scnprintf(buf+pos, bufsz-pos, "flags = 0x%x\n", in iwl_mvm_power_mac_dbgfs_read()
707 pos += scnprintf(buf+pos, bufsz-pos, "keep_alive = %d\n", in iwl_mvm_power_mac_dbgfs_read()
713 pos += scnprintf(buf+pos, bufsz-pos, "skip_over_dtim = %d\n", in iwl_mvm_power_mac_dbgfs_read()
716 pos += scnprintf(buf+pos, bufsz-pos, "skip_dtim_periods = %d\n", in iwl_mvm_power_mac_dbgfs_read()
719 pos += scnprintf(buf+pos, bufsz-pos, "rx_data_timeout = %d\n", in iwl_mvm_power_mac_dbgfs_read()
721 pos += scnprintf(buf+pos, bufsz-pos, "tx_data_timeout = %d\n", in iwl_mvm_power_mac_dbgfs_read()
725 pos += scnprintf(buf+pos, bufsz-pos, in iwl_mvm_power_mac_dbgfs_read()
732 pos += scnprintf(buf+pos, bufsz-pos, "rx_data_timeout_uapsd = %d\n", in iwl_mvm_power_mac_dbgfs_read()
[all …]
Drs.c3563 static const size_t bufsz = 1024; in rs_sta_dbgfs_drv_tx_stats_read() local
3565 buff = kmalloc(bufsz, GFP_KERNEL); in rs_sta_dbgfs_drv_tx_stats_read()
3570 endpos = pos + bufsz; in rs_sta_dbgfs_drv_tx_stats_read()
3619 int bufsz = sizeof(buf); in iwl_dbgfs_ss_force_read() local
3628 pos += scnprintf(buf+pos, bufsz-pos, "%s\n", in iwl_dbgfs_ss_force_read()
3666 #define MVM_DEBUGFS_READ_WRITE_FILE_OPS(name, bufsz) \ argument
3667 _MVM_DEBUGFS_READ_WRITE_FILE_OPS(name, bufsz, struct iwl_lq_sta)
Dmvm.h1232 char *buf, int bufsz);
/linux-4.1.27/ipc/
Dmsg.c751 static long do_msg_fill(void __user *dest, struct msg_msg *msg, size_t bufsz) in do_msg_fill() argument
759 msgsz = (bufsz > msg->m_ts) ? msg->m_ts : bufsz; in do_msg_fill()
770 static inline struct msg_msg *prepare_copy(void __user *buf, size_t bufsz) in prepare_copy() argument
777 copy = load_msg(buf, bufsz); in prepare_copy()
779 copy->m_ts = bufsz; in prepare_copy()
789 static inline struct msg_msg *prepare_copy(void __user *buf, size_t bufsz) in prepare_copy() argument
823 long do_msgrcv(int msqid, void __user *buf, size_t bufsz, long msgtyp, int msgflg, in do_msgrcv() argument
833 if (msqid < 0 || (long) bufsz < 0) in do_msgrcv()
839 copy = prepare_copy(buf, min_t(size_t, bufsz, ns->msg_ctlmax)); in do_msgrcv()
874 if ((bufsz < msg->m_ts) && !(msgflg & MSG_NOERROR)) { in do_msgrcv()
[all …]
Dcompat.c310 static long compat_do_msg_fill(void __user *dest, struct msg_msg *msg, size_t bufsz) in compat_do_msg_fill() argument
318 msgsz = (bufsz > msg->m_ts) ? msg->m_ts : bufsz; in compat_do_msg_fill()
/linux-4.1.27/include/linux/
Dkexec.h98 size_t bufsz; member
106 compat_size_t bufsz; member
191 unsigned long bufsz; member
226 unsigned long bufsz, unsigned long memsz,
Dmsg.h37 extern long do_msgrcv(int msqid, void __user *buf, size_t bufsz, long msgtyp,
Defi.h1185 int efi_runtime_map_copy(void *buf, size_t bufsz);
1205 static inline int efi_runtime_map_copy(void *buf, size_t bufsz) in efi_runtime_map_copy() argument
/linux-4.1.27/tools/perf/tests/
Dsample-parsing.c210 size_t i, sz, bufsz; in do_test() local
231 bufsz = sz + 4096; /* Add a bit for overrun checking */ in do_test()
232 event = malloc(bufsz); in do_test()
238 memset(event, 0xff, bufsz); in do_test()
252 for (i = bufsz; i > 0; i--) { in do_test()
/linux-4.1.27/net/tipc/
Deth_media.c42 char *strbuf, int bufsz) in tipc_eth_addr2str() argument
44 if (bufsz < 18) /* 18 = strlen("aa:bb:cc:dd:ee:ff\0") */ in tipc_eth_addr2str()
Dbearer.h113 int bufsz);
/linux-4.1.27/drivers/net/wireless/iwlwifi/
Diwl-io.c240 size_t bufsz = ARRAY_SIZE(fh_tbl) * 48 + 40; in iwl_dump_fh() local
242 *buf = kmalloc(bufsz, GFP_KERNEL); in iwl_dump_fh()
246 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_dump_fh()
250 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_dump_fh()
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/
Dcoredump.c136 const int bufsz = PAGE_SIZE; in spufs_arch_write_note() local
163 rc = do_coredump_read(i, ctx, buf, bufsz, &pos); in spufs_arch_write_note()
169 } while (rc == bufsz && total < sz); in spufs_arch_write_note()
/linux-4.1.27/drivers/net/wireless/iwlwifi/pcie/
Dtrans.c1816 size_t bufsz; in iwl_dbgfs_tx_queue_read() local
1818 bufsz = sizeof(char) * 75 * trans->cfg->base_params->num_of_queues; in iwl_dbgfs_tx_queue_read()
1823 buf = kzalloc(bufsz, GFP_KERNEL); in iwl_dbgfs_tx_queue_read()
1830 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_tx_queue_read()
1852 const size_t bufsz = sizeof(buf); in iwl_dbgfs_rx_queue_read() local
1854 pos += scnprintf(buf + pos, bufsz - pos, "read: %u\n", in iwl_dbgfs_rx_queue_read()
1856 pos += scnprintf(buf + pos, bufsz - pos, "write: %u\n", in iwl_dbgfs_rx_queue_read()
1858 pos += scnprintf(buf + pos, bufsz - pos, "write_actual: %u\n", in iwl_dbgfs_rx_queue_read()
1860 pos += scnprintf(buf + pos, bufsz - pos, "need_update: %d\n", in iwl_dbgfs_rx_queue_read()
1862 pos += scnprintf(buf + pos, bufsz - pos, "free_count: %u\n", in iwl_dbgfs_rx_queue_read()
[all …]
/linux-4.1.27/drivers/firmware/efi/
Druntime-map.c153 int efi_runtime_map_copy(void *buf, size_t bufsz) in efi_runtime_map_copy() argument
157 if (sz > bufsz) in efi_runtime_map_copy()
158 sz = bufsz; in efi_runtime_map_copy()
/linux-4.1.27/include/uapi/linux/
Dkexec.h53 size_t bufsz; member
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_x550.c273 u16 length, bufsz, i, start; in ixgbe_checksum_ptr_x550() local
276 bufsz = sizeof(buf) / sizeof(buf[0]); in ixgbe_checksum_ptr_x550()
280 status = ixgbe_read_ee_hostif_buffer_X550(hw, ptr, bufsz, buf); in ixgbe_checksum_ptr_x550()
309 if (i == bufsz && !buffer) { in ixgbe_checksum_ptr_x550()
310 ptr += bufsz; in ixgbe_checksum_ptr_x550()
312 if (length < bufsz) in ixgbe_checksum_ptr_x550()
313 bufsz = length; in ixgbe_checksum_ptr_x550()
317 bufsz, buf); in ixgbe_checksum_ptr_x550()
/linux-4.1.27/kernel/
Dkexec.c220 if (image->segment[i].bufsz > image->segment[i].memsz) in sanity_check_segment_list()
1079 ubytes = segment->bufsz; in kimage_load_normal_segment()
1150 ubytes = segment->bufsz; in kimage_load_crash_segment()
1370 out.bufsz = in.bufsz; in COMPAT_SYSCALL_DEFINE4()
1437 i, ksegment->buf, ksegment->bufsz, ksegment->mem, in SYSCALL_DEFINE5()
2114 int kexec_add_buffer(struct kimage *image, char *buffer, unsigned long bufsz, in kexec_add_buffer() argument
2147 kbuf->bufsz = bufsz; in kexec_add_buffer()
2172 ksegment->bufsz = kbuf->bufsz; in kexec_add_buffer()
2238 ksegment->bufsz); in kexec_calculate_store_digests()
2246 nullsz = ksegment->memsz - ksegment->bufsz; in kexec_calculate_store_digests()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_ioc32.c240 int bufsz; member
257 || __put_user(req32.bufsz, &request->bufsz) in compat_radeon_cp_cmdbuf()
Dradeon_state.c2883 if (cmdbuf->bufsz > 64 * 1024 || cmdbuf->bufsz < 0) { in radeon_cp_cmdbuf()
2891 if (cmdbuf->bufsz != 0) { in radeon_cp_cmdbuf()
2894 rv = drm_buffer_alloc(&cmdbuf->buffer, cmdbuf->bufsz); in radeon_cp_cmdbuf()
2898 cmdbuf->bufsz); in radeon_cp_cmdbuf()
Dradeon_drv.h331 int bufsz; member
/linux-4.1.27/drivers/scsi/bfa/
Dbfad_bsg.h567 int bufsz; member
671 u64 bufsz; member
679 u32 bufsz; member
Dbfad_bsg.c1565 iocmd->bufsz) != BFA_STATUS_OK) { in bfad_iocmd_flash_update_part()
1576 iocmd->bufsz, 0, bfad_hcb_comp, &fcomp); in bfad_iocmd_flash_update_part()
1597 iocmd->bufsz) != BFA_STATUS_OK) { in bfad_iocmd_flash_read_part()
1607 iocmd->instance, iocmd_bufptr, iocmd->bufsz, 0, in bfad_iocmd_flash_read_part()
1931 iocmd->bufsz) != BFA_STATUS_OK) { in bfad_iocmd_phy_read()
1940 iocmd->instance, iocmd_bufptr, iocmd->bufsz, in bfad_iocmd_phy_read()
1982 iocmd->bufsz) != BFA_STATUS_OK) { in bfad_iocmd_phy_update()
1991 iocmd->instance, iocmd_bufptr, iocmd->bufsz, in bfad_iocmd_phy_update()
2008 if (iocmd->bufsz < sizeof(struct bfa_plog_s)) { in bfad_iocmd_porglog_get()
2037 if (iocmd->bufsz < BFA_DEBUG_FW_CORE_CHUNK_SZ || in bfad_iocmd_debug_fw_core()
[all …]
/linux-4.1.27/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c1418 unsigned int bufsz; in pch_gbe_alloc_rx_buffers() local
1420 bufsz = adapter->rx_buffer_len + NET_IP_ALIGN; in pch_gbe_alloc_rx_buffers()
1425 skb = netdev_alloc_skb(netdev, bufsz); in pch_gbe_alloc_rx_buffers()
1477 unsigned int bufsz; in pch_gbe_alloc_rx_buffers_pool() local
1480 bufsz = adapter->rx_buffer_len; in pch_gbe_alloc_rx_buffers_pool()
1482 size = rx_ring->count * bufsz + PCH_GBE_RESERVE_MEMORY; in pch_gbe_alloc_rx_buffers_pool()
1492 buffer_info->rx_buffer = rx_ring->rx_buff_pool + bufsz * i; in pch_gbe_alloc_rx_buffers_pool()
1493 buffer_info->length = bufsz; in pch_gbe_alloc_rx_buffers_pool()
1509 unsigned int bufsz; in pch_gbe_alloc_tx_buffers() local
1512 bufsz = in pch_gbe_alloc_tx_buffers()
[all …]
/linux-4.1.27/drivers/net/ethernet/pasemi/
Dpasemi_mac.h77 int bufsz; /* RX ring buffer size */ member
Dpasemi_mac.c644 skb = netdev_alloc_skb(dev, mac->bufsz); in pasemi_mac_replenish_rx_ring()
651 mac->bufsz - LOCAL_SKB_ALIGN, in pasemi_mac_replenish_rx_ring()
661 *buff = XCT_RXB_LEN(mac->bufsz) | XCT_RXB_ADDR(dma); in pasemi_mac_replenish_rx_ring()
791 pci_unmap_single(pdev, dma, mac->bufsz - LOCAL_SKB_ALIGN, in pasemi_mac_clean_rx()
1696 mac->bufsz = new_mtu + ETH_HLEN + ETH_FCS_LEN + LOCAL_SKB_ALIGN + 128; in pasemi_mac_change_mtu()
1811 mac->bufsz = dev->mtu + ETH_HLEN + ETH_FCS_LEN + LOCAL_SKB_ALIGN + 128; in pasemi_mac_probe()
/linux-4.1.27/drivers/media/pci/cx18/
Dcx18-queue.c363 unsigned bufsz = (((char __iomem *)cx->scb) + SCB_RESERVED_SIZE - in cx18_stream_alloc() local
368 bufsz / sizeof(struct cx18_mdl_ent)); in cx18_stream_alloc()
/linux-4.1.27/arch/powerpc/kernel/
Drtas.c375 u32 bufsz; in __fetch_rtas_last_error() local
381 bufsz = rtas_get_error_log_max(); in __fetch_rtas_last_error()
387 err_args.args[1] = cpu_to_be32(bufsz); in __fetch_rtas_last_error()
/linux-4.1.27/drivers/staging/lustre/lustre/mgc/
Dmgc_request.c1124 int bufsz; in mgc_apply_recover_logs() local
1155 bufsz = PAGE_CACHE_SIZE - pos; in mgc_apply_recover_logs()
1219 memset(buf, 0, bufsz); in mgc_apply_recover_logs()
1282 LASSERT(pos < bufsz); in mgc_apply_recover_logs()
/linux-4.1.27/include/xen/interface/
Dplatform.h257 uint32_t bufsz; /* input, in bytes */ member
/linux-4.1.27/drivers/scsi/csiostor/
Dcsio_wr.c1047 uint32_t bufsz, len, lastlen = 0; in csio_wr_process_fl() local
1070 bufsz = csio_wr_fl_bufsz(sge, buf); in csio_wr_process_fl()
1076 lastlen = min(bufsz, len); in csio_wr_process_fl()
/linux-4.1.27/drivers/xen/
Defi.c347 info->vendor.bufsz = sizeof(vendor); in xen_efi_probe()
/linux-4.1.27/drivers/net/ethernet/intel/igbvf/
Dnetdev.c165 int bufsz; in igbvf_alloc_rx_buffers() local
171 bufsz = adapter->rx_ps_hdr_size; in igbvf_alloc_rx_buffers()
173 bufsz = adapter->rx_buffer_len; in igbvf_alloc_rx_buffers()
204 skb = netdev_alloc_skb_ip_align(netdev, bufsz); in igbvf_alloc_rx_buffers()
212 bufsz, in igbvf_alloc_rx_buffers()
/linux-4.1.27/tools/perf/util/
Dmachine.c625 size_t bufsz) in machine__get_kallsyms_filename() argument
628 scnprintf(buf, bufsz, "%s", symbol_conf.default_guest_kallsyms); in machine__get_kallsyms_filename()
630 scnprintf(buf, bufsz, "%s/proc/kallsyms", machine->root_dir); in machine__get_kallsyms_filename()
/linux-4.1.27/include/uapi/drm/
Dradeon_drm.h660 int bufsz; member
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c1760 u32 bufsz, frag; in process_responses() local
1789 bufsz = get_buf_size(adapter, sdesc); in process_responses()
1792 fp->size = min(bufsz, len); in process_responses()
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
Di40evf_main.c2018 int i, err, bufsz; in i40evf_init_task() local
2082 bufsz = sizeof(struct i40e_virtchnl_vf_resource) + in i40evf_init_task()
2085 adapter->vf_res = kzalloc(bufsz, GFP_KERNEL); in i40evf_init_task()
Di40e_txrx.c537 int bufsz = ALIGN(rx_ring->rx_hdr_len, 256) * rx_ring->count; in i40evf_clean_rx_ring() local
542 bufsz, in i40evf_clean_rx_ring()
/linux-4.1.27/drivers/net/ethernet/intel/e1000/
De1000_main.c4113 unsigned int bufsz) in e1000_alloc_rx_skb() argument
4115 struct sk_buff *skb = napi_alloc_skb(&adapter->napi, bufsz); in e1000_alloc_rx_skb()
4570 unsigned int bufsz = adapter->rx_buffer_len; in e1000_alloc_rx_buffers() local
4589 if (!e1000_check_64k_bound(adapter, data, bufsz)) { in e1000_alloc_rx_buffers()
4592 "%p\n", bufsz, data); in e1000_alloc_rx_buffers()
4602 if (!e1000_check_64k_bound(adapter, data, bufsz)) { in e1000_alloc_rx_buffers()
/linux-4.1.27/drivers/net/ethernet/calxeda/
Dxgmac.c691 int bufsz = priv->dev->mtu + ETH_HLEN + ETH_FCS_LEN; in xgmac_rx_refill() local
700 skb = netdev_alloc_skb_ip_align(priv->dev, bufsz); in xgmac_rx_refill()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c2019 u32 len = ntohl(rc->pldbuflen_qid), bufsz, frags; in process_responses() local
2033 bufsz = get_buf_size(adapter, rsd); in process_responses()
2036 fp->size = min(bufsz, len); in process_responses()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c1054 int bufsz = ALIGN(rx_ring->rx_hdr_len, 256) * rx_ring->count; in i40e_clean_rx_ring() local
1059 bufsz, in i40e_clean_rx_ring()
/linux-4.1.27/drivers/net/ethernet/cadence/
Dmacb.c1812 size_t bufsz = dev->mtu + ETH_HLEN + ETH_FCS_LEN + NET_IP_ALIGN; in macb_open() local
1825 macb_init_rx_buffer_size(bp, bufsz); in macb_open()
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
Dnetdev.c671 unsigned int bufsz = adapter->rx_buffer_len; in e1000_alloc_rx_buffers() local
683 skb = __netdev_alloc_skb_ip_align(netdev, bufsz, gfp); in e1000_alloc_rx_buffers()
843 unsigned int bufsz = 256 - 16; /* for skb_reserve */ in e1000_alloc_jumbo_rx_buffers() local
855 skb = __netdev_alloc_skb_ip_align(netdev, bufsz, gfp); in e1000_alloc_jumbo_rx_buffers()