Searched refs:lock_depth (Results 1 - 20 of 20) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/reiserfs/
H A Dlock.c31 sb_i->lock_depth++;
45 if (--sb_i->lock_depth == -1) {
55 * We always return the lock_depth we had before calling
65 return sb_i->lock_depth++;
68 return sb_i->lock_depth;
71 void reiserfs_write_unlock_once(struct super_block *s, int lock_depth) argument
73 if (lock_depth == -1)
85 if (sb_i->lock_depth < 0)
95 WARN_ONCE((sb_i->lock_depth > 0), "Unwanted recursive reiserfs lock!\n");
H A Dinode.c608 int lock_depth; local
618 lock_depth = reiserfs_write_lock_once(inode->i_sb);
622 reiserfs_write_unlock_once(inode->i_sb, lock_depth);
634 reiserfs_write_unlock_once(inode->i_sb, lock_depth);
752 reiserfs_write_unlock_once(inode->i_sb, lock_depth);
1001 reiserfs_write_unlock_once(inode->i_sb, lock_depth);
1003 lock_depth = reiserfs_write_lock_once(inode->i_sb);
1039 reiserfs_write_unlock_once(inode->i_sb, lock_depth);
2076 int lock_depth; local
2078 lock_depth
2682 int lock_depth = 0; local
[all...]
H A Dnamei.c326 int lock_depth; local
339 lock_depth = reiserfs_write_lock_once(dir->i_sb);
350 reiserfs_write_unlock_once(dir->i_sb, lock_depth);
359 reiserfs_write_unlock_once(dir->i_sb, lock_depth);
727 int lock_depth; local
753 lock_depth = reiserfs_write_lock_once(dir->i_sb);
804 reiserfs_write_unlock_once(dir->i_sb, lock_depth);
H A Dsuper.c570 int lock_depth; local
578 lock_depth = reiserfs_write_lock_once(inode->i_sb);
591 reiserfs_write_unlock_once(inode->i_sb, lock_depth);
1648 REISERFS_SB(s)->lock_depth = -1;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dsmp_lock.h7 #define kernel_locked() (current->lock_depth >= 0)
16 if (unlikely((tsk)->lock_depth >= 0)) \
22 if (unlikely(task->lock_depth >= 0))
H A Dinit_task.h115 .lock_depth = -1, \
H A Dftrace_event.h40 int lock_depth; member in struct:trace_entry
H A Dreiserfs_fs_sb.h365 int lock_depth; member in struct:reiserfs_sb_info
H A Dsched.h1156 int lock_depth; /* BKL lock depth */ member in struct:task_struct
H A Dreiserfs_fs.h63 void reiserfs_write_unlock_once(struct super_block *s, int lock_depth);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/lib/
H A Dkernel_lock.c121 int depth = current->lock_depth + 1;
129 current->lock_depth = depth;
134 BUG_ON(current->lock_depth < 0);
135 if (likely(--current->lock_depth < 0))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/trace/events/
H A Dbkl.h23 /* We want to record the lock_depth after lock is acquired */
24 __entry->depth = current->lock_depth + 1;
48 __entry->depth = current->lock_depth;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/passdb/
H A Dpdb_smbpasswd.c183 static FILE *startsmbfilepwent(const char *pfile, enum pwf_access_type type, int *lock_depth) argument
255 if (!pw_file_lock(fileno(fp), lock_type, 5, lock_depth)) {
283 pw_file_unlock(fileno(fp), lock_depth); local
291 pw_file_unlock(fileno(fp), lock_depth); local
305 pw_file_unlock(fileno(fp), lock_depth); local
326 pw_file_unlock(fileno(fp), lock_depth); local
339 static void endsmbfilepwent(FILE *fp, int *lock_depth) argument
345 pw_file_unlock(fileno(fp), lock_depth); local
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/
H A Dmutex.c169 if (unlikely(current->lock_depth >= 0))
H A Dfork.c1074 p->lock_depth = -1; /* -1 = no lock */
H A Dsched.c3830 if (unlikely(prev->lock_depth >= 0)) {
5511 task_thread_info(idle)->preempt_count = (idle->lock_depth >= 0);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/trace/
H A Dtrace_output.c560 if (entry->lock_depth < 0)
563 return trace_seq_printf(s, "%d", entry->lock_depth);
H A Dtrace_events.c113 __common_field(int, lock_depth);
H A Dtrace.c1106 entry->lock_depth = (tsk) ? tsk->lock_depth : 0;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/tools/perf/
H A Dbuiltin-timechart.c298 int lock_depth; member in struct:trace_entry

Completed in 207 milliseconds