Home
last modified time | relevance | path

Searched refs:retries (Results 1 – 25 of 32) sorted by relevance

12

/fs/xfs/
Dkmem.c14 int retries = 0; in kmem_alloc() local
24 if (!(++retries % 100)) in kmem_alloc()
Dxfs_sysfs.c419 int retries; in max_retries_show() local
423 retries = -1; in max_retries_show()
425 retries = cfg->max_retries; in max_retries_show()
427 return snprintf(buf, PAGE_SIZE, "%d\n", retries); in max_retries_show()
Dxfs_aops.c331 int retries = 0; in xfs_map_blocks() local
438 if (error == -EAGAIN && whichfork == XFS_COW_FORK && !retries++) in xfs_map_blocks()
Dxfs_buf.c418 uint retries = 0; in xfs_buf_allocate_memory() local
434 if (!(++retries % 100)) in xfs_buf_allocate_memory()
/fs/afs/
Dvolume.c367 int ret, retries = 0; in afs_check_volume_status() local
407 retries++; in afs_check_volume_status()
408 if (retries == 4) { in afs_check_volume_status()
Dserver.c673 int ret, retries = 0; in afs_check_server_record() local
707 retries++; in afs_check_server_record()
708 if (retries == 4) { in afs_check_server_record()
/fs/ubifs/
Dbudget.c122 int err, retries = 0; in make_free_space() local
150 dbg_budg("Run commit (retries %d)", retries); in make_free_space()
154 } while (retries++ < MAX_MKSPC_RETRIES); in make_free_space()
Djournal.c100 int err = 0, err1, retries = 0, avail, lnum, offs, squeeze; in reserve_space() local
156 if (retries++ < 2) { in reserve_space()
157 dbg_jnl("retry (%d)", retries); in reserve_space()
/fs/ext4/
Dacl.c228 int error, credits, retries = 0; in ext4_set_acl() local
262 if (error == -ENOSPC && ext4_should_retry_alloc(inode->i_sb, &retries)) in ext4_set_acl()
Dmove_extent.c258 int i, err2, jblocks, retries = 0; in move_extent_per_page() local
404 ext4_should_retry_alloc(sb, &retries)) in move_extent_per_page()
408 if (*err == -EBUSY && retries++ < 4 && EXT4_SB(sb)->s_journal && in move_extent_per_page()
Dnamei.c2766 int err, credits, retries = 0; in ext4_create() local
2791 if (err == -ENOSPC && ext4_should_retry_alloc(dir->i_sb, &retries)) in ext4_create()
2801 int err, credits, retries = 0; in ext4_mknod() local
2825 if (err == -ENOSPC && ext4_should_retry_alloc(dir->i_sb, &retries)) in ext4_mknod()
2834 int err, retries = 0; in ext4_tmpfile() local
2861 if (err == -ENOSPC && ext4_should_retry_alloc(dir->i_sb, &retries)) in ext4_tmpfile()
2944 int err, err2 = 0, credits, retries = 0; in ext4_mkdir() local
2999 if (err == -ENOSPC && ext4_should_retry_alloc(dir->i_sb, &retries)) in ext4_mkdir()
3590 int err, retries = 0; in __ext4_link() local
3620 if (err == -ENOSPC && ext4_should_retry_alloc(dir->i_sb, &retries)) in __ext4_link()
[all …]
Dfile.c694 int retries = 0; in ext4_dax_huge_fault() local
734 ext4_should_retry_alloc(sb, &retries)) in ext4_dax_huge_fault()
Dballoc.c677 int ext4_should_retry_alloc(struct super_block *sb, int *retries) in ext4_should_retry_alloc() argument
684 if (++(*retries) > 3) { in ext4_should_retry_alloc()
Dinline.c557 int retries = 0, sem_held = 0; in ext4_convert_inline_data_to_extent() local
647 if (ret == -ENOSPC && ext4_should_retry_alloc(inode->i_sb, &retries)) in ext4_convert_inline_data_to_extent()
896 int retries = 0; in ext4_da_write_inline_data_begin() local
931 ext4_should_retry_alloc(inode->i_sb, &retries)) in ext4_da_write_inline_data_begin()
Dinode.c1133 int retries = 0; in ext4_write_begin() local
1258 ext4_should_retry_alloc(inode->i_sb, &retries)) in ext4_write_begin()
2990 int ret, retries = 0; in ext4_da_write_begin() local
3086 ext4_should_retry_alloc(inode->i_sb, &retries)) in ext4_da_write_begin()
3450 int ret, dio_credits, m_flags = 0, retries = 0; in ext4_iomap_alloc() local
3500 if (ret == -ENOSPC && ext4_should_retry_alloc(inode->i_sb, &retries)) in ext4_iomap_alloc()
6194 int retries = 0; in ext4_page_mkwrite() local
6224 ext4_should_retry_alloc(inode->i_sb, &retries)); in ext4_page_mkwrite()
6310 if (err == -ENOSPC && ext4_should_retry_alloc(inode->i_sb, &retries)) in ext4_page_mkwrite()
Dxattr.c1337 int retries = 0; in ext4_xattr_inode_write() local
1350 ext4_should_retry_alloc(ea_inode->i_sb, &retries)) { in ext4_xattr_inode_write()
2479 int error, retries = 0; in ext4_xattr_set() local
2502 ext4_should_retry_alloc(sb, &retries)) in ext4_xattr_set()
/fs/cifs/
Dtransport.c207 int retries = 0; in smb_send_kvec() local
238 retries++; in smb_send_kvec()
239 if (retries >= 14 || in smb_send_kvec()
240 (!server->noblocksnd && (retries > 2))) { in smb_send_kvec()
245 msleep(1 << retries); in smb_send_kvec()
262 retries = 0; /* in case we get ENOSPC on the next send */ in smb_send_kvec()
Dinode.c2921 int rc, retries = 0; local
2928 retries++;
2929 } while (is_retryable_error(rc) && retries < 2);
/fs/dlm/
Dlowcomms.c86 int retries; member
605 con->retries = 0; in close_connection()
976 if (con->retries++ > MAX_CONNECT_RETRIES) in sctp_connect_to_sock()
1044 con->retries, result); in sctp_connect_to_sock()
1072 if (con->retries++ > MAX_CONNECT_RETRIES) in tcp_connect_to_sock()
1141 con->retries, result); in tcp_connect_to_sock()
/fs/nfsd/
Dblocklayout.c229 int retries = 1, error; in nfsd4_scsi_identify_device() local
267 if (len <= maxlen && retries--) { in nfsd4_scsi_identify_device()
Dnfs4recover.c1566 int retries = 10; in nfsd4_cld_tracking_init() local
1585 while (!(running = cld_running(nn)) && retries--) in nfsd4_cld_tracking_init()
/fs/gfs2/
Dlock_dlm.c792 int retries = 0; in control_mount() local
818 if (retries++ && signal_pending(current)) { in control_mount()
/fs/ext2/
Dext2.h723 extern int ext2_should_retry_alloc(struct super_block *sb, int *retries);
/fs/jffs2/
DREADME.Locking164 xdatum at first. But it retries this process with holding write-semaphore
/fs/btrfs/
Dblock-group.c2391 int retries = 0; in cache_save_setup() local
2416 BUG_ON(retries); in cache_save_setup()
2417 retries++; in cache_save_setup()

12