Home
last modified time | relevance | path

Searched refs:dir_size (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/firmware/
Dqemu_fw_cfg.c637 size_t dir_size; in fw_cfg_register_dir_entries() local
645 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()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Deprom.c195 #define MAX_TABLE_ENTRIES(dir_size) \ argument
196 (((dir_size) - sizeof(struct hfi1_eprom_footer)) / \
/linux-6.1.9/tools/perf/util/
Ddso.c154 size_t dir_size; in dso__read_binary_type_filename() local
161 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()