Home
last modified time | relevance | path

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

/Linux-v5.15/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.c3243 bool is_empty; in ni_write_inode() local
3250 is_empty = !mi_enum_attr(mi, NULL); in ni_write_inode()
3252 if (is_empty) in ni_write_inode()
3259 if (is_empty) { in ni_write_inode()
/Linux-v5.15/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-v5.15/drivers/tty/serial/
Dsifive.c408 static char __ssp_receive_char(struct sifive_serial_port *ssp, char *is_empty) in __ssp_receive_char() argument
415 if (!is_empty) in __ssp_receive_char()
418 *is_empty = (v & SIFIVE_SERIAL_RXDATA_EMPTY_MASK) >> in __ssp_receive_char()
439 char is_empty; in __ssp_receive_chars() local
443 ch = __ssp_receive_char(ssp, &is_empty); in __ssp_receive_chars()
444 if (is_empty) in __ssp_receive_chars()
735 char is_empty, ch; in sifive_serial_poll_get_char() local
737 ch = __ssp_receive_char(ssp, &is_empty); in sifive_serial_poll_get_char()
738 if (is_empty) in sifive_serial_poll_get_char()
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/
Diwl-eeprom-read.c209 bool is_empty = false; in iwl_is_otp_empty() local
215 is_empty = true; in iwl_is_otp_empty()
219 is_empty = true; in iwl_is_otp_empty()
222 return is_empty; in iwl_is_otp_empty()
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/drivers/staging/media/atomisp/pci/runtime/queue/interface/
Dia_css_queue.h109 bool *is_empty);
/Linux-v5.15/fs/xfs/
Dxfs_bmap_util.h53 int *is_empty);
/Linux-v5.15/fs/ntfs/
Dlogfile.c488 goto is_empty; in ntfs_check_logfile()
603 is_empty: in ntfs_check_logfile()
/Linux-v5.15/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-v5.15/fs/xfs/libxfs/
Dxfs_bmap.c1342 int *is_empty) in xfs_bmap_last_extent() argument
1354 *is_empty = 1; in xfs_bmap_last_extent()
1356 *is_empty = 0; in xfs_bmap_last_extent()
1375 int is_empty; in xfs_bmap_isaeof() local
1380 &is_empty); in xfs_bmap_isaeof()
1384 if (is_empty) { in xfs_bmap_isaeof()
1412 int is_empty; in xfs_bmap_last_offset() local
1423 error = xfs_bmap_last_extent(NULL, ip, whichfork, &rec, &is_empty); in xfs_bmap_last_offset()
1424 if (error || is_empty) in xfs_bmap_last_offset()
5928 int is_empty; in xfs_bmap_can_insert_extents() local
[all …]
/Linux-v5.15/drivers/mtd/ubi/
Dubi.h775 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-v5.15/kernel/cgroup/
Dcpuset.c3017 bool is_empty; in hotplug_update_tasks_legacy() local
3035 is_empty = cpumask_empty(cs->cpus_allowed) || in hotplug_update_tasks_legacy()
3045 if (is_empty) in hotplug_update_tasks_legacy()
/Linux-v5.15/drivers/net/ethernet/neterion/vxge/
Dvxge-config.c4963 u32 is_empty = TRUE; in vxge_hw_vpath_close() local
4978 is_empty = FALSE; in vxge_hw_vpath_close()
4981 if (!is_empty) { in vxge_hw_vpath_close()