volume_id: add FAST_FUNC where appropriate
function old new delta volume_id_probe_iso9660 324 327 +3 volume_id_probe_vfat 902 903 +1 volume_id_probe_udf 576 577 +1 volume_id_probe_ntfs 314 315 +1 uuidcache_check_device 292 291 -1 volume_id_probe_xfs 87 85 -2 volume_id_probe_sysv 165 163 -2 volume_id_probe_romfs 89 87 -2 volume_id_probe_reiserfs 236 234 -2 volume_id_probe_ocfs2 96 94 -2 volume_id_probe_luks 78 76 -2 volume_id_probe_linux_swap 165 163 -2 volume_id_probe_jfs 96 94 -2 volume_id_probe_hfs_hfsplus 795 793 -2 volume_id_probe_ext 82 80 -2 volume_id_probe_cramfs 59 57 -2 volume_id_probe_btrfs 96 94 -2 free_volume_id 36 31 -5 volume_id_probe_linux_raid 127 119 -8 volume_id_probe_all 152 138 -14 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/16 up/down: 6/-52) Total: -46 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
		@@ -83,9 +83,9 @@ struct volume_id {
 | 
			
		||||
//	const char	*type;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
struct volume_id *volume_id_open_node(int fd);
 | 
			
		||||
int volume_id_probe_all(struct volume_id *id, /*uint64_t off,*/ uint64_t size);
 | 
			
		||||
void free_volume_id(struct volume_id *id);
 | 
			
		||||
struct volume_id* FAST_FUNC volume_id_open_node(int fd);
 | 
			
		||||
int FAST_FUNC volume_id_probe_all(struct volume_id *id, /*uint64_t off,*/ uint64_t size);
 | 
			
		||||
void FAST_FUNC free_volume_id(struct volume_id *id);
 | 
			
		||||
 | 
			
		||||
/* util.h */
 | 
			
		||||
 | 
			
		||||
@@ -162,68 +162,68 @@ void volume_id_free_buffer(struct volume_id *id);
 | 
			
		||||
 | 
			
		||||
/* RAID */
 | 
			
		||||
 | 
			
		||||
//int volume_id_probe_highpoint_37x_raid(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
//int volume_id_probe_highpoint_45x_raid(struct volume_id *id /*,uint64_t off*/, uint64_t size);
 | 
			
		||||
//int FAST_FUNC volume_id_probe_highpoint_37x_raid(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
//int FAST_FUNC volume_id_probe_highpoint_45x_raid(struct volume_id *id /*,uint64_t off*/, uint64_t size);
 | 
			
		||||
 | 
			
		||||
//int volume_id_probe_intel_software_raid(struct volume_id *id /*,uint64_t off*/, uint64_t size);
 | 
			
		||||
//int FAST_FUNC volume_id_probe_intel_software_raid(struct volume_id *id /*,uint64_t off*/, uint64_t size);
 | 
			
		||||
 | 
			
		||||
int volume_id_probe_linux_raid(struct volume_id *id /*,uint64_t off*/, uint64_t size);
 | 
			
		||||
int FAST_FUNC volume_id_probe_linux_raid(struct volume_id *id /*,uint64_t off*/, uint64_t size);
 | 
			
		||||
 | 
			
		||||
//int volume_id_probe_lsi_mega_raid(struct volume_id *id /*,uint64_t off*/, uint64_t size);
 | 
			
		||||
//int FAST_FUNC volume_id_probe_lsi_mega_raid(struct volume_id *id /*,uint64_t off*/, uint64_t size);
 | 
			
		||||
 | 
			
		||||
//int volume_id_probe_nvidia_raid(struct volume_id *id /*,uint64_t off*/, uint64_t size);
 | 
			
		||||
//int FAST_FUNC volume_id_probe_nvidia_raid(struct volume_id *id /*,uint64_t off*/, uint64_t size);
 | 
			
		||||
 | 
			
		||||
//int volume_id_probe_promise_fasttrack_raid(struct volume_id *id /*,uint64_t off*/, uint64_t size);
 | 
			
		||||
//int FAST_FUNC volume_id_probe_promise_fasttrack_raid(struct volume_id *id /*,uint64_t off*/, uint64_t size);
 | 
			
		||||
 | 
			
		||||
//int volume_id_probe_silicon_medley_raid(struct volume_id *id /*,uint64_t off*/, uint64_t size);
 | 
			
		||||
//int FAST_FUNC volume_id_probe_silicon_medley_raid(struct volume_id *id /*,uint64_t off*/, uint64_t size);
 | 
			
		||||
 | 
			
		||||
//int volume_id_probe_via_raid(struct volume_id *id /*,uint64_t off*/, uint64_t size);
 | 
			
		||||
//int FAST_FUNC volume_id_probe_via_raid(struct volume_id *id /*,uint64_t off*/, uint64_t size);
 | 
			
		||||
 | 
			
		||||
//int volume_id_probe_lvm1(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
//int volume_id_probe_lvm2(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
//int FAST_FUNC volume_id_probe_lvm1(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
//int FAST_FUNC volume_id_probe_lvm2(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
 | 
			
		||||
/* FS */
 | 
			
		||||
 | 
			
		||||
int volume_id_probe_btrfs(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
int FAST_FUNC volume_id_probe_btrfs(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
 | 
			
		||||
int volume_id_probe_cramfs(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
int FAST_FUNC volume_id_probe_cramfs(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
 | 
			
		||||
int volume_id_probe_ext(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
int FAST_FUNC volume_id_probe_ext(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
 | 
			
		||||
int volume_id_probe_vfat(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
int FAST_FUNC volume_id_probe_vfat(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
 | 
			
		||||
int volume_id_probe_hfs_hfsplus(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
int FAST_FUNC volume_id_probe_hfs_hfsplus(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
 | 
			
		||||
//int volume_id_probe_hpfs(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
//int FAST_FUNC volume_id_probe_hpfs(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
 | 
			
		||||
int volume_id_probe_iso9660(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
int FAST_FUNC volume_id_probe_iso9660(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
 | 
			
		||||
int volume_id_probe_jfs(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
int FAST_FUNC volume_id_probe_jfs(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
 | 
			
		||||
int volume_id_probe_linux_swap(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
int FAST_FUNC volume_id_probe_linux_swap(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
 | 
			
		||||
int volume_id_probe_luks(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
int FAST_FUNC volume_id_probe_luks(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
 | 
			
		||||
//int volume_id_probe_mac_partition_map(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
//int FAST_FUNC volume_id_probe_mac_partition_map(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
 | 
			
		||||
//int volume_id_probe_minix(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
//int FAST_FUNC volume_id_probe_minix(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
 | 
			
		||||
//int volume_id_probe_msdos_part_table(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
//int FAST_FUNC volume_id_probe_msdos_part_table(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
 | 
			
		||||
int volume_id_probe_ntfs(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
int FAST_FUNC volume_id_probe_ntfs(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
 | 
			
		||||
int volume_id_probe_ocfs2(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
int FAST_FUNC volume_id_probe_ocfs2(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
 | 
			
		||||
int volume_id_probe_reiserfs(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
int FAST_FUNC volume_id_probe_reiserfs(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
 | 
			
		||||
int volume_id_probe_romfs(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
int FAST_FUNC volume_id_probe_romfs(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
 | 
			
		||||
int volume_id_probe_sysv(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
int FAST_FUNC volume_id_probe_sysv(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
 | 
			
		||||
int volume_id_probe_udf(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
int FAST_FUNC volume_id_probe_udf(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
 | 
			
		||||
//int volume_id_probe_ufs(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
//int FAST_FUNC volume_id_probe_ufs(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
 | 
			
		||||
int volume_id_probe_xfs(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
int FAST_FUNC volume_id_probe_xfs(struct volume_id *id /*,uint64_t off*/);
 | 
			
		||||
 | 
			
		||||
POP_SAVED_FUNCTION_VISIBILITY
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user