Home
last modified time | relevance | path

Searched refs:phys_size (Results 1 – 19 of 19) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/i915/gem/selftests/
Dhuge_gem_object.c102 phys_addr_t phys_size, in huge_gem_object() argument
109 GEM_BUG_ON(!phys_size || phys_size > dma_size); in huge_gem_object()
110 GEM_BUG_ON(!IS_ALIGNED(phys_size, PAGE_SIZE)); in huge_gem_object()
128 obj->scratch = phys_size; in huge_gem_object()
Dhuge_gem_object.h18 phys_addr_t phys_size,
/linux-6.12.1/include/video/
Domapvrfb.h33 extern u16 omap_vrfb_max_height(u32 phys_size, u16 width, u8 bytespp);
48 static inline u16 omap_vrfb_max_height(u32 phys_size, u16 width, u8 bytespp) in omap_vrfb_max_height() argument
/linux-6.12.1/fs/hfs/
Dinode.c54 &HFS_I(mapping->host)->phys_size); in hfs_write_begin()
224 HFS_I(inode)->phys_size = 0; in hfs_new_inode()
267 __be32 __log_size, __be32 phys_size, u32 clump_size) in hfs_inode_read_fork() argument
281 inode->i_size = HFS_I(inode)->phys_size = log_size; in hfs_inode_read_fork()
284 HFS_I(inode)->alloc_blocks = be32_to_cpu(phys_size) / in hfs_inode_read_fork()
410 __be32 *log_size, __be32 *phys_size) in hfs_inode_write_fork() argument
416 if (phys_size) in hfs_inode_write_fork()
417 *phys_size = cpu_to_be32(HFS_I(inode)->alloc_blocks * in hfs_inode_write_fork()
Dextent.c383 HFS_I(inode)->phys_size += sb->s_blocksize; in hfs_get_block()
485 inode->i_ino, (long long)HFS_I(inode)->phys_size, in hfs_file_truncate()
487 if (inode->i_size > HFS_I(inode)->phys_size) { in hfs_file_truncate()
501 inode->i_size = HFS_I(inode)->phys_size; in hfs_file_truncate()
503 } else if (inode->i_size == HFS_I(inode)->phys_size) in hfs_file_truncate()
547 HFS_I(inode)->phys_size = inode->i_size; in hfs_file_truncate()
Dhfs_fs.h85 loff_t phys_size; member
212 __be32 log_size, __be32 phys_size, u32 clump_size);
Dbtree.c237 HFS_I(inode)->phys_size = inode->i_size = in hfs_bmap_reserve()
/linux-6.12.1/drivers/video/fbdev/omap2/omapfb/
Dvrfb.c147 u16 omap_vrfb_max_height(u32 phys_size, u16 width, u8 bytespp) in omap_vrfb_max_height() argument
159 if (phys_size < extra) in omap_vrfb_max_height()
162 height = (phys_size - extra) / (width * bytespp); in omap_vrfb_max_height()
/linux-6.12.1/fs/hfsplus/
Dextents.c288 hip->phys_size += sb->s_blocksize; in hfsplus_get_block()
553 inode->i_ino, (long long)hip->phys_size, inode->i_size); in hfsplus_file_truncate()
555 if (inode->i_size > hip->phys_size) { in hfsplus_file_truncate()
571 } else if (inode->i_size == hip->phys_size) in hfsplus_file_truncate()
626 hip->phys_size = inode->i_size; in hfsplus_file_truncate()
Dinode.c48 &HFSPLUS_I(mapping->host)->phys_size); in hfsplus_write_begin()
407 hip->phys_size = 0; in hfsplus_new_inode()
475 hip->phys_size = inode->i_size = be64_to_cpu(fork->total_size); in hfsplus_inode_read_fork()
Dbtree.c361 hip->phys_size = inode->i_size = in hfs_bmap_reserve()
Dhfsplus_fs.h251 loff_t phys_size; member
Dxattr.c199 hip->phys_size = attr_file->i_size = in hfsplus_create_attributes_file()
/linux-6.12.1/mm/
Dnuma_emulation.c379 size_t phys_size = numa_dist_cnt * numa_dist_cnt * sizeof(phys_dist[0]); in numa_emulation() local
450 phys_dist = memblock_alloc(phys_size, PAGE_SIZE); in numa_emulation()
506 memblock_free(phys_dist, phys_size); in numa_emulation()
/linux-6.12.1/drivers/video/fbdev/
Dgbefb.c1000 unsigned long phys_addr, phys_size; in gbefb_mmap() local
1030 phys_size = size; in gbefb_mmap()
1032 phys_size = TILE_SIZE - offset; in gbefb_mmap()
1035 phys_size, vma->vm_page_prot)) in gbefb_mmap()
1039 size -= phys_size; in gbefb_mmap()
1040 addr += phys_size; in gbefb_mmap()
/linux-6.12.1/tools/testing/selftests/hid/tests/
Dtest_wacom_generic.py153 phys_size = (field.physical_max - field.physical_min) * 10 ** (field.unit_exp)
156 and phys_size > self.min_size
157 and phys_size < self.max_size
/linux-6.12.1/drivers/ntb/
Dntb_transport.c206 resource_size_t phys_size; member
1066 size = nt->mw_vec[i].phys_size; in ntb_transport_link_work()
1207 mw_size = nt->mw_vec[mw_num].phys_size; in ntb_transport_init_queue()
1335 &mw->phys_size); in ntb_transport_probe()
1339 mw->vbase = ioremap_wc(mw->phys_addr, mw->phys_size); in ntb_transport_probe()
/linux-6.12.1/drivers/video/fbdev/aty/
Datyfb_base.c348 static unsigned long phys_size[FB_MAX] = { 0, }; variable
2791 phys_size[m64_num] = size; in store_video_par()
3644 if (!phys_vmembase[m64_num] || !phys_size[m64_num] || in atyfb_atari_probe()
3666 phys_size[m64_num]); in atyfb_atari_probe()
/linux-6.12.1/drivers/firmware/efi/libstub/
Defistub.h615 u64 phys_size; member