/openbmc/linux/fs/ntfs3/ |
H A D | file.c | 103 struct address_space *mapping = inode->i_mapping; in ntfs_extend_initialized_size() local 160 balance_dirty_pages_ratelimited(mapping); in ntfs_extend_initialized_size() 198 page = find_or_create_page(mapping, idx, in ntfs_zero_range() 199 mapping_gfp_constraint(mapping, in ntfs_zero_range() 256 struct address_space *mapping = file->f_mapping; in ntfs_file_mmap() local 257 struct inode *inode = mapping->host; in ntfs_file_mmap() 355 err2 = sync_mapping_buffers(mapping); in ntfs_extend() 486 filemap_invalidate_lock(mapping); in ntfs_fallocate() 660 filemap_invalidate_unlock(mapping); in ntfs_fallocate() 812 gfp_t gfp_mask = mapping_gfp_mask(mapping); in ntfs_get_frame_pages() [all …]
|
/openbmc/u-boot/arch/powerpc/dts/ |
H A D | t2080.dtsi | 25 fsl,portid-mapping = <0x80000000>; 30 fsl,portid-mapping = <0x80000000>; 35 fsl,portid-mapping = <0x80000000>; 40 fsl,portid-mapping = <0x80000000>;
|
/openbmc/linux/include/linux/ |
H A D | writeback.h | 358 void balance_dirty_pages_ratelimited(struct address_space *mapping); 359 int balance_dirty_pages_ratelimited_flags(struct address_space *mapping, 367 void tag_pages_for_writeback(struct address_space *mapping, 369 int write_cache_pages(struct address_space *mapping, 372 int do_writepages(struct address_space *mapping, struct writeback_control *wbc); 374 void tag_pages_for_writeback(struct address_space *mapping, 377 bool filemap_dirty_folio(struct address_space *mapping, struct folio *folio);
|
/openbmc/linux/Documentation/arch/arm/ |
H A D | memory.rst | 26 setup a minicache mapping. 42 fffe8000 fffeffff DTCM mapping area for platforms with 45 fffe0000 fffe7fff ITCM mapping area for platforms with 48 ffc80000 ffefffff Fixmap mapping region. Addresses provided 53 ff800000 ffbfffff Permanent, fixed read-only mapping of the 57 mapping within the vmalloc space. 73 One way of mapping HIGHMEM pages into kernel 93 space are also caught via this mapping. 100 Since future CPUs may impact the kernel mapping layout, user programs
|
/openbmc/linux/fs/affs/ |
H A D | file.c | 387 struct inode *inode = mapping->host; in affs_write_failed() 400 struct inode *inode = mapping->host; in affs_direct_IO() 427 &AFFS_I(mapping->host)->mmu_private); in affs_write_begin() 429 affs_write_failed(mapping, pos + len); in affs_write_begin() 438 struct inode *inode = mapping->host; in affs_write_end() 528 struct inode *inode = folio->mapping->host; in affs_do_read_folio_ofs() 653 struct inode *inode = mapping->host; in affs_write_begin_ofs() 671 mapping_gfp_mask(mapping)); in affs_write_begin_ofs() 693 struct inode *inode = mapping->host; in affs_write_end_ofs() 890 res = mapping->a_ops->write_begin(NULL, mapping, isize, 0, &page, &fsdata); in affs_truncate() [all …]
|
/openbmc/linux/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_ib.c | 94 u64 mapping[IPOIB_UD_RX_SG]) in ipoib_ud_dma_unmap_rx() 96 ib_dma_unmap_single(priv->ca, mapping[0], in ipoib_ud_dma_unmap_rx() 127 u64 *mapping; in ipoib_alloc_rx_skb() local 141 mapping = priv->rx_ring[id].mapping; in ipoib_alloc_rx_skb() 178 u64 mapping[IPOIB_UD_RX_SG]; in ipoib_ib_handle_rx_wc() local 204 memcpy(mapping, priv->rx_ring[wr_id].mapping, in ipoib_ib_handle_rx_wc() 219 ipoib_ud_dma_unmap_rx(priv, mapping); in ipoib_ib_handle_rx_wc() 278 u64 *mapping = tx_req->mapping; in ipoib_dma_map_tx() local 294 mapping[i + off] = ib_dma_map_page(ca, in ipoib_dma_map_tx() 321 u64 *mapping = tx_req->mapping; in ipoib_dma_unmap_tx() local [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/User/ |
H A D | PrivilegeMapper.interface.yaml | 3 name. The users in the group will inherit the privilege mapping of the 8 unique number generated by the application. If the privilege mapping already 11 privilege for a mapping which already exists, the Privilege property in the 13 application consuming the privilege mapping should not cache the object path 21 Creates a mapping for the group to the privilege. 42 The path for the created privilege mapping object.
|
/openbmc/linux/Documentation/mm/ |
H A D | vmemmap_dedup.rst | 14 default, there is a one-to-one mapping from a page frame to its corresponding 66 We can use huge mapping at the pud/pmd level for the HugeTLB page. 68 For the HugeTLB page of the pmd level mapping, then:: 82 x86-64 and arm64). So if we use pmd level mapping for a HugeTLB page, the 86 For the HugeTLB page of the pud level mapping, then:: 93 HugeTLB page of the pmd level mapping. 98 Next, we take the pmd level mapping of the HugeTLB page as an example to 105 +-----------+ ---virt_to_page---> +-----------+ mapping to +-----------+ 161 vmemmap pages and restore the previous mapping relationship. 163 For the HugeTLB page of the pud level mapping. It is similar to the former. [all …]
|
H A D | highmem.rst | 18 The part of (physical) memory not covered by a permanent mapping is what we 64 These mappings are thread-local and CPU-local, meaning that the mapping 66 CPU while the mapping is active. Although preemption is never disabled by 68 CPU-hotplug until the mapping is disposed. 82 virtual address of the direct mapping. Only real highmem pages are 95 therefore try to design their code to avoid the use of kmap() by mapping 116 This permits a very short duration mapping of a single page. Since the 117 mapping is restricted to the CPU that issued it, it performs well, but 148 block when the mapping space is fully utilized until a slot becomes 163 * vmap(). This can be used to make a long duration mapping of multiple [all …]
|
/openbmc/linux/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_cmdbuf.h | 32 struct etnaviv_vram_mapping *mapping, 35 struct etnaviv_vram_mapping *mapping); 43 struct etnaviv_vram_mapping *mapping);
|
/openbmc/openbmc/meta-phosphor/conf/distro/include/ |
H A D | phosphor-defaults.inc | 61 # mapping of how the host firmware reports inventory via IPMI and the mapping 65 # mapping of how the host firmware reports inventory via IPMI. 66 # This virtual is a native recipe that provides that mapping by installing 73 # This virtual is a native recipe that provides that mapping by installing 88 # This virtual is a native recipe that provides that mapping by installing 94 # mapping of inventory object path to the sensor number and sensor metadata. 95 # This virtual is a native recipe that provides that mapping by installing 104 # This virtual is a native recipe that provides that mapping by installing 112 # an input mapping of Linux sysfs devices to OpenBMC DBus objects. 113 # This virtual is a native recipe that provides that mapping by installing [all …]
|
/openbmc/linux/fs/btrfs/ |
H A D | extent_io.c | 285 if (!PageDirty(page) || page->mapping != mapping) { in lock_delalloc_pages() 868 if (page->mapping) in attach_extent_buffer_page() 899 ASSERT(page->mapping); in set_page_extent_mapped() 917 ASSERT(page->mapping); in clear_page_extent_mapped() 1800 struct address_space *mapping = page->mapping; in submit_eb_page() local 1810 spin_lock(&mapping->private_lock); in submit_eb_page() 1832 spin_unlock(&mapping->private_lock); in submit_eb_page() 1993 struct inode *inode = mapping->host; in extent_write_cache_pages() 2076 if (unlikely(folio->mapping != mapping)) { in extent_write_cache_pages() 2209 struct inode *inode = mapping->host; in extent_writepages() [all …]
|
/openbmc/linux/drivers/iommu/ |
H A D | virtio-iommu.c | 317 struct viommu_mapping *mapping; in viommu_add_mapping() local 319 mapping = kzalloc(sizeof(*mapping), GFP_ATOMIC); in viommu_add_mapping() 320 if (!mapping) in viommu_add_mapping() 323 mapping->paddr = paddr; in viommu_add_mapping() 324 mapping->iova.start = iova; in viommu_add_mapping() 325 mapping->iova.last = end; in viommu_add_mapping() 326 mapping->flags = flags; in viommu_add_mapping() 367 unmapped += mapping->iova.last - mapping->iova.start + 1; in viommu_del_mappings() 370 kfree(mapping); in viommu_del_mappings() 437 struct viommu_mapping *mapping; in viommu_replay_mappings() local [all …]
|
/openbmc/linux/fs/nfs/ |
H A D | file.c | 347 file, mapping->host->i_ino, len, (long long) pos); in nfs_write_begin() 351 mapping_gfp_mask(mapping)); in nfs_write_begin() 410 NFS_I(mapping->host)->write_io += copied; in nfs_write_end() 412 if (nfs_ctx_key_to_expire(ctx, mapping->host)) in nfs_write_end() 413 nfs_wb_all(mapping->host); in nfs_write_end() 465 struct address_space *mapping = folio->mapping; in nfs_check_dirty_writeback() local 472 nfsi = NFS_I(mapping->host); in nfs_check_dirty_writeback() 497 struct inode *inode = folio->mapping->host; in nfs_launder_folio() 587 struct address_space *mapping; in nfs_vm_page_mkwrite() local 608 mapping = folio_file_mapping(folio); in nfs_vm_page_mkwrite() [all …]
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | ksm_tests.c | 200 static void *allocate_memory(void *ptr, int prot, int mapping, char data, size_t map_size) in allocate_memory() argument 202 void *map_ptr = mmap(ptr, map_size, PROT_WRITE, mapping, -1, 0); in allocate_memory() 347 static int check_ksm_merge(int merge_type, int mapping, int prot, in check_ksm_merge() argument 359 map_ptr = allocate_memory(NULL, prot, mapping, '*', page_size * page_count); in check_ksm_merge() 393 map_ptr = allocate_memory(NULL, prot, mapping, '*', page_size * page_count); in check_ksm_unmerge() 436 map_ptr = allocate_memory(NULL, prot, mapping, 0, page_size * page_count); in check_ksm_zero_page_merge() 486 static int check_ksm_numa_merge(int merge_type, int mapping, int prot, int timeout, in check_ksm_numa_merge() argument 550 static int ksm_merge_hugepages_time(int merge_type, int mapping, int prot, in ksm_merge_hugepages_time() argument 626 map_ptr = allocate_memory(NULL, prot, mapping, '*', map_size); in ksm_merge_time() 667 map_ptr = allocate_memory(NULL, prot, mapping, '*', map_size); in ksm_unmerge_time() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/ |
H A D | smu_cmn.c | 420 struct cmn2asic_mapping mapping; in smu_cmn_to_asic_specific_index() local 444 if (!mapping.valid_mapping) in smu_cmn_to_asic_specific_index() 447 return mapping.map_to; in smu_cmn_to_asic_specific_index() 455 if (!mapping.valid_mapping) in smu_cmn_to_asic_specific_index() 458 return mapping.map_to; in smu_cmn_to_asic_specific_index() 466 if (!mapping.valid_mapping) in smu_cmn_to_asic_specific_index() 469 return mapping.map_to; in smu_cmn_to_asic_specific_index() 477 if (!mapping.valid_mapping) in smu_cmn_to_asic_specific_index() 480 return mapping.map_to; in smu_cmn_to_asic_specific_index() 488 if (!mapping.valid_mapping) in smu_cmn_to_asic_specific_index() [all …]
|
/openbmc/linux/mm/ |
H A D | shmem.c | 454 xa_lock_irq(&mapping->i_pages); in shmem_charge() 455 mapping->nrpages += pages; in shmem_charge() 770 folio->mapping = mapping; in shmem_add_to_page_cache() 802 mapping->nrpages += nr; in shmem_add_to_page_cache() 816 folio->mapping = NULL; in shmem_add_to_page_cache() 826 struct address_space *mapping = folio->mapping; in shmem_delete_from_page_cache() local 830 xa_lock_irq(&mapping->i_pages); in shmem_delete_from_page_cache() 832 folio->mapping = NULL; in shmem_delete_from_page_cache() 833 mapping->nrpages -= nr; in shmem_delete_from_page_cache() 1436 struct address_space *mapping = folio->mapping; in shmem_writepage() local [all …]
|
/openbmc/linux/fs/f2fs/ |
H A D | data.c | 53 struct address_space *mapping = page->mapping; in f2fs_is_cp_guaranteed() local 57 if (!mapping) in f2fs_is_cp_guaranteed() 60 inode = mapping->host; in f2fs_is_cp_guaranteed() 78 if (mapping) { in __read_io_type() 79 struct inode *inode = mapping->host; in __read_io_type() 802 fio->page->mapping->host, in add_ipu_page() 1328 if (unlikely(page->mapping != mapping || !PageUptodate(page))) { in f2fs_get_lock_data_page() 3115 if (unlikely(folio->mapping != mapping)) { in f2fs_write_cache_pages() 3212 f2fs_submit_merged_write_cond(F2FS_M_SB(mapping), mapping->host, in f2fs_write_cache_pages() 3612 if (page->mapping != mapping) { in f2fs_write_begin() [all …]
|
/openbmc/linux/drivers/dax/ |
H A D | bus.c | 656 kfree(mapping); in dax_mapping_release() 671 dev_dax->ranges[mapping->range_id].mapping = NULL; in unregister_dax_mapping() 672 mapping->range_id = -1; in unregister_dax_mapping() 694 struct dax_mapping *mapping = dax_range->mapping; in put_dax_range() local 783 mapping = kzalloc(sizeof(*mapping), GFP_KERNEL); in devm_register_dax_mapping() 784 if (!mapping) in devm_register_dax_mapping() 788 if (mapping->id < 0) { in devm_register_dax_mapping() 789 kfree(mapping); in devm_register_dax_mapping() 792 dev_dax->ranges[range_id].mapping = mapping; in devm_register_dax_mapping() 793 dev = &mapping->dev; in devm_register_dax_mapping() [all …]
|
/openbmc/linux/Documentation/arch/x86/x86_64/ |
H A D | mm.rst | 45 …ffff888000000000 | -119.5 TB | ffffc87fffffffff | 64 TB | direct mapping of all physical memory… 59 fffffe0000000000 | -2 TB | fffffe7fffffffff | 0.5 TB | cpu_entry_area mapping 63 ffffffef00000000 | -68 GB | fffffffeffffffff | 64 GB | EFI region mapping space 65 …ffffffff80000000 | -2 GB | ffffffff9fffffff | 512 MB | kernel text mapping, mapped to physic… 67 ffffffffa0000000 |-1536 MB | fffffffffeffffff | 1520 MB | module mapping space 118 fffffe0000000000 | -2 TB | fffffe7fffffffff | 0.5 TB | cpu_entry_area mapping 122 ffffffef00000000 | -68 GB | fffffffeffffffff | 64 GB | EFI region mapping space 124 …ffffffff80000000 | -2 GB | ffffffff9fffffff | 512 MB | kernel text mapping, mapped to physic… 126 ffffffffa0000000 |-1536 MB | fffffffffeffffff | 1520 MB | module mapping space 139 The direct mapping covers all memory in the system up to the highest [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | st,sta350.txt | 30 - st,ch1-output-mapping: Channel 1 output mapping 31 - st,ch2-output-mapping: Channel 2 output mapping 32 - st,ch3-output-mapping: Channel 3 output mapping 123 st,ch1-output-mapping = /bits/ 8 <0>; // set channel 1 output ch 1 124 st,ch2-output-mapping = /bits/ 8 <0>; // set channel 2 output ch 1 125 st,ch3-output-mapping = /bits/ 8 <0>; // set channel 3 output ch 1
|
/openbmc/sdbusplus/tools/sdbusplus/templates/ |
H A D | interface.common.hpp.mako | 71 * @note Throws if string is not a valid mapping. 113 /** String to enum mapping for ${interface.classname}::${e.name} */ 114 inline constexpr std::array mapping${interface.classname}${e.name} = { 125 auto i = std::find_if(std::begin(details::mapping${interface.classname}${e.name}), 126 std::end(details::mapping${interface.classname}${e.name}), 129 if (std::end(details::mapping${interface.classname}${e.name}) == i) 156 auto i = std::find_if(std::begin(details::mapping${interface.classname}${e.name}), 157 std::end(details::mapping${interface.classname}${e.name}), 160 if (i == std::end(details::mapping${interface.classname}${e.name}))
|
/openbmc/linux/fs/omfs/ |
H A D | file.c | 298 omfs_writepages(struct address_space *mapping, struct writeback_control *wbc) in omfs_writepages() argument 300 return mpage_writepages(mapping, wbc, omfs_get_block); in omfs_writepages() 303 static void omfs_write_failed(struct address_space *mapping, loff_t to) in omfs_write_failed() argument 305 struct inode *inode = mapping->host; in omfs_write_failed() 313 static int omfs_write_begin(struct file *file, struct address_space *mapping, in omfs_write_begin() argument 319 ret = block_write_begin(mapping, pos, len, pagep, omfs_get_block); in omfs_write_begin() 321 omfs_write_failed(mapping, pos + len); in omfs_write_begin() 326 static sector_t omfs_bmap(struct address_space *mapping, sector_t block) in omfs_bmap() argument 328 return generic_block_bmap(mapping, block, omfs_get_block); in omfs_bmap()
|
/openbmc/linux/fs/jffs2/ |
H A D | file.c | 24 static int jffs2_write_end(struct file *filp, struct address_space *mapping, 27 static int jffs2_write_begin(struct file *filp, struct address_space *mapping, 115 int ret = jffs2_do_readpage_nolock(folio->mapping->host, &folio->page); in __jffs2_read_folio() 122 struct jffs2_inode_info *f = JFFS2_INODE_INFO(folio->mapping->host); in jffs2_read_folio() 131 static int jffs2_write_begin(struct file *filp, struct address_space *mapping, in jffs2_write_begin() argument 136 struct inode *inode = mapping->host; in jffs2_write_begin() 214 pg = grab_cache_page_write_begin(mapping, index); in jffs2_write_begin() 244 static int jffs2_write_end(struct file *filp, struct address_space *mapping, in jffs2_write_end() argument 251 struct inode *inode = mapping->host; in jffs2_write_end()
|
/openbmc/linux/fs/erofs/ |
H A D | fscache.c | 31 struct address_space *mapping; /* The mapping being accessed */ member 48 req->mapping = mapping; in erofs_fscache_req_alloc() 67 req = erofs_fscache_req_alloc(primary->mapping, in erofs_fscache_req_chain() 83 XA_STATE(xas, &req->mapping->i_pages, start_page); in erofs_fscache_req_complete() 132 struct super_block *sb = req->mapping->host->i_sb; in erofs_fscache_read_folios_async() 160 iov_iter_xarray(&iter, ITER_DEST, &req->mapping->i_pages, in erofs_fscache_read_folios_async() 202 struct address_space *mapping = primary->mapping; in erofs_fscache_data_read_slice() local 203 struct inode *inode = mapping->host; in erofs_fscache_data_read_slice() 233 iov_iter_xarray(&iter, ITER_DEST, &mapping->i_pages, pos, PAGE_SIZE); in erofs_fscache_data_read_slice() 246 iov_iter_xarray(&iter, ITER_DEST, &mapping->i_pages, pos, count); in erofs_fscache_data_read_slice() [all …]
|