Lines Matching refs:lseg
194 struct pnfs_block_layout *bl = BLK_LSEG2EXT(header->lseg); in bl_mark_devices_unavailable()
224 pnfs_set_lo_fail(header->lseg); in bl_end_io_read()
255 struct pnfs_block_layout *bl = BLK_LSEG2EXT(header->lseg); in bl_read_pagelist()
354 pnfs_set_lo_fail(header->lseg); in bl_end_io_write()
373 struct pnfs_block_layout *bl = BLK_LSEG2EXT(hdr->lseg); in bl_write_cleanup()
400 struct pnfs_block_layout *bl = BLK_LSEG2EXT(header->lseg); in bl_write_pagelist()
512 static void bl_free_lseg(struct pnfs_layout_segment *lseg) in bl_free_lseg() argument
515 kfree(lseg); in bl_free_lseg()
678 struct pnfs_layout_segment *lseg; in bl_alloc_lseg() local
689 lseg = kzalloc(sizeof(*lseg), gfp_mask); in bl_alloc_lseg()
690 if (!lseg) in bl_alloc_lseg()
755 set_bit(NFS_LSEG_UNAVAILABLE, &lseg->pls_flags); in bl_alloc_lseg()
758 return lseg; in bl_alloc_lseg()
760 kfree(lseg); in bl_alloc_lseg()