Home
last modified time | relevance | path

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

12

/fs/xfs/
Dkmem.c14 int retries = 0; in kmem_alloc() local
24 if (!(++retries % 100)) in kmem_alloc()
Dxfs_sysfs.c420 int retries; in max_retries_show() local
424 retries = -1; in max_retries_show()
426 retries = cfg->max_retries; in max_retries_show()
428 return snprintf(buf, PAGE_SIZE, "%d\n", retries); in max_retries_show()
Dxfs_aops.c269 int retries = 0; in xfs_map_blocks() local
375 if (error == -EAGAIN && whichfork == XFS_COW_FORK && !retries++) in xfs_map_blocks()
/fs/afs/
Dvolume.c392 int ret, retries = 0; in afs_check_volume_status() local
432 retries++; in afs_check_volume_status()
433 if (retries == 4) { in afs_check_volume_status()
Dserver.c681 int ret, retries = 0; in afs_check_server_record() local
715 retries++; in afs_check_server_record()
716 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.c232 int error, credits, retries = 0; in ext4_set_acl() local
266 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.c2825 int err, credits, retries = 0; in ext4_create() local
2850 if (err == -ENOSPC && ext4_should_retry_alloc(dir->i_sb, &retries)) in ext4_create()
2860 int err, credits, retries = 0; in ext4_mknod() local
2884 if (err == -ENOSPC && ext4_should_retry_alloc(dir->i_sb, &retries)) in ext4_mknod()
2894 int err, retries = 0; in ext4_tmpfile() local
2921 if (err == -ENOSPC && ext4_should_retry_alloc(dir->i_sb, &retries)) in ext4_tmpfile()
3005 int err, err2 = 0, credits, retries = 0; in ext4_mkdir() local
3060 if (err == -ENOSPC && ext4_should_retry_alloc(dir->i_sb, &retries)) in ext4_mkdir()
3475 int err, retries = 0; in __ext4_link() local
3505 if (err == -ENOSPC && ext4_should_retry_alloc(dir->i_sb, &retries)) in __ext4_link()
[all …]
Dfile.c699 int retries = 0; in ext4_dax_huge_fault() local
740 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.c547 int retries = 0, sem_held = 0; in ext4_convert_inline_data_to_extent() local
637 if (ret == -ENOSPC && ext4_should_retry_alloc(inode->i_sb, &retries)) in ext4_convert_inline_data_to_extent()
930 int retries = 0; in ext4_da_write_inline_data_begin() local
965 ext4_should_retry_alloc(inode->i_sb, &retries)) in ext4_da_write_inline_data_begin()
Dinode.c1138 int retries = 0; in ext4_write_begin() local
1253 ext4_should_retry_alloc(inode->i_sb, &retries)) in ext4_write_begin()
2950 int ret, retries = 0; in ext4_da_write_begin() local
3005 ext4_should_retry_alloc(inode->i_sb, &retries)) in ext4_da_write_begin()
3357 int ret, dio_credits, m_flags = 0, retries = 0; in ext4_iomap_alloc() local
3407 if (ret == -ENOSPC && ext4_should_retry_alloc(inode->i_sb, &retries)) in ext4_iomap_alloc()
6112 int retries = 0; in ext4_page_mkwrite() local
6142 ext4_should_retry_alloc(inode->i_sb, &retries)); in ext4_page_mkwrite()
6230 if (err == -ENOSPC && ext4_should_retry_alloc(inode->i_sb, &retries)) in ext4_page_mkwrite()
Dxattr.c1343 int retries = 0; in ext4_xattr_inode_write() local
1356 ext4_should_retry_alloc(ea_inode->i_sb, &retries)) { in ext4_xattr_inode_write()
2488 int error, retries = 0; in ext4_xattr_set() local
2511 ext4_should_retry_alloc(sb, &retries)) in ext4_xattr_set()
/fs/cifs/
Dtransport.c194 int retries = 0; in smb_send_kvec() local
225 retries++; in smb_send_kvec()
226 if (retries >= 14 || in smb_send_kvec()
227 (!server->noblocksnd && (retries > 2))) { in smb_send_kvec()
232 msleep(1 << retries); in smb_send_kvec()
249 retries = 0; /* in case we get ENOSPC on the next send */ in smb_send_kvec()
Dinode.c2994 int rc, retries = 0; local
3004 retries++;
3005 } while (is_retryable_error(rc) && retries < 2);
Dsmb2pdu.c149 int retries; in smb2_reconnect() local
185 retries = server->nr_targets; in smb2_reconnect()
221 if (retries && --retries) in smb2_reconnect()
233 retries = server->nr_targets; in smb2_reconnect()
/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/dlm/
Dlowcomms.c88 int retries; member
820 con->retries = 0; in close_connection()
1538 if (con->retries++ > MAX_CONNECT_RETRIES) in dlm_connect()
1592 con->retries, result); in dlm_connect()
/fs/gfs2/
Dlock_dlm.c795 int retries = 0; in control_mount() local
821 if (retries++ && signal_pending(current)) { in control_mount()
/fs/ext2/
Dext2.h710 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.c2722 int retries = 0; in cache_save_setup() local
2750 BUG_ON(retries); in cache_save_setup()
2751 retries++; in cache_save_setup()

12