Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/block/drbd/
Ddrbd_int.h57 # define __must_hold(x) __attribute__((context(x,1,1), require_context(x,1,999,"call"))) macro
62 # define __must_hold(x) macro
1124 extern void drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local);
1125 extern void _drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local);
1126 extern void drbd_uuid_new_current(struct drbd_device *device) __must_hold(local);
1127 extern void drbd_uuid_set_bm(struct drbd_device *device, u64 val) __must_hold(local);
1128 extern void drbd_uuid_move_history(struct drbd_device *device) __must_hold(local);
1129 extern void __drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local);
1130 extern void drbd_md_set_flag(struct drbd_device *device, int flags) __must_hold(local);
1131 extern void drbd_md_clear_flag(struct drbd_device *device, int flags)__must_hold(local);
[all …]
Ddrbd_bitmap.c984 static void bm_page_io_async(struct drbd_bm_aio_ctx *ctx, int page_nr) __must_hold(local) in bm_page_io_async()
1037 …drbd_device *device, const unsigned int flags, unsigned lazy_writeout_upper_idx) __must_hold(local) in bm_rw()
1166 int drbd_bm_read(struct drbd_device *device) __must_hold(local) in drbd_bm_read()
1177 int drbd_bm_write(struct drbd_device *device) __must_hold(local) in drbd_bm_write()
1188 int drbd_bm_write_all(struct drbd_device *device) __must_hold(local) in drbd_bm_write_all()
1198 int drbd_bm_write_lazy(struct drbd_device *device, unsigned upper_idx) __must_hold(local) in drbd_bm_write_lazy()
1214 int drbd_bm_write_copy_pages(struct drbd_device *device) __must_hold(local) in drbd_bm_write_copy_pages()
1223 int drbd_bm_write_hinted(struct drbd_device *device) __must_hold(local) in drbd_bm_write_hinted()
Ddrbd_main.c3384 void drbd_uuid_move_history(struct drbd_device *device) __must_hold(local) in drbd_uuid_move_history()
3392 void __drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local) in __drbd_uuid_set()
3407 void _drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local) in _drbd_uuid_set()
3415 void drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local) in drbd_uuid_set()
3434 void drbd_uuid_new_current(struct drbd_device *device) __must_hold(local) in drbd_uuid_new_current()
3456 void drbd_uuid_set_bm(struct drbd_device *device, u64 val) __must_hold(local) in drbd_uuid_set_bm()
3485 int drbd_bmio_set_n_write(struct drbd_device *device) __must_hold(local) in drbd_bmio_set_n_write()
3509 int drbd_bmio_clear_n_write(struct drbd_device *device) __must_hold(local) in drbd_bmio_clear_n_write()
3618 void drbd_md_set_flag(struct drbd_device *device, int flag) __must_hold(local) in drbd_md_set_flag()
3626 void drbd_md_clear_flag(struct drbd_device *device, int flag) __must_hold(local) in drbd_md_clear_flag()
Ddrbd_receiver.c342 unsigned int data_size, bool has_payload, gfp_t gfp_mask) __must_hold(local) in drbd_alloc_peer_req()
1589 struct packet_info *pi) __must_hold(local) in read_in_block()
2720 static int drbd_asb_recover_0p(struct drbd_peer_device *peer_device) __must_hold(local) in drbd_asb_recover_0p()
2801 static int drbd_asb_recover_1p(struct drbd_peer_device *peer_device) __must_hold(local) in drbd_asb_recover_1p()
2858 static int drbd_asb_recover_2p(struct drbd_peer_device *peer_device) __must_hold(local) in drbd_asb_recover_2p()
2934 static int drbd_uuid_compare(struct drbd_device *const device, int *rule_nr) __must_hold(local) in drbd_uuid_compare()
3123 enum drbd_disk_state peer_disk) __must_hold(local) in drbd_sync_handshake()
Ddrbd_nl.c872 …_size(struct drbd_device *device, enum dds_flags flags, struct resize_parms *rs) __must_hold(local) in drbd_determine_dev_size()
2730 static int drbd_bmio_set_susp_al(struct drbd_device *device) __must_hold(local) in drbd_bmio_set_susp_al()
/linux-4.4.14/include/linux/
Dcompiler.h13 # define __must_hold(x) __attribute__((context(x,1,1))) macro
38 # define __must_hold(x) macro
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dqp.h102 u32 qpn) __must_hold(RCU) in hfi1_lookup_qpn()
/linux-4.4.14/drivers/block/aoe/
Daoenet.c55 tx(int id) __must_hold(&txlock) in tx()
/linux-4.4.14/scripts/
Dtags.sh164 -I __used,__packed,__packed2__,__must_check,__must_hold \
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
Dlib-eq.c323 __must_hold(&the_lnet.ln_eq_wait_lock) in lnet_eq_wait_locked()
/linux-4.4.14/Documentation/
Dsparse.txt60 __must_hold - The specified lock is held on function entry and exit.
/linux-4.4.14/drivers/staging/lustre/lnet/selftest/
Drpc.c472 __must_hold(&scd->scd_lock) in srpc_service_post_buffer()
702 __must_hold(&scd->scd_lock) in srpc_service_recycle_buffer()
Dframework.c198 __must_hold(&sfw_data.fw_lock) in sfw_deactivate_session()
/linux-4.4.14/fs/jffs2/
Dsummary.c847 __must_hold(&c->erase_completion_block) in jffs2_sum_write_sumnode()
/linux-4.4.14/drivers/usb/core/
Dhub.c3503 __must_hold(&port_dev->status_lock) in hub_handle_remote_wakeup()
4883 __must_hold(&port_dev->status_lock) in hub_port_connect_change()
4935 __must_hold(&port_dev->status_lock) in port_event()