Lines Matching refs:global_ft
30 static struct ksmbd_file_table global_ft; variable
283 write_lock(&global_ft.lock); in __ksmbd_remove_durable_fd()
284 idr_remove(global_ft.idr, fp->persistent_id); in __ksmbd_remove_durable_fd()
285 write_unlock(&global_ft.lock); in __ksmbd_remove_durable_fd()
472 return __ksmbd_lookup_fd(&global_ft, id); in ksmbd_lookup_global_fd()
479 fp = __ksmbd_lookup_fd(&global_ft, id); in ksmbd_lookup_durable_fd()
501 read_lock(&global_ft.lock); in ksmbd_lookup_fd_cguid()
502 idr_for_each_entry(global_ft.idr, fp, id) { in ksmbd_lookup_fd_cguid()
510 read_unlock(&global_ft.lock); in ksmbd_lookup_fd_cguid()
582 __open_id(&global_ft, fp, OPEN_ID_TYPE_PERSISTENT_ID); in ksmbd_open_durable_fd()
746 return ksmbd_init_file_table(&global_ft); in ksmbd_init_global_file_table()
754 idr_for_each_entry(global_ft.idr, fp, id) { in ksmbd_free_global_file_table()
759 ksmbd_destroy_file_table(&global_ft); in ksmbd_free_global_file_table()