/linux-master/arch/mips/mm/ |
H A D | cache.c | 105 struct address_space *mapping = folio_flush_mapping(folio); local 109 if (mapping && !mapping_mapped(mapping)) {
|
/linux-master/fs/afs/ |
H A D | write.c | 211 int afs_writepages(struct address_space *mapping, struct writeback_control *wbc) argument 213 struct afs_vnode *vnode = AFS_FS_I(mapping->host); 225 ret = netfs_writepages(mapping, wbc);
|
/linux-master/arch/sh/mm/ |
H A D | cache-sh4.c | 114 struct address_space *mapping = folio_flush_mapping(folio); local 116 if (mapping && !mapping_mapped(mapping))
|
/linux-master/arch/sparc/mm/ |
H A D | tlb.c | 119 struct address_space *mapping; local 132 mapping = folio_flush_mapping(folio); 133 if (!mapping)
|
/linux-master/fs/ext2/ |
H A D | inode.c | 59 void ext2_write_failed(struct address_space *mapping, loff_t to) argument 61 struct inode *inode = mapping->host; 918 ext2_write_begin(struct file *file, struct address_space *mapping, argument 923 ret = block_write_begin(mapping, pos, len, pagep, ext2_get_block); 925 ext2_write_failed(mapping, pos + len); 929 static int ext2_write_end(struct file *file, struct address_space *mapping, argument 935 ret = generic_write_end(file, mapping, pos, len, copied, page, fsdata); 937 ext2_write_failed(mapping, pos + len); 941 static sector_t ext2_bmap(struct address_space *mapping, sector_t block) argument 943 return generic_block_bmap(mapping,bloc 947 ext2_writepages(struct address_space *mapping, struct writeback_control *wbc) argument 953 ext2_dax_writepages(struct address_space *mapping, struct writeback_control *wbc) argument [all...] |
/linux-master/fs/ntfs3/ |
H A D | inode.c | 706 static sector_t ntfs_bmap(struct address_space *mapping, sector_t block) argument 708 return generic_block_bmap(mapping, block, ntfs_get_block_bmap); 715 struct address_space *mapping = page->mapping; local 716 struct inode *inode = mapping->host; 742 struct address_space *mapping = rac->mapping; local 743 struct inode *inode = mapping->host; 787 struct address_space *mapping = file->f_mapping; local 788 struct inode *inode = mapping 866 struct address_space *mapping = data; local 884 ntfs_writepages(struct address_space *mapping, struct writeback_control *wbc) argument 905 ntfs_write_begin(struct file *file, struct address_space *mapping, loff_t pos, u32 len, struct page **pagep, void **fsdata) argument 950 ntfs_write_end(struct file *file, struct address_space *mapping, loff_t pos, u32 len, u32 copied, struct page *page, void *fsdata) argument 1016 struct address_space *mapping = inode->i_mapping; local [all...] |
/linux-master/fs/erofs/ |
H A D | data.c | 44 folio = read_cache_folio(buf->mapping, index, NULL, NULL); 69 buf->mapping = EROFS_SB(sb)->s_fscache->inode->i_mapping; 71 buf->mapping = sb->s_bdev->bd_mapping; 364 static sector_t erofs_bmap(struct address_space *mapping, sector_t block) argument 366 return iomap_bmap(mapping, block, &erofs_iomap_ops);
|
/linux-master/drivers/gpu/drm/armada/ |
H A D | armada_gem.c | 7 #include <linux/dma-mapping.h> 219 struct address_space *mapping; local 234 mapping = obj->obj.filp->f_mapping; 235 mapping_set_gfp_mask(mapping, GFP_HIGHUSER | __GFP_RECLAIMABLE); 400 struct address_space *mapping; local 407 mapping = dobj->obj.filp->f_mapping; 412 page = shmem_read_mapping_page(mapping, i);
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
H A D | trx.c | 331 dma_addr_t mapping = dma_map_single(&rtlpci->pdev->dev, skb->data, local 335 if (dma_mapping_error(&rtlpci->pdev->dev, mapping)) { 337 "DMA mapping error\n"); 489 set_tx_desc_tx_buffer_address(pdesc, mapping); 503 dma_addr_t mapping = dma_map_single(&rtlpci->pdev->dev, skb->data, local 506 if (dma_mapping_error(&rtlpci->pdev->dev, mapping)) { 508 "DMA mapping error\n"); 526 set_tx_desc_tx_buffer_address(pdesc, mapping); 545 set_tx_desc_tx_buffer_address(pdesc, mapping);
|
/linux-master/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib.h | 186 u64 mapping[IPOIB_UD_RX_SG]; member in struct:ipoib_rx_buf 191 u64 mapping[MAX_SKB_FRAGS + 1]; member in struct:ipoib_tx_buf 261 u64 mapping[IPOIB_CM_RX_SG]; member in struct:ipoib_cm_rx_buf 552 u64 *mapping = tx_req->mapping; local 555 priv->tx_sge[0].addr = mapping[0]; 562 priv->tx_sge[i + off].addr = mapping[i + off];
|
/linux-master/arch/parisc/kernel/ |
H A D | cache.c | 415 struct address_space *mapping = folio_flush_mapping(folio); local 423 if (mapping && !mapping_mapped(mapping)) { 433 if (!mapping) 445 flush_dcache_mmap_lock_irqsave(mapping, flags); 446 vma_interval_tree_foreach(vma, &mapping->i_mmap, pgoff, pgoff + nr - 1) { 477 * with a TLB mapping, so here we kill the 478 * mapping then flush the page along a special 479 * flush only alias mapping. This guarantees that 508 flush_dcache_mmap_unlock_irqrestore(mapping, flag [all...] |
/linux-master/fs/qnx6/ |
H A D | inode.c | 186 struct address_space *mapping = root->i_mapping; local 187 struct page *page = read_mapping_page(mapping, 0, NULL); 488 static sector_t qnx6_bmap(struct address_space *mapping, sector_t block) argument 490 return generic_block_bmap(mapping, block, qnx6_get_block); 520 struct address_space *mapping; local 542 mapping = sbi->inodes->i_mapping; 543 page = read_mapping_page(mapping, n, NULL);
|
/linux-master/mm/ |
H A D | khugepaged.c | 1469 * as pmd-mapped. Possibly install a huge PMD mapping the THP. 1528 * Skip all the pte checks and just update the pmd mapping. 1676 static void retract_page_tables(struct address_space *mapping, pgoff_t pgoff) argument 1680 i_mmap_lock_read(mapping); 1681 vma_interval_tree_foreach(vma, &mapping->i_mmap, pgoff, pgoff) { 1693 * page tables from, as PMD-mapping is likely to be split later. 1757 i_mmap_unlock_read(mapping); 1789 struct address_space *mapping = file->f_mapping; local 1794 XA_STATE_ORDER(xas, &mapping->i_pages, start, HPAGE_PMD_ORDER); 1809 new_folio->mapping 2214 struct address_space *mapping = file->f_mapping; local [all...] |
H A D | hugetlb.c | 988 * the mapping, huge page units here. 999 * @vma: The user mapping. 1036 * faults in a MAP_PRIVATE mapping. Only the process that called mmap() 1044 * The private mapping reservation is represented in a subtly different 1045 * manner to a shared mapping. A shared mapping has a region map associated 1048 * after the page is instantiated. A private mapping has a region map 1142 * The VERY common case is inode->mapping == &inode->i_data but, 1152 struct address_space *mapping = vma->vm_file->f_mapping; local 1153 struct inode *inode = mapping 2164 struct address_space *mapping = folio_mapping(folio); local 5586 struct address_space *mapping = vma->vm_file->f_mapping; local 5869 struct address_space *mapping; local 6019 struct address_space *mapping = vma->vm_file->f_mapping; local 6125 struct address_space *mapping = vma->vm_file->f_mapping; local 6136 hugetlb_add_to_page_cache(struct folio *folio, struct address_space *mapping, pgoff_t idx) argument 6165 hugetlb_handle_userfault(struct vm_fault *vmf, struct address_space *mapping, unsigned long reason) argument 6199 hugetlb_no_page(struct address_space *mapping, struct vm_fault *vmf) argument 6411 hugetlb_fault_mutex_hash(struct address_space *mapping, pgoff_t idx) argument 6428 hugetlb_fault_mutex_hash(struct address_space *mapping, pgoff_t idx) argument 6442 struct address_space *mapping; local 6672 struct address_space *mapping = dst_vma->vm_file->f_mapping; local 7319 struct address_space *mapping = vma->vm_file->f_mapping; local [all...] |
H A D | nommu.c | 535 /* add the VMA to the mapping */ 537 struct address_space *mapping = vma->vm_file->f_mapping; local 539 i_mmap_lock_write(mapping); 540 flush_dcache_mmap_lock(mapping); 541 vma_interval_tree_insert(vma, &mapping->i_mmap); 542 flush_dcache_mmap_unlock(mapping); 543 i_mmap_unlock_write(mapping); 550 /* remove the VMA from the mapping */ 552 struct address_space *mapping; local 553 mapping [all...] |
/linux-master/fs/ufs/ |
H A D | inode.c | 471 static int ufs_writepages(struct address_space *mapping, argument 474 return mpage_writepages(mapping, wbc, ufs_getfrag_block); 489 static void ufs_write_failed(struct address_space *mapping, loff_t to) argument 491 struct inode *inode = mapping->host; 499 static int ufs_write_begin(struct file *file, struct address_space *mapping, argument 505 ret = block_write_begin(mapping, pos, len, pagep, ufs_getfrag_block); 507 ufs_write_failed(mapping, pos + len); 512 static int ufs_write_end(struct file *file, struct address_space *mapping, argument 518 ret = generic_write_end(file, mapping, pos, len, copied, page, fsdata); 520 ufs_write_failed(mapping, po 524 ufs_bmap(struct address_space *mapping, sector_t block) argument 1065 struct address_space *mapping = inode->i_mapping; local [all...] |
/linux-master/fs/fat/ |
H A D | inode.c | 197 static int fat_writepages(struct address_space *mapping, argument 200 return mpage_writepages(mapping, wbc, fat_get_block); 213 static void fat_write_failed(struct address_space *mapping, loff_t to) argument 215 struct inode *inode = mapping->host; 223 static int fat_write_begin(struct file *file, struct address_space *mapping, argument 230 err = cont_write_begin(file, mapping, pos, len, 232 &MSDOS_I(mapping->host)->mmu_private); 234 fat_write_failed(mapping, pos + len); 238 static int fat_write_end(struct file *file, struct address_space *mapping, argument 242 struct inode *inode = mapping 258 struct address_space *mapping = file->f_mapping; local 315 _fat_bmap(struct address_space *mapping, sector_t block) argument [all...] |
/linux-master/drivers/net/ethernet/adaptec/ |
H A D | starfire.c | 514 dma_addr_t mapping; member in struct:rx_ring_info 518 dma_addr_t mapping; member in struct:tx_ring_info 1143 np->rx_info[i].mapping = dma_map_single(&np->pci_dev->dev, 1147 if (dma_mapping_error(&np->pci_dev->dev, np->rx_info[i].mapping)) { 1153 np->rx_ring[i].rxaddr = cpu_to_dma(np->rx_info[i].mapping | RxDescValid); 1162 np->rx_info[i].mapping = 0; 1225 np->tx_info[entry].mapping = 1232 np->tx_info[entry].mapping = 1238 if (dma_mapping_error(&np->pci_dev->dev, np->tx_info[entry].mapping)) { 1243 np->tx_ring[entry].addr = cpu_to_dma(np->tx_info[entry].mapping); [all...] |
/linux-master/drivers/input/joystick/ |
H A D | xpad.c | 50 * - fixed d-pad to axes mapping 127 u8 mapping; member in struct:xpad_device 736 int mapping; /* map d-pad to buttons or to axes */ member in struct:usb_xpad 763 if (!(xpad->mapping & MAP_STICKS_TO_NULL)) { 778 if (xpad->mapping & MAP_TRIGGERS_TO_BUTTONS) { 787 if (xpad->mapping & MAP_DPAD_TO_BUTTONS) { 838 if (xpad->mapping & MAP_DPAD_TO_BUTTONS) { 852 if (!(xpad->mapping & MAP_DPAD_TO_BUTTONS) || 877 if (!(xpad->mapping & MAP_STICKS_TO_NULL)) { 892 if (xpad->mapping [all...] |
/linux-master/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_cmn.c | 236 /* TSO headers+data bds share a common mapping. See bnx2x_tx_split() */ 438 dma_addr_t mapping; local 447 mapping = dma_map_single(&bp->pdev->dev, 456 if (unlikely(dma_mapping_error(&bp->pdev->dev, mapping))) { 465 dma_unmap_addr_set(prod_rx_buf, mapping, mapping); 467 prod_bd->addr_hi = cpu_to_le32(U64_HI(mapping)); 468 prod_bd->addr_lo = cpu_to_le32(U64_LO(mapping)); 553 dma_addr_t mapping; local 563 mapping 846 dma_addr_t mapping; local 3311 dma_addr_t mapping; local 3766 dma_addr_t mapping; local [all...] |
/linux-master/drivers/net/ethernet/dec/tulip/ |
H A D | de2104x.c | 288 dma_addr_t mapping; member in struct:ring_info 403 dma_addr_t mapping; local 418 mapping = de->rx_skb[rx_tail].mapping; 446 dma_unmap_single(&de->pdev->dev, mapping, buflen, 450 mapping = 451 de->rx_skb[rx_tail].mapping = 456 dma_sync_single_for_cpu(&de->pdev->dev, mapping, len, 461 dma_sync_single_for_device(&de->pdev->dev, mapping, 482 de->rx_ring[rx_tail].addr1 = cpu_to_le32(mapping); 609 u32 mapping, len, flags = FirstFrag | LastFrag; local 725 u32 mapping; local [all...] |
/linux-master/tools/testing/nvdimm/test/ |
H A D | ndtest.c | 9 #include <linux/dma-mapping.h> 147 .mapping = region0_mapping, 154 .mapping = region1_mapping, 173 .mapping = region6_mapping, 418 int i, ndimm = region->mapping[0].dimm; 430 ndr_desc->mapping = mappings; 450 ndimm = region->mapping[i].dimm; 451 mappings[i].start = region->mapping[i].start; 452 mappings[i].size = region->mapping[i].size; 453 mappings[i].position = region->mapping[ [all...] |
/linux-master/drivers/gpu/drm/ |
H A D | drm_gem.c | 459 * GEM memory mapping works by handing back to userspace a fake mmap offset 461 * up the object based on the offset and sets up the various memory mapping 485 * GEM memory mapping works by handing back to userspace a fake mmap offset 487 * up the object based on the offset and sets up the various memory mapping 524 * This uses the GFP-mask set on the shmem-mapping (see mapping_set_gfp_mask()). 539 struct address_space *mapping; local 549 mapping = obj->filp->f_mapping; 563 mapping_set_unevictable(mapping); 568 folio = shmem_read_folio_gfp(mapping, i, 569 mapping_gfp_mask(mapping)); 616 struct address_space *mapping; local [all...] |
/linux-master/fs/fuse/ |
H A D | file.c | 853 struct inode *inode = page->mapping->host; 898 struct inode *inode = page->mapping->host; 920 struct address_space *mapping = NULL; local 922 for (i = 0; mapping == NULL && i < ap->num_pages; i++) 923 mapping = ap->pages[i]->mapping; 925 if (mapping) { 926 struct inode *inode = mapping->host; 987 struct inode *inode = rac->mapping->host; 1181 struct address_space *mapping, 1180 fuse_fill_write_pages(struct fuse_io_args *ia, struct address_space *mapping, struct iov_iter *ii, loff_t pos, unsigned int max_pages) argument 1265 struct address_space *mapping = iocb->ki_filp->f_mapping; local 1401 struct address_space *mapping = file->f_mapping; local 1534 struct address_space *mapping = file->f_mapping; local 2048 struct address_space *mapping = folio->mapping; local 2345 fuse_writepages(struct address_space *mapping, struct writeback_control *wbc) argument 2389 fuse_write_begin(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, struct page **pagep, void **fsdata) argument 2433 fuse_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) argument 2734 fuse_bmap(struct address_space *mapping, sector_t block) argument [all...] |
/linux-master/fs/btrfs/ |
H A D | compression.c | 93 struct address_space *mapping, u64 start, 99 return zlib_compress_folios(ws, mapping, start, folios, 102 return lzo_compress_folios(ws, mapping, start, folios, 105 return zstd_compress_folios(ws, mapping, start, folios, 425 struct address_space *mapping = inode->i_mapping; local 456 page = xa_load(&mapping->i_pages, pg_index); 473 page = __page_cache_alloc(mapping_gfp_constraint(mapping, 478 if (add_to_page_cache_lru(page, mapping, pg_index, GFP_NOFS)) { 980 int btrfs_compress_filemap_get_folio(struct address_space *mapping, u64 start, argument 989 in_folio = filemap_get_folio(mapping, star 92 compression_compress_pages(int type, struct list_head *ws, struct address_space *mapping, u64 start, struct folio **folios, unsigned long *out_folios, unsigned long *total_in, unsigned long *total_out) argument 1022 btrfs_compress_folios(unsigned int type_level, struct address_space *mapping, u64 start, struct folio **folios, unsigned long *out_folios, unsigned long *total_in, unsigned long *total_out) argument [all...] |