Lines Matching refs:pgszoob
199 (((ns)->regs.row * (ns)->geom.pgszoob) + (ns)->regs.column)
322 uint pgszoob; /* page size including OOB , bytes*/ member
563 ns->file_buf = kmalloc(ns->geom.pgszoob, GFP_KERNEL); in ns_alloc_device()
590 ns->geom.pgszoob, 0, 0, NULL); in ns_alloc_device()
659 ns->geom.pgszoob = ns->geom.pgsz + ns->geom.oobsz; in ns_init()
766 ns->buf.byte = kmalloc(ns->geom.pgszoob, GFP_KERNEL); in ns_init()
769 ns->geom.pgszoob); in ns_init()
773 memset(ns->buf.byte, 0xFF, ns->geom.pgszoob); in ns_init()
1512 memset(ns->file_buf, 0xff, ns->geom.pgszoob); in ns_prog_page()
1524 loff_t pos = (loff_t)ns->regs.row * ns->geom.pgszoob; in ns_prog_page()
1526 ns->geom.pgszoob, pos); in ns_prog_page()
1527 if (tx != ns->geom.pgszoob) { in ns_prog_page()
1556 memset(mypage->byte, 0xFF, ns->geom.pgszoob); in ns_prog_page()
1593 if (ns->regs.column >= (ns->geom.pgszoob - ns->regs.off)) { in ns_do_state_action()
1597 num = ns->geom.pgszoob - NS_PAGE_BYTE_SHIFT(ns); in ns_do_state_action()
1665 num = ns->geom.pgszoob - NS_PAGE_BYTE_SHIFT(ns); in ns_do_state_action()
1809 ns->regs.num = ns->geom.pgszoob - NS_PAGE_BYTE_SHIFT(ns); in ns_switch_state()