Home
last modified time | relevance | path

Searched refs:byte_cnt (Results 1 – 25 of 67) sorted by relevance

123

/linux-6.1.9/fs/xfs/
Dxfs_symlink.c40 int byte_cnt; in xfs_readlink_bmap_ilocked() local
56 byte_cnt = XFS_FSB_TO_B(mp, mval[n].br_blockcount); in xfs_readlink_bmap_ilocked()
58 error = xfs_buf_read(mp->m_ddev_targp, d, BTOBB(byte_cnt), 0, in xfs_readlink_bmap_ilocked()
62 byte_cnt = XFS_SYMLINK_BUF_SPACE(mp, byte_cnt); in xfs_readlink_bmap_ilocked()
63 if (pathlen < byte_cnt) in xfs_readlink_bmap_ilocked()
64 byte_cnt = pathlen; in xfs_readlink_bmap_ilocked()
69 byte_cnt, bp)) { in xfs_readlink_bmap_ilocked()
73 offset, byte_cnt, ip->i_ino); in xfs_readlink_bmap_ilocked()
82 memcpy(link + offset, cur_chunk, byte_cnt); in xfs_readlink_bmap_ilocked()
84 pathlen -= byte_cnt; in xfs_readlink_bmap_ilocked()
[all …]
/linux-6.1.9/fs/xfs/libxfs/
Dxfs_attr_remote.c295 int byte_cnt = XFS_ATTR3_RMT_BUF_SPACE(mp, blksize); in xfs_attr_rmtval_copyout() local
297 byte_cnt = min(*valuelen, byte_cnt); in xfs_attr_rmtval_copyout()
301 byte_cnt, bno)) { in xfs_attr_rmtval_copyout()
304 bno, *offset, byte_cnt, ino); in xfs_attr_rmtval_copyout()
310 memcpy(*dst, src + hdr_size, byte_cnt); in xfs_attr_rmtval_copyout()
318 *valuelen -= byte_cnt; in xfs_attr_rmtval_copyout()
319 *dst += byte_cnt; in xfs_attr_rmtval_copyout()
320 *offset += byte_cnt; in xfs_attr_rmtval_copyout()
343 int byte_cnt = XFS_ATTR3_RMT_BUF_SPACE(mp, blksize); in xfs_attr_rmtval_copyin() local
345 byte_cnt = min(*valuelen, byte_cnt); in xfs_attr_rmtval_copyin()
[all …]
/linux-6.1.9/drivers/net/wireless/ath/ath9k/
Dwow.c55 int ret, i, byte_cnt = 0; in ath9k_wow_add_disassoc_deauth_pattern() local
95 dis_deauth_pattern[byte_cnt] = 0xa0; in ath9k_wow_add_disassoc_deauth_pattern()
96 byte_cnt++; in ath9k_wow_add_disassoc_deauth_pattern()
99 byte_cnt += 3; in ath9k_wow_add_disassoc_deauth_pattern()
105 byte_cnt += 6; in ath9k_wow_add_disassoc_deauth_pattern()
108 memcpy((dis_deauth_pattern + byte_cnt), common->curbssid, ETH_ALEN); in ath9k_wow_add_disassoc_deauth_pattern()
110 byte_cnt += 6; in ath9k_wow_add_disassoc_deauth_pattern()
113 memcpy((dis_deauth_pattern + byte_cnt), common->curbssid, ETH_ALEN); in ath9k_wow_add_disassoc_deauth_pattern()
121 pattern_count, byte_cnt); in ath9k_wow_add_disassoc_deauth_pattern()
133 pattern_count, byte_cnt); in ath9k_wow_add_disassoc_deauth_pattern()
/linux-6.1.9/samples/bpf/
Dtest_cgrp2_attach.c95 long long pkt_cnt, byte_cnt; in attach_filter() local
98 sizeof(key), sizeof(byte_cnt), in attach_filter()
124 assert(bpf_map_lookup_elem(map_fd, &key, &byte_cnt) == 0); in attach_filter()
127 pkt_cnt, byte_cnt); in attach_filter()
/linux-6.1.9/drivers/net/ethernet/microchip/sparx5/
Dsparx5_packet.c61 int i, byte_cnt = 0; in sparx5_xtr_grp() local
118 byte_cnt -= (4 - XTR_VALID_BYTES(val)); in sparx5_xtr_grp()
128 byte_cnt += 4; in sparx5_xtr_grp()
133 byte_cnt += 4; in sparx5_xtr_grp()
153 skb_put(skb, byte_cnt - ETH_FCS_LEN); in sparx5_xtr_grp()
/linux-6.1.9/include/linux/mlx4/
Dcq.h56 __be32 byte_cnt; member
81 __be32 byte_cnt; member
/linux-6.1.9/drivers/i2c/busses/
Di2c-mlxbf.c1873 u8 write_size, pec_en, addr, value, byte_cnt; in mlxbf_i2c_irq_send() local
1924 for (byte_cnt = 0; byte_cnt < MLXBF_I2C_SLAVE_DATA_DESC_SIZE; byte_cnt++) { in mlxbf_i2c_irq_send()
1925 data_desc[byte_cnt] = value; in mlxbf_i2c_irq_send()
1933 write_size = (byte_cnt - 1) & 0x7f; in mlxbf_i2c_irq_send()
1936 mlxbf_i2c_smbus_write_data(priv, data_desc, byte_cnt, in mlxbf_i2c_irq_send()
2083 u8 byte_cnt; in mlxbf_i2c_smbus_xfer() local
2119 byte_cnt = data->block[0]; in mlxbf_i2c_smbus_xfer()
2121 &byte_cnt, read, pec); in mlxbf_i2c_smbus_xfer()
2123 read ? "read" : "write", byte_cnt, command, addr); in mlxbf_i2c_smbus_xfer()
2127 byte_cnt = read ? I2C_SMBUS_BLOCK_MAX : data->block[0]; in mlxbf_i2c_smbus_xfer()
[all …]
/linux-6.1.9/drivers/parisc/
Dccio-dma.c627 ccio_clear_io_tlb(struct ioc *ioc, dma_addr_t iovp, size_t byte_cnt) in ccio_clear_io_tlb() argument
632 byte_cnt += chain_size; in ccio_clear_io_tlb()
634 while(byte_cnt > chain_size) { in ccio_clear_io_tlb()
637 byte_cnt -= chain_size; in ccio_clear_io_tlb()
660 ccio_mark_invalid(struct ioc *ioc, dma_addr_t iova, size_t byte_cnt) in ccio_mark_invalid() argument
666 saved_byte_cnt = byte_cnt = ALIGN(byte_cnt, IOVP_SIZE); in ccio_mark_invalid()
668 while(byte_cnt > 0) { in ccio_mark_invalid()
683 byte_cnt -= IOVP_SIZE; in ccio_mark_invalid()
Dsba_iommu.c613 sba_mark_invalid(struct ioc *ioc, dma_addr_t iova, size_t byte_cnt) in sba_mark_invalid() argument
630 if (byte_cnt > IOVP_SIZE) in sba_mark_invalid()
640 iovp |= get_order(byte_cnt) + PAGE_SHIFT; in sba_mark_invalid()
652 byte_cnt -= IOVP_SIZE; in sba_mark_invalid()
653 } while (byte_cnt > IOVP_SIZE); in sba_mark_invalid()
/linux-6.1.9/drivers/mmc/host/
Drtsx_usb_sdmmc.c93 u16 byte_cnt, u8 *buf, int buf_len, int timeout) in sd_read_data() argument
125 rtsx_usb_add_cmd(ucr, WRITE_REG_CMD, SD_BYTE_CNT_L, 0xFF, (u8)byte_cnt); in sd_read_data()
127 0xFF, (u8)(byte_cnt >> 8)); in sd_read_data()
182 err = rtsx_usb_read_ppbuf(ucr, buf, byte_cnt - (byte_cnt % 2)); in sd_read_data()
190 if (byte_cnt % 2) in sd_read_data()
192 PPBUF_BASE2 + byte_cnt, in sd_read_data()
193 buf + byte_cnt - 1); in sd_read_data()
200 u16 byte_cnt, u8 *buf, int buf_len, int timeout) in sd_write_data() argument
237 rtsx_usb_add_cmd(ucr, WRITE_REG_CMD, SD_BYTE_CNT_L, 0xFF, (u8)byte_cnt); in sd_write_data()
239 0xFF, (u8)(byte_cnt >> 8)); in sd_write_data()
/linux-6.1.9/drivers/crypto/marvell/cesa/
Dtdma.c239 tdma->byte_cnt = cpu_to_le32(size | BIT(31)); in mv_cesa_dma_add_result_op()
273 tdma->byte_cnt = cpu_to_le32(size | BIT(31)); in mv_cesa_dma_add_op()
291 tdma->byte_cnt = cpu_to_le32(size | BIT(31)); in mv_cesa_dma_add_data_transfer()
317 tdma->byte_cnt = cpu_to_le32(BIT(31)); in mv_cesa_dma_add_dummy_end()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/fw/api/
Dtx.h547 __le16 byte_cnt; member
605 __le16 byte_cnt; member
811 __le16 byte_cnt; member
/linux-6.1.9/include/linux/mlx5/
Ddevice.h828 __be32 byte_cnt; member
853 __be32 byte_cnt; member
933 __be16 byte_cnt; member
938 struct mpwrq_cqe_bc *bc = (struct mpwrq_cqe_bc *)&cqe->byte_cnt; in mpwrq_get_cqe_byte_cnt()
940 return be16_to_cpu(bc->byte_cnt); in mpwrq_get_cqe_byte_cnt()
950 struct mpwrq_cqe_bc *bc = (struct mpwrq_cqe_bc *)&cqe->byte_cnt; in mpwrq_get_cqe_consumed_strides()
957 struct mpwrq_cqe_bc *bc = (struct mpwrq_cqe_bc *)&cqe->byte_cnt; in mpwrq_is_filler_cqe()
/linux-6.1.9/drivers/net/ethernet/marvell/
Dmv643xx_eth.c190 u16 byte_cnt; /* Descriptor buffer byte count */ member
198 u16 byte_cnt; /* buffer byte count */ member
208 u16 byte_cnt; /* Descriptor buffer byte count */ member
216 u16 byte_cnt; /* buffer byte count */ member
516 u16 byte_cnt; in rxq_process() local
539 byte_cnt = rx_desc->byte_cnt; in rxq_process()
550 stats->rx_bytes += byte_cnt - 2; in rxq_process()
565 skb_put(skb, byte_cnt - 2 - 4); in rxq_process()
741 desc->byte_cnt = length; in txq_put_data_tso()
798 desc->byte_cnt = hdr_len; in txq_put_hdr_tso()
[all …]
Dpxa168_eth.c177 u16 byte_cnt; /* Descriptor buffer byte count */ member
186 u16 byte_cnt; /* buffer byte count */ member
725 count = desc->byte_cnt; in txq_reclaim()
806 stats->rx_bytes += rx_desc->byte_cnt; in rxq_process()
830 skb_put(skb, rx_desc->byte_cnt - 4); in rxq_process()
1263 desc->byte_cnt = length; in pxa168_eth_start_xmit()
/linux-6.1.9/drivers/net/usb/
Dsr9800.h166 static const struct {unsigned short size, byte_cnt, threshold; } SR9800_BULKIN_SIZE[] = { member
/linux-6.1.9/drivers/net/ethernet/i825xx/
Dsun3_82586.h230 unsigned char byte_cnt; /* size of the config-cmd */ member
/linux-6.1.9/arch/ia64/hp/common/
Dsba_iommu.c838 sba_mark_invalid(struct ioc *ioc, dma_addr_t iova, size_t byte_cnt) in sba_mark_invalid() argument
845 ASSERT(byte_cnt > 0); in sba_mark_invalid()
846 ASSERT(0 == (byte_cnt & ~iovp_mask)); in sba_mark_invalid()
855 if (byte_cnt <= iovp_size) in sba_mark_invalid()
878 u32 t = get_iovp_order(byte_cnt) + iovp_shift; in sba_mark_invalid()
893 byte_cnt -= iovp_size; in sba_mark_invalid()
894 } while (byte_cnt > 0); in sba_mark_invalid()
/linux-6.1.9/drivers/staging/rts5208/
Drtsx_card.c821 u32 byte_cnt, u8 pack_size) in trans_dma_enable() argument
828 rtsx_add_cmd(chip, WRITE_REG_CMD, DMATC3, 0xFF, (u8)(byte_cnt >> 24)); in trans_dma_enable()
829 rtsx_add_cmd(chip, WRITE_REG_CMD, DMATC2, 0xFF, (u8)(byte_cnt >> 16)); in trans_dma_enable()
830 rtsx_add_cmd(chip, WRITE_REG_CMD, DMATC1, 0xFF, (u8)(byte_cnt >> 8)); in trans_dma_enable()
831 rtsx_add_cmd(chip, WRITE_REG_CMD, DMATC0, 0xFF, (u8)byte_cnt); in trans_dma_enable()
Dsd.c261 u8 trans_mode, u8 *cmd, int cmd_len, u16 byte_cnt, argument
286 (u8)byte_cnt);
288 (u8)(byte_cnt >> 8));
328 u8 *cmd, int cmd_len, u16 byte_cnt, u16 blk_cnt, argument
361 (u8)byte_cnt);
363 (u8)(byte_cnt >> 8));
2638 u16 byte_cnt; local
2650 byte_cnt = 8;
2655 byte_cnt = 4;
2663 retval = sd_write_data(chip, SD_TM_AUTO_WRITE_3, NULL, 0, byte_cnt, 1,
[all …]
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/queue/
Dtx.h173 struct iwl_txq *txq, u16 byte_cnt,
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/
Diwl-trans.h623 u32 byte_cnt);
1403 u32 byte_cnt) in iwl_trans_write_imr_mem() argument
1406 return trans->ops->imr_dma_data(trans, dst_addr, src_addr, byte_cnt); in iwl_trans_write_imr_mem()
/linux-6.1.9/drivers/infiniband/hw/mthca/
Dmthca_cq.c125 __be32 byte_cnt; member
596 entry->byte_len = be32_to_cpu(cqe->byte_cnt); in mthca_poll_one()
611 entry->byte_len = be32_to_cpu(cqe->byte_cnt); in mthca_poll_one()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c100 cqd->left = be32_to_cpu(title->byte_cnt); in mlx5e_read_title_slot()
145 title->byte_cnt = mini_cqe->byte_cnt; in mlx5e_decompress_cqe()
1707 cqe_bcnt = be32_to_cpu(cqe->byte_cnt); in mlx5e_handle_rx_cqe()
1761 cqe_bcnt = be32_to_cpu(cqe->byte_cnt); in mlx5e_handle_rx_cqe_rep()
1886 u32 byte_cnt = cqe_bcnt - headlen; in mlx5e_skb_from_cqe_mpwrq_nonlinear() local
1906 mlx5e_fill_skb_data(skb, rq, au, byte_cnt, frag_offset); in mlx5e_skb_from_cqe_mpwrq_nonlinear()
2368 cqe_bcnt = be32_to_cpu(cqe->byte_cnt); in mlx5i_handle_rx_cqe()
2463 cqe_bcnt = be32_to_cpu(cqe->byte_cnt); in mlx5e_trap_handle_rx_cqe()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/pcie/
Dinternal.h838 u32 dst_addr, u64 src_addr, u32 byte_cnt);
840 u32 dst_addr, u64 src_addr, u32 byte_cnt);

123