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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/lib/
H A Dkernel_lock.c42 int saved_lock_depth = task->lock_depth;
46 task->lock_depth = -1;
52 task->lock_depth = saved_lock_depth;
68 int depth = task->lock_depth + 1;
72 * No recursion worries - we set up lock_depth _after_
76 task->lock_depth = depth;
83 BUG_ON(task->lock_depth < 0);
85 if (likely(--task->lock_depth < 0))
196 int depth = current->lock_depth+1;
199 current->lock_depth
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dsmp_lock.h8 #define kernel_locked() (current->lock_depth >= 0)
17 if (unlikely((tsk)->lock_depth >= 0)) \
35 if (unlikely(task->lock_depth >= 0))
H A Dinit_task.h126 .lock_depth = -1, \
H A Dsched.h957 int lock_depth; /* BKL lock depth */ member in struct:task_struct
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/passdb/
H A Dpdb_smbpasswd.c137 static FILE *startsmbfilepwent(const char *pfile, enum pwf_access_type type, int *lock_depth) argument
209 if (!pw_file_lock(fileno(fp), lock_type, 5, lock_depth)) {
237 pw_file_unlock(fileno(fp), lock_depth); local
245 pw_file_unlock(fileno(fp), lock_depth); local
259 pw_file_unlock(fileno(fp), lock_depth); local
280 pw_file_unlock(fileno(fp), lock_depth); local
293 static void endsmbfilepwent(FILE *fp, int *lock_depth) argument
299 pw_file_unlock(fileno(fp), lock_depth); local
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/
H A Dsched.c3577 if (unlikely(prev->lock_depth >= 0)) {
3710 * clear ->lock_depth so that schedule() doesnt
3714 saved_lock_depth = task->lock_depth;
3715 task->lock_depth = -1;
3719 task->lock_depth = saved_lock_depth;
3753 * clear ->lock_depth so that schedule() doesnt
3757 saved_lock_depth = task->lock_depth;
3758 task->lock_depth = -1;
3764 task->lock_depth = saved_lock_depth;
4996 task_thread_info(idle)->preempt_count = (idle->lock_depth >
[all...]
H A Dfork.c1067 p->lock_depth = -1; /* -1 = no lock */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/reiserfs/
H A Djournal.c439 if (current->lock_depth < 0) {

Completed in 205 milliseconds