Lines Matching refs:tune2fs_dict
134 tune2fs_dict = {}
141 tune2fs_dict[option] = int(value)
143 tune2fs_dict[option] = value
145 return tune2fs_dict
148 def ext_mkfs_options(tune2fs_dict, mkfs_option): argument
187 if key not in tune2fs_dict:
190 mkfs_option[value] = conversions[key](tune2fs_dict, key)
192 mkfs_option[value] = tune2fs_dict[key]
221 tune2fs_dict = {}
236 tune2fs_dict['naming: version'] = pair
246 tune2fs_dict[tagged_key] = int(value.rstrip(','))
248 tune2fs_dict[tagged_key] = value.rstrip(',')
250 return tune2fs_dict
253 def xfs_mkfs_options(tune2fs_dict, mkfs_option): argument
276 mkfs_option['-l size'] = tune2fs_dict['log: bsize'] * (
277 tune2fs_dict['log: blocks'])
280 mkfs_option[value] = tune2fs_dict[key]
330 tune2fs_dict = ext_tunables(dev)
331 ext_mkfs_options(tune2fs_dict, current_opt)