Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/mtd/spi-nor/
Dswp.c91 uint64_t lock_len; in spi_nor_check_lock_status_sr() local
96 spi_nor_get_locked_range_sr(nor, sr, &lock_offs, &lock_len); in spi_nor_check_lock_status_sr()
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()
201 pow = ilog2(lock_len) - ilog2(min_prot_len) + 1; 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()
[all …]
/linux-6.1.9/fs/lockd/
Dsvc4proc.c36 (lock->lock_len && ((lock->lock_len - 1) > (OFFSET_MAX - lock->lock_start)))) in nlm4svc_retrieve_args()
58 lock->fl.fl_end = lock->lock_len ? in nlm4svc_retrieve_args()
59 (loff_t)(lock->lock_start + lock->lock_len - 1) : in nlm4svc_retrieve_args()
Dxdr4.c77 if (xdr_stream_decode_u64(xdr, &lock->lock_len) < 0) in svcxdr_decode_lock()
/linux-6.1.9/include/linux/lockd/
Dxdr.h45 u64 lock_len; member
/linux-6.1.9/kernel/locking/
Dlockdep.c6428 const void* lock_from, unsigned long lock_len) in not_in_range() argument
6430 return lock_from + lock_len <= mem_from || in not_in_range()