Searched defs:bufsz (Results 1 - 20 of 20) sorted by relevance

/drivers/media/video/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/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...]
H A D4965-mac.c1200 size_t bufsz = 0; local
1215 bufsz = ARRAY_SIZE(fh_tbl) * 48 + 40;
1216 *buf = kmalloc(bufsz, GFP_KERNEL);
1220 scnprintf(*buf + pos, bufsz - pos, "FH register values:\n");
1223 scnprintf(*buf + pos, bufsz - pos,
/drivers/gpu/drm/radeon/
H A Dradeon_ioc32.c241 int bufsz; member in struct:drm_radeon_cmd_buffer32
258 || __put_user(req32.bufsz, &request->bufsz)
H A Dradeon_drv.h322 int bufsz; member in struct:drm_radeon_kcmd_buffer
/drivers/net/wireless/iwlwifi/
H A Diwl-trans-pcie-rx.c712 int pos, char **buf, size_t bufsz)
755 if (bufsz) {
756 pos += scnprintf(*buf + pos, bufsz - pos,
767 if (bufsz) {
768 pos += scnprintf(*buf + pos, bufsz - pos,
793 int pos, char **buf, size_t bufsz)
804 pos, buf, bufsz);
807 pos, buf, bufsz);
810 size, mode, pos, buf, bufsz);
814 mode, pos, buf, bufsz);
710 iwl_print_event_log(struct iwl_trans *trans, u32 start_idx, u32 num_events, u32 mode, int pos, char **buf, size_t bufsz) argument
790 iwl_print_last_event_logs(struct iwl_trans *trans, u32 capacity, u32 num_wraps, u32 next_entry, u32 size, u32 mode, int pos, char **buf, size_t bufsz) argument
836 size_t bufsz = 0; local
[all...]
H A Diwl-debugfs.c124 const size_t bufsz = 100 + local
126 buf = kzalloc(bufsz, GFP_KERNEL);
129 pos += scnprintf(buf + pos, bufsz - pos, "Management:\n");
131 pos += scnprintf(buf + pos, bufsz - pos,
136 pos += scnprintf(buf + pos, bufsz - pos, "Control\n");
138 pos += scnprintf(buf + pos, bufsz - pos,
143 pos += scnprintf(buf + pos, bufsz - pos, "Data:\n");
144 pos += scnprintf(buf + pos, bufsz - pos, "\tcnt: %u\n",
146 pos += scnprintf(buf + pos, bufsz - pos, "\tbytes: %llu\n",
182 const size_t bufsz local
228 size_t bufsz; local
354 const size_t bufsz = 30 + sizeof(char) * 500 * (priv->num_stations); local
451 int pos = 0, i, bufsz = PAGE_SIZE; local
522 const size_t bufsz = sizeof(buf); local
562 int bufsz = 24 * 64; /* 24 items * 64 char per item */ local
614 const size_t bufsz = sizeof(buf); local
643 const size_t bufsz = sizeof(buf); local
699 const size_t bufsz = sizeof(buf); local
714 const size_t bufsz = sizeof(buf); local
770 const size_t bufsz = sizeof(buf); local
788 const size_t bufsz = sizeof(buf); local
828 int bufsz = ((IWL_TRAFFIC_ENTRIES * IWL_TRAFFIC_ENTRY_SIZE * 64) * 2) + local
906 iwl_statistics_flag(struct iwl_priv *priv, char *buf, int bufsz) argument
936 int bufsz = sizeof(struct statistics_rx_phy) * 40 + local
1371 int bufsz = (sizeof(struct statistics_tx) * 48) + 250; local
1570 int bufsz = sizeof(struct statistics_general) * 10 + 300; local
1692 int bufsz = (sizeof(struct statistics_bt_activity) * 24) + 200; local
1785 int bufsz = (sizeof(struct reply_tx_error_statistics) * 24) + local
1930 int bufsz = sizeof(struct iwl_sensitivity_data) * 4 + 100; local
2011 int bufsz = sizeof(struct iwl_chain_noise_data) * 4 + 100; local
2068 const size_t bufsz = sizeof(buf); local
2115 const size_t bufsz = sizeof(buf); local
2192 const size_t bufsz = sizeof(buf); local
2233 const size_t bufsz = sizeof(buf); local
2272 const size_t bufsz = sizeof(buf); local
2375 const size_t bufsz = sizeof(buf); local
2421 const size_t bufsz = sizeof(buf); local
[all...]
H A Diwl-trans-pcie.c1776 size_t bufsz = 0; local
1791 bufsz = ARRAY_SIZE(fh_tbl) * 48 + 40;
1792 *buf = kmalloc(bufsz, GFP_KERNEL);
1795 pos += scnprintf(*buf + pos, bufsz - pos,
1798 pos += scnprintf(*buf + pos, bufsz - pos,
1942 size_t bufsz; local
1944 bufsz = sizeof(char) * 64 * cfg(trans)->base_params->num_of_queues;
1950 buf = kzalloc(bufsz, GFP_KERNEL);
1957 pos += scnprintf(buf + pos, bufsz - pos,
1967 pos += scnprintf(buf + pos, bufsz
1985 const size_t bufsz = sizeof(buf); local
2054 int bufsz = 24 * 64; /* 24 items * 64 char per item */ local
[all...]
/drivers/net/ethernet/pasemi/
H A Dpasemi_mac.h78 int bufsz; /* RX ring buffer size */ member in struct:pasemi_mac
/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c1706 u32 len = ntohl(rc->pldbuflen_qid), bufsz, frags; local
1720 bufsz = get_buf_size(rsd);
1723 fp->size = min(bufsz, len);
/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dsge.c1660 u32 bufsz, frag; local
1689 bufsz = get_buf_size(sdesc);
1692 fp->size = min(bufsz, len);
/drivers/net/ethernet/intel/igbvf/
H A Dnetdev.c158 int bufsz; local
164 bufsz = adapter->rx_ps_hdr_size;
166 bufsz = adapter->rx_buffer_len;
190 skb = netdev_alloc_skb_ip_align(netdev, bufsz);
198 bufsz,
/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_main.c1449 unsigned int bufsz; local
1451 bufsz = adapter->rx_buffer_len + NET_IP_ALIGN;
1456 skb = netdev_alloc_skb(netdev, bufsz);
1507 unsigned int bufsz; local
1510 bufsz = adapter->rx_buffer_len;
1512 size = rx_ring->count * bufsz + PCH_GBE_RESERVE_MEMORY;
1524 buffer_info->rx_buffer = rx_ring->rx_buff_pool + bufsz * i;
1525 buffer_info->length = bufsz;
1541 unsigned int bufsz; local
1544 bufsz
[all...]
/drivers/net/ethernet/intel/e1000/
H A De1000_main.c4353 unsigned int bufsz = 256 - 16 /*for skb_reserve */ ; local
4365 skb = netdev_alloc_skb_ip_align(netdev, bufsz);
4373 if (!e1000_check_64k_bound(adapter, skb->data, bufsz)) {
4376 "%p\n", bufsz, skb->data);
4378 skb = netdev_alloc_skb_ip_align(netdev, bufsz);
4386 if (!e1000_check_64k_bound(adapter, skb->data, bufsz)) {
4462 unsigned int bufsz = adapter->rx_buffer_len; local
4474 skb = netdev_alloc_skb_ip_align(netdev, bufsz);
4482 if (!e1000_check_64k_bound(adapter, skb->data, bufsz)) {
4485 "%p\n", bufsz, sk
[all...]
/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf_main.c361 unsigned int bufsz = rx_ring->rx_buf_len + NET_IP_ALIGN; local
392 bufsz);
1324 u16 bufsz = IXGBEVF_RXBUFFER_2048; local
1326 if (bufsz < (PAGE_SIZE / 2))
1327 bufsz = (PAGE_SIZE / 2);
1328 /* cap the bufsz at our largest descriptor size */
1329 bufsz = min((u16)IXGBEVF_MAX_RXBUFFER, bufsz);
1331 srrctl |= bufsz >> IXGBE_SRRCTL_BSIZEPKT_SHIFT;
/drivers/scsi/bfa/
H A Dbfad_bsg.h536 int bufsz; member in struct:bfa_bsg_flash_s
625 u64 bufsz; member in struct:bfa_bsg_phy_s
633 u32 bufsz; member in struct:bfa_bsg_debug_s
/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c600 unsigned int bufsz = adapter->rx_buffer_len; local
612 skb = __netdev_alloc_skb_ip_align(netdev, bufsz, gfp);
776 unsigned int bufsz = 256 - 16 /* for skb_reserve */; local
788 skb = __netdev_alloc_skb_ip_align(netdev, bufsz, gfp);
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c1567 u16 bufsz = ixgbe_rx_bufsz(rx_ring); local
1580 new_buff->page_offset = old_buff->page_offset ^ bufsz;
1584 new_buff->page_offset, bufsz,

Completed in 694 milliseconds