Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/hfi1/
Deprom.c261 u32 directory_size; in read_segment_platform_config() local
283 directory_size = DIRECTORY_SIZE(footer->num_table_entries); in read_segment_platform_config()
284 if (directory_size <= EP_PAGE_SIZE) { in read_segment_platform_config()
287 (directory + EP_PAGE_SIZE - directory_size); in read_segment_platform_config()
290 table_buffer = kmalloc(directory_size, GFP_KERNEL); in read_segment_platform_config()
293 ret = read_length(dd, SEG_SIZE - directory_size, in read_segment_platform_config()
294 directory_size, table_buffer); in read_segment_platform_config()
356 if (bytes_available <= directory_size) { in read_segment_platform_config()
363 bytes_available -= directory_size; in read_segment_platform_config()