Home
last modified time | relevance | path

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

12

/Linux-v6.6/fs/ntfs3/
Ddir.c488 static int ntfs_dir_count(struct inode *dir, bool *is_empty, size_t *dirs, in ntfs_dir_count() argument
504 if (is_empty) in ntfs_dir_count()
505 *is_empty = true; in ntfs_dir_count()
534 if (is_empty) { in ntfs_dir_count()
535 *is_empty = false; in ntfs_dir_count()
582 bool is_empty = false; in dir_is_empty() local
584 ntfs_dir_count(dir, &is_empty, NULL, NULL); in dir_is_empty()
586 return is_empty; in dir_is_empty()
/Linux-v6.6/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-v6.6/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()
707 char is_empty, ch; in sifive_serial_poll_get_char() local
709 ch = __ssp_receive_char(ssp, &is_empty); in sifive_serial_poll_get_char()
710 if (is_empty) in sifive_serial_poll_get_char()
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/
Diwl-eeprom-read.c205 bool is_empty = false; in iwl_is_otp_empty() local
211 is_empty = true; in iwl_is_otp_empty()
215 is_empty = true; in iwl_is_otp_empty()
218 return is_empty; in iwl_is_otp_empty()
/Linux-v6.6/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-v6.6/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-v6.6/rust/kernel/
Dstr.rs78 if self.0.is_empty() { in len_with_nul()
86 pub const fn is_empty(&self) -> bool { in is_empty() method
114 if bytes.is_empty() { in from_bytes_with_nul()
/Linux-v6.6/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-v6.6/security/landlock/
Dfs.c259 bool is_empty; in unmask_layers() local
265 is_empty = true; in unmask_layers()
270 is_empty = is_empty && !(*layer_masks)[access_bit]; in unmask_layers()
272 if (is_empty) in unmask_layers()
/Linux-v6.6/drivers/staging/media/atomisp/pci/runtime/queue/interface/
Dia_css_queue.h109 bool *is_empty);
/Linux-v6.6/rust/alloc/vec/
Ddrain.rs246 fn is_empty(&self) -> bool { in is_empty() method
247 self.iter.is_empty() in is_empty()
Dinto_iter.rs336 fn is_empty(&self) -> bool { in is_empty() method
/Linux-v6.6/rust/macros/
Dpinned_drop.rs7 assert!(!toks.is_empty()); in pinned_drop()
Dzeroable.rs19 let mut in_generic = !impl_generics.is_empty(); in derive()
Dpin_data.rs33 if !ty_generics.is_empty() { in pin_data()
/Linux-v6.6/fs/xfs/
Dxfs_bmap_util.h53 int *is_empty);
/Linux-v6.6/fs/ntfs/
Dlogfile.c488 goto is_empty; in ntfs_check_logfile()
603 is_empty: in ntfs_check_logfile()
/Linux-v6.6/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-v6.6/fs/xfs/libxfs/
Dxfs_bmap.c1313 int *is_empty) in xfs_bmap_last_extent() argument
1325 *is_empty = 1; in xfs_bmap_last_extent()
1327 *is_empty = 0; in xfs_bmap_last_extent()
1346 int is_empty; in xfs_bmap_isaeof() local
1351 &is_empty); in xfs_bmap_isaeof()
1355 if (is_empty) { in xfs_bmap_isaeof()
1383 int is_empty; in xfs_bmap_last_offset() local
1394 error = xfs_bmap_last_extent(NULL, ip, whichfork, &rec, &is_empty); in xfs_bmap_last_offset()
1395 if (error || is_empty) in xfs_bmap_last_offset()
5850 int is_empty; in xfs_bmap_can_insert_extents() local
[all …]
/Linux-v6.6/drivers/tty/
Dmxser.c909 bool is_empty; in mxser_write() local
913 is_empty = kfifo_is_empty(&info->port.xmit_fifo); in mxser_write()
916 if (!is_empty && !tty->flow.stopped) in mxser_write()
/Linux-v6.6/drivers/mtd/ubi/
Dubi.h773 int is_empty; member
Dvtbl.c811 if (ai->is_empty) { in ubi_read_volume_table()
Dattach.c1255 ai->is_empty = 1; in late_analysis()
1681 if (ai->is_empty) { in self_check_ai()
/Linux-v6.6/rust/alloc/
Dboxed.rs1976 fn is_empty(&self) -> bool { in is_empty() method
1977 (**self).is_empty() in is_empty()
/Linux-v6.6/kernel/cgroup/
Dcpuset.c3566 bool is_empty; in hotplug_update_tasks_legacy() local
3584 is_empty = cpumask_empty(cs->cpus_allowed) || in hotplug_update_tasks_legacy()
3592 if (is_empty) { in hotplug_update_tasks_legacy()

12