Home
last modified time | relevance | path

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

12

/linux/fs/ntfs3/
H A Ddir.c509 static int ntfs_dir_count(struct inode *dir, bool *is_empty, size_t *dirs, in ntfs_dir_count() argument
523 if (is_empty) in ntfs_dir_count()
524 *is_empty = true; in ntfs_dir_count()
555 if (is_empty) { in ntfs_dir_count()
556 *is_empty = false; in ntfs_dir_count()
601 bool is_empty = false; in dir_is_empty() local
603 ntfs_dir_count(dir, &is_empty, NULL, NULL); in dir_is_empty()
605 return is_empty; in dir_is_empty()
/linux/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/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()
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/drivers/net/wireless/intel/iwlwifi/
H A 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/drivers/staging/media/atomisp/pci/runtime/queue/src/
H A 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/drivers/edac/
H A 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/security/landlock/
H A Druleset.c651 bool is_empty; in landlock_unmask_layers() local
657 is_empty = true; in landlock_unmask_layers()
661 is_empty = is_empty && !(*layer_masks)[access_bit]; in landlock_unmask_layers()
663 if (is_empty) in landlock_unmask_layers()
/linux/rust/kernel/
H A 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()
/linux/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/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/drivers/staging/media/atomisp/pci/runtime/queue/interface/
H A Dia_css_queue.h109 bool *is_empty);
/linux/rust/macros/
H A Dpinned_drop.rs7 assert!(!toks.is_empty()); in pinned_drop()
H A Dzeroable.rs20 let mut in_generic = !impl_generics.is_empty(); in derive()
H A Dpin_data.rs34 if !ty_generics.is_empty() { in pin_data()
/linux/fs/xfs/
H A Dxfs_bmap_util.h53 int *is_empty);
/linux/drivers/md/dm-vdo/indexer/
H A Dvolume.h137 bool *is_empty);
H A Dindex.c1080 bool is_empty = false; in rebuild_index() local
1085 &is_empty); in rebuild_index()
1091 if (is_empty) { in rebuild_index()
H A 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/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()
/linux/fs/xfs/libxfs/
H A Dxfs_bmap.c1330 int *is_empty) in xfs_bmap_last_extent() argument
1342 *is_empty = 1; in xfs_bmap_last_extent()
1344 *is_empty = 0; in xfs_bmap_last_extent()
1363 int is_empty; in xfs_bmap_isaeof() local
1368 &is_empty); in xfs_bmap_isaeof()
1372 if (is_empty) { in xfs_bmap_isaeof()
1400 int is_empty; in xfs_bmap_last_offset() local
1413 error = xfs_bmap_last_extent(NULL, ip, whichfork, &rec, &is_empty); in xfs_bmap_last_offset()
1414 if (error || is_empty) in xfs_bmap_last_offset()
5966 int is_empty; in xfs_bmap_can_insert_extents() local
[all …]
/linux/drivers/tty/
H A 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/io_uring/
H A Dnet.c1550 arg.is_empty = -1; in io_accept()
1580 if (!arg.is_empty) in io_accept()
1591 if (cflags & IORING_CQE_F_SOCK_NONEMPTY || arg.is_empty == -1) in io_accept()
/linux/rust/kernel/net/
H A Dphy.rs653 if drivers.is_empty() { in register()
/linux/drivers/mtd/ubi/
H A Dubi.h773 int is_empty; member
H A Dvtbl.c817 if (ai->is_empty) { in ubi_read_volume_table()

12