Searched refs:idr_lock (Results 1 - 5 of 5) sorted by relevance
/linux-4.1.27/fs/notify/inotify/ |
H A D | inotify_user.c | 346 static int inotify_add_to_idr(struct idr *idr, spinlock_t *idr_lock, inotify_add_to_idr() argument 352 spin_lock(idr_lock); inotify_add_to_idr() 361 spin_unlock(idr_lock); inotify_add_to_idr() 370 spinlock_t *idr_lock = &group->inotify_data.idr_lock; inotify_idr_find_locked() local 373 assert_spin_locked(idr_lock); inotify_idr_find_locked() 391 spinlock_t *idr_lock = &group->inotify_data.idr_lock; inotify_idr_find() local 393 spin_lock(idr_lock); inotify_idr_find() 395 spin_unlock(idr_lock); inotify_idr_find() 404 spinlock_t *idr_lock = &group->inotify_data.idr_lock; do_inotify_remove_from_idr() local 407 assert_spin_locked(idr_lock); do_inotify_remove_from_idr() 422 spinlock_t *idr_lock = &group->inotify_data.idr_lock; inotify_remove_from_idr() local 426 spin_lock(idr_lock); inotify_remove_from_idr() 484 spin_unlock(idr_lock); inotify_remove_from_idr() 575 spinlock_t *idr_lock = &group->inotify_data.idr_lock; inotify_new_watch() local 591 ret = inotify_add_to_idr(idr, idr_lock, tmp_i_mark); inotify_new_watch() 654 spin_lock_init(&group->inotify_data.idr_lock); inotify_new_group()
|
/linux-4.1.27/net/tipc/ |
H A D | server.c | 127 spin_lock_bh(&s->idr_lock); tipc_conn_lookup() 131 spin_unlock_bh(&s->idr_lock); tipc_conn_lookup() 195 spin_lock_bh(&s->idr_lock); tipc_close_conn() 198 spin_unlock_bh(&s->idr_lock); tipc_close_conn() 229 spin_lock_bh(&s->idr_lock); tipc_alloc_conn() 233 spin_unlock_bh(&s->idr_lock); tipc_alloc_conn() 238 spin_unlock_bh(&s->idr_lock); tipc_alloc_conn() 590 spin_lock_init(&s->idr_lock); tipc_server_start() 619 spin_lock_bh(&s->idr_lock); tipc_server_stop() 624 spin_unlock_bh(&s->idr_lock); tipc_server_stop() 626 spin_lock_bh(&s->idr_lock); tipc_server_stop() 629 spin_unlock_bh(&s->idr_lock); tipc_server_stop()
|
H A D | server.h | 48 * @idr_lock: protect the connection identifier set 65 spinlock_t idr_lock; member in struct:tipc_server
|
/linux-4.1.27/drivers/infiniband/core/ |
H A D | sa_query.c | 118 static DEFINE_SPINLOCK(idr_lock); 496 spin_lock_irqsave(&idr_lock, flags); ib_sa_cancel_query() 498 spin_unlock_irqrestore(&idr_lock, flags); ib_sa_cancel_query() 503 spin_unlock_irqrestore(&idr_lock, flags); ib_sa_cancel_query() 627 spin_lock_irqsave(&idr_lock, flags); send_mad() 631 spin_unlock_irqrestore(&idr_lock, flags); send_mad() 643 spin_lock_irqsave(&idr_lock, flags); send_mad() 645 spin_unlock_irqrestore(&idr_lock, flags); send_mad() 1121 spin_lock_irqsave(&idr_lock, flags); send_handler() 1123 spin_unlock_irqrestore(&idr_lock, flags); send_handler()
|
/linux-4.1.27/include/linux/ |
H A D | fsnotify_backend.h | 172 spinlock_t idr_lock; member in struct:fsnotify_group::__anon11691::inotify_group_private_data
|
Completed in 174 milliseconds