Home
last modified time | relevance | path

Searched refs:is_zero (Results 1 – 14 of 14) 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/fs/ntfs3/
H A Dlznt.c327 bool is_zero = true; in compress_lznt() local
344 if (is_zero && err != LZNT_ERROR_ALL_ZEROS) in compress_lznt()
345 is_zero = false; in compress_lznt()
353 return is_zero ? 0 : PtrOffset(cmpr, p); in compress_lznt()
/linux/rust/kernel/block/mq/
H A Drequest.rs246 let is_zero = refcount.dec_and_test(); in dec_ref() localVariable
249 if is_zero { in dec_ref()
/linux/rust/kernel/io/
H A Dpoll.rs97 if !sleep_delta.is_zero() { in read_poll_timeout()
/linux/drivers/md/
H A Ddm-verity.h124 sector_t block, u8 *digest, bool *is_zero);
H A Ddm-verity-target.c327 sector_t block, u8 *digest, bool *is_zero) in verity_hash_for_block() argument
353 *is_zero = !memcmp(v->zero_digest, digest, v->digest_size); in verity_hash_for_block()
355 *is_zero = false; in verity_hash_for_block()
462 bool is_zero; in verity_verify_io() local
472 &is_zero); in verity_verify_io()
490 if (is_zero) { in verity_verify_io()
H A Ddm-verity-fec.c209 bool is_zero; in fec_read_bufs() local
274 &is_zero) == 0) { in fec_read_bufs()
276 if (is_zero) in fec_read_bufs()
/linux/drivers/md/dm-vdo/
H A Ddata-vio.c564 data_vio->is_zero = mem_is_zero(data_vio->vio.data, VDO_BLOCK_SIZE); in launch_bio()
1451 data_vio->is_zero = mem_is_zero(data, VDO_BLOCK_SIZE); in modify_for_partial_write()
1807 VDO_ASSERT_LOG_ONLY(!data_vio->is_zero, "zero blocks should not be hashed"); in hash_data_vio()
1822 VDO_ASSERT_LOG_ONLY(!data_vio->is_zero, "must not prepare to dedupe zero blocks"); in prepare_for_dedupe()
2004 if (!data_vio->is_zero && (!data_vio->is_discard || data_vio->is_partial)) { in continue_data_vio_with_block_map_slot()
2015 if (data_vio->is_zero) in continue_data_vio_with_block_map_slot()
H A Ddump.c201 if (data_vio->is_zero) in encode_vio_dump_flags()
H A Ddata-vio.h202 u16 is_zero : 1; member
/linux/rust/kernel/sync/
H A Darc.rs468 let is_zero = unsafe { self.ptr.as_ref() }.refcount.dec_and_test(); in drop() localVariable
469 if is_zero { in drop()
/linux/rust/kernel/
H A Dtime.rs404 pub fn is_zero(self) -> bool { in is_zero() method
/linux/tools/perf/pmu-events/
H A Djevents.py304 def is_zero(val: str) -> bool: function
392 if key in jd and not is_zero(jd[key]):
/linux/lib/
H A Dvsprintf.c474 bool is_zero = num == 0LL; in number() local
500 else if (!is_zero) in number()
542 if (spec.base == 16 || !is_zero) { in number()