Lines Matching refs:handlers
633 struct ext4_getfsmap_dev handlers[EXT4_GETFSMAP_DEVS]; in ext4_getfsmap() local
647 memset(handlers, 0, sizeof(handlers)); in ext4_getfsmap()
648 handlers[0].gfd_dev = new_encode_dev(sb->s_bdev->bd_dev); in ext4_getfsmap()
649 handlers[0].gfd_fn = ext4_getfsmap_datadev; in ext4_getfsmap()
651 handlers[1].gfd_dev = new_encode_dev( in ext4_getfsmap()
653 handlers[1].gfd_fn = ext4_getfsmap_logdev; in ext4_getfsmap()
656 sort(handlers, EXT4_GETFSMAP_DEVS, sizeof(struct ext4_getfsmap_dev), in ext4_getfsmap()
688 if (!handlers[i].gfd_fn) in ext4_getfsmap()
690 if (head->fmh_keys[0].fmr_device > handlers[i].gfd_dev) in ext4_getfsmap()
692 if (head->fmh_keys[1].fmr_device < handlers[i].gfd_dev) in ext4_getfsmap()
702 if (handlers[i].gfd_dev == head->fmh_keys[1].fmr_device) in ext4_getfsmap()
704 if (handlers[i].gfd_dev > head->fmh_keys[0].fmr_device) in ext4_getfsmap()
707 info.gfi_dev = handlers[i].gfd_dev; in ext4_getfsmap()
710 error = handlers[i].gfd_fn(sb, dkeys, &info); in ext4_getfsmap()