Searched refs:dir_size (Results 1 – 3 of 3) sorted by relevance
637 size_t dir_size; in fw_cfg_register_dir_entries() local645 dir_size = count * sizeof(struct fw_cfg_file); in fw_cfg_register_dir_entries()647 dir = kmalloc(dir_size, GFP_KERNEL); in fw_cfg_register_dir_entries()652 sizeof(files_count), dir_size); in fw_cfg_register_dir_entries()
195 #define MAX_TABLE_ENTRIES(dir_size) \ argument196 (((dir_size) - sizeof(struct hfi1_eprom_footer)) / \
154 size_t dir_size; in dso__read_binary_type_filename() local161 dir_size = last_slash - dso->long_name + 2; in dso__read_binary_type_filename()162 if (dir_size > (size - len)) { in dso__read_binary_type_filename()166 len += scnprintf(filename + len, dir_size, "%s", dso->long_name); in dso__read_binary_type_filename()