Home
last modified time | relevance | path

Searched refs:phys_size (Results 1 - 25 of 39) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/
H A Dhuge_gem_object.c99 phys_addr_t phys_size, in huge_gem_object()
106 GEM_BUG_ON(!phys_size || phys_size > dma_size); in huge_gem_object()
107 GEM_BUG_ON(!IS_ALIGNED(phys_size, PAGE_SIZE)); in huge_gem_object()
124 obj->scratch = phys_size; in huge_gem_object()
98 huge_gem_object(struct drm_i915_private *i915, phys_addr_t phys_size, dma_addr_t dma_size) huge_gem_object() argument
H A Dhuge_gem_object.h18 phys_addr_t phys_size,
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/selftests/
H A Dhuge_gem_object.c102 phys_addr_t phys_size, in huge_gem_object()
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()
101 huge_gem_object(struct drm_i915_private *i915, phys_addr_t phys_size, dma_addr_t dma_size) huge_gem_object() argument
H A Dhuge_gem_object.h18 phys_addr_t phys_size,
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/fs/hfs/
H A Dinode.c61 &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()
279 inode->i_size = HFS_I(inode)->phys_size = log_size; in hfs_inode_read_fork()
282 HFS_I(inode)->alloc_blocks = be32_to_cpu(phys_size) / in hfs_inode_read_fork()
408 __be32 *log_size, __be32 *phys_size) in hfs_inode_write_fork()
414 if (phys_size) in hfs_inode_write_fork()
415 *phys_size = cpu_to_be32(HFS_I(inode)->alloc_blocks * in hfs_inode_write_fork()
266 hfs_inode_read_fork(struct inode *inode, struct hfs_extent *ext, __be32 __log_size, __be32 phys_size, u32 clump_size) hfs_inode_read_fork() argument
407 hfs_inode_write_fork(struct inode *inode, struct hfs_extent *ext, __be32 *log_size, __be32 *phys_size) hfs_inode_write_fork() argument
H A 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()
H A Dhfs_fs.h85 loff_t phys_size; member
209 __be32 log_size, __be32 phys_size, u32 clump_size);
/kernel/linux/linux-6.6/fs/hfs/
H A Dinode.c60 &HFS_I(mapping->host)->phys_size); in hfs_write_begin()
228 HFS_I(inode)->phys_size = 0; in hfs_new_inode()
271 __be32 __log_size, __be32 phys_size, u32 clump_size) in hfs_inode_read_fork()
283 inode->i_size = HFS_I(inode)->phys_size = log_size; in hfs_inode_read_fork()
286 HFS_I(inode)->alloc_blocks = be32_to_cpu(phys_size) / in hfs_inode_read_fork()
412 __be32 *log_size, __be32 *phys_size) in hfs_inode_write_fork()
418 if (phys_size) in hfs_inode_write_fork()
419 *phys_size = cpu_to_be32(HFS_I(inode)->alloc_blocks * in hfs_inode_write_fork()
270 hfs_inode_read_fork(struct inode *inode, struct hfs_extent *ext, __be32 __log_size, __be32 phys_size, u32 clump_size) hfs_inode_read_fork() argument
411 hfs_inode_write_fork(struct inode *inode, struct hfs_extent *ext, __be32 *log_size, __be32 *phys_size) hfs_inode_write_fork() argument
H A 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()
H A Dhfs_fs.h85 loff_t phys_size; member
212 __be32 log_size, __be32 phys_size, u32 clump_size);
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/
H A 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()
/kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/
H A 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()
/kernel/linux/linux-5.10/fs/hfsplus/
H A Dextents.c288 hip->phys_size += sb->s_blocksize; in hfsplus_get_block()
552 inode->i_ino, (long long)hip->phys_size, inode->i_size); in hfsplus_file_truncate()
554 if (inode->i_size > hip->phys_size) { in hfsplus_file_truncate()
570 } else if (inode->i_size == hip->phys_size) in hfsplus_file_truncate()
623 hip->phys_size = inode->i_size; in hfsplus_file_truncate()
H A Dinode.c54 &HFSPLUS_I(mapping->host)->phys_size); in hfsplus_write_begin()
398 hip->phys_size = 0; in hfsplus_new_inode()
466 hip->phys_size = inode->i_size = be64_to_cpu(fork->total_size); in hfsplus_inode_read_fork()
/kernel/linux/linux-6.6/fs/hfsplus/
H A Dextents.c288 hip->phys_size += sb->s_blocksize; in hfsplus_get_block()
552 inode->i_ino, (long long)hip->phys_size, inode->i_size); in hfsplus_file_truncate()
554 if (inode->i_size > hip->phys_size) { in hfsplus_file_truncate()
570 } else if (inode->i_size == hip->phys_size) in hfsplus_file_truncate()
623 hip->phys_size = inode->i_size; in hfsplus_file_truncate()
H A Dinode.c54 &HFSPLUS_I(mapping->host)->phys_size); in hfsplus_write_begin()
412 hip->phys_size = 0; in hfsplus_new_inode()
480 hip->phys_size = inode->i_size = be64_to_cpu(fork->total_size); in hfsplus_inode_read_fork()
/kernel/linux/linux-5.10/arch/x86/mm/
H A Dnuma_emulation.c377 size_t phys_size = numa_dist_cnt * numa_dist_cnt * sizeof(phys_dist[0]); in numa_emulation() local
451 phys_size, PAGE_SIZE); in numa_emulation()
456 memblock_reserve(phys, phys_size); in numa_emulation()
522 memblock_free(__pa(phys_dist), phys_size); in numa_emulation() local
/kernel/linux/linux-6.6/arch/x86/mm/
H A Dnuma_emulation.c377 size_t phys_size = numa_dist_cnt * numa_dist_cnt * sizeof(phys_dist[0]); in numa_emulation() local
450 phys = memblock_phys_alloc_range(phys_size, PAGE_SIZE, 0, in numa_emulation()
520 memblock_free(phys_dist, phys_size); in numa_emulation()
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A Dgbefb.c1002 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()
/kernel/linux/linux-6.6/drivers/video/fbdev/
H A Dgbefb.c1000 unsigned long phys_addr, phys_size; in gbefb_mmap() local
1028 phys_size = size; in gbefb_mmap()
1030 phys_size = TILE_SIZE - offset; in gbefb_mmap()
1033 phys_size, vma->vm_page_prot)) in gbefb_mmap()
1037 size -= phys_size; in gbefb_mmap()
1038 addr += phys_size; in gbefb_mmap()
/kernel/linux/linux-6.6/tools/testing/selftests/hid/tests/
H A Dtest_wacom_generic.py152 phys_size = (field.physical_max - field.physical_min) * 10 ** (field.unit_exp)
155 and phys_size > self.min_size
156 and phys_size < self.max_size
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/
H A Dqm.h250 resource_size_t phys_size; member
/kernel/linux/linux-5.10/drivers/ntb/
H A Dntb_transport.c206 resource_size_t phys_size; member
1053 size = nt->mw_vec[i].phys_size; in ntb_transport_link_work()
1194 mw_size = nt->mw_vec[mw_num].phys_size; in ntb_transport_init_queue()
1322 &mw->phys_size); in ntb_transport_probe()
1326 mw->vbase = ioremap_wc(mw->phys_addr, mw->phys_size); in ntb_transport_probe()

Completed in 21 milliseconds

12