Lines Matching full:handlers
64 /* Compare two getfsmap device handlers. */
634 struct ext4_getfsmap_dev handlers[EXT4_GETFSMAP_DEVS]; in ext4_getfsmap() local
647 /* Set up our device handlers. */ in ext4_getfsmap()
648 memset(handlers, 0, sizeof(handlers)); in ext4_getfsmap()
649 handlers[0].gfd_dev = new_encode_dev(sb->s_bdev->bd_dev); in ext4_getfsmap()
650 handlers[0].gfd_fn = ext4_getfsmap_datadev; in ext4_getfsmap()
652 handlers[1].gfd_dev = new_encode_dev( in ext4_getfsmap()
654 handlers[1].gfd_fn = ext4_getfsmap_logdev; in ext4_getfsmap()
657 sort(handlers, EXT4_GETFSMAP_DEVS, sizeof(struct ext4_getfsmap_dev), in ext4_getfsmap()
689 if (!handlers[i].gfd_fn) in ext4_getfsmap()
691 if (head->fmh_keys[0].fmr_device > handlers[i].gfd_dev) in ext4_getfsmap()
693 if (head->fmh_keys[1].fmr_device < handlers[i].gfd_dev) in ext4_getfsmap()
703 if (handlers[i].gfd_dev == head->fmh_keys[1].fmr_device) in ext4_getfsmap()
705 if (handlers[i].gfd_dev > head->fmh_keys[0].fmr_device) in ext4_getfsmap()
708 info.gfi_dev = handlers[i].gfd_dev; in ext4_getfsmap()
711 error = handlers[i].gfd_fn(sb, dkeys, &info); in ext4_getfsmap()