Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/block/drbd/
Ddrbd_int.h56 # define __must_hold(x) __attribute__((context(x,1,1), require_context(x,1,999,"call"))) macro
61 # define __must_hold(x) macro
1123 extern void drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local);
1124 extern void _drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local);
1125 extern void drbd_uuid_new_current(struct drbd_device *device) __must_hold(local);
1126 extern void drbd_uuid_set_bm(struct drbd_device *device, u64 val) __must_hold(local);
1127 extern void drbd_uuid_move_history(struct drbd_device *device) __must_hold(local);
1128 extern void __drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local);
1129 extern void drbd_md_set_flag(struct drbd_device *device, int flags) __must_hold(local);
1130 extern void drbd_md_clear_flag(struct drbd_device *device, int flags)__must_hold(local);
[all …]
Ddrbd_bitmap.c993 static void bm_page_io_async(struct drbd_bm_aio_ctx *ctx, int page_nr) __must_hold(local) in bm_page_io_async()
1046 …drbd_device *device, const unsigned int flags, unsigned lazy_writeout_upper_idx) __must_hold(local) in bm_rw()
1175 int drbd_bm_read(struct drbd_device *device) __must_hold(local) in drbd_bm_read()
1186 int drbd_bm_write(struct drbd_device *device) __must_hold(local) in drbd_bm_write()
1197 int drbd_bm_write_all(struct drbd_device *device) __must_hold(local) in drbd_bm_write_all()
1207 int drbd_bm_write_lazy(struct drbd_device *device, unsigned upper_idx) __must_hold(local) in drbd_bm_write_lazy()
1223 int drbd_bm_write_copy_pages(struct drbd_device *device) __must_hold(local) in drbd_bm_write_copy_pages()
1232 int drbd_bm_write_hinted(struct drbd_device *device) __must_hold(local) in drbd_bm_write_hinted()
Ddrbd_main.c3385 void drbd_uuid_move_history(struct drbd_device *device) __must_hold(local) in drbd_uuid_move_history()
3393 void __drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local) in __drbd_uuid_set()
3408 void _drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local) in _drbd_uuid_set()
3416 void drbd_uuid_set(struct drbd_device *device, int idx, u64 val) __must_hold(local) in drbd_uuid_set()
3435 void drbd_uuid_new_current(struct drbd_device *device) __must_hold(local) in drbd_uuid_new_current()
3457 void drbd_uuid_set_bm(struct drbd_device *device, u64 val) __must_hold(local) in drbd_uuid_set_bm()
3486 int drbd_bmio_set_n_write(struct drbd_device *device) __must_hold(local) in drbd_bmio_set_n_write()
3510 int drbd_bmio_clear_n_write(struct drbd_device *device) __must_hold(local) in drbd_bmio_clear_n_write()
3619 void drbd_md_set_flag(struct drbd_device *device, int flag) __must_hold(local) in drbd_md_set_flag()
3627 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()
1588 struct packet_info *pi) __must_hold(local) in read_in_block()
2719 static int drbd_asb_recover_0p(struct drbd_peer_device *peer_device) __must_hold(local) in drbd_asb_recover_0p()
2800 static int drbd_asb_recover_1p(struct drbd_peer_device *peer_device) __must_hold(local) in drbd_asb_recover_1p()
2857 static int drbd_asb_recover_2p(struct drbd_peer_device *peer_device) __must_hold(local) in drbd_asb_recover_2p()
2933 static int drbd_uuid_compare(struct drbd_device *const device, int *rule_nr) __must_hold(local) in drbd_uuid_compare()
3122 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.1.27/include/linux/
Dcompiler.h13 # define __must_hold(x) __attribute__((context(x,1,1))) macro
37 # define __must_hold(x) macro
/linux-4.1.27/drivers/block/aoe/
Daoenet.c55 tx(int id) __must_hold(&txlock) in tx()
/linux-4.1.27/scripts/
Dtags.sh164 -I __used,__packed,__packed2__,__must_check,__must_hold \
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/
Dlib-eq.c324 __must_hold(&the_lnet.ln_eq_wait_lock) in lnet_eq_wait_locked()
/linux-4.1.27/Documentation/
Dsparse.txt60 __must_hold - The specified lock is held on function entry and exit.
/linux-4.1.27/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.c199 __must_hold(&sfw_data.fw_lock) in sfw_deactivate_session()
/linux-4.1.27/fs/jffs2/
Dsummary.c847 __must_hold(&c->erase_completion_block) in jffs2_sum_write_sumnode()
/linux-4.1.27/drivers/usb/core/
Dhub.c3488 __must_hold(&port_dev->status_lock) in hub_handle_remote_wakeup()
4843 __must_hold(&port_dev->status_lock) in hub_port_connect_change()
4895 __must_hold(&port_dev->status_lock) in port_event()