Lines Matching refs:gp
935 struct grave_page *gp; in ns_parse_gravepages() local
954 gp = kzalloc(sizeof(*gp), GFP_KERNEL); in ns_parse_gravepages()
955 if (!gp) { in ns_parse_gravepages()
959 gp->page_no = page_no; in ns_parse_gravepages()
960 gp->max_reads = max_reads; in ns_parse_gravepages()
961 list_add(&gp->list, &grave_pages); in ns_parse_gravepages()
968 struct grave_page *gp; in ns_read_error() local
970 list_for_each_entry(gp, &grave_pages, list) in ns_read_error()
971 if (gp->page_no == page_no) { in ns_read_error()
972 if (gp->reads_done >= gp->max_reads) in ns_read_error()
974 gp->reads_done += 1; in ns_read_error()