Home
last modified time | relevance | path

Searched refs:lock_len (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/mtd/spi-nor/
A Dswp.c91 uint64_t lock_len; in spi_nor_check_lock_status_sr() local
98 lock_offs_max = lock_offs + lock_len; in spi_nor_check_lock_status_sr()
162 loff_t lock_len; in spi_nor_sr_lock() local
193 lock_len = mtd->size - ofs; in spi_nor_sr_lock()
195 lock_len = ofs + len; in spi_nor_sr_lock()
197 if (lock_len == mtd->size) { in spi_nor_sr_lock()
247 loff_t lock_len; in spi_nor_sr_unlock() local
278 lock_len = mtd->size - (ofs + len); in spi_nor_sr_unlock()
280 lock_len = ofs; in spi_nor_sr_unlock()
282 if (lock_len == 0) { in spi_nor_sr_unlock()
[all …]
/linux/kernel/locking/
A Dlockdep.c6392 const void* lock_from, unsigned long lock_len) in not_in_range() argument
6394 return lock_from + lock_len <= mem_from || in not_in_range()

Completed in 14 milliseconds