Home
last modified time | relevance | path

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

12

/linux-6.12.1/fs/ntfs3/
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.12.1/drivers/staging/greybus/
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.12.1/drivers/tty/serial/
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()
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-6.12.1/drivers/staging/media/atomisp/pci/runtime/queue/src/
Dqueue.c339 int ia_css_queue_is_empty(ia_css_queue_t *qhandle, bool *is_empty) in ia_css_queue_is_empty() argument
343 if ((!qhandle) || (!is_empty)) in ia_css_queue_is_empty()
351 *is_empty = ia_css_circbuf_is_empty(&qhandle->desc.cb_local); in ia_css_queue_is_empty()
364 *is_empty = ia_css_circbuf_desc_is_empty(&cb_desc); in ia_css_queue_is_empty()
/linux-6.12.1/drivers/edac/
Dbluefield_edac.c186 int is_empty = 1, i; in bluefield_edac_init_dimms() local
199 is_empty = 0; in bluefield_edac_init_dimms()
236 if (is_empty) in bluefield_edac_init_dimms()
/linux-6.12.1/security/landlock/
Druleset.c650 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-6.12.1/fs/ubifs/
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.12.1/rust/kernel/
Dstr.rs25 pub const fn is_empty(&self) -> bool { in is_empty() method
168 if self.0.is_empty() { in len_with_nul()
176 pub const fn is_empty(&self) -> bool { in is_empty() method
204 if bytes.is_empty() { in from_bytes_with_nul()
Duaccess.rs210 pub fn is_empty(&self) -> bool { in is_empty() method
326 pub fn is_empty(&self) -> bool { in is_empty() method
Dlist.rs244 pub fn is_empty(&self) -> bool { in is_empty() method
465 if self.is_empty() { in push_all_back()
468 } else if !other.is_empty() { in push_all_back()
/linux-6.12.1/kernel/cgroup/
Dcpuset-v1.c289 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-6.12.1/tools/testing/selftests/net/tcp_ao/
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.12.1/drivers/staging/media/atomisp/pci/runtime/queue/interface/
Dia_css_queue.h109 bool *is_empty);
/linux-6.12.1/rust/macros/
Dpinned_drop.rs7 assert!(!toks.is_empty()); in pinned_drop()
Dzeroable.rs20 let mut in_generic = !impl_generics.is_empty(); in derive()
Dpin_data.rs34 if !ty_generics.is_empty() { in pin_data()
/linux-6.12.1/fs/xfs/
Dxfs_bmap_util.h53 int *is_empty);
/linux-6.12.1/drivers/md/dm-vdo/indexer/
Dvolume.h137 bool *is_empty);
Dindex.c1077 bool is_empty = false; in rebuild_index() local
1082 &is_empty); in rebuild_index()
1088 if (is_empty) { in rebuild_index()
Dvolume.c1450 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-6.12.1/drivers/net/wireless/intel/iwlwifi/dvm/
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.12.1/drivers/gpu/drm/xe/
Dxe_guc_relay.c764 bool is_empty; in relay_needs_worker() local
767 is_empty = list_empty(&relay->incoming_actions); in relay_needs_worker()
770 return !is_empty; in relay_needs_worker()
/linux-6.12.1/drivers/usb/serial/
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()
/linux-6.12.1/fs/xfs/libxfs/
Dxfs_bmap.c1331 int *is_empty) in xfs_bmap_last_extent() argument
1343 *is_empty = 1; in xfs_bmap_last_extent()
1345 *is_empty = 0; in xfs_bmap_last_extent()
1364 int is_empty; in xfs_bmap_isaeof() local
1369 &is_empty); in xfs_bmap_isaeof()
1373 if (is_empty) { in xfs_bmap_isaeof()
1401 int is_empty; in xfs_bmap_last_offset() local
1414 error = xfs_bmap_last_extent(NULL, ip, whichfork, &rec, &is_empty); in xfs_bmap_last_offset()
1415 if (error || is_empty) in xfs_bmap_last_offset()
5953 int is_empty; in xfs_bmap_can_insert_extents() local
[all …]
/linux-6.12.1/drivers/tty/
Dmxser.c906 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()

12