Home
last modified time | relevance | path

Searched refs:num_locks (Results 1 – 6 of 6) sorted by relevance

/fs/ocfs2/dlm/
Ddlmrecovery.c1124 BUG_ON(mres->num_locks > DLM_MAX_MIGRATABLE_LOCKS); in dlm_send_mig_lockres_msg()
1125 if (!mres->num_locks) in dlm_send_mig_lockres_msg()
1129 (mres->num_locks * sizeof(struct dlm_migratable_lock)); in dlm_send_mig_lockres_msg()
1183 mres->num_locks = 0; in dlm_init_migratable_lockres()
1230 int lock_num = mres->num_locks; in dlm_add_lock_to_array()
1243 mres->num_locks++; in dlm_add_lock_to_array()
1245 if (mres->num_locks == DLM_MAX_MIGRATABLE_LOCKS) in dlm_add_lock_to_array()
1813 mlog(0, "running %d locks for this lockres\n", mres->num_locks); in dlm_process_recovery_data()
1814 for (i=0; i<mres->num_locks; i++) { in dlm_process_recovery_data()
1819 BUG_ON(mres->num_locks != 1); in dlm_process_recovery_data()
Ddlmcommon.h572 u8 num_locks; // locks sent in this structure member
/fs/cifs/
Dsmb1ops.c643 atomic_set(&tcon->stats.cifs_stats.num_locks, 0); in cifs_clear_stats()
664 atomic_read(&tcon->stats.cifs_stats.num_locks), in cifs_print_stats()
Dcifsglob.h889 atomic_t num_locks; member
Dsmb2pdu.c3109 cifs_stats_inc(&tcon->stats.cifs_stats.num_locks); in smb2_lockv()
Dcifssmb.c2323 cifs_stats_inc(&tcon->stats.cifs_stats.num_locks); in cifs_lockv()
2393 cifs_stats_inc(&tcon->stats.cifs_stats.num_locks); in CIFSSMBLock()