/linux-6.6.21/fs/minix/ |
D | namei.c | 205 struct page * new_page; in minix_rename() local 213 new_de = minix_find_entry(new_dentry, &new_page); in minix_rename() 216 err = minix_set_link(new_de, new_page, old_inode); in minix_rename() 217 kunmap(new_page); in minix_rename() 218 put_page(new_page); in minix_rename()
|
/linux-6.6.21/fs/sysv/ |
D | namei.c | 218 struct page * new_page; in sysv_rename() local 226 new_de = sysv_find_entry(new_dentry, &new_page); in sysv_rename() 229 err = sysv_set_link(new_de, new_page, old_inode); in sysv_rename() 230 unmap_and_put_page(new_page, new_de); in sysv_rename()
|
/linux-6.6.21/arch/s390/mm/ |
D | vmem.c | 178 void *new_page = vmemmap_alloc_block(PAGE_SIZE, NUMA_NO_NODE); in modify_pte_table() local 180 if (!new_page) in modify_pte_table() 182 set_pte(pte, __pte(__pa(new_page) | prot)); in modify_pte_table() 254 void *new_page; in modify_pmd_table() local 263 new_page = vmemmap_alloc_block(PMD_SIZE, NUMA_NO_NODE); in modify_pmd_table() 264 if (new_page) { in modify_pmd_table() 265 set_pmd(pmd, __pmd(__pa(new_page) | prot)); in modify_pmd_table()
|
/linux-6.6.21/kernel/events/ |
D | uprobes.c | 154 struct page *old_page, struct page *new_page) in __replace_page() argument 166 if (new_page) { in __replace_page() 167 new_folio = page_folio(new_page); in __replace_page() 182 if (new_page) { in __replace_page() 184 page_add_new_anon_rmap(new_page, vma, addr); in __replace_page() 197 if (new_page) in __replace_page() 199 mk_pte(new_page, vma->vm_page_prot)); in __replace_page() 463 struct page *old_page, *new_page; in uprobe_write_opcode() local 508 new_page = alloc_page_vma(GFP_HIGHUSER_MOVABLE, vma, vaddr); in uprobe_write_opcode() 509 if (!new_page) in uprobe_write_opcode() [all …]
|
/linux-6.6.21/fs/f2fs/ |
D | namei.c | 962 struct page *old_page, *new_page = NULL; in f2fs_rename() local 1037 &new_page); in f2fs_rename() 1039 if (IS_ERR(new_page)) in f2fs_rename() 1040 err = PTR_ERR(new_page); in f2fs_rename() 1052 f2fs_set_link(new_dir, new_entry, new_page, old_inode); in f2fs_rename() 1053 new_page = NULL; in f2fs_rename() 1133 f2fs_put_page(new_page, 0); in f2fs_rename() 1151 struct page *old_page, *new_page; in f2fs_cross_rename() local 1186 new_entry = f2fs_find_entry(new_dir, &new_dentry->d_name, &new_page); in f2fs_cross_rename() 1188 if (IS_ERR(new_page)) in f2fs_cross_rename() [all …]
|
/linux-6.6.21/fs/ext2/ |
D | namei.c | 353 struct page *new_page; in ext2_rename() local 361 &new_page); in ext2_rename() 366 err = ext2_set_link(new_dir, new_de, new_page, old_inode, true); in ext2_rename() 367 ext2_put_page(new_page, new_de); in ext2_rename()
|
/linux-6.6.21/fs/ufs/ |
D | namei.c | 273 struct page *new_page; in ufs_rename() local 281 new_de = ufs_find_entry(new_dir, &new_dentry->d_name, &new_page); in ufs_rename() 284 ufs_set_link(new_dir, new_de, new_page, old_inode, 1); in ufs_rename()
|
/linux-6.6.21/fs/ubifs/ |
D | budget.c | 363 znodes = req->new_ino + (req->new_page << UBIFS_BLOCKS_PER_PAGE_SHIFT) + in calc_idx_growth() 380 if (req->new_page) in calc_data_growth() 426 ubifs_assert(c, req->new_page <= 1); in ubifs_budget_space() 513 ubifs_assert(c, req->new_page <= 1); in ubifs_release_budget()
|
D | file.c | 198 struct ubifs_budget_req req = { .recalculate = 1, .new_page = 1 }; in release_new_page_budget() 223 struct ubifs_budget_req req = { .new_page = 1 }; in write_begin_slow() 364 req.new_page = 1; in allocate_budget() 1504 struct ubifs_budget_req req = { .new_page = 1 }; in ubifs_vm_page_mkwrite()
|
D | ubifs.h | 897 unsigned int new_page:1; member 907 unsigned int new_page; member
|
D | debug.c | 591 req->new_page, req->dirtied_page); in ubifs_dump_budget_req()
|
/linux-6.6.21/mm/ |
D | ksm.c | 2798 struct page *new_page; in ksm_might_need_to_copy() local 2815 new_page = alloc_page_vma(GFP_HIGHUSER_MOVABLE, vma, address); in ksm_might_need_to_copy() 2816 if (new_page && in ksm_might_need_to_copy() 2817 mem_cgroup_charge(page_folio(new_page), vma->vm_mm, GFP_KERNEL)) { in ksm_might_need_to_copy() 2818 put_page(new_page); in ksm_might_need_to_copy() 2819 new_page = NULL; in ksm_might_need_to_copy() 2821 if (new_page) { in ksm_might_need_to_copy() 2822 if (copy_mc_user_highpage(new_page, page, address, vma)) { in ksm_might_need_to_copy() 2823 put_page(new_page); in ksm_might_need_to_copy() 2827 SetPageDirty(new_page); in ksm_might_need_to_copy() [all …]
|
/linux-6.6.21/drivers/net/ethernet/ti/ |
D | cpsw.c | 346 struct page *new_page, *page = token; in cpsw_rx_handler() local 378 new_page = page; in cpsw_rx_handler() 387 new_page = page_pool_dev_alloc_pages(pool); in cpsw_rx_handler() 388 if (unlikely(!new_page)) { in cpsw_rx_handler() 389 new_page = page; in cpsw_rx_handler() 441 xmeta = page_address(new_page) + CPSW_XMETA_OFFSET; in cpsw_rx_handler() 445 dma = page_pool_get_dma_addr(new_page) + CPSW_HEADROOM_NA; in cpsw_rx_handler() 446 ret = cpdma_chan_submit_mapped(cpsw->rxv[ch].ch, new_page, dma, in cpsw_rx_handler() 450 page_pool_recycle_direct(pool, new_page); in cpsw_rx_handler()
|
D | cpsw_new.c | 285 struct page *new_page, *page = token; in cpsw_rx_handler() local 323 new_page = page; in cpsw_rx_handler() 332 new_page = page_pool_dev_alloc_pages(pool); in cpsw_rx_handler() 333 if (unlikely(!new_page)) { in cpsw_rx_handler() 334 new_page = page; in cpsw_rx_handler() 386 xmeta = page_address(new_page) + CPSW_XMETA_OFFSET; in cpsw_rx_handler() 390 dma = page_pool_get_dma_addr(new_page) + CPSW_HEADROOM_NA; in cpsw_rx_handler() 391 ret = cpdma_chan_submit_mapped(cpsw->rxv[ch].ch, new_page, dma, in cpsw_rx_handler() 395 page_pool_recycle_direct(pool, new_page); in cpsw_rx_handler()
|
/linux-6.6.21/fs/nilfs2/ |
D | namei.c | 377 struct page *new_page; in nilfs_rename() local 385 new_de = nilfs_find_entry(new_dir, &new_dentry->d_name, &new_page); in nilfs_rename() 388 nilfs_set_link(new_dir, new_de, new_page, old_inode); in nilfs_rename()
|
/linux-6.6.21/drivers/tty/serial/ |
D | icom.c | 607 unsigned char *new_page = NULL; in load_code() local 680 new_page = dma_alloc_coherent(&dev->dev, 4096, &temp_pci, GFP_KERNEL); in load_code() 682 if (!new_page) { in load_code() 702 new_page[index] = fw->data[index]; in load_code() 759 if (new_page != NULL) in load_code() 760 dma_free_coherent(&dev->dev, 4096, new_page, temp_pci); in load_code()
|
/linux-6.6.21/Documentation/networking/ |
D | page_pool.rst | 165 new_page = page_pool_dev_alloc_pages(page_pool);
|
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/fw/ |
D | dbg.c | 569 struct page *new_page; in alloc_sgtable() local 580 new_page = alloc_page(GFP_KERNEL); in alloc_sgtable() 581 if (!new_page) { in alloc_sgtable() 585 new_page = sg_page(iter); in alloc_sgtable() 586 if (new_page) in alloc_sgtable() 587 __free_page(new_page); in alloc_sgtable() 594 sg_set_page(iter, new_page, alloc_size, 0); in alloc_sgtable()
|
/linux-6.6.21/drivers/staging/rts5208/ |
D | xd.c | 1095 u32 old_page, new_page; in xd_copy_page() local 1109 new_page = (new_blk << xd_card->block_shift) + start_page; in xd_copy_page() 1178 xd_assign_phy_addr(chip, new_page, XD_RW_ADDR); in xd_copy_page() 1201 new_page++; in xd_copy_page()
|
/linux-6.6.21/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 1527 struct page *new_page = NULL; in vmxnet3_rq_rx_complete() local 1723 new_page = alloc_page(GFP_ATOMIC); in vmxnet3_rq_rx_complete() 1729 if (unlikely(!new_page)) { in vmxnet3_rq_rx_complete() 1737 new_page, in vmxnet3_rq_rx_complete() 1742 put_page(new_page); in vmxnet3_rq_rx_complete() 1757 rbi->page = new_page; in vmxnet3_rq_rx_complete()
|
/linux-6.6.21/drivers/net/ethernet/freescale/ |
D | fec_main.c | 1547 struct page *new_page; in fec_enet_update_cbd() local 1550 new_page = page_pool_dev_alloc_pages(rxq->page_pool); in fec_enet_update_cbd() 1551 WARN_ON(!new_page); in fec_enet_update_cbd() 1552 rxq->rx_skb_info[index].page = new_page; in fec_enet_update_cbd() 1555 phys_addr = page_pool_get_dma_addr(new_page) + FEC_ENET_XDP_HEADROOM; in fec_enet_update_cbd()
|