Home
last modified time | relevance | path

Searched refs:schp (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/scsi/
H A Dsg.c183 static int sg_build_indirect(Sg_scatter_hold * schp, Sg_fd * sfp, int buff_size);
192 static void sg_remove_scat(Sg_fd * sfp, Sg_scatter_hold * schp);
1851 sg_build_sgat(Sg_scatter_hold * schp, const Sg_fd * sfp, int tablesize) in sg_build_sgat() argument
1856 schp->pages = kzalloc(sg_bufflen, gfp_flags); in sg_build_sgat()
1857 if (!schp->pages) in sg_build_sgat()
1859 schp->sglist_len = sg_bufflen; in sg_build_sgat()
1864 sg_build_indirect(Sg_scatter_hold * schp, Sg_fd * sfp, int buff_size) in sg_build_indirect() argument
1882 mx_sc_elems = sg_build_sgat(schp, sfp, sg_tablesize); in sg_build_indirect()
1905 schp->pages[k] = alloc_pages(gfp_mask, order); in sg_build_indirect()
1906 if (!schp->pages[k]) in sg_build_indirect()
[all …]