Lines Matching refs:lg
54 void lg_lock_init(struct lglock *lg, char *name);
56 void lg_local_lock(struct lglock *lg);
57 void lg_local_unlock(struct lglock *lg);
58 void lg_local_lock_cpu(struct lglock *lg, int cpu);
59 void lg_local_unlock_cpu(struct lglock *lg, int cpu);
61 void lg_double_lock(struct lglock *lg, int cpu1, int cpu2);
62 void lg_double_unlock(struct lglock *lg, int cpu1, int cpu2);
64 void lg_global_lock(struct lglock *lg);
65 void lg_global_unlock(struct lglock *lg);
72 #define lg_lock_init(lg, name) spin_lock_init(lg) argument
75 #define lg_local_lock_cpu(lg, cpu) spin_lock(lg) argument
76 #define lg_local_unlock_cpu(lg, cpu) spin_unlock(lg) argument