Lines Matching refs:lseg
171 struct pnfs_block_layout *bl = BLK_LSEG2EXT(header->lseg); in bl_mark_devices_unavailable()
201 pnfs_set_lo_fail(header->lseg); in bl_end_io_read()
232 struct pnfs_block_layout *bl = BLK_LSEG2EXT(header->lseg); in bl_read_pagelist()
331 pnfs_set_lo_fail(header->lseg); in bl_end_io_write()
350 struct pnfs_block_layout *bl = BLK_LSEG2EXT(hdr->lseg); in bl_write_cleanup()
377 struct pnfs_block_layout *bl = BLK_LSEG2EXT(header->lseg); in bl_write_pagelist()
488 static void bl_free_lseg(struct pnfs_layout_segment *lseg) in bl_free_lseg() argument
491 kfree(lseg); in bl_free_lseg()
654 struct pnfs_layout_segment *lseg; in bl_alloc_lseg() local
665 lseg = kzalloc(sizeof(*lseg), gfp_mask); in bl_alloc_lseg()
666 if (!lseg) in bl_alloc_lseg()
731 set_bit(NFS_LSEG_UNAVAILABLE, &lseg->pls_flags); in bl_alloc_lseg()
734 return lseg; in bl_alloc_lseg()
736 kfree(lseg); in bl_alloc_lseg()