Home
last modified time | relevance | path

Searched refs:__must_hold (Results 1 – 25 of 67) sorted by relevance

123

/linux-5.19.10/tools/include/linux/
Dcompiler_types.h18 # define __must_hold(x) __attribute__((context(x,1,1))) macro
26 # define __must_hold(x) macro
/linux-5.19.10/drivers/block/drbd/
Ddrbd_int.h1125 extern void drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local);
1126 extern void _drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local);
1127 extern void drbd_uuid_new_current(struct drbd_device *device) __must_hold(local);
1128 extern void drbd_uuid_set_bm(struct drbd_device *device, u64 val) __must_hold(local);
1129 extern void drbd_uuid_move_history(struct drbd_device *device) __must_hold(local);
1130 extern void __drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local);
1131 extern void drbd_md_set_flag(struct drbd_device *device, int flags) __must_hold(local);
1132 extern void drbd_md_clear_flag(struct drbd_device *device, int flags)__must_hold(local);
1145 extern int drbd_bmio_set_n_write(struct drbd_device *device) __must_hold(local);
1146 extern int drbd_bmio_clear_n_write(struct drbd_device *device) __must_hold(local);
[all …]
Ddrbd_bitmap.c977 static void bm_page_io_async(struct drbd_bm_aio_ctx *ctx, int page_nr) __must_hold(local) in bm_page_io_async()
1030 …drbd_device *device, const unsigned int flags, unsigned lazy_writeout_upper_idx) __must_hold(local) in bm_rw()
1184 int drbd_bm_read(struct drbd_device *device) __must_hold(local) in drbd_bm_read()
1195 int drbd_bm_write(struct drbd_device *device) __must_hold(local) in drbd_bm_write()
1206 int drbd_bm_write_all(struct drbd_device *device) __must_hold(local) in drbd_bm_write_all()
1216 int drbd_bm_write_lazy(struct drbd_device *device, unsigned upper_idx) __must_hold(local) in drbd_bm_write_lazy()
1232 int drbd_bm_write_copy_pages(struct drbd_device *device) __must_hold(local) in drbd_bm_write_copy_pages()
1241 int drbd_bm_write_hinted(struct drbd_device *device) __must_hold(local) in drbd_bm_write_hinted()
Ddrbd_main.c3307 void drbd_uuid_move_history(struct drbd_device *device) __must_hold(local) in drbd_uuid_move_history()
3315 void __drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local) in __drbd_uuid_set()
3330 void _drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local) in _drbd_uuid_set()
3338 void drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local) in drbd_uuid_set()
3357 void drbd_uuid_new_current(struct drbd_device *device) __must_hold(local) in drbd_uuid_new_current()
3379 void drbd_uuid_set_bm(struct drbd_device *device, u64 val) __must_hold(local) in drbd_uuid_set_bm()
3408 int drbd_bmio_set_n_write(struct drbd_device *device) __must_hold(local) in drbd_bmio_set_n_write()
3432 int drbd_bmio_clear_n_write(struct drbd_device *device) __must_hold(local) in drbd_bmio_clear_n_write()
3552 void drbd_md_set_flag(struct drbd_device *device, int flag) __must_hold(local) in drbd_md_set_flag()
3560 void drbd_md_clear_flag(struct drbd_device *device, int flag) __must_hold(local) in drbd_md_clear_flag()
/linux-5.19.10/drivers/s390/scsi/
Dzfcp_diag.c169 __must_hold(hdr->access_lock) in __zfcp_diag_update_buffer()
201 __must_hold(hdr->access_lock) in __zfcp_diag_test_buffer_age_isfresh()
/linux-5.19.10/tools/testing/radix-tree/linux/
Dkernel.h23 #define __must_hold(x) macro
/linux-5.19.10/include/linux/
Dcompiler_types.h25 # define __must_hold(x) __attribute__((context(x,1,1))) macro
52 # define __must_hold(x) macro
/linux-5.19.10/drivers/infiniband/hw/hfi1/
Dverbs_txreq.h36 __must_hold(&qp->slock) in get_txreq()
Dverbs_txreq.c53 __must_hold(&qp->s_lock) in __get_txreq()
Dtid_rdma.c471 __must_hold(&rcd->exp_lock) in first_qp()
506 __must_hold(&rcd->exp_lock) __must_hold(&qp->s_lock) in kernel_tid_waiters()
539 __must_hold(&rcd->exp_lock) __must_hold(&qp->s_lock) in dequeue_tid_waiter()
566 __must_hold(&rcd->exp_lock) __must_hold(&qp->s_lock) in queue_qp_for_tid_wait()
590 __must_hold(&qp->s_lock) in __trigger_tid_waiter()
670 __must_hold(&qp->s_lock) in _tid_rdma_flush_wait()
690 __must_hold(&qp->s_lock) in hfi1_tid_rdma_flush_wait()
717 __must_hold(&rcd->exp_lock) in kern_reserve_flow()
755 __must_hold(&rcd->exp_lock) in kern_setup_hw_flow()
773 __must_hold(&rcd->exp_lock) in kern_clear_hw_flow()
[all …]
Daffinity.c324 __must_hold(&node_affinity.lock) in _dev_comp_vect_cpu_get()
401 __must_hold(&node_affinity.lock) in _dev_comp_vect_mappings_create()
495 __must_hold(&node_affinity.lock) in _dev_comp_vect_cpu_mask_init()
561 __must_hold(&node_affinity.lock) in _dev_comp_vect_cpu_mask_clean_up()
/linux-5.19.10/Documentation/translations/zh_CN/dev-tools/
Dsparse.rst72 __must_hold - 指定的锁在函数进入和退出时被持有。
/linux-5.19.10/drivers/block/aoe/
Daoenet.c55 tx(int id) __must_hold(&txlock) in tx()
/linux-5.19.10/scripts/
Dtags.sh267 -I __used,__packed,__packed2__,__must_check,__must_hold \
/linux-5.19.10/net/mctp/
Ddevice.c323 __must_hold(&key->lock) in mctp_dev_release_key()
334 __must_hold(&key->lock) in mctp_dev_set_key()
/linux-5.19.10/drivers/infiniband/hw/qib/
Dqib_debugfs.c207 __must_hold(RCU) in _qp_stats_seq_next()
/linux-5.19.10/kernel/irq/
Dspurious.c37 __must_hold(&desc->lock) in irq_wait_for_poll()
/linux-5.19.10/io_uring/
Dio_uring.c1382 __must_hold(&ctx->uring_lock) in io_req_put_rsrc_locked()
1401 __must_hold(&ctx->uring_lock) in io_rsrc_refs_drop()
1410 __must_hold(&ctx->uring_lock) in io_rsrc_refs_refill()
1561 __must_hold(&req->ctx->timeout_lock) in io_match_task()
1889 __must_hold(&req->ctx->completion_lock) in io_kill_timeout()
1890 __must_hold(&req->ctx->timeout_lock) in io_kill_timeout()
1919 __must_hold(&ctx->completion_lock) in io_flush_timeouts()
2442 __must_hold(&ctx->uring_lock) in __io_alloc_req_refill()
2536 __must_hold(&req->ctx->completion_lock) in io_disarm_linked_timeout()
2537 __must_hold(&req->ctx->timeout_lock) in io_disarm_linked_timeout()
[all …]
Dio-wq.c259 __must_hold(RCU) in io_wqe_activate_free_worker()
433 __must_hold(wqe->lock) in __io_worker_idle()
466 __must_hold(acct->lock) in io_get_next_work()
/linux-5.19.10/drivers/greybus/
Dconnection.c603 __must_hold(&connection->lock) in gb_connection_cancel_operations()
632 __must_hold(&connection->lock) in gb_connection_flush_incoming_operations()
/linux-5.19.10/mm/
Dworkingset.c523 void *arg) __must_hold(lru_lock) in shadow_lru_isolate()
/linux-5.19.10/Documentation/dev-tools/
Dsparse.rst64 __must_hold - The specified lock is held on function entry and exit.
/linux-5.19.10/net/core/
Dsock_map.c731 __must_hold(rcu) in sock_map_seq_next()
742 __must_hold(rcu) in sock_map_seq_show()
1331 __must_hold(rcu) in sock_hash_seq_next()
1340 __must_hold(rcu) in sock_hash_seq_show()
/linux-5.19.10/drivers/pci/
Daccess.c209 __must_hold(&pci_lock) in pci_wait_cfg()
/linux-5.19.10/fs/nfs/
Dnfs4session.c181 __must_hold(&tbl->slot_tbl_lock) in nfs4_slot_get_seqid()

123