/linux/fs/ntfs3/ |
H A D | dir.c | 522 static int ntfs_dir_count(struct inode *dir, bool *is_empty, size_t *dirs, in ntfs_dir_count() argument 536 if (is_empty) in ntfs_dir_count() 537 *is_empty = true; in ntfs_dir_count() 568 if (is_empty) { in ntfs_dir_count() 569 *is_empty = false; in ntfs_dir_count() 614 bool is_empty = false; in dir_is_empty() local 616 ntfs_dir_count(dir, &is_empty, NULL, NULL); in dir_is_empty() 618 return is_empty; in dir_is_empty()
|
/linux/drivers/staging/greybus/ |
H A D | audio_manager.c | 89 int is_empty; in gb_audio_manager_remove_all() local 99 is_empty = list_empty(&modules_list); in gb_audio_manager_remove_all() 103 if (!is_empty) in gb_audio_manager_remove_all()
|
/linux/drivers/tty/serial/ |
H A D | sifive.c | 375 static char __ssp_receive_char(struct sifive_serial_port *ssp, char *is_empty) in __ssp_receive_char() argument 382 if (!is_empty) in __ssp_receive_char() 385 *is_empty = (v & SIFIVE_SERIAL_RXDATA_EMPTY_MASK) >> in __ssp_receive_char() 405 char is_empty; in __ssp_receive_chars() local 410 ch = __ssp_receive_char(ssp, &is_empty); in __ssp_receive_chars() 411 if (is_empty) in __ssp_receive_chars() 708 char is_empty, ch; in sifive_serial_poll_get_char() local 710 ch = __ssp_receive_char(ssp, &is_empty); in sifive_serial_poll_get_char() 711 if (is_empty) in sifive_serial_poll_get_char()
|
/linux/security/landlock/ |
H A D | ruleset.c | 650 bool is_empty; in landlock_unmask_layers() local 656 is_empty = true; in landlock_unmask_layers() 660 is_empty = is_empty && !(*layer_masks)[access_bit]; in landlock_unmask_layers() 662 if (is_empty) in landlock_unmask_layers()
|
/linux/fs/ubifs/ |
H A D | recovery.c | 50 static int is_empty(void *buf, int len) in is_empty() function 161 if (!is_empty(buf, min_t(int, len, sz))) { in get_master_node() 171 if (!is_empty(buf, len)) in get_master_node() 414 return is_empty(p, check_len); in is_last_write() 466 if (is_empty(buf + skip, len - skip)) in no_more_nodes() 479 if (is_empty(buf + skip, len - skip)) in no_more_nodes() 685 } else if (!is_empty(buf, len)) { in ubifs_recover_leb() 924 if (err || !is_empty(sbuf, len)) { in recover_head()
|
/linux/rust/kernel/ |
H A D | str.rs | 24 pub const fn is_empty(&self) -> bool { 164 if self.0.is_empty() { in len_with_nul() 175 pub const fn is_empty(&self) -> bool { 203 if bytes.is_empty() { in from_bytes_with_nul() 25 pub const fn is_empty(&self) -> bool { is_empty() method 176 pub const fn is_empty(&self) -> bool { is_empty() method
|
H A D | uaccess.rs | 207 pub fn is_empty(&self) -> bool { in len() 323 pub fn is_empty(&self) -> bool { in len() 210 pub fn is_empty(&self) -> bool { is_empty() method 326 pub fn is_empty(&self) -> bool { is_empty() method
|
H A D | list.rs | 244 pub fn is_empty(&self) -> bool { in is_empty() method 466 if self.is_empty() { in push_all_back() 469 } else if !other.is_empty() { in push_all_back()
|
/linux/tools/testing/selftests/net/tcp_ao/ |
H A D | rst.c | 213 bool is_empty = true; in test_wait_fds() local 228 is_empty = false; in test_wait_fds() 230 if (is_empty) in test_wait_fds()
|
/linux/kernel/cgroup/ |
H A D | cpuset-v1.c | 289 bool is_empty; in cpuset1_hotplug_update_tasks() local 307 is_empty = cpumask_empty(cs->cpus_allowed) || in cpuset1_hotplug_update_tasks() 315 if (is_empty && cs->css.cgroup->nr_populated_csets && in cpuset1_hotplug_update_tasks()
|
/linux/drivers/edac/ |
H A D | bluefield_edac.c | 286 int is_empty = 1, i; in bluefield_edac_init_dimms() local 299 is_empty = 0; in bluefield_edac_init_dimms() 336 if (is_empty) in bluefield_edac_init_dimms()
|
/linux/rust/macros/ |
H A D | pinned_drop.rs | 7 assert!(!toks.is_empty()); in pinned_drop()
|
H A D | zeroable.rs | 20 let mut in_generic = !impl_generics.is_empty(); in derive()
|
H A D | pin_data.rs | 34 if !ty_generics.is_empty() { in pin_data()
|
/linux/fs/xfs/ |
H A D | xfs_bmap_util.h | 53 int *is_empty);
|
/linux/drivers/md/dm-vdo/indexer/ |
H A D | volume.h | 137 bool *is_empty);
|
H A D | index.c | 1077 bool is_empty = false; in rebuild_index() local 1082 &is_empty); in rebuild_index() 1088 if (is_empty) { in rebuild_index()
|
H A D | volume.c | 1450 u64 *highest_vcn, bool *is_empty) in uds_find_volume_chapter_boundaries() argument 1458 *is_empty = true; in uds_find_volume_chapter_boundaries() 1462 *is_empty = false; in uds_find_volume_chapter_boundaries()
|
/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | eeprom.c | 840 bool is_empty = false; in iwl_is_otp_empty() local 846 is_empty = true; in iwl_is_otp_empty() 850 is_empty = true; in iwl_is_otp_empty() 853 return is_empty; in iwl_is_otp_empty()
|
/linux/drivers/usb/serial/ |
H A D | mxuport.c | 573 bool is_empty = true; in mxuport_tx_empty() local 591 is_empty = false; in mxuport_tx_empty() 595 return is_empty; in mxuport_tx_empty()
|
/linux/fs/xfs/libxfs/ |
H A D | xfs_bmap.c | 1335 int *is_empty) in xfs_bmap_last_extent() argument 1347 *is_empty = 1; in xfs_bmap_last_extent() 1349 *is_empty = 0; in xfs_bmap_last_extent() 1368 int is_empty; in xfs_bmap_isaeof() local 1373 &is_empty); in xfs_bmap_isaeof() 1377 if (is_empty) { in xfs_bmap_isaeof() 1405 int is_empty; in xfs_bmap_last_offset() local 1418 error = xfs_bmap_last_extent(NULL, ip, whichfork, &rec, &is_empty); in xfs_bmap_last_offset() 1419 if (error || is_empty) in xfs_bmap_last_offset() 6025 int is_empty; in xfs_bmap_can_insert_extents() local [all …]
|
/linux/drivers/tty/ |
H A D | mxser.c | 906 bool is_empty; in mxser_write() local 910 is_empty = kfifo_is_empty(&info->port.xmit_fifo); in mxser_write() 913 if (!is_empty && !tty->flow.stopped) in mxser_write()
|
/linux/rust/kernel/net/ |
H A D | phy.rs | 665 if drivers.is_empty() { in register()
|
/linux/io_uring/ |
H A D | net.c | 1578 arg.is_empty = -1; in io_accept() 1608 if (!arg.is_empty) in io_accept() 1619 if (cflags & IORING_CQE_F_SOCK_NONEMPTY || arg.is_empty == -1) in io_accept()
|
/linux/drivers/mtd/ubi/ |
H A D | attach.c | 1255 ai->is_empty = 1; in late_analysis() 1681 if (ai->is_empty) { in self_check_ai()
|