Home
last modified time | relevance | path

Searched refs:is_empty (Results 1 – 25 of 39) sorted by relevance

12

/linux-6.15/fs/ntfs3/
H A Ddir.c522 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-6.15/drivers/staging/greybus/
H A Daudio_manager.c89 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-6.15/drivers/tty/serial/
H A Dsifive.c375 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()
714 char is_empty, ch; in sifive_serial_poll_get_char() local
716 ch = __ssp_receive_char(ssp, &is_empty); in sifive_serial_poll_get_char()
717 if (is_empty) in sifive_serial_poll_get_char()
/linux-6.15/drivers/staging/media/atomisp/pci/runtime/queue/src/
H A Dqueue.c330 int ia_css_queue_is_empty(ia_css_queue_t *qhandle, bool *is_empty) in ia_css_queue_is_empty() argument
334 if ((!qhandle) || (!is_empty)) in ia_css_queue_is_empty()
342 *is_empty = ia_css_circbuf_is_empty(&qhandle->desc.cb_local); in ia_css_queue_is_empty()
355 *is_empty = ia_css_circbuf_desc_is_empty(&cb_desc); in ia_css_queue_is_empty()
/linux-6.15/security/landlock/
H A Druleset.c644 bool is_empty; in landlock_unmask_layers() local
650 is_empty = true; in landlock_unmask_layers()
654 is_empty = is_empty && !(*layer_masks)[access_bit]; in landlock_unmask_layers()
656 if (is_empty) in landlock_unmask_layers()
/linux-6.15/rust/kernel/
H A Duaccess.rs207 pub fn is_empty(&self) -> bool { in is_empty() method
315 pub fn is_empty(&self) -> bool { in is_empty() method
H A Dstr.rs24 pub const fn is_empty(&self) -> bool { in is_empty() method
212 if self.0.is_empty() { in len_with_nul()
223 pub const fn is_empty(&self) -> bool { in is_empty() method
251 if bytes.is_empty() { in from_bytes_with_nul()
H A Dsecurity.rs40 pub fn is_empty(&self) -> bool { in is_empty() method
H A Dlist.rs247 pub fn is_empty(&self) -> bool { in is_empty() method
463 if self.is_empty() { in push_all_back()
466 } else if !other.is_empty() { in push_all_back()
H A Dfirmware.rs292 if !this.module_name.is_empty() { in push_module_name()
/linux-6.15/fs/ubifs/
H A Drecovery.c50 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-6.15/drivers/edac/
H A Dbluefield_edac.c286 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-6.15/tools/testing/selftests/net/tcp_ao/
H A Drst.c213 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-6.15/drivers/staging/media/atomisp/pci/runtime/queue/interface/
H A Dia_css_queue.h100 bool *is_empty);
/linux-6.15/kernel/cgroup/
H A Dcpuset-v1.c291 bool is_empty; in cpuset1_hotplug_update_tasks() local
309 is_empty = cpumask_empty(cs->cpus_allowed) || in cpuset1_hotplug_update_tasks()
317 if (is_empty && cs->css.cgroup->nr_populated_csets && in cpuset1_hotplug_update_tasks()
/linux-6.15/rust/kernel/alloc/
H A Dlayout.rs98 pub const fn is_empty(&self) -> bool { in is_empty() method
/linux-6.15/rust/pin-init/internal/src/
H A Dpinned_drop.rs10 assert!(!toks.is_empty()); in pinned_drop()
H A Dzeroable.rs23 let mut in_generic = !impl_generics.is_empty(); in derive()
H A Dpin_data.rs37 if !ty_generics.is_empty() { in pin_data()
/linux-6.15/fs/xfs/
H A Dxfs_bmap_util.h55 int *is_empty);
/linux-6.15/drivers/md/dm-vdo/indexer/
H A Dvolume.h137 bool *is_empty);
/linux-6.15/rust/macros/
H A Dkunit.rs13 if attr.is_empty() { in kunit_tests()
/linux-6.15/drivers/net/wireless/intel/iwlwifi/dvm/
H A Deeprom.c840 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-6.15/drivers/gpu/drm/xe/
H A Dxe_guc_relay.c766 bool is_empty; in relay_needs_worker() local
769 is_empty = list_empty(&relay->incoming_actions); in relay_needs_worker()
772 return !is_empty; in relay_needs_worker()
/linux-6.15/drivers/usb/serial/
H A Dmxuport.c573 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()

12