Home
last modified time | relevance | path

Searched refs:is_empty (Results 1 - 25 of 42) sorted by relevance

12

/kernel/linux/linux-6.6/fs/ntfs3/
H A Ddir.c508 static int ntfs_dir_count(struct inode *dir, bool *is_empty, size_t *dirs, in ntfs_dir_count() argument
522 if (is_empty) in ntfs_dir_count()
523 *is_empty = true; in ntfs_dir_count()
552 if (is_empty) { in ntfs_dir_count()
553 *is_empty = false; in ntfs_dir_count()
598 bool is_empty = false; in dir_is_empty() local
600 ntfs_dir_count(dir, &is_empty, NULL, NULL); in dir_is_empty()
602 return is_empty; in dir_is_empty()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/tty/serial/
H A Dsifive.c398 * @is_empty: char pointer to return whether the RX FIFO is empty
407 static char __ssp_receive_char(struct sifive_serial_port *ssp, char *is_empty) in __ssp_receive_char() argument
414 if (!is_empty) in __ssp_receive_char()
417 *is_empty = (v & SIFIVE_SERIAL_RXDATA_EMPTY_MASK) >> in __ssp_receive_char()
438 char is_empty; in __ssp_receive_chars() local
442 ch = __ssp_receive_char(ssp, &is_empty); in __ssp_receive_chars()
443 if (is_empty) in __ssp_receive_chars()
740 char is_empty, ch; in sifive_serial_poll_get_char() local
742 ch = __ssp_receive_char(ssp, &is_empty); in sifive_serial_poll_get_char()
743 if (is_empty) in sifive_serial_poll_get_char()
[all...]
/kernel/linux/linux-6.6/drivers/tty/serial/
H A Dsifive.c366 * @is_empty: char pointer to return whether the RX FIFO is empty
375 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()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/
H A Diwl-eeprom-read.c263 bool is_empty = false; in iwl_is_otp_empty() local
269 is_empty = true; in iwl_is_otp_empty()
273 is_empty = true; in iwl_is_otp_empty()
276 return is_empty; in iwl_is_otp_empty()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/queue/src/
H A Dqueue.c359 bool *is_empty) in ia_css_queue_is_empty()
363 if ((!qhandle) || (!is_empty)) in ia_css_queue_is_empty()
371 *is_empty = ia_css_circbuf_is_empty(&qhandle->desc.cb_local); in ia_css_queue_is_empty()
384 *is_empty = ia_css_circbuf_desc_is_empty(&cb_desc); in ia_css_queue_is_empty()
357 ia_css_queue_is_empty( ia_css_queue_t *qhandle, bool *is_empty) ia_css_queue_is_empty() argument
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/rust/kernel/
H A Dstr.rs78 if self.0.is_empty() {
86 pub const fn is_empty(&self) -> bool {
114 if bytes.is_empty() {
/kernel/linux/linux-6.6/security/landlock/
H A 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()
/kernel/linux/linux-6.6/rust/macros/
H A Dzeroable.rs19 let mut in_generic = !impl_generics.is_empty();
H A Dpinned_drop.rs7 assert!(!toks.is_empty());
H A Dpin_data.rs33 if !ty_generics.is_empty() {
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/queue/interface/
H A Dia_css_queue.h101 * @param[in] is_empty True if empty, False if not.
109 bool *is_empty);
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/runtime/queue/interface/
H A Dia_css_queue.h101 * @param[in] is_empty True if empty, False if not.
109 bool *is_empty);
/kernel/linux/linux-5.10/fs/ubifs/
H A Drecovery.c43 * is_empty - determine whether a buffer is empty (contains all 0xff).
50 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()
/kernel/linux/linux-6.6/fs/ubifs/
H A Drecovery.c43 * is_empty - determine whether a buffer is empty (contains all 0xff).
50 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()
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_bmap_util.h53 int *is_empty);
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_bmap_util.h53 int *is_empty);
/kernel/linux/linux-5.10/fs/ntfs/
H A Dlogfile.c488 goto is_empty; in ntfs_check_logfile()
604 is_empty: in ntfs_check_logfile()
/kernel/linux/linux-6.6/fs/ntfs/
H A Dlogfile.c488 goto is_empty; in ntfs_check_logfile()
603 is_empty: in ntfs_check_logfile()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_bmap.c1359 int *is_empty) in xfs_bmap_last_extent()
1373 *is_empty = 1; in xfs_bmap_last_extent()
1375 *is_empty = 0; in xfs_bmap_last_extent()
1394 int is_empty; in xfs_bmap_isaeof() local
1399 &is_empty); in xfs_bmap_isaeof()
1403 if (is_empty) { in xfs_bmap_isaeof()
1431 int is_empty; in xfs_bmap_last_offset() local
1442 error = xfs_bmap_last_extent(NULL, ip, whichfork, &rec, &is_empty); in xfs_bmap_last_offset()
1443 if (error || is_empty) in xfs_bmap_last_offset()
5867 int is_empty; in xfs_bmap_can_insert_extents() local
1354 xfs_bmap_last_extent( struct xfs_trans *tp, struct xfs_inode *ip, int whichfork, struct xfs_bmbt_irec *rec, int *is_empty) xfs_bmap_last_extent() argument
[all...]

Completed in 24 milliseconds

12