/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ocfs2/dlmfs/ |
H A D | userdlm.c | 50 static inline int user_check_wait_flag(struct user_lock_res *lockres, argument 55 spin_lock(&lockres->l_lock); 56 ret = lockres->l_flags & flag; 57 spin_unlock(&lockres->l_lock); 62 static inline void user_wait_on_busy_lock(struct user_lock_res *lockres) argument 65 wait_event(lockres->l_event, 66 !user_check_wait_flag(lockres, USER_LOCK_BUSY)); 69 static inline void user_wait_on_blocked_lock(struct user_lock_res *lockres) argument 72 wait_event(lockres->l_event, 73 !user_check_wait_flag(lockres, USER_LOCK_BLOCKE 78 cluster_connection_from_user_lockres(struct user_lock_res *lockres) argument 89 user_dlm_inode_from_user_lockres(struct user_lock_res *lockres) argument 99 user_recover_from_dlm_error(struct user_lock_res *lockres) argument 128 struct user_lock_res *lockres = user_lksb_to_lock_res(lksb); local 168 user_dlm_grab_inode_ref(struct user_lock_res *lockres) argument 178 __user_dlm_queue_lockres(struct user_lock_res *lockres) argument 190 __user_dlm_cond_queue_lockres(struct user_lock_res *lockres) argument 216 struct user_lock_res *lockres = user_lksb_to_lock_res(lksb); local 234 struct user_lock_res *lockres = user_lksb_to_lock_res(lksb); local 291 user_dlm_drop_inode_ref(struct user_lock_res *lockres) argument 301 struct user_lock_res *lockres = local 398 user_dlm_inc_holders(struct user_lock_res *lockres, int level) argument 417 user_may_continue_on_blocked_lock(struct user_lock_res *lockres, int wanted) argument 425 user_dlm_cluster_lock(struct user_lock_res *lockres, int level, int lkm_flags) argument 512 user_dlm_dec_holders(struct user_lock_res *lockres, int level) argument 529 user_dlm_cluster_unlock(struct user_lock_res *lockres, int level) argument 549 struct user_lock_res *lockres = &DLMFS_I(inode)->ip_lockres; local 567 struct user_lock_res *lockres = &DLMFS_I(inode)->ip_lockres; local 586 user_dlm_lock_res_init(struct user_lock_res *lockres, struct dentry *dentry) argument 606 user_dlm_destroy_lock(struct user_lock_res *lockres) argument [all...] |
H A D | userdlm.h | 72 void user_dlm_lock_res_init(struct user_lock_res *lockres, 74 int user_dlm_destroy_lock(struct user_lock_res *lockres); 75 int user_dlm_cluster_lock(struct user_lock_res *lockres, 78 void user_dlm_cluster_unlock(struct user_lock_res *lockres,
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ocfs2/ |
H A D | dlmglue.c | 71 static struct ocfs2_super *ocfs2_get_dentry_osb(struct ocfs2_lock_res *lockres); 72 static struct ocfs2_super *ocfs2_get_inode_osb(struct ocfs2_lock_res *lockres); 73 static struct ocfs2_super *ocfs2_get_file_osb(struct ocfs2_lock_res *lockres); 74 static struct ocfs2_super *ocfs2_get_qinfo_osb(struct ocfs2_lock_res *lockres); 99 static int ocfs2_check_meta_downconvert(struct ocfs2_lock_res *lockres, 101 static void ocfs2_set_meta_lvb(struct ocfs2_lock_res *lockres); 103 static int ocfs2_data_convert_worker(struct ocfs2_lock_res *lockres, 106 static int ocfs2_dentry_convert_worker(struct ocfs2_lock_res *lockres, 110 struct ocfs2_lock_res *lockres); 112 static void ocfs2_set_qinfo_lvb(struct ocfs2_lock_res *lockres); 122 ocfs2_dump_meta_lvb_info(u64 level, const char *function, unsigned int line, struct ocfs2_lock_res *lockres) argument 293 ocfs2_is_inode_lock(struct ocfs2_lock_res *lockres) argument 305 ocfs2_lock_res_inode(struct ocfs2_lock_res *lockres) argument 312 ocfs2_lock_res_dl(struct ocfs2_lock_res *lockres) argument 319 ocfs2_lock_res_qinfo(struct ocfs2_lock_res *lockres) argument 332 ocfs2_get_lockres_osb(struct ocfs2_lock_res *lockres) argument 349 ocfs2_cluster_unlock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int level) argument 478 ocfs2_track_lock_refresh(struct ocfs2_lock_res *lockres) argument 496 ocfs2_track_lock_refresh(struct ocfs2_lock_res *lockres) argument 572 ocfs2_get_inode_osb(struct ocfs2_lock_res *lockres) argument 579 ocfs2_get_qinfo_osb(struct ocfs2_lock_res *lockres) argument 586 ocfs2_get_file_osb(struct ocfs2_lock_res *lockres) argument 593 ocfs2_get_dentry_lock_ino(struct ocfs2_lock_res *lockres) argument 603 ocfs2_get_dentry_osb(struct ocfs2_lock_res *lockres) argument 616 struct ocfs2_lock_res *lockres = &dl->dl_lockres; local 693 ocfs2_file_lock_res_init(struct ocfs2_lock_res *lockres, struct ocfs2_file_private *fp) argument 708 ocfs2_qinfo_lock_res_init(struct ocfs2_lock_res *lockres, struct ocfs2_mem_dqinfo *info) argument 719 ocfs2_refcount_lock_res_init(struct ocfs2_lock_res *lockres, struct ocfs2_super *osb, u64 ref_blkno, unsigned int generation) argument 762 ocfs2_inc_holders(struct ocfs2_lock_res *lockres, int level) argument 783 ocfs2_dec_holders(struct ocfs2_lock_res *lockres, int level) argument 819 lockres_set_flags(struct ocfs2_lock_res *lockres, unsigned long newflags) argument 837 lockres_or_flags(struct ocfs2_lock_res *lockres, unsigned long or) argument 841 lockres_clear_flags(struct ocfs2_lock_res *lockres, unsigned long clear) argument 847 ocfs2_generic_handle_downconvert_action(struct ocfs2_lock_res *lockres) argument 867 ocfs2_generic_handle_convert_action(struct ocfs2_lock_res *lockres) argument 896 ocfs2_generic_handle_attach_action(struct ocfs2_lock_res *lockres) argument 915 ocfs2_generic_handle_bast(struct ocfs2_lock_res *lockres, int level) argument 1005 __lockres_clear_pending(struct ocfs2_lock_res *lockres, unsigned int generation, struct ocfs2_super *osb) argument 1031 lockres_clear_pending(struct ocfs2_lock_res *lockres, unsigned int generation, struct ocfs2_super *osb) argument 1042 lockres_set_pending(struct ocfs2_lock_res *lockres) argument 1054 struct ocfs2_lock_res *lockres = ocfs2_lksb_to_lock_res(lksb); local 1085 struct ocfs2_lock_res *lockres = ocfs2_lksb_to_lock_res(lksb); local 1151 struct ocfs2_lock_res *lockres = ocfs2_lksb_to_lock_res(lksb); local 1231 ocfs2_recover_from_dlm_error(struct ocfs2_lock_res *lockres, int convert) argument 1254 ocfs2_lock_create(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int level, u32 dlm_flags) argument 1300 ocfs2_check_wait_flag(struct ocfs2_lock_res *lockres, int flag) argument 1313 ocfs2_wait_on_busy_lock(struct ocfs2_lock_res *lockres) argument 1320 ocfs2_wait_on_refreshing_lock(struct ocfs2_lock_res *lockres) argument 1330 ocfs2_may_continue_on_blocked_lock(struct ocfs2_lock_res *lockres, int wanted) argument 1353 lockres_add_mask_waiter(struct ocfs2_lock_res *lockres, struct ocfs2_mask_waiter *mw, unsigned long mask, unsigned long goal) argument 1369 lockres_remove_mask_waiter(struct ocfs2_lock_res *lockres, struct ocfs2_mask_waiter *mw) argument 1389 ocfs2_wait_for_mask_interruptible(struct ocfs2_mask_waiter *mw, struct ocfs2_lock_res *lockres) argument 1404 __ocfs2_cluster_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int level, u32 lkm_flags, int arg_flags, int l_subclass, unsigned long caller_ip) argument 1582 ocfs2_cluster_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int level, u32 lkm_flags, int arg_flags) argument 1593 __ocfs2_cluster_unlock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int level, unsigned long caller_ip) argument 1612 ocfs2_create_new_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int ex, int local) argument 1685 struct ocfs2_lock_res *lockres; local 1717 struct ocfs2_lock_res *lockres = &OCFS2_I(inode)->ip_rw_lockres; local 1738 struct ocfs2_lock_res *lockres; local 1766 struct ocfs2_lock_res *lockres; local 1803 struct ocfs2_lock_res *lockres = &OCFS2_I(inode)->ip_open_lockres; local 1825 ocfs2_flock_handle_signal(struct ocfs2_lock_res *lockres, int level) argument 1899 struct ocfs2_lock_res *lockres = &fp->fp_flock; local 1995 struct ocfs2_lock_res *lockres = &fp->fp_flock; local 2033 ocfs2_downconvert_on_unlock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) argument 2087 struct ocfs2_lock_res *lockres = &oi->ip_inode_lockres; local 2137 struct ocfs2_lock_res *lockres = &oi->ip_inode_lockres; local 2176 ocfs2_meta_lvb_is_trustable(struct inode *inode, struct ocfs2_lock_res *lockres) argument 2195 ocfs2_should_refresh_lock_res(struct ocfs2_lock_res *lockres) argument 2228 ocfs2_complete_lock_res_refresh(struct ocfs2_lock_res *lockres, int status) argument 2251 struct ocfs2_lock_res *lockres = &oi->ip_inode_lockres; local 2363 struct ocfs2_lock_res *lockres = NULL; local 2548 struct ocfs2_lock_res *lockres = &OCFS2_I(inode)->ip_inode_lockres; local 2566 struct ocfs2_lock_res *lockres; local 2593 struct ocfs2_lock_res *lockres; local 2610 struct ocfs2_lock_res *lockres = &osb->osb_super_lockres; local 2653 struct ocfs2_lock_res *lockres = &osb->osb_super_lockres; local 2662 struct ocfs2_lock_res *lockres = &osb->osb_rename_lockres; local 2679 struct ocfs2_lock_res *lockres = &osb->osb_rename_lockres; local 2688 struct ocfs2_lock_res *lockres = &osb->osb_nfs_sync_lockres; local 2706 struct ocfs2_lock_res *lockres = &osb->osb_nfs_sync_lockres; local 2870 struct ocfs2_lock_res *lockres = v; local 3142 ocfs2_drop_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) argument 3228 ocfs2_mark_lockres_freeing(struct ocfs2_lock_res *lockres) argument 3253 ocfs2_simple_drop_lockres(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) argument 3306 ocfs2_prepare_downconvert(struct ocfs2_lock_res *lockres, int new_level) argument 3335 ocfs2_downconvert_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, int new_level, int lvb, unsigned int generation) argument 3372 ocfs2_prepare_cancel_convert(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) argument 3403 ocfs2_cancel_convert(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) argument 3423 ocfs2_unblock_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres, struct ocfs2_unblock_ctl *ctl) argument 3599 ocfs2_data_convert_worker(struct ocfs2_lock_res *lockres, int blocking) argument 3640 ocfs2_ci_checkpointed(struct ocfs2_caching_info *ci, struct ocfs2_lock_res *lockres, int new_level) argument 3656 ocfs2_check_meta_downconvert(struct ocfs2_lock_res *lockres, int new_level) argument 3664 ocfs2_set_meta_lvb(struct ocfs2_lock_res *lockres) argument 3676 ocfs2_dentry_post_unlock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) argument 3702 ocfs2_dentry_convert_worker(struct ocfs2_lock_res *lockres, int blocking) argument 3793 ocfs2_check_refcount_downconvert(struct ocfs2_lock_res *lockres, int new_level) argument 3802 ocfs2_refcount_convert_worker(struct ocfs2_lock_res *lockres, int blocking) argument 3813 ocfs2_set_qinfo_lvb(struct ocfs2_lock_res *lockres) argument 3836 struct ocfs2_lock_res *lockres = &oinfo->dqi_gqlock; local 3850 struct ocfs2_lock_res *lockres = &oinfo->dqi_gqlock; local 3893 struct ocfs2_lock_res *lockres = &oinfo->dqi_gqlock; local 3930 struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres; local 3950 struct ocfs2_lock_res *lockres = &ref_tree->rf_lockres; local 3957 ocfs2_process_blocked_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) argument 4007 ocfs2_schedule_blocked_lock(struct ocfs2_super *osb, struct ocfs2_lock_res *lockres) argument 4039 struct ocfs2_lock_res *lockres; local [all...] |
H A D | locks.c | 44 struct ocfs2_lock_res *lockres = &fp->fp_flock; local 53 if (lockres->l_flags & OCFS2_LOCK_ATTACHED && 54 lockres->l_level > LKM_NLMODE) { 57 if (lockres->l_level == LKM_EXMODE)
|
H A D | dlmglue.h | 100 void ocfs2_file_lock_res_init(struct ocfs2_lock_res *lockres, 103 void ocfs2_qinfo_lock_res_init(struct ocfs2_lock_res *lockres, 105 void ocfs2_refcount_lock_res_init(struct ocfs2_lock_res *lockres, 160 void ocfs2_mark_lockres_freeing(struct ocfs2_lock_res *lockres); 162 struct ocfs2_lock_res *lockres);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ocfs2/dlm/ |
H A D | dlmthread.c | 89 /* "unused": the lockres has no locks, is not on the dirty list, 120 * the lockres queue's. This will figure out whether it belongs on the 132 mlog(0, "putting lockres %.*s:%p onto purge list\n", 141 mlog(0, "removing lockres %.*s:%p from purge list, owner=%u\n", 175 mlog(0, "purging lockres %.*s, master = %d\n", res->lockname.len, 203 mlog(0, "removing lockres %.*s:%p from purgelist, " 212 mlog(ML_ERROR, "found lockres %s:%.*s: in use after deref\n", 220 /* lockres is not in the hash now. drop the flag and wake up 235 struct dlm_lock_resource *lockres; local 243 lockres [all...] |
H A D | dlmlock.c | 114 /* performs lock creation at the lockres master site 183 /* reduce the inflight count, this may result in the lockres 228 mlog(0, "lockres %.*s, flags = 0x%x\n", res->lockname.len, 256 * lockres and completely remaster it. */ 263 * the remote lockres before we ever get to use 265 * the lockres. 324 mlog(ML_ERROR, "%s:%.*s: BUG. this is a stale lockres " 378 /* associate a lock with it's lockres, getting a ref on the lockres */ 383 lock->lockres [all...] |
H A D | dlmunlock.c | 124 mlog(ML_ERROR, "lockres %.*s: Someone is calling dlmunlock " 133 mlog(ML_ERROR, "lockres in progress!\n"); 324 * that the lockres had been remote but became local 497 mlog(0, "lockres is in progress\n"); 608 if (!lksb->lockid || !lksb->lockid->lockres) { 617 res = lock->lockres; 669 * lockres queues and cannot be found. */
|
H A D | dlmcommon.h | 221 struct dlm_lock_resource *lockres; member in struct:dlm_mig_lockres_priv 228 struct dlm_lock_resource *lockres; member in struct:dlm_assert_master_priv 360 struct dlm_lock_resource *lockres; member in struct:dlm_lock 530 * We would like to get one whole lockres into a single network 532 * at most one dlm_lock on a lockres for each node in the cluster, 556 * So a lockres would need more than 240 locks before it would 568 __be64 mig_cookie; // cookie for this lockres migration
|
H A D | dlmast.c | 113 struct dlm_lock_resource *res = lock->lockres; 186 /* only updates if this node masters the lockres */ 191 mlog(0, "getting lvb from lockres for %s node\n", 323 mlog(0, "Got %sast for unknown lockres! cookie=%u:%llu, " 335 mlog(0, "lockres %.*s\n", res->lockname.len, res->lockname.name);
|
H A D | dlmdomain.c | 146 void __dlm_unhash_lockres(struct dlm_lock_resource *lockres) argument 148 if (!hlist_unhashed(&lockres->hash_node)) { 149 hlist_del_init(&lockres->hash_node); 150 dlm_lockres_put(lockres); 675 /* Give dlm_thread time to purge the lockres' */ 680 /* This list should be empty. If not, print remaining lockres */ 682 mlog(ML_ERROR, "Following lockres' are still on the "
|
H A D | dlmrecovery.c | 297 mlog(ML_NOTICE, "%s: lockres %.*s on recovering list\n", 1067 mlog(0, "found lockres owned by dead node while " 1120 mlog(0, "%s:%.*s: sending mig lockres (%s) to %u\n", 1197 lock->lockres->lockname.len, lock->lockres->lockname.name, 1199 dlm_print_one_lock_resource(lock->lockres); 1275 mlog(0, "argh. lockres has %d locks. this will " 1322 "lockres %.*s\n", dlm->name, send_to, 1332 * recovery data, and it will work on only one lockres. 1363 /* cannot migrate a lockres wit [all...] |
H A D | dlmdebug.c | 106 printk("lockres: %s, owner=%u, state=%u\n", 138 dlm_print_one_lock_resource(lockid->lockres); 550 /* begin - debug lockres funcs */ 757 /* end - debug lockres funcs */ 948 /* for dumping lockres */ 969 /* for dumping lockres on the purge list */
|
H A D | dlmmaster.c | 495 /* This should not happen -- all lockres' have a name 499 mlog(0, "destroying lockres %.*s\n", res->lockname.len, 677 * if not, allocate enough for the lockres and for 708 mlog(0, "get lockres %s (len %d)\n", lockid, namelen); 733 * the lockres to be purged, start over. */ 763 mlog(0, "no lockres found, allocated our own: %p\n", res); 774 /* lockres still marked IN_PROGRESS */ 814 * the mle or lockres waitqueue here */ 831 * but they might own this lockres. wait on them. */ 843 * lockres t [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/lockd/ |
H A D | svc4proc.c | 481 PROC(lock_res, lockres, norep, res, void, 1),
|
H A D | svcproc.c | 514 PROC(lock_res, lockres, norep, res, void, 1),
|