Home
last modified time | relevance | path

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

1234

/linux-6.6.21/tools/include/linux/
Dcompiler_types.h18 # define __must_hold(x) __attribute__((context(x,1,1))) macro
26 # define __must_hold(x) macro
/linux-6.6.21/io_uring/
Dtimeout.c93 __must_hold(&req->ctx->timeout_lock) in io_kill_timeout()
161 __must_hold(&req->ctx->completion_lock) in io_fail_links()
193 __must_hold(&req->ctx->completion_lock) in io_disarm_next()
220 __must_hold(&req->ctx->completion_lock) in __io_disarm_linked_timeout()
221 __must_hold(&req->ctx->timeout_lock) in __io_disarm_linked_timeout()
262 __must_hold(&ctx->timeout_lock) in io_timeout_extract()
288 __must_hold(&ctx->completion_lock) in io_timeout_cancel()
376 __must_hold(&ctx->timeout_lock) in io_linked_timeout_update()
404 __must_hold(&ctx->timeout_lock) in io_timeout_update()
647 __must_hold(&req->ctx->timeout_lock) in io_match_task()
Dnotif.h31 __must_hold(&notif->ctx->uring_lock) in io_notif_flush()
Dnotif.c66 __must_hold(&ctx->uring_lock) in io_alloc_notif()
Dfiletable.c65 __must_hold(&req->ctx->uring_lock) in io_install_fixed_file()
Dio_uring.c904 __must_hold(&ctx->uring_lock) in __io_flush_post_cqes()
1049 __must_hold(&ctx->uring_lock) in io_req_defer_failed()
1092 __must_hold(&ctx->uring_lock) in __io_alloc_req_refill()
1520 __must_hold(&ctx->uring_lock) in io_free_batch_list()
1557 __must_hold(&ctx->uring_lock) in __io_submit_flush_completions()
1812 __must_hold(&ctx->uring_lock) in io_drain_req()
2037 __must_hold(&req->ctx->uring_lock) in io_queue_async()
2066 __must_hold(&req->ctx->uring_lock) in io_queue_sqe()
2083 __must_hold(&req->ctx->uring_lock) in io_queue_sqe_fallback()
2152 __must_hold(&ctx->uring_lock) in io_init_req()
[all …]
Dcancel.c258 __must_hold(&ctx->uring_lock) in io_sync_cancel()
/linux-6.6.21/drivers/block/drbd/
Ddrbd_int.h1059 extern void drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local);
1060 extern void _drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local);
1061 extern void drbd_uuid_new_current(struct drbd_device *device) __must_hold(local);
1062 extern void drbd_uuid_set_bm(struct drbd_device *device, u64 val) __must_hold(local);
1063 extern void drbd_uuid_move_history(struct drbd_device *device) __must_hold(local);
1064 extern void __drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local);
1065 extern void drbd_md_set_flag(struct drbd_device *device, int flags) __must_hold(local);
1066 extern void drbd_md_clear_flag(struct drbd_device *device, int flags)__must_hold(local);
1083 struct drbd_peer_device *peer_device) __must_hold(local);
1085 struct drbd_peer_device *peer_device) __must_hold(local);
[all …]
Ddrbd_bitmap.c990 static void bm_page_io_async(struct drbd_bm_aio_ctx *ctx, int page_nr) __must_hold(local) in bm_page_io_async()
1063 …drbd_device *device, const unsigned int flags, unsigned lazy_writeout_upper_idx) __must_hold(local) in bm_rw()
1218 struct drbd_peer_device *peer_device) __must_hold(local) in drbd_bm_read()
1231 struct drbd_peer_device *peer_device) __must_hold(local) in drbd_bm_write()
1243 struct drbd_peer_device *peer_device) __must_hold(local) in drbd_bm_write_all()
1253 int drbd_bm_write_lazy(struct drbd_device *device, unsigned upper_idx) __must_hold(local) in drbd_bm_write_lazy()
1270 struct drbd_peer_device *peer_device) __must_hold(local) in drbd_bm_write_copy_pages()
1279 int drbd_bm_write_hinted(struct drbd_device *device) __must_hold(local) in drbd_bm_write_hinted()
Ddrbd_main.c3320 void drbd_uuid_move_history(struct drbd_device *device) __must_hold(local) in drbd_uuid_move_history()
3328 void __drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local) in __drbd_uuid_set()
3343 void _drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local) in _drbd_uuid_set()
3351 void drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local) in drbd_uuid_set()
3370 void drbd_uuid_new_current(struct drbd_device *device) __must_hold(local) in drbd_uuid_new_current()
3392 void drbd_uuid_set_bm(struct drbd_device *device, u64 val) __must_hold(local) in drbd_uuid_set_bm()
3422 struct drbd_peer_device *peer_device) __must_hold(local) in drbd_bmio_set_n_write()
3448 struct drbd_peer_device *peer_device) __must_hold(local) in drbd_bmio_clear_n_write()
3573 void drbd_md_set_flag(struct drbd_device *device, int flag) __must_hold(local) in drbd_md_set_flag()
3581 void drbd_md_clear_flag(struct drbd_device *device, int flag) __must_hold(local) in drbd_md_clear_flag()
/linux-6.6.21/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-6.6.21/tools/testing/radix-tree/linux/
Dkernel.h24 #define __must_hold(x) macro
/linux-6.6.21/include/linux/
Dcompiler_types.h29 # define __must_hold(x) __attribute__((context(x,1,1))) macro
57 # define __must_hold(x) macro
/linux-6.6.21/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-6.6.21/Documentation/translations/zh_CN/dev-tools/
Dsparse.rst72 __must_hold - 指定的锁在函数进入和退出时被持有。
/linux-6.6.21/drivers/usb/gadget/udc/
Dcore.c703 __must_hold(&gadget->udc->connect_lock) in usb_gadget_connect_locked()
756 __must_hold(&gadget->udc->connect_lock) in usb_gadget_disconnect_locked()
1129 static void usb_udc_connect_control_locked(struct usb_udc *udc) __must_hold(&udc->connect_lock) in usb_udc_connect_control_locked()
1207 __must_hold(&udc->connect_lock) in usb_gadget_udc_start_locked()
1237 __must_hold(&udc->connect_lock) in usb_gadget_udc_stop_locked()
/linux-6.6.21/scripts/
Dtags.sh274 -I __used,__packed,__packed2__,__must_check,__must_hold \
/linux-6.6.21/drivers/block/aoe/
Daoenet.c55 tx(int id) __must_hold(&txlock) in tx()
/linux-6.6.21/net/mctp/
Ddevice.c323 __must_hold(&key->lock) in mctp_dev_release_key()
334 __must_hold(&key->lock) in mctp_dev_set_key()
/linux-6.6.21/drivers/infiniband/hw/qib/
Dqib_debugfs.c207 __must_hold(RCU) in _qp_stats_seq_next()
/linux-6.6.21/kernel/irq/
Dspurious.c37 __must_hold(&desc->lock) in irq_wait_for_poll()
/linux-6.6.21/drivers/greybus/
Dconnection.c603 __must_hold(&connection->lock) in gb_connection_cancel_operations()
632 __must_hold(&connection->lock) in gb_connection_flush_incoming_operations()

1234