lglock 47 include/linux/lglock.h struct lglock name = { .lock = &name ## _lock } lglock 52 include/linux/lglock.h static struct lglock name = { .lock = &name ## _lock } lglock 54 include/linux/lglock.h void lg_lock_init(struct lglock *lg, char *name); lglock 55 include/linux/lglock.h void lg_local_lock(struct lglock *lg); lglock 56 include/linux/lglock.h void lg_local_unlock(struct lglock *lg); lglock 57 include/linux/lglock.h void lg_local_lock_cpu(struct lglock *lg, int cpu); lglock 58 include/linux/lglock.h void lg_local_unlock_cpu(struct lglock *lg, int cpu); lglock 59 include/linux/lglock.h void lg_global_lock(struct lglock *lg); lglock 60 include/linux/lglock.h void lg_global_unlock(struct lglock *lg);