/kernel/linux/linux-6.6/drivers/mtd/devices/ |
H A D | docg3.c | 858 * size 1194 if (info->addr + info->len > mtd->size || page || ofs) in doc_erase() 1216 * size 1331 * @ops: the OOB size and buffer 1371 * size 1773 mtd->size = (docg3->max_block + 1) * DOC_LAYOUT_BLOCK_SIZE; in doc_set_driver_info() 1775 mtd->size /= 2; in doc_set_driver_info()
|
/kernel/linux/linux-6.6/drivers/misc/bcm-vk/ |
H A D | bcm_vk_dev.c | 451 /* first read the num and entry size */ in bcm_vk_get_proc_mon_info() 628 dev_dbg(dev, "size=0x%zx\n", fw->size); in bcm_vk_load_image_by_type() 632 fw->size); in bcm_vk_load_image_by_type() 718 dev_dbg(dev, "size=0x%zx\n", fw->size); in bcm_vk_load_image_by_type()
|
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb/ |
H A D | cxusb-analog.c | 47 unsigned int size = cxdev->width * cxdev->height * 2; in cxusb_medion_v_queue_setup() local 53 if (sizes[0] < size) in cxusb_medion_v_queue_setup() 57 sizes[0] = size; in cxusb_medion_v_queue_setup()
|
/kernel/linux/linux-6.6/drivers/media/usb/gspca/ |
H A D | sonixb.c | 1252 * xx (frame sequence / size / compression) in find_sof() 1341 int size = cam->cam_mode[gspca_dev->curr_mode].sizeimage; in sd_pkt_scan() local 1344 if (used + len > size) in sd_pkt_scan() 1345 len = size - used; in sd_pkt_scan()
|
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap/ |
H A D | omap_vout.c | 675 /* change to smaller size is OK */ in vidioc_s_fmt_vid_out() 947 int size = vout->pix.sizeimage; in omap_vout_vb2_queue_setup() local 956 return sizes[0] < size ? -EINVAL : 0; in omap_vout_vb2_queue_setup() 959 sizes[0] = size; in omap_vout_vb2_queue_setup()
|
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/ |
H A D | isppreview.c | 67 * Margins and image size limits. 893 size_t size = attr->param_size; in preview_config() local 895 if (to && from && size) { in preview_config() 896 if (copy_from_user(to, from, size)) { in preview_config() 1052 * preview_config_input_size - Configure the input frame size 1747 /* When reading data from the CCDC, the input size has already in preview_try_format() 1792 /* The preview module output size is configurable through the in preview_try_format() 1794 * is not supported yet, hardcode the output size to the crop in preview_try_format() 1795 * rectangle size. in preview_try_format()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_stats.c | 50 /* 'newest' convention - shmem2 cotains the size of the port stats */ in bnx2x_get_port_stats_dma_len() 52 u32 size = SHMEM2_RD(bp, sizeof_port_stats); in bnx2x_get_port_stats_dma_len() local 53 if (size) in bnx2x_get_port_stats_dma_len() 54 res = size; in bnx2x_get_port_stats_dma_len() 1760 * packets due to size, ttl0 and checksum in bnx2x_afex_collect_stats()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_ste_v0.c | 358 int size, bool encap_l3) in dr_ste_v0_set_tx_encap() 362 /* The hardware expects here size in words (2 byte) */ in dr_ste_v0_set_tx_encap() 363 MLX5_SET(ste_sx_transmit, hw_ste_p, action_description, size / 2); in dr_ste_v0_set_tx_encap() 460 attr->reformat.size, in dr_ste_v0_set_actions_tx() 357 dr_ste_v0_set_tx_encap(void *hw_ste_p, u32 reformat_id, int size, bool encap_l3) dr_ste_v0_set_tx_encap() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/atheros/ |
H A D | ag71xx.c | 398 static int ag71xx_ring_size_order(int size) in ag71xx_ring_size_order() argument 400 return fls(size - 1); in ag71xx_ring_size_order() 1222 void *(*alloc)(unsigned int size)) in ag71xx_fill_rx_buf() 1220 ag71xx_fill_rx_buf(struct ag71xx *ag, struct ag71xx_buf *buf, int offset, void *(*alloc)(unsigned int size)) ag71xx_fill_rx_buf() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_debugfs.c | 66 * @count: the size of the user's buffer 282 " rx_rings[%i]: size = %i\n", in i40e_dbg_dump_vsi_seid() 283 i, rx_ring->size); in i40e_dbg_dump_vsi_seid() 318 " tx_rings[%i]: size = %i\n", in i40e_dbg_dump_vsi_seid() 319 i, tx_ring->size); in i40e_dbg_dump_vsi_seid() 357 " xdp_rings[%i]: size = %i\n", in i40e_dbg_dump_vsi_seid() 358 i, xdp_ring->size); in i40e_dbg_dump_vsi_seid() 1653 * @count: the size of the user's buffer
|
/kernel/linux/linux-6.6/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac.c | 283 ring->size = CS_RING_SIZE; in pasemi_mac_setup_csring() 382 ring->size = RX_RING_SIZE; in pasemi_mac_setup_rx_resources() 466 ring->size = TX_RING_SIZE; in pasemi_mac_setup_tx_resources() 1611 * the new-size buffers and restart. in pasemi_mac_change_mtu() 1634 /* Change maxf, i.e. what size frames are accepted. in pasemi_mac_change_mtu()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | mcdi.c | 295 * to dword size, and the MCDI buffer is always dword size in efx_mcdi_read_response_header() 2382 loff_t end = min_t(loff_t, start + len, mtd->size); in efx_mcdi_mtd_read() 2405 loff_t end = min_t(loff_t, start + len, mtd->size); in efx_mcdi_mtd_erase() 2436 loff_t end = min_t(loff_t, start + len, mtd->size); in efx_mcdi_mtd_write()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/realtek/ |
H A D | 8139cp.c | 104 #define CP_STATS_SIZE 64 /* size in bytes of DMA stats block */ 163 RxMaxSize = 0xDA, /* Max size of an Rx packet (8169 only) */ 756 netdev_WARN_ONCE(dev, "Net bug: GSO size %d too large for 8139CP\n", in cp_start_xmit() 1281 cp_set_rxbufsize(cp); /* set new rx buf size */ in cp_change_mtu() 1763 int size; in cp_get_eeprom_len() local 1766 size = read_eeprom(cp->regs, 0, 8) == 0x8129 ? 256 : 128; in cp_get_eeprom_len() 1769 return size; in cp_get_eeprom_len()
|
/kernel/linux/linux-6.6/fs/jfs/ |
H A D | jfs_xtree.c | 133 s64 next, size, xoff, xend; in xtLookup() local 142 size = ((u64) ip->i_size + (JFS_SBI(ip->i_sb)->bsize - 1)) >> in xtLookup() 144 if (lstart >= size) in xtLookup() 2147 * root page covering new down size. 2316 * We need to limit the size of the transaction in xtTruncate() 2701 /* set size in xtTruncate() 2735 * return: new committed size 2811 * We need to limit the size of the transaction in xtTruncate_pmap()
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | super.c | 1901 * sort the devices by max_avail, in which max free extent size of each device 2084 /* Account global block reserve as used, it's in logical size already */ in btrfs_statfs() 2087 if (buf->f_bfree >= block_rsv->size >> bits) in btrfs_statfs() 2088 buf->f_bfree -= block_rsv->size >> bits; in btrfs_statfs() 2123 (total_free_meta < thresh || total_free_meta - thresh < block_rsv->size)) in btrfs_statfs()
|
H A D | raid56.c | 462 * If the size of the rbio cache is too big, we 530 unsigned long size = rbio->bio_list_bytes; in rbio_is_full() local 534 if (size != rbio->nr_data * BTRFS_STRIPE_LEN) in rbio_is_full() 536 BUG_ON(size > rbio->nr_data * BTRFS_STRIPE_LEN); in rbio_is_full()
|
/kernel/linux/linux-6.6/fs/erofs/ |
H A D | zdata.c | 53 /* L: the maximum decompression size of this round */ 74 /* I: physical cluster size in pages */ 77 /* I: tailpacking inline compressed size */ 283 unsigned int size; in z_erofs_create_pcluster_pool() local 287 size = struct_size(a, compressed_bvecs, pcs->maxpages); in z_erofs_create_pcluster_pool() 290 pcs->slab = kmem_cache_create(pcs->name, size, 0, in z_erofs_create_pcluster_pool()
|
/kernel/linux/linux-6.6/fs/ntfs/ |
H A D | file.c | 36 * Limit file size to the page cache limit on architectures where unsigned long 61 * ntfs_attr_extend_initialized - extend the initialized size of an attribute 63 * @new_init_size: requested new initialized size in bytes 65 * Extend the initialized size of an attribute described by the ntfs inode @ni 67 * the old initialized size and @new_init_size both in the page cache and on 71 * As a side-effect, the file size (vfs inode->i_size) may be incremented as, 72 * in the resident attribute case, it is tied to the initialized size and, in 73 * the non-resident attribute case, it may not fall below the initialized size. 88 * encountered it is possible that the initialized size will already have been 157 * Do the zeroing in the mft record and update the attribute size i in ntfs_attr_extend_initialized() [all...] |
/kernel/linux/linux-6.6/fs/ext4/ |
H A D | ioctl.c | 370 qsize_t size, size_bl, diff; in swap_inode_boot_loader() local 447 size = (qsize_t)(inode->i_blocks) * (1 << 9) + inode->i_bytes; in swap_inode_boot_loader() 449 diff = size - size_bl; in swap_inode_boot_loader()
|
H A D | inline.c | 102 * Get the maximum size we now can store in an inode. 397 int ret, size, no_expand; in ext4_prepare_inline_data() local 403 size = ext4_get_max_inline_size(inode); in ext4_prepare_inline_data() 404 if (size < len) in ext4_prepare_inline_data() 804 * size of xattr containing inline data. in ext4_write_inline_data_end() 828 * 1. The inode is created and the first write exceeds inline size. We can 1492 * size for ".." and "." if the dir is block based while in ext4_read_inline_dir() 1493 * the real size for them are only EXT4_INLINE_DOTDOT_SIZE. in ext4_read_inline_dir() 1834 "inline size %d", in empty_inline_dir()
|
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | cifsfs.c | 104 MODULE_PARM_DESC(CIFSMaxBufSize, "Network buffer size (not including header) " 246 /* tune readahead according to rsize if readahead size not set on mount */ in cifs_read_super() 1244 size_t size; in cifs_flush_folio() local 1251 size = folio_size(folio); in cifs_flush_folio() 1253 fend = fpos + size - 1; in cifs_flush_folio() 1361 /* force revalidate of size and timestamps of target file now in cifs_remap_file_range() 1463 /* force revalidate of size and timestamps of target file now in cifs_file_copychunk_range() 1677 * SMB2 maximum header size is bigger than CIFS one - no problems to in cifs_init_request_bufs() 1683 /* Buffer size can not be smaller than 2 * PATH_MAX since maximum in cifs_init_request_bufs() 1689 CIFSMaxBufSize &= 0x1FE00; /* Round size t in cifs_init_request_bufs() [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | splice.c | 1407 int size = min_t(int, left, PAGE_SIZE - start); in iter_to_pipe() local 1411 buf.len = size; in iter_to_pipe() 1421 left -= size; in iter_to_pipe()
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_super.c | 259 * filesystem size and inode32/inode64 mount options; i.e. specifically 1000 "logbuf size must be greater than or equal to log stripe size"); in xfs_finish_flags() 1007 "logbuf size for version 1 logs must be 16K or 32K"); in xfs_finish_flags() 1259 int size = 0; in xfs_fs_parse_param() local 1287 if (suffix_kstrtoint(param->string, 10, &size)) in xfs_fs_parse_param() 1289 parsing_mp->m_allocsize_log = ffs(size) - 1; in xfs_fs_parse_param() 1658 * This should suffice to handle the maximum file size that the VFS in xfs_fs_fill_super() 1681 * we must configure the block size in the superblock before we run the in xfs_fs_fill_super() 1895 * size s in xfs_remount_ro() [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/ |
H A D | sh_css_sp.c | 1001 /* Make sure binary name is smaller than allowed string size */ in sh_css_sp_init_stage() 1297 if (md_info && md_info->size > 0) { in sh_css_sp_init_pipeline() 1301 sh_css_sp_group.pipe[thread_id].metadata.size = md_info->size; in sh_css_sp_init_pipeline()
|
/kernel/linux/linux-6.6/drivers/staging/qlge/ |
H A D | qlge.h | 997 __le16 size; member 1015 __le16 size; member 1379 u32 wq_size; /* size in bytes of queue area */ 2254 int qlge_write_cfg(struct qlge_adapter *qdev, void *ptr, int size, u32 bit,
|