Home
last modified time | relevance | path

Searched refs:is_zero (Results 1 – 11 of 11) sorted by relevance

/linux/scripts/coccinelle/null/
H A Dbadzero.cocci100 @ r disable is_zero,isnt_zero exists @
122 @ depends on patch disable is_zero,isnt_zero @
146 @t2 depends on !patch disable is_zero,isnt_zero @
192 @ depends on patch disable is_zero,isnt_zero @
214 @ t3 depends on !patch disable is_zero,isnt_zero @
/linux/rust/kernel/io/
H A Dpoll.rs104 if !sleep_delta.is_zero() { in read_poll_timeout()
175 if !delay_delta.is_zero() {
/linux/fs/ntfs3/
H A Dlznt.c329 bool is_zero = true; in compress_lznt() local
346 if (is_zero && err != LZNT_ERROR_ALL_ZEROS) in compress_lznt()
347 is_zero = false; in compress_lznt()
355 return is_zero ? 0 : PtrOffset(cmpr, p); in compress_lznt()
/linux/mm/
H A Dpage_io.c401 bool is_zero; in swap_zeromap_batch() local
408 is_zero = __swap_table_test_zero(ci, ci_start); in swap_zeromap_batch()
410 if (is_zero != __swap_table_test_zero(ci, ci_start + i)) in swap_zeromap_batch()
414 *is_zerop = is_zero; in swap_zeromap_batch()
H A Dswap_state.c169 bool is_zero; in __swap_cache_add_check() local
194 is_zero = __swap_table_test_zero(ci, ci_off); in __swap_cache_add_check()
201 is_zero != __swap_table_test_zero(ci, ci_off) || in __swap_cache_add_check()
/linux/drivers/md/
H A Ddm-verity.h141 sector_t block, u8 *digest, bool *is_zero);
H A Ddm-verity-fec.c177 bool is_zero; in fec_read_bufs() local
232 &is_zero) == 0) { in fec_read_bufs()
234 if (is_zero) in fec_read_bufs()
H A Ddm-verity-target.c342 sector_t block, u8 *digest, bool *is_zero) in verity_hash_for_block() argument
368 *is_zero = !memcmp(v->zero_digest, digest, v->digest_size); in verity_hash_for_block()
370 *is_zero = false; in verity_hash_for_block()
535 bool is_zero; in verity_verify_io() local
546 &is_zero); in verity_verify_io()
565 if (is_zero) { in verity_verify_io()
/linux/drivers/md/dm-vdo/
H A Ddump.c201 if (data_vio->is_zero) in encode_vio_dump_flags()
/linux/rust/kernel/
H A Dtime.rs474 pub fn is_zero(self) -> bool { in is_zero() method
/linux/tools/perf/pmu-events/
H A Djevents.py310 def is_zero(val: str) -> bool:
406 if key in jd and not is_zero(jd[key]):
306 def is_zero(val: str) -> bool: global() function