Searched refs:lock_flag (Results 1 - 7 of 7) sorted by relevance
/kernel/linux/common_modules/tzdriver/agent_rpmb/core/ |
H A D | agent_rpmb.c | 78 uint8_t lock_flag;
member 174 uint8_t lock_flag;
in send_ioccmd() local 182 lock_flag = m_rpmb_ctrl->lock_flag;
in send_ioccmd() 184 if (lock_flag & GET_RPMB_LOCK_MASK)
in send_ioccmd() 192 if (lock_flag & FREE_RPMB_LOCK_MASK)
in send_ioccmd()
|
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | fsl_raid.c | 276 unsigned long lock_flag; in fsl_re_chan_alloc_desc() local 280 spin_lock_irqsave(&re_chan->desc_lock, lock_flag); in fsl_re_chan_alloc_desc() 289 spin_unlock_irqrestore(&re_chan->desc_lock, lock_flag); in fsl_re_chan_alloc_desc() 306 spin_lock_irqsave(&re_chan->desc_lock, lock_flag); in fsl_re_chan_alloc_desc() 308 spin_unlock_irqrestore(&re_chan->desc_lock, lock_flag); in fsl_re_chan_alloc_desc()
|
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | fsl_raid.c | 277 unsigned long lock_flag; in fsl_re_chan_alloc_desc() local 281 spin_lock_irqsave(&re_chan->desc_lock, lock_flag); in fsl_re_chan_alloc_desc() 290 spin_unlock_irqrestore(&re_chan->desc_lock, lock_flag); in fsl_re_chan_alloc_desc() 307 spin_lock_irqsave(&re_chan->desc_lock, lock_flag); in fsl_re_chan_alloc_desc() 309 spin_unlock_irqrestore(&re_chan->desc_lock, lock_flag); in fsl_re_chan_alloc_desc()
|
/kernel/linux/linux-6.6/tools/perf/util/bpf_skel/ |
H A D | lock_contention.bpf.c | 433 __u32 lock_flag; in BPF_PROG() local 447 lock_flag = LOCK_CLASS_RQLOCK; in BPF_PROG() 448 bpf_map_update_elem(&lock_syms, &lock_addr, &lock_flag, BPF_ANY); in BPF_PROG()
|
/kernel/linux/linux-5.10/kernel/locking/ |
H A D | lockdep.c | 636 static inline unsigned long lock_flag(enum lock_usage_bit bit) in lock_flag() function 657 if (class->usage_mask & lock_flag(bit + LOCK_USAGE_DIR_MASK)) { in get_usage_char() 659 if (class->usage_mask & lock_flag(bit)) in get_usage_char() 661 } else if (class->usage_mask & lock_flag(bit)) in get_usage_char() 2705 if (excl_mask & lock_flag(excl)) { in find_exclusive_match() 2709 } else if (excl_mask & lock_flag(excl_read)) { in find_exclusive_match() 3955 unsigned usage_mask = lock_flag(bit) | lock_flag(read_bit); in check_usage_forwards() 3967 if (target_entry->class->usage_mask & lock_flag(bit)) { in check_usage_forwards() 3990 unsigned usage_mask = lock_flag(bi in check_usage_backwards() [all...] |
/kernel/linux/common_modules/tzdriver/tui/ |
H A D | tui.c | 861 int lock_flag = 0; local 873 lock_flag = 1; 874 if (!lock_flag) 884 if (!lock_flag) 889 if (!lock_flag)
|
/kernel/linux/linux-6.6/kernel/locking/ |
H A D | lockdep.c | 668 static inline unsigned long lock_flag(enum lock_usage_bit bit) in lock_flag() function 689 if (class->usage_mask & lock_flag(bit + LOCK_USAGE_DIR_MASK)) { in get_usage_char() 691 if (class->usage_mask & lock_flag(bit)) in get_usage_char() 693 } else if (class->usage_mask & lock_flag(bit)) in get_usage_char() 2769 if (excl_mask & lock_flag(excl)) { in find_exclusive_match() 2773 } else if (excl_mask & lock_flag(excl_read)) { in find_exclusive_match() 4095 unsigned usage_mask = lock_flag(bit) | lock_flag(read_bit); in check_usage_forwards() 4107 if (target_entry->class->usage_mask & lock_flag(bit)) { in check_usage_forwards() 4130 unsigned usage_mask = lock_flag(bi in check_usage_backwards() [all...] |
Completed in 20 milliseconds