Searched refs:spp (Results 1 – 2 of 2) sorted by relevance
509 unsigned int spp = reg->hr_slots_per_page; in o2hb_setup_one_bio() local532 current_page = cs / spp; in o2hb_setup_one_bio()536 (max_slots-cs) * (PAGE_SIZE/spp) ); in o2hb_setup_one_bio()544 cs += vec_len / (PAGE_SIZE/spp); in o2hb_setup_one_bio()1663 unsigned int spp = reg->hr_slots_per_page; in o2hb_map_slot_data() local1684 reg->hr_num_pages = (reg->hr_blocks + spp - 1) / spp; in o2hb_map_slot_data()1687 reg->hr_num_pages, reg->hr_blocks, spp); in o2hb_map_slot_data()1701 last_slot = i * spp; in o2hb_map_slot_data()1704 (j < spp) && ((j + last_slot) < reg->hr_blocks); in o2hb_map_slot_data()
230 struct scrub_page_private *spp; in attach_scrub_page_private()232 spp = kmalloc(sizeof(*spp), GFP_KERNEL); in attach_scrub_page_private()233 if (!spp) in attach_scrub_page_private()235 spp->logical = logical; in attach_scrub_page_private()236 attach_page_private(page, (void *)spp); in attach_scrub_page_private()247 struct scrub_page_private *spp; in detach_scrub_page_private()249 spp = detach_page_private(page); in detach_scrub_page_private()250 kfree(spp); in detach_scrub_page_private()