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.c112 const size_t bufsz = local
114 buf = kzalloc(bufsz, GFP_KERNEL);
117 pos += scnprintf(buf + pos, bufsz - pos, "Management:\n");
120 scnprintf(buf + pos, bufsz - pos, "\t%25s\t\t: %u\n",
123 pos += scnprintf(buf + pos, bufsz - pos, "Control\n");
126 scnprintf(buf + pos, bufsz - pos, "\t%25s\t\t: %u\n",
129 pos += scnprintf(buf + pos, bufsz - pos, "Data:\n");
131 scnprintf(buf + pos, bufsz - pos, "\tcnt: %u\n",
134 scnprintf(buf + pos, bufsz - pos, "\tbytes: %llu\n",
172 const size_t bufsz local
216 size_t bufsz; local
301 const size_t bufsz = 30 + sizeof(char) * 500 * (il->num_stations); local
409 int pos = 0, i, bufsz = PAGE_SIZE; local
489 const size_t bufsz = sizeof(buf); local
551 int bufsz = 24 * 64; /* 24 items * 64 char per item */ local
650 const size_t bufsz = sizeof(buf); local
702 const size_t bufsz = sizeof(buf); local
730 int bufsz = local
837 const size_t bufsz = local
881 const size_t bufsz = sizeof(buf); local
937 int bufsz = sizeof(struct il_sensitivity_data) * 4 + 100; local
1036 int bufsz = sizeof(struct il_chain_noise_data) * 4 + 100; local
1105 const size_t bufsz = sizeof(buf); local
1204 const size_t bufsz = sizeof(buf); local
1246 const size_t bufsz = sizeof(buf); local
[all...]
H A D4965-mac.c1205 size_t bufsz = 0; local
1220 bufsz = ARRAY_SIZE(fh_tbl) * 48 + 40;
1221 *buf = kmalloc(bufsz, GFP_KERNEL);
1225 scnprintf(*buf + pos, bufsz - pos, "FH register values:\n");
1228 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.c714 int pos, char **buf, size_t bufsz)
758 if (bufsz) {
759 pos += scnprintf(*buf + pos, bufsz - pos,
770 if (bufsz) {
771 pos += scnprintf(*buf + pos, bufsz - pos,
795 int pos, char **buf, size_t bufsz)
806 pos, buf, bufsz);
809 pos, buf, bufsz);
812 size, mode, pos, buf, bufsz);
816 mode, pos, buf, bufsz);
712 iwl_print_event_log(struct iwl_trans *trans, u32 start_idx, u32 num_events, u32 mode, int pos, char **buf, size_t bufsz) argument
792 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
838 size_t bufsz = 0; local
[all...]
H A Diwl-debugfs.c130 const size_t bufsz = 100 + local
132 buf = kzalloc(bufsz, GFP_KERNEL);
135 pos += scnprintf(buf + pos, bufsz - pos, "Management:\n");
137 pos += scnprintf(buf + pos, bufsz - pos,
142 pos += scnprintf(buf + pos, bufsz - pos, "Control\n");
144 pos += scnprintf(buf + pos, bufsz - pos,
149 pos += scnprintf(buf + pos, bufsz - pos, "Data:\n");
150 pos += scnprintf(buf + pos, bufsz - pos, "\tcnt: %u\n",
152 pos += scnprintf(buf + pos, bufsz - pos, "\tbytes: %llu\n",
188 const size_t bufsz local
233 size_t bufsz; local
357 const size_t bufsz = 30 + sizeof(char) * 500 * (priv->num_stations); local
454 int pos = 0, i, bufsz = PAGE_SIZE; local
525 const size_t bufsz = sizeof(buf); local
571 int bufsz = 24 * 64; /* 24 items * 64 char per item */ local
623 const size_t bufsz = sizeof(buf); local
652 const size_t bufsz = sizeof(buf); local
708 const size_t bufsz = sizeof(buf); local
723 const size_t bufsz = sizeof(buf); local
779 const size_t bufsz = sizeof(buf); local
797 const size_t bufsz = sizeof(buf); local
837 int bufsz = ((IWL_TRAFFIC_ENTRIES * IWL_TRAFFIC_ENTRY_SIZE * 64) * 2) + local
917 iwl_statistics_flag(struct iwl_priv *priv, char *buf, int bufsz) argument
945 int bufsz = sizeof(struct statistics_rx_phy) * 40 + local
1377 int bufsz = (sizeof(struct statistics_tx) * 48) + 250; local
1568 int bufsz = sizeof(struct statistics_general) * 10 + 300; local
1684 int bufsz = (sizeof(struct statistics_bt_activity) * 24) + 200; local
1772 int bufsz = (sizeof(struct reply_tx_error_statistics) * 24) + local
1917 int bufsz = sizeof(struct iwl_sensitivity_data) * 4 + 100; local
1998 int bufsz = sizeof(struct iwl_chain_noise_data) * 4 + 100; local
2055 const size_t bufsz = sizeof(buf); local
2102 const size_t bufsz = sizeof(buf); local
2178 const size_t bufsz = sizeof(buf); local
2219 const size_t bufsz = sizeof(buf); local
2258 const size_t bufsz = sizeof(buf); local
2361 const size_t bufsz = sizeof(buf); local
2407 const size_t bufsz = sizeof(buf); local
[all...]
H A Diwl-trans-pcie.c1480 size_t bufsz = 0; local
1495 bufsz = ARRAY_SIZE(fh_tbl) * 48 + 40;
1496 *buf = kmalloc(bufsz, GFP_KERNEL);
1499 pos += scnprintf(*buf + pos, bufsz - pos,
1502 pos += scnprintf(*buf + pos, bufsz - pos,
1652 const size_t bufsz = sizeof(char) * 64 * hw_params(trans).max_txq_num; local
1658 buf = kzalloc(bufsz, GFP_KERNEL);
1665 pos += scnprintf(buf + pos, bufsz - pos,
1675 pos += scnprintf(buf + pos, bufsz - pos,
1693 const size_t bufsz local
1760 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.c153 int bufsz; local
159 bufsz = adapter->rx_ps_hdr_size;
161 bufsz = adapter->rx_buffer_len;
185 skb = netdev_alloc_skb_ip_align(netdev, bufsz);
193 bufsz,
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c1735 const int bufsz = rx_ring->rx_buf_len; local
1752 bufsz,
/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_main.c1261 unsigned int bufsz; local
1263 bufsz = adapter->rx_buffer_len + NET_IP_ALIGN;
1268 skb = netdev_alloc_skb(netdev, bufsz);
1319 unsigned int bufsz; local
1322 bufsz = adapter->rx_buffer_len;
1324 size = rx_ring->count * bufsz + PCH_GBE_RESERVE_MEMORY;
1336 buffer_info->rx_buffer = rx_ring->rx_buff_pool + bufsz * i;
1337 buffer_info->length = bufsz;
1353 unsigned int bufsz; local
1356 bufsz
[all...]
/drivers/net/ethernet/intel/e1000/
H A De1000_main.c4125 unsigned int bufsz = 256 - 16 /*for skb_reserve */ ; local
4137 skb = netdev_alloc_skb_ip_align(netdev, bufsz);
4145 if (!e1000_check_64k_bound(adapter, skb->data, bufsz)) {
4148 "%p\n", bufsz, skb->data);
4150 skb = netdev_alloc_skb_ip_align(netdev, bufsz);
4158 if (!e1000_check_64k_bound(adapter, skb->data, bufsz)) {
4234 unsigned int bufsz = adapter->rx_buffer_len; local
4246 skb = netdev_alloc_skb_ip_align(netdev, bufsz);
4254 if (!e1000_check_64k_bound(adapter, skb->data, bufsz)) {
4257 "%p\n", bufsz, sk
[all...]
/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf_main.c358 unsigned int bufsz = rx_ring->rx_buf_len + NET_IP_ALIGN; local
389 bufsz);
1321 u16 bufsz = IXGBEVF_RXBUFFER_2048; local
1323 if (bufsz < (PAGE_SIZE / 2))
1324 bufsz = (PAGE_SIZE / 2);
1325 /* cap the bufsz at our largest descriptor size */
1326 bufsz = min((u16)IXGBEVF_MAX_RXBUFFER, bufsz);
1328 srrctl |= bufsz >> IXGBE_SRRCTL_BSIZEPKT_SHIFT;
/drivers/scsi/bfa/
H A Dbfad_bsg.h538 int bufsz; member in struct:bfa_bsg_flash_s
627 u64 bufsz; member in struct:bfa_bsg_phy_s
635 u32 bufsz; member in struct:bfa_bsg_debug_s
/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c605 unsigned int bufsz = adapter->rx_buffer_len; local
617 skb = __netdev_alloc_skb_ip_align(netdev, bufsz, gfp);
782 unsigned int bufsz = 256 - 16 /* for skb_reserve */; local
794 skb = __netdev_alloc_skb_ip_align(netdev, bufsz, gfp);

Completed in 361 milliseconds