/linux-3.4.99/arch/mips/cavium-octeon/executive/ |
D | cvmx-helper-util.c | 219 union cvmx_ipd_portx_bp_page_cnt page_cnt; in cvmx_helper_setup_red() local 227 page_cnt.u64 = 0; in cvmx_helper_setup_red() 228 page_cnt.s.bp_enb = 0; in cvmx_helper_setup_red() 229 page_cnt.s.page_cnt = 100; in cvmx_helper_setup_red() 234 page_cnt.u64); in cvmx_helper_setup_red()
|
/linux-3.4.99/drivers/base/ |
D | firmware_class.c | 317 int page_cnt = min_t(size_t, PAGE_SIZE - page_ofs, count); in firmware_data_read() local 321 memcpy(buffer, page_data + page_ofs, page_cnt); in firmware_data_read() 324 buffer += page_cnt; in firmware_data_read() 325 offset += page_cnt; in firmware_data_read() 326 count -= page_cnt; in firmware_data_read() 411 int page_cnt = min_t(size_t, PAGE_SIZE - page_ofs, count); in firmware_data_write() local 415 memcpy(page_data + page_ofs, buffer, page_cnt); in firmware_data_write() 418 buffer += page_cnt; in firmware_data_write() 419 offset += page_cnt; in firmware_data_write() 420 count -= page_cnt; in firmware_data_write()
|
/linux-3.4.99/net/rds/ |
D | ib_rdma.c | 375 int page_cnt, sg_dma_len; in rds_ib_map_fmr() local 387 page_cnt = 0; in rds_ib_map_fmr() 397 ++page_cnt; in rds_ib_map_fmr() 403 ++page_cnt; in rds_ib_map_fmr() 409 page_cnt += len >> PAGE_SHIFT; in rds_ib_map_fmr() 410 if (page_cnt > fmr_message_size) in rds_ib_map_fmr() 413 dma_pages = kmalloc_node(sizeof(u64) * page_cnt, GFP_ATOMIC, in rds_ib_map_fmr() 418 page_cnt = 0; in rds_ib_map_fmr() 424 dma_pages[page_cnt++] = in rds_ib_map_fmr() 429 dma_pages, page_cnt, io_addr); in rds_ib_map_fmr()
|
/linux-3.4.99/drivers/staging/crystalhd/ |
D | crystalhd_misc.c | 77 dio->page_cnt = 0; in crystalhd_free_dio() 752 dio->page_cnt = res; in crystalhd_map_dio() 757 dio->page_cnt = nr_pages; in crystalhd_map_dio() 759 crystalhd_init_sg(dio->sg, dio->page_cnt); in crystalhd_map_dio() 791 dio->page_cnt, dio->direction); in crystalhd_map_dio() 793 BCMLOG_ERR("sg map %d-%d\n", dio->sg_cnt, dio->page_cnt); in crystalhd_map_dio() 832 if ((dio->page_cnt > 0) && (dio->sig != crystalhd_dio_inv)) { in crystalhd_unmap_dio() 833 for (j = 0; j < dio->page_cnt; j++) { in crystalhd_unmap_dio() 844 pci_unmap_sg(adp->pdev, dio->sg, dio->page_cnt, dio->direction); in crystalhd_unmap_dio()
|
D | crystalhd_misc.h | 86 int page_cnt; member
|
/linux-3.4.99/drivers/staging/rts_pstor/ |
D | xd.c | 1450 u8 reg_val, page_cnt; in xd_read_multiple_pages() local 1456 page_cnt = end_page - start_page; in xd_read_multiple_pages() 1482 rtsx_add_cmd(chip, WRITE_REG_CMD, XD_PAGE_CNT, 0xFF, page_cnt); in xd_read_multiple_pages() 1486 trans_dma_enable(chip->srb->sc_data_direction, chip, page_cnt * 512, DMA_512); in xd_read_multiple_pages() 1494 retval = rtsx_transfer_data_partial(chip, XD_CARD, buf, page_cnt * 512, scsi_sg_count(chip->srb), in xd_read_multiple_pages() 1640 u8 page_cnt, reg_val; in xd_write_multiple_pages() local 1648 page_cnt = end_page - start_page; in xd_write_multiple_pages() 1668 rtsx_add_cmd(chip, WRITE_REG_CMD, XD_PAGE_CNT, 0xFF, page_cnt); in xd_write_multiple_pages() 1671 trans_dma_enable(chip->srb->sc_data_direction, chip, page_cnt * 512, DMA_512); in xd_write_multiple_pages() 1678 retval = rtsx_transfer_data_partial(chip, XD_CARD, buf, page_cnt * 512, scsi_sg_count(chip->srb), in xd_write_multiple_pages() [all …]
|
D | ms.c | 3347 u8 start_page, end_page = 0, page_cnt; in ms_rw_multi_sector() local 3457 page_cnt = end_page - start_page; in ms_rw_multi_sector() 3460 start_page, end_page, page_cnt); in ms_rw_multi_sector() 3492 total_sec_cnt -= page_cnt; in ms_rw_multi_sector() 3494 ptr += page_cnt * 512; in ms_rw_multi_sector()
|
/linux-3.4.99/drivers/staging/rts5139/ |
D | xd.c | 1580 u8 reg_val, page_cnt; in xd_read_multiple_pages() local 1586 page_cnt = end_page - start_page; in xd_read_multiple_pages() 1615 rts51x_add_cmd(chip, WRITE_REG_CMD, XD_PAGE_CNT, 0xFF, page_cnt); in xd_read_multiple_pages() 1619 trans_dma_enable(chip->srb->sc_data_direction, chip, page_cnt * 512, in xd_read_multiple_pages() 1634 ptr, offset, page_cnt * 512, in xd_read_multiple_pages() 1813 u8 page_cnt, reg_val; in xd_write_multiple_pages() local 1822 page_cnt = end_page - start_page; in xd_write_multiple_pages() 1849 rts51x_add_cmd(chip, WRITE_REG_CMD, XD_PAGE_CNT, 0xFF, page_cnt); in xd_write_multiple_pages() 1853 trans_dma_enable(chip->srb->sc_data_direction, chip, page_cnt * 512, in xd_write_multiple_pages() 1867 ptr, offset, page_cnt * 512, in xd_write_multiple_pages() [all …]
|
D | ms.c | 3054 u8 page_cnt = end_page - start_page, page_addr, sec_cnt; local 3102 (u8) page_cnt); 3106 trans_dma_enable(DMA_FROM_DEVICE, chip, 512 * page_cnt, DMA_512); 3119 ptr, offset, 512 * page_cnt, 3153 (int)page_cnt, (int)sec_cnt); 3154 page_addr = start_page + (page_cnt - sec_cnt); 3216 u8 page_cnt = end_page - start_page; local 3218 if ((end_page == (ms_card->page_off + 1)) || (page_cnt == 1)) 3269 if (page_cnt == 1) { 3304 (u8) page_cnt); [all …]
|
/linux-3.4.99/arch/mips/include/asm/octeon/ |
D | cvmx-ipd-defs.h | 522 uint64_t page_cnt:17; member 544 uint64_t page_cnt:17; member 559 uint64_t page_cnt:17; member 857 uint64_t page_cnt:25; member
|
/linux-3.4.99/fs/ubifs/ |
D | file.c | 719 int err, page_idx, page_cnt, ret = 0, n = 0; in ubifs_do_bulk_read() local 733 page_cnt = bu->blk_cnt >> UBIFS_BLOCKS_PER_PAGE_SHIFT; in ubifs_do_bulk_read() 734 if (!page_cnt) { in ubifs_do_bulk_read() 777 for (page_idx = 1; page_idx < page_cnt; page_idx++) { in ubifs_do_bulk_read()
|
/linux-3.4.99/fs/btrfs/ |
D | ioctl.c | 908 u64 page_cnt; in cluster_pages_for_defrag() local 921 page_cnt = min_t(u64, (u64)num_pages, (u64)file_end - start_index + 1); in cluster_pages_for_defrag() 924 page_cnt << PAGE_CACHE_SHIFT); in cluster_pages_for_defrag() 931 for (i = 0; i < page_cnt; i++) { in cluster_pages_for_defrag() 1007 if (i_done != page_cnt) { in cluster_pages_for_defrag() 1012 (page_cnt - i_done) << PAGE_CACHE_SHIFT); in cluster_pages_for_defrag() 1037 btrfs_delalloc_release_space(inode, page_cnt << PAGE_CACHE_SHIFT); in cluster_pages_for_defrag()
|
/linux-3.4.99/drivers/mmc/card/ |
D | mmc_test.c | 325 unsigned long page_cnt = 0; in mmc_test_alloc_mem() local 363 if (page_cnt < min_page_cnt) in mmc_test_alloc_mem() 373 page_cnt += 1UL << order; in mmc_test_alloc_mem() 375 if (page_cnt < min_page_cnt) in mmc_test_alloc_mem()
|