Searched refs:bufsz (Results 1 - 25 of 35) sorted by relevance

12

/drivers/net/wireless/iwlegacy/
H A D3945-debug.c33 il3945_stats_flag(struct il_priv *il, char *buf, int bufsz) argument
37 p += scnprintf(buf + p, bufsz - p, "Statistics Flag(0x%X):\n",
40 p += scnprintf(buf + p, bufsz - p,
42 p += scnprintf(buf + p, bufsz - p, "\tOperational Frequency: %s\n",
45 p += scnprintf(buf + p, bufsz - p, "\tTGj Narrow Band: %s\n",
58 int bufsz = local
70 buf = kzalloc(bufsz, GFP_KERNEL);
94 pos += il3945_stats_flag(il, buf, bufsz);
96 scnprintf(buf + pos, bufsz - pos,
101 scnprintf(buf + pos, bufsz
323 int bufsz = (sizeof(struct iwl39_stats_tx) * 48) + 250; local
413 int bufsz = sizeof(struct iwl39_stats_general) * 10 + 300; local
[all...]
H A D4965-debug.c37 il4965_stats_flag(struct il_priv *il, char *buf, int bufsz) argument
44 p += scnprintf(buf + p, bufsz - p, "Statistics Flag(0x%X):\n", flag);
46 p += scnprintf(buf + p, bufsz - p,
48 p += scnprintf(buf + p, bufsz - p, "\tOperational Frequency: %s\n",
51 p += scnprintf(buf + p, bufsz - p, "\tTGj Narrow Band: %s\n",
65 int bufsz = local
79 buf = kzalloc(bufsz, GFP_KERNEL);
107 pos += il4965_stats_flag(il, buf, bufsz);
109 scnprintf(buf + pos, bufsz - pos, fmt_header,
112 scnprintf(buf + pos, bufsz
477 int bufsz = (sizeof(struct stats_tx) * 48) + 250; local
643 int bufsz = sizeof(struct stats_general) * 10 + 300; local
[all...]
H A Ddebug.c241 const size_t bufsz = local
243 buf = kzalloc(bufsz, GFP_KERNEL);
246 pos += scnprintf(buf + pos, bufsz - pos, "Management:\n");
249 scnprintf(buf + pos, bufsz - pos, "\t%25s\t\t: %u\n",
252 pos += scnprintf(buf + pos, bufsz - pos, "Control\n");
255 scnprintf(buf + pos, bufsz - pos, "\t%25s\t\t: %u\n",
258 pos += scnprintf(buf + pos, bufsz - pos, "Data:\n");
260 scnprintf(buf + pos, bufsz - pos, "\tcnt: %u\n",
263 scnprintf(buf + pos, bufsz - pos, "\tbytes: %llu\n",
301 const size_t bufsz local
345 size_t bufsz; local
430 const size_t bufsz = 30 + sizeof(char) * 500 * (il->num_stations); local
538 int pos = 0, i, bufsz = PAGE_SIZE; local
618 const size_t bufsz = sizeof(buf); local
680 int bufsz = 24 * 64; /* 24 items * 64 char per item */ local
778 const size_t bufsz = sizeof(buf); local
829 const size_t bufsz = sizeof(buf); local
858 const size_t bufsz = local
902 const size_t bufsz = sizeof(buf); local
958 int bufsz = sizeof(struct il_sensitivity_data) * 4 + 100; local
1057 int bufsz = sizeof(struct il_chain_noise_data) * 4 + 100; local
1126 const size_t bufsz = sizeof(buf); local
1225 const size_t bufsz = sizeof(buf); local
1267 const size_t bufsz = sizeof(buf); local
[all...]
/drivers/net/wireless/iwlwifi/dvm/
H A Ddebugfs.c110 size_t bufsz; local
130 bufsz = 50 + len * 4;
131 buf = kmalloc(bufsz, GFP_KERNEL);
135 pos += scnprintf(buf + pos, bufsz - pos, "sram_len: 0x%x\n",
137 pos += scnprintf(buf + pos, bufsz - pos, "sram_offset: 0x%x\n",
150 pos += scnprintf(buf + pos, bufsz - pos,
154 pos += scnprintf(buf + pos, bufsz - pos,
157 pos += scnprintf(buf + pos, bufsz - pos,
170 pos += scnprintf(buf + pos, bufsz - pos, "\n");
172 pos += scnprintf(buf + pos, bufsz
237 const size_t bufsz = 30 + sizeof(char) * 500 * (priv->num_stations); local
332 int pos = 0, i, bufsz = PAGE_SIZE; local
398 const size_t bufsz = sizeof(buf); local
434 int bufsz = 24 * 64; /* 24 items * 64 char per item */ local
484 const size_t bufsz = sizeof(buf); local
513 const size_t bufsz = sizeof(buf); local
566 const size_t bufsz = sizeof(buf); local
581 const size_t bufsz = sizeof(buf); local
637 const size_t bufsz = sizeof(buf); local
655 const size_t bufsz = sizeof(buf); local
692 iwl_statistics_flag(struct iwl_priv *priv, char *buf, int bufsz) argument
722 int bufsz = sizeof(struct statistics_rx_phy) * 40 + local
1155 int bufsz = (sizeof(struct statistics_tx) * 48) + 250; local
1352 int bufsz = sizeof(struct statistics_general) * 10 + 300; local
1472 int bufsz = (sizeof(struct statistics_bt_activity) * 24) + 200; local
1560 int bufsz = (sizeof(struct reply_tx_error_statistics) * 24) + local
1703 int bufsz = sizeof(struct iwl_sensitivity_data) * 4 + 100; local
1782 int bufsz = sizeof(struct iwl_chain_noise_data) * 4 + 100; local
1837 const size_t bufsz = sizeof(buf); local
1884 const size_t bufsz = sizeof(buf); local
1961 const size_t bufsz = sizeof(buf); local
2002 const size_t bufsz = sizeof(buf); local
2041 const size_t bufsz = sizeof(buf); local
2101 const size_t bufsz = sizeof(buf); local
2147 const size_t bufsz = sizeof(buf); local
2267 const size_t bufsz = sizeof(buf); local
[all...]
H A Dmain.c1616 int pos, char **buf, size_t bufsz)
1660 if (bufsz) {
1661 pos += scnprintf(*buf + pos, bufsz - pos,
1672 if (bufsz) {
1673 pos += scnprintf(*buf + pos, bufsz - pos,
1696 int pos, char **buf, size_t bufsz)
1707 pos, buf, bufsz);
1710 pos, buf, bufsz);
1713 size, mode, pos, buf, bufsz);
1717 mode, pos, buf, bufsz);
1614 iwl_print_event_log(struct iwl_priv *priv, u32 start_idx, u32 num_events, u32 mode, int pos, char **buf, size_t bufsz) argument
1693 iwl_print_last_event_logs(struct iwl_priv *priv, u32 capacity, u32 num_wraps, u32 next_entry, u32 size, u32 mode, int pos, char **buf, size_t bufsz) argument
1739 size_t bufsz = 0; local
[all...]
/drivers/misc/mei/
H A Ddebugfs.c31 size_t bufsz = 1; local
42 bufsz++;
44 bufsz *= sizeof(HDR) + 1;
45 buf = kzalloc(bufsz, GFP_KERNEL);
51 pos += scnprintf(buf + pos, bufsz - pos, HDR);
63 pos += scnprintf(buf + pos, bufsz - pos,
90 const size_t bufsz = 1024; local
99 buf = kzalloc(bufsz, GFP_KERNEL);
103 pos += scnprintf(buf + pos, bufsz - pos,
114 pos += scnprintf(buf + pos, bufsz
137 const size_t bufsz = 1024; local
[all...]
/drivers/net/wireless/iwlwifi/mvm/
H A Ddebugfs-vif.c201 int bufsz = sizeof(buf); local
204 pos = iwl_mvm_power_mac_dbgfs_read(mvm, vif, buf, bufsz);
219 int bufsz = sizeof(buf); local
229 pos += scnprintf(buf+pos, bufsz-pos, "type: ibss\n");
232 pos += scnprintf(buf+pos, bufsz-pos, "type: bss\n");
235 pos += scnprintf(buf+pos, bufsz-pos, "type: ap\n");
238 pos += scnprintf(buf+pos, bufsz-pos, "type: p2p client\n");
241 pos += scnprintf(buf+pos, bufsz-pos, "type: p2p go\n");
244 pos += scnprintf(buf+pos, bufsz-pos, "type: p2p dev\n");
250 pos += scnprintf(buf+pos, bufsz
444 const size_t bufsz = sizeof(buf); local
[all...]
H A Ddebugfs.c358 int i, pos = 0, bufsz = sizeof(buf); local
363 pos += scnprintf(buf + pos, bufsz - pos, "%.2d: ", i);
367 pos += scnprintf(buf + pos, bufsz - pos, "N/A\n");
369 pos += scnprintf(buf + pos, bufsz - pos, "%ld\n",
372 pos += scnprintf(buf + pos, bufsz - pos, "%pM\n",
387 int bufsz = sizeof(buf); local
390 pos += scnprintf(buf+pos, bufsz-pos, "disable_power_off_d0=%d\n",
392 pos += scnprintf(buf+pos, bufsz-pos, "disable_power_off_d3=%d\n",
431 pos += scnprintf(buf + pos, bufsz - pos, \
439 int pos, int bufsz)
438 iwl_mvm_coex_dump_mbox(struct iwl_bt_coex_profile_notif *notif, char *buf, int pos, int bufsz) argument
497 iwl_mvm_coex_dump_mbox_old(struct iwl_bt_coex_profile_notif_old *notif, char *buf, int pos, int bufsz) argument
560 int ret, pos = 0, bufsz = sizeof(char) * 1024; local
620 int bufsz = sizeof(buf); local
745 size_t bufsz = local
876 static const size_t bufsz = 1024; local
983 const size_t bufsz = sizeof(buf); local
1026 int bufsz = 1024; local
1131 int bufsz = 1024; local
1217 size_t bufsz, ret; local
1269 const size_t bufsz = sizeof(buf); local
1350 const size_t bufsz = sizeof(buf); local
[all...]
H A Dpower.c664 int bufsz)
674 pos += scnprintf(buf+pos, bufsz-pos, "power_scheme = %d\n",
676 pos += scnprintf(buf+pos, bufsz-pos, "flags = 0x%x\n",
678 pos += scnprintf(buf+pos, bufsz-pos, "keep_alive = %d\n",
684 pos += scnprintf(buf+pos, bufsz-pos, "skip_over_dtim = %d\n",
687 pos += scnprintf(buf+pos, bufsz-pos, "skip_dtim_periods = %d\n",
690 pos += scnprintf(buf+pos, bufsz-pos, "rx_data_timeout = %d\n",
692 pos += scnprintf(buf+pos, bufsz-pos, "tx_data_timeout = %d\n",
696 pos += scnprintf(buf+pos, bufsz-pos,
703 pos += scnprintf(buf+pos, bufsz
662 iwl_mvm_power_mac_dbgfs_read(struct iwl_mvm *mvm, struct ieee80211_vif *vif, char *buf, int bufsz) argument
[all...]
/drivers/firmware/efi/
H A Druntime-map.c151 int efi_runtime_map_copy(void *buf, size_t bufsz) argument
155 if (sz > bufsz)
156 sz = bufsz;
/drivers/net/wireless/iwlwifi/
H A Diwl-io.c241 size_t bufsz = ARRAY_SIZE(fh_tbl) * 48 + 40; local
243 *buf = kmalloc(bufsz, GFP_KERNEL);
247 pos += scnprintf(*buf + pos, bufsz - pos,
251 pos += scnprintf(*buf + pos, bufsz - pos,
/drivers/net/wireless/iwlwifi/pcie/
H A Dtrans.c1567 size_t bufsz; local
1569 bufsz = sizeof(char) * 64 * trans->cfg->base_params->num_of_queues;
1574 buf = kzalloc(bufsz, GFP_KERNEL);
1581 pos += scnprintf(buf + pos, bufsz - pos,
1603 const size_t bufsz = sizeof(buf); local
1605 pos += scnprintf(buf + pos, bufsz - pos, "read: %u\n",
1607 pos += scnprintf(buf + pos, bufsz - pos, "write: %u\n",
1609 pos += scnprintf(buf + pos, bufsz - pos, "write_actual: %u\n",
1611 pos += scnprintf(buf + pos, bufsz - pos, "need_update: %d\n",
1613 pos += scnprintf(buf + pos, bufsz
1635 int bufsz = 24 * 64; /* 24 items * 64 char per item */ local
[all...]
/drivers/gpu/drm/radeon/
H A Dradeon_ioc32.c240 int bufsz; member in struct:drm_radeon_cmd_buffer32
257 || __put_user(req32.bufsz, &request->bufsz)
H A Dradeon_state.c2883 if (cmdbuf->bufsz > 64 * 1024 || cmdbuf->bufsz < 0) {
2891 if (cmdbuf->bufsz != 0) {
2894 rv = drm_buffer_alloc(&cmdbuf->buffer, cmdbuf->bufsz);
2898 cmdbuf->bufsz);
/drivers/net/ethernet/pasemi/
H A Dpasemi_mac.h77 int bufsz; /* RX ring buffer size */ member in struct:pasemi_mac
H A Dpasemi_mac.c644 skb = netdev_alloc_skb(dev, mac->bufsz);
651 mac->bufsz - LOCAL_SKB_ALIGN,
661 *buff = XCT_RXB_LEN(mac->bufsz) | XCT_RXB_ADDR(dma);
791 pci_unmap_single(pdev, dma, mac->bufsz - LOCAL_SKB_ALIGN,
1698 mac->bufsz = new_mtu + ETH_HLEN + ETH_FCS_LEN + LOCAL_SKB_ALIGN + 128;
1813 mac->bufsz = dev->mtu + ETH_HLEN + ETH_FCS_LEN + LOCAL_SKB_ALIGN + 128;
/drivers/scsi/bfa/
H A Dbfad_bsg.h567 int bufsz; member in struct:bfa_bsg_flash_s
671 u64 bufsz; member in struct:bfa_bsg_phy_s
679 u32 bufsz; member in struct:bfa_bsg_debug_s
H A Dbfad_bsg.c1565 iocmd->bufsz) != BFA_STATUS_OK) {
1576 iocmd->bufsz, 0, bfad_hcb_comp, &fcomp);
1597 iocmd->bufsz) != BFA_STATUS_OK) {
1607 iocmd->instance, iocmd_bufptr, iocmd->bufsz, 0,
1931 iocmd->bufsz) != BFA_STATUS_OK) {
1940 iocmd->instance, iocmd_bufptr, iocmd->bufsz,
1982 iocmd->bufsz) != BFA_STATUS_OK) {
1991 iocmd->instance, iocmd_bufptr, iocmd->bufsz,
2008 if (iocmd->bufsz < sizeof(struct bfa_plog_s)) {
2037 if (iocmd->bufsz < BFA_DEBUG_FW_CORE_CHUNK_S
[all...]
/drivers/media/pci/cx18/
H A Dcx18-queue.c363 unsigned bufsz = (((char __iomem *)cx->scb) + SCB_RESERVED_SIZE - local
368 bufsz / sizeof(struct cx18_mdl_ent));
/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_main.c1418 unsigned int bufsz; local
1420 bufsz = adapter->rx_buffer_len + NET_IP_ALIGN;
1425 skb = netdev_alloc_skb(netdev, bufsz);
1477 unsigned int bufsz; local
1480 bufsz = adapter->rx_buffer_len;
1482 size = rx_ring->count * bufsz + PCH_GBE_RESERVE_MEMORY;
1492 buffer_info->rx_buffer = rx_ring->rx_buff_pool + bufsz * i;
1493 buffer_info->length = bufsz;
1509 unsigned int bufsz; local
1512 bufsz
[all...]
/drivers/staging/lustre/lustre/mgc/
H A Dmgc_request.c1114 int bufsz; local
1145 bufsz = PAGE_CACHE_SIZE - pos;
1209 memset(buf, 0, bufsz);
1272 LASSERT(pos < bufsz);
/drivers/scsi/csiostor/
H A Dcsio_wr.c1047 uint32_t bufsz, len, lastlen = 0; local
1070 bufsz = csio_wr_fl_bufsz(sge, buf);
1076 lastlen = min(bufsz, len);
/drivers/xen/
H A Defi.c347 info->vendor.bufsz = sizeof(vendor);
/drivers/net/ethernet/intel/igbvf/
H A Dnetdev.c165 int bufsz; local
171 bufsz = adapter->rx_ps_hdr_size;
173 bufsz = adapter->rx_buffer_len;
204 skb = netdev_alloc_skb_ip_align(netdev, bufsz);
212 bufsz,
/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dsge.c1673 u32 bufsz, frag; local
1702 bufsz = get_buf_size(adapter, sdesc);
1705 fp->size = min(bufsz, len);

Completed in 6062 milliseconds

12