Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/hfi1/
Deprom.c302 u32 directory_size; in read_segment_platform_config() local
324 directory_size = DIRECTORY_SIZE(footer->num_table_entries); in read_segment_platform_config()
325 if (directory_size <= EP_PAGE_SIZE) { in read_segment_platform_config()
328 (directory + EP_PAGE_SIZE - directory_size); in read_segment_platform_config()
331 table_buffer = kmalloc(directory_size, GFP_KERNEL); in read_segment_platform_config()
334 ret = read_length(dd, SEG_SIZE - directory_size, in read_segment_platform_config()
335 directory_size, table_buffer); in read_segment_platform_config()
397 if (bytes_available <= directory_size) { in read_segment_platform_config()
404 bytes_available -= directory_size; in read_segment_platform_config()