Lines Matching refs:mut

75 	struct mutex		mut;  member
125 static DEFINE_MUTEX(mut);
148 mutex_lock(&mut); in ucma_get_ctx()
156 mutex_unlock(&mut); in ucma_get_ctx()
219 mutex_lock(&mut); in ucma_alloc_ctx()
221 mutex_unlock(&mut); in ucma_alloc_ctx()
241 mutex_lock(&mut); in ucma_alloc_multicast()
243 mutex_unlock(&mut); in ucma_alloc_multicast()
322 mutex_lock(&mut); in ucma_removal_event_handler()
324 mutex_unlock(&mut); in ucma_removal_event_handler()
354 mutex_lock(&ctx->file->mut); in ucma_event_handler()
394 mutex_unlock(&ctx->file->mut); in ucma_event_handler()
416 mutex_lock(&file->mut); in ucma_get_event()
418 mutex_unlock(&file->mut); in ucma_get_event()
427 mutex_lock(&file->mut); in ucma_get_event()
457 mutex_unlock(&file->mut); in ucma_get_event()
499 mutex_lock(&file->mut); in ucma_create_id()
501 mutex_unlock(&file->mut); in ucma_create_id()
526 mutex_lock(&mut); in ucma_create_id()
528 mutex_unlock(&mut); in ucma_create_id()
529 mutex_lock(&file->mut); in ucma_create_id()
531 mutex_unlock(&file->mut); in ucma_create_id()
540 mutex_lock(&mut); in ucma_cleanup_multicast()
546 mutex_unlock(&mut); in ucma_cleanup_multicast()
583 mutex_lock(&ctx->file->mut); in ucma_free_ctx()
589 mutex_unlock(&ctx->file->mut); in ucma_free_ctx()
617 mutex_lock(&mut); in ucma_destroy_id()
621 mutex_unlock(&mut); in ucma_destroy_id()
626 mutex_lock(&ctx->file->mut); in ucma_destroy_id()
628 mutex_unlock(&ctx->file->mut); in ucma_destroy_id()
633 mutex_lock(&mut); in ucma_destroy_id()
635 mutex_unlock(&mut); in ucma_destroy_id()
640 mutex_unlock(&mut); in ucma_destroy_id()
1122 mutex_lock(&file->mut); in ucma_accept()
1126 mutex_unlock(&file->mut); in ucma_accept()
1407 mutex_lock(&file->mut); in ucma_process_join()
1428 mutex_lock(&mut); in ucma_process_join()
1430 mutex_unlock(&mut); in ucma_process_join()
1432 mutex_unlock(&file->mut); in ucma_process_join()
1440 mutex_lock(&mut); in ucma_process_join()
1442 mutex_unlock(&mut); in ucma_process_join()
1446 mutex_unlock(&file->mut); in ucma_process_join()
1504 mutex_lock(&mut); in ucma_leave_multicast()
1514 mutex_unlock(&mut); in ucma_leave_multicast()
1522 mutex_lock(&mc->ctx->file->mut); in ucma_leave_multicast()
1525 mutex_unlock(&mc->ctx->file->mut); in ucma_leave_multicast()
1542 mutex_lock(&file1->mut); in ucma_lock_files()
1543 mutex_lock_nested(&file2->mut, SINGLE_DEPTH_NESTING); in ucma_lock_files()
1545 mutex_lock(&file2->mut); in ucma_lock_files()
1546 mutex_lock_nested(&file1->mut, SINGLE_DEPTH_NESTING); in ucma_lock_files()
1553 mutex_unlock(&file2->mut); in ucma_unlock_files()
1554 mutex_unlock(&file1->mut); in ucma_unlock_files()
1556 mutex_unlock(&file1->mut); in ucma_unlock_files()
1557 mutex_unlock(&file2->mut); in ucma_unlock_files()
1611 mutex_lock(&mut); in ucma_migrate_id()
1618 mutex_unlock(&mut); in ucma_migrate_id()
1735 mutex_init(&file->mut); in ucma_open()
1748 mutex_lock(&file->mut); in ucma_close()
1751 mutex_unlock(&file->mut); in ucma_close()
1753 mutex_lock(&mut); in ucma_close()
1755 mutex_unlock(&mut); in ucma_close()
1762 mutex_lock(&mut); in ucma_close()
1764 mutex_unlock(&mut); in ucma_close()
1772 mutex_unlock(&mut); in ucma_close()
1776 mutex_lock(&file->mut); in ucma_close()
1778 mutex_unlock(&file->mut); in ucma_close()