Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/gem/selftests/
H A 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()
H A Dhuge_gem_object.h18 phys_addr_t phys_size,
/linux/include/video/
H A 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/fs/hfs/
H A Dinode.c55 &HFS_I(mapping->host)->phys_size); in hfs_write_begin()
248 HFS_I(inode)->phys_size = 0; in hfs_new_inode()
297 __be32 __log_size, __be32 phys_size, u32 clump_size) in hfs_inode_read_fork() argument
311 inode->i_size = HFS_I(inode)->phys_size = log_size; in hfs_inode_read_fork()
314 HFS_I(inode)->alloc_blocks = be32_to_cpu(phys_size) / in hfs_inode_read_fork()
440 __be32 *log_size, __be32 *phys_size) in hfs_inode_write_fork() argument
446 if (phys_size) in hfs_inode_write_fork()
447 *phys_size = cpu_to_be32(HFS_I(inode)->alloc_blocks * in hfs_inode_write_fork()
H A Dextent.c383 HFS_I(inode)->phys_size += sb->s_blocksize; in hfs_get_block()
486 inode->i_ino, (long long)HFS_I(inode)->phys_size, in hfs_file_truncate()
488 if (inode->i_size > HFS_I(inode)->phys_size) { in hfs_file_truncate()
502 inode->i_size = HFS_I(inode)->phys_size; in hfs_file_truncate()
504 } else if (inode->i_size == HFS_I(inode)->phys_size) in hfs_file_truncate()
548 HFS_I(inode)->phys_size = inode->i_size; in hfs_file_truncate()
H A Dhfs_fs.h53 loff_t phys_size; member
186 __be32 *log_size, __be32 *phys_size);
191 __be32 __log_size, __be32 phys_size,
H A Dbtree.c272 HFS_I(inode)->phys_size = inode->i_size = in hfs_bmap_reserve()
/linux/drivers/video/fbdev/omap2/omapfb/
H A Dvrfb.c148 u16 omap_vrfb_max_height(u32 phys_size, u16 width, u8 bytespp) in omap_vrfb_max_height() argument
160 if (phys_size < extra) in omap_vrfb_max_height()
163 height = (phys_size - extra) / (width * bytespp); in omap_vrfb_max_height()
/linux/fs/hfsplus/
H A Dextents.c288 hip->phys_size += sb->s_blocksize; in hfsplus_get_block()
549 inode->i_ino, (long long)hip->phys_size, inode->i_size); in hfsplus_file_truncate()
551 if (inode->i_size > hip->phys_size) { in hfsplus_file_truncate()
567 } else if (inode->i_size == hip->phys_size) in hfsplus_file_truncate()
622 hip->phys_size = inode->i_size; in hfsplus_file_truncate()
H A Dinode.c50 &HFSPLUS_I(mapping->host)->phys_size); in hfsplus_write_begin()
455 hip->phys_size = 0; in hfsplus_new_inode()
528 hip->phys_size = inode->i_size = be64_to_cpu(fork->total_size); in hfsplus_inode_read_fork()
H A Dbtree.c361 hip->phys_size = inode->i_size = in hfs_bmap_reserve()
H A Dhfsplus_fs.h219 loff_t phys_size; member
H A Dsuper.c96 HFSPLUS_I(inode)->phys_size = 0; in hfsplus_iget()
H A Dxattr.c203 hip->phys_size = attr_file->i_size = in hfsplus_create_attributes_file()
/linux/drivers/video/fbdev/
H A Dgbefb.c1001 unsigned long phys_addr, phys_size; in gbefb_mmap() local
1031 phys_size = size; in gbefb_mmap()
1033 phys_size = TILE_SIZE - offset; in gbefb_mmap()
1036 phys_size, vma->vm_page_prot)) in gbefb_mmap()
1040 size -= phys_size; in gbefb_mmap()
1041 addr += phys_size; in gbefb_mmap()
/linux/mm/
H A Dnuma_emulation.c380 size_t phys_size = numa_dist_cnt * numa_dist_cnt * sizeof(phys_dist[0]); in numa_emulation() local
451 phys_dist = memblock_alloc(phys_size, PAGE_SIZE); in numa_emulation()
536 memblock_free(phys_dist, phys_size); in numa_emulation()
/linux/tools/testing/selftests/hid/tests/
H A 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/drivers/ntb/
H A Dntb_transport.c218 resource_size_t phys_size; member
1035 size = nt->mw_vec[i].phys_size; in ntb_transport_link_work()
1176 mw_size = nt->mw_vec[mw_num].phys_size; in ntb_transport_init_queue()
1306 &mw->phys_size); in ntb_transport_probe()
1310 mw->vbase = ioremap_wc(mw->phys_addr, mw->phys_size); in ntb_transport_probe()
/linux/drivers/video/fbdev/aty/
H A Datyfb_base.c348 static unsigned long phys_size[FB_MAX] = { 0, }; variable
2795 phys_size[m64_num] = size; in store_video_par()
3648 if (!phys_vmembase[m64_num] || !phys_size[m64_num] || in atyfb_atari_probe()
3670 phys_size[m64_num]); in atyfb_atari_probe()
/linux/drivers/firmware/efi/libstub/
H A Defistub.h647 u64 phys_size; member