Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ntfs3/
Ddir.c484 static int ntfs_dir_count(struct inode *dir, bool *is_empty, size_t *dirs, in ntfs_dir_count() argument
500 if (is_empty) in ntfs_dir_count()
501 *is_empty = true; in ntfs_dir_count()
530 if (is_empty) { in ntfs_dir_count()
531 *is_empty = false; in ntfs_dir_count()
578 bool is_empty = false; in dir_is_empty() local
580 ntfs_dir_count(dir, &is_empty, NULL, NULL); in dir_is_empty()
582 return is_empty; in dir_is_empty()
Dfrecord.c3315 bool is_empty; in ni_write_inode() local
3322 is_empty = !mi_enum_attr(mi, NULL); in ni_write_inode()
3324 if (is_empty) in ni_write_inode()
3331 if (is_empty) { in ni_write_inode()
/linux-6.1.9/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.1.9/drivers/tty/serial/
Dsifive.c396 static char __ssp_receive_char(struct sifive_serial_port *ssp, char *is_empty) in __ssp_receive_char() argument
403 if (!is_empty) in __ssp_receive_char()
406 *is_empty = (v & SIFIVE_SERIAL_RXDATA_EMPTY_MASK) >> in __ssp_receive_char()
427 char is_empty; in __ssp_receive_chars() local
431 ch = __ssp_receive_char(ssp, &is_empty); in __ssp_receive_chars()
432 if (is_empty) in __ssp_receive_chars()
728 char is_empty, ch; in sifive_serial_poll_get_char() local
730 ch = __ssp_receive_char(ssp, &is_empty); in sifive_serial_poll_get_char()
731 if (is_empty) in sifive_serial_poll_get_char()
/linux-6.1.9/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-6.1.9/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.1.9/rust/alloc/
Dborrow.rs470 if self.is_empty() { in add_assign()
472 } else if !rhs.is_empty() { in add_assign()
487 if self.is_empty() { in add_assign()
489 } else if !rhs.is_empty() { in add_assign()
Dboxed.rs1863 fn is_empty(&self) -> bool { in is_empty() method
1864 (**self).is_empty() in is_empty()
/linux-6.1.9/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.1.9/security/landlock/
Dfs.c258 bool is_empty; in unmask_layers() local
264 is_empty = true; in unmask_layers()
269 is_empty = is_empty && !(*layer_masks)[access_bit]; in unmask_layers()
271 if (is_empty) in unmask_layers()
/linux-6.1.9/rust/alloc/vec/
Ddrain.rs177 fn is_empty(&self) -> bool { in is_empty() method
178 self.iter.is_empty() in is_empty()
Dinto_iter.rs272 fn is_empty(&self) -> bool { in is_empty() method
Dmod.rs1952 pub fn is_empty(&self) -> bool { in is_empty() method
/linux-6.1.9/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.1.9/drivers/staging/media/atomisp/pci/runtime/queue/interface/
Dia_css_queue.h109 bool *is_empty);
/linux-6.1.9/fs/xfs/
Dxfs_bmap_util.h53 int *is_empty);
/linux-6.1.9/fs/ntfs/
Dlogfile.c488 goto is_empty; in ntfs_check_logfile()
603 is_empty: in ntfs_check_logfile()
/linux-6.1.9/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.1.9/fs/xfs/libxfs/
Dxfs_bmap.c1289 int *is_empty) in xfs_bmap_last_extent() argument
1301 *is_empty = 1; in xfs_bmap_last_extent()
1303 *is_empty = 0; in xfs_bmap_last_extent()
1322 int is_empty; in xfs_bmap_isaeof() local
1327 &is_empty); in xfs_bmap_isaeof()
1331 if (is_empty) { in xfs_bmap_isaeof()
1359 int is_empty; in xfs_bmap_last_offset() local
1370 error = xfs_bmap_last_extent(NULL, ip, whichfork, &rec, &is_empty); in xfs_bmap_last_offset()
1371 if (error || is_empty) in xfs_bmap_last_offset()
5839 int is_empty; in xfs_bmap_can_insert_extents() local
[all …]
/linux-6.1.9/drivers/tty/
Dmxser.c908 bool is_empty; in mxser_write() local
912 is_empty = kfifo_is_empty(&info->port.xmit_fifo); in mxser_write()
915 if (!is_empty && !tty->flow.stopped) in mxser_write()
/linux-6.1.9/drivers/mtd/ubi/
Dvtbl.c811 if (ai->is_empty) { in ubi_read_volume_table()
Dubi.h773 int is_empty; member
Dattach.c1255 ai->is_empty = 1; in late_analysis()
1681 if (ai->is_empty) { in self_check_ai()
/linux-6.1.9/kernel/cgroup/
Dcpuset.c3306 bool is_empty; in hotplug_update_tasks_legacy() local
3324 is_empty = cpumask_empty(cs->cpus_allowed) || in hotplug_update_tasks_legacy()
3334 if (is_empty) in hotplug_update_tasks_legacy()