Home
last modified time | relevance | path

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

/linux/drivers/mtd/spi-nor/
H A Dswp.c96 u64 lock_len; in spi_nor_check_lock_status_sr() local
101 spi_nor_get_locked_range_sr(nor, sr, &lock_offs, &lock_len); in spi_nor_check_lock_status_sr()
103 lock_offs_max = lock_offs + lock_len; in spi_nor_check_lock_status_sr()
166 loff_t lock_len; in spi_nor_sr_lock() local
197 lock_len = mtd->size - ofs; in spi_nor_sr_lock()
199 lock_len = ofs + len; in spi_nor_sr_lock()
201 if (lock_len == mtd->size) { in spi_nor_sr_lock()
205 pow = ilog2(lock_len) - ilog2(min_prot_len) + 1; in spi_nor_sr_lock()
256 loff_t lock_len; in spi_nor_sr_unlock() local
287 lock_len = mtd->size - (ofs + len); in spi_nor_sr_unlock()
[all …]
/linux/fs/lockd/
H A Dsvc4proc.c36 (lock->lock_len && ((lock->lock_len - 1) > (OFFSET_MAX - lock->lock_start)))) in nlm4svc_retrieve_args()
59 lock->fl.fl_end = lock->lock_len ? in nlm4svc_retrieve_args()
60 (loff_t)(lock->lock_start + lock->lock_len - 1) : in nlm4svc_retrieve_args()
H A Dxdr4.c88 if (xdr_stream_decode_u64(xdr, &lock->lock_len) < 0) in svcxdr_decode_lock()
94 nlm4svc_set_file_lock_range(fl, lock->lock_start, lock->lock_len); in svcxdr_decode_lock()
H A Dtrace.h73 __entry->len = lock->lock_len;
/linux/include/linux/lockd/
H A Dxdr.h46 u64 lock_len; member
/linux/kernel/locking/
H A Dlockdep.c6644 const void* lock_from, unsigned long lock_len) in not_in_range() argument
6646 return lock_from + lock_len <= mem_from || in not_in_range()