Searched refs:handlers (Results 1 – 5 of 5) sorted by relevance
/fs/ext4/ |
D | fsmap.c | 628 struct ext4_getfsmap_dev handlers[EXT4_GETFSMAP_DEVS]; in ext4_getfsmap() local 642 memset(handlers, 0, sizeof(handlers)); in ext4_getfsmap() 643 handlers[0].gfd_dev = new_encode_dev(sb->s_bdev->bd_dev); in ext4_getfsmap() 644 handlers[0].gfd_fn = ext4_getfsmap_datadev; in ext4_getfsmap() 646 handlers[1].gfd_dev = new_encode_dev( in ext4_getfsmap() 648 handlers[1].gfd_fn = ext4_getfsmap_logdev; in ext4_getfsmap() 651 sort(handlers, EXT4_GETFSMAP_DEVS, sizeof(struct ext4_getfsmap_dev), in ext4_getfsmap() 683 if (!handlers[i].gfd_fn) in ext4_getfsmap() 685 if (head->fmh_keys[0].fmr_device > handlers[i].gfd_dev) in ext4_getfsmap() 687 if (head->fmh_keys[1].fmr_device < handlers[i].gfd_dev) in ext4_getfsmap() [all …]
|
/fs/xfs/ |
D | xfs_fsmap.c | 823 struct xfs_getfsmap_dev handlers[XFS_GETFSMAP_DEVS]; in xfs_getfsmap() local 840 memset(handlers, 0, sizeof(handlers)); in xfs_getfsmap() 841 handlers[0].dev = new_encode_dev(mp->m_ddev_targp->bt_dev); in xfs_getfsmap() 843 handlers[0].fn = xfs_getfsmap_datadev_rmapbt; in xfs_getfsmap() 845 handlers[0].fn = xfs_getfsmap_datadev_bnobt; in xfs_getfsmap() 847 handlers[1].dev = new_encode_dev(mp->m_logdev_targp->bt_dev); in xfs_getfsmap() 848 handlers[1].fn = xfs_getfsmap_logdev; in xfs_getfsmap() 852 handlers[2].dev = new_encode_dev(mp->m_rtdev_targp->bt_dev); in xfs_getfsmap() 853 handlers[2].fn = xfs_getfsmap_rtdev_rtbitmap; in xfs_getfsmap() 857 xfs_sort(handlers, XFS_GETFSMAP_DEVS, sizeof(struct xfs_getfsmap_dev), in xfs_getfsmap() [all …]
|
/fs/btrfs/ |
D | props.c | 39 const struct hlist_head *handlers) in find_prop_handler() argument 43 if (!handlers) { in find_prop_handler() 46 handlers = find_prop_handlers_by_hash(hash); in find_prop_handler() 47 if (!handlers) in find_prop_handler() 51 hlist_for_each_entry(h, handlers, node) in find_prop_handler() 135 const struct hlist_head *handlers; in iterate_object_props() local 155 handlers = find_prop_handlers_by_hash(key.offset); in iterate_object_props() 156 if (!handlers) in iterate_object_props() 191 handler = find_prop_handler(name_buf, handlers); in iterate_object_props()
|
/fs/ |
D | xattr.c | 44 #define for_each_xattr_handler(handlers, handler) \ argument 45 if (handlers) \ 46 for ((handler) = *(handlers)++; \ 48 (handler) = *(handlers)++) 56 const struct xattr_handler **handlers = inode->i_sb->s_xattr; in xattr_resolve_name() local 64 for_each_xattr_handler(handlers, handler) { in xattr_resolve_name() 752 const struct xattr_handler *handler, **handlers = dentry->d_sb->s_xattr; in generic_listxattr() local 756 for_each_xattr_handler(handlers, handler) { in generic_listxattr() 766 for_each_xattr_handler(handlers, handler) { in generic_listxattr()
|
/fs/reiserfs/ |
D | xattr.c | 768 #define for_each_xattr_handler(handlers, handler) \ argument 769 for ((handler) = *(handlers)++; \ 771 (handler) = *(handlers)++) 775 find_xattr_handler_prefix(const struct xattr_handler **handlers, in find_xattr_handler_prefix() argument 780 if (!handlers) in find_xattr_handler_prefix() 783 for_each_xattr_handler(handlers, xah) { in find_xattr_handler_prefix()
|