Lines Matching refs:idx
264 u16 nr_clients, idx; in ntfs_check_log_client_array() local
280 idx = le16_to_cpu(ra->client_free_list); in ntfs_check_log_client_array()
283 for (idx_is_first = true; idx != LOGFILE_NO_CLIENT_CPU; nr_clients--, in ntfs_check_log_client_array()
284 idx = le16_to_cpu(cr->next_client)) { in ntfs_check_log_client_array()
285 if (!nr_clients || idx >= le16_to_cpu(ra->log_clients)) in ntfs_check_log_client_array()
288 cr = ca + idx; in ntfs_check_log_client_array()
299 idx = le16_to_cpu(ra->client_in_use_list); in ntfs_check_log_client_array()
375 pgoff_t idx; in ntfs_check_and_load_restart_page() local
384 idx = (pos + size) >> PAGE_SHIFT; in ntfs_check_and_load_restart_page()
387 page = ntfs_map_page(vi->i_mapping, idx); in ntfs_check_and_load_restart_page()
390 "page (index %lu).", idx); in ntfs_check_and_load_restart_page()
401 idx++; in ntfs_check_and_load_restart_page()
529 pgoff_t idx = pos >> PAGE_SHIFT; in ntfs_check_logfile() local
530 if (!page || page->index != idx) { in ntfs_check_logfile()
533 page = ntfs_map_page(mapping, idx); in ntfs_check_logfile()
536 "page (index %lu).", idx); in ntfs_check_logfile()