Home
last modified time | relevance | path

Searched refs:j (Results 1 – 25 of 99) sorted by relevance

1234

/fs/ufs/
Dcylinder.c35 unsigned i, j; in ufs_read_cylinder() local
72 for (j = 1; j < i; j++) in ufs_read_cylinder()
73 brelse (sbi->s_ucg[j]); in ufs_read_cylinder()
132 unsigned cg, i, j; in ufs_load_cylinder() local
176 for (j = i; j > 0; j--) { in ufs_load_cylinder()
177 sbi->s_cgno[j] = sbi->s_cgno[j-1]; in ufs_load_cylinder()
178 sbi->s_ucpi[j] = sbi->s_ucpi[j-1]; in ufs_load_cylinder()
192 for (j = sbi->s_cg_loaded - 1; j > 0; j--) { in ufs_load_cylinder()
193 sbi->s_cgno[j] = sbi->s_cgno[j-1]; in ufs_load_cylinder()
194 sbi->s_ucpi[j] = sbi->s_ucpi[j-1]; in ufs_load_cylinder()
Dutil.c22 unsigned i, j ; in _ubh_bread_() local
42 for (j = 0; j < i; j++) in _ubh_bread_()
43 brelse (ubh->bh[j]); in _ubh_bread_()
51 unsigned i, j; in ubh_bread_uspi() local
67 for (j = 0; j < i; j++) in ubh_bread_uspi()
68 brelse (USPI_UBH(uspi)->bh[j]); in ubh_bread_uspi()
Dialloc.c182 unsigned cg, bit, i, j, start; in ufs_new_inode() local
214 for ( j = 1; j < uspi->s_ncg; j <<= 1 ) { in ufs_new_inode()
215 i += j; in ufs_new_inode()
228 for (j = 2; j < uspi->s_ncg; j++) { in ufs_new_inode()
/fs/minix/
Dbitmap.c78 int j; in minix_new_block() local
81 j = minix_find_first_zero_bit(bh->b_data, bits_per_zone); in minix_new_block()
82 if (j < bits_per_zone) { in minix_new_block()
83 minix_set_bit(j, bh->b_data); in minix_new_block()
86 j += i * bits_per_zone + sbi->s_firstdatazone-1; in minix_new_block()
87 if (j < sbi->s_firstdatazone || j >= sbi->s_nzones) in minix_new_block()
89 return j; in minix_new_block()
219 unsigned long j; in minix_new_inode() local
226 j = bits_per_zone; in minix_new_inode()
232 j = minix_find_first_zero_bit(bh->b_data, bits_per_zone); in minix_new_inode()
[all …]
/fs/xfs/
Dxfs_stats.c34 int i, j; in xfs_stat_proc_show() local
67 for (i = j = 0; i < ARRAY_SIZE(xstats); i++) { in xfs_stat_proc_show()
70 for (; j < xstats[i].endpoint; j++) in xfs_stat_proc_show()
71 seq_printf(m, " %u", counter_val(j)); in xfs_stat_proc_show()
134 int j; in xqmstat_proc_show() local
137 for (j = XFSSTAT_END_IBT_V2; j < XFSSTAT_END_XQMSTAT; j++) in xqmstat_proc_show()
138 seq_printf(m, " %u", counter_val(j)); in xqmstat_proc_show()
Dxfs_rename.c56 int i, j; in xfs_sort_for_rename() local
81 for (j = 1; j < *num_inodes; j++) { in xfs_sort_for_rename()
82 if (i_tab[j]->i_ino < i_tab[j-1]->i_ino) { in xfs_sort_for_rename()
83 temp = i_tab[j]; in xfs_sort_for_rename()
84 i_tab[j] = i_tab[j-1]; in xfs_sort_for_rename()
85 i_tab[j-1] = temp; in xfs_sort_for_rename()
Dxfs_trans_dquot.c101 int i,j; in xfs_trans_dup_dqinfo() local
118 for (j = 0; j < 2; j++) { in xfs_trans_dup_dqinfo()
333 int i, j; in xfs_trans_apply_dquot_deltas() local
345 for (j = 0; j < 2; j++) { in xfs_trans_apply_dquot_deltas()
518 int i, j; in xfs_trans_unreserve_and_mod_dquots() local
528 for (j = 0; j < 2; j++) { in xfs_trans_unreserve_and_mod_dquots()
/fs/reiserfs/
Dhashes.c135 int j, pow; in yura_hash() local
149 for (pow = 1, j = i; j < len - 1; j++) in yura_hash()
156 for (pow = 1, j = i; j < len - 1; j++) in yura_hash()
163 for (pow = 1, j = i; j < len - 1; j++) in yura_hash()
Ditem_ops.c145 int j = 0; in direct_print_item() local
149 while (j < ih_item_len(ih)) in direct_print_item()
150 printk("%c", item[j++]); in direct_print_item()
275 int j; in indirect_print_item() local
286 for (j = 0; j < I_UNFM_NUM(ih); j++) { in indirect_print_item()
287 if (sequence_finished(prev, &num, get_block_num(unp, j))) { in indirect_print_item()
289 start_new_sequence(&prev, &num, get_block_num(unp, j)); in indirect_print_item()
474 int i, j; in direntry_create_vi() local
494 j = old_entry_num(is_affected, i, vn->vn_pos_in_item, in direntry_create_vi()
497 (j ? deh_location(&(deh[j - 1])) : ih_item_len(vi->vi_ih)) - in direntry_create_vi()
[all …]
/fs/affs/
Dsymlink.c20 int i, j; in affs_symlink_readpage() local
31 j = 0; in affs_symlink_readpage()
43 while (i < 1023 && lf->symname[j] != ':') in affs_symlink_readpage()
44 link[i++] = lf->symname[j++]; in affs_symlink_readpage()
47 j++; in affs_symlink_readpage()
50 while (i < 1023 && (c = lf->symname[j])) { in affs_symlink_readpage()
57 j++; in affs_symlink_readpage()
/fs/udf/
Dpartition.c159 int i, j, k, l; in udf_relocate_blocks() local
174 for (j = 0; j < 4; j++) in udf_relocate_blocks()
175 if (sdata->s_spar_map[j] != NULL) { in udf_relocate_blocks()
177 sdata->s_spar_map[j]->b_data; in udf_relocate_blocks()
193 for (; j < 4; j++) { in udf_relocate_blocks()
195 bh = sdata->s_spar_map[j]; in udf_relocate_blocks()
236 for (; j < 4; j++) { in udf_relocate_blocks()
237 bh = sdata->s_spar_map[j]; in udf_relocate_blocks()
/fs/squashfs/
Dcache.c212 int i, j; in squashfs_cache_delete() local
219 for (j = 0; j < cache->pages; j++) in squashfs_cache_delete()
220 kfree(cache->entry[i].data[j]); in squashfs_cache_delete()
238 int i, j; in squashfs_cache_init() local
276 for (j = 0; j < cache->pages; j++) { in squashfs_cache_init()
277 entry->data[j] = kmalloc(PAGE_CACHE_SIZE, GFP_KERNEL); in squashfs_cache_init()
278 if (entry->data[j] == NULL) { in squashfs_cache_init()
/fs/hpfs/
Dname.c93 int i,j; in hpfs_is_name_long() local
98 for (j = i + 1; j < len; j++) in hpfs_is_name_long()
99 if (name[j] == '.' || no_dos_char(name[i])) return 1; in hpfs_is_name_long()
100 return j - i > 4; in hpfs_is_name_long()
Dalloc.c301 int i, j; in hpfs_check_free_dnodes() local
305 for (j = 0; j < 512; j++) { in hpfs_check_free_dnodes()
307 if (!le32_to_cpu(bmp[j])) continue; in hpfs_check_free_dnodes()
308 for (k = le32_to_cpu(bmp[j]); k; k >>= 1) if (k & 1) if (!--n) { in hpfs_check_free_dnodes()
326 for (j = 0; j < 512; j++) { in hpfs_check_free_dnodes()
328 if (!le32_to_cpu(bmp[j])) continue; in hpfs_check_free_dnodes()
330 if ((le32_to_cpu(bmp[j]) & k) == k) { in hpfs_check_free_dnodes()
/fs/proc/
Dstat.c82 int i, j; in show_stat() local
111 for (j = 0; j < NR_SOFTIRQS; j++) { in show_stat()
112 unsigned int softirq_stat = kstat_softirqs_cpu(j, i); in show_stat()
114 per_softirq_sums[j] += softirq_stat; in show_stat()
161 for_each_irq_nr(j) in show_stat()
162 seq_put_decimal_ull(p, ' ', kstat_irqs(j)); in show_stat()
Dsoftirqs.c11 int i, j; in show_softirqs() local
20 for_each_possible_cpu(j) in show_softirqs()
21 seq_printf(p, " %10u", kstat_softirqs_cpu(i, j)); in show_softirqs()
/fs/cifs/
Dcifs_debug.c37 int i, j; in cifs_dump_mem() local
46 for (j = 0; (j < 4) && (i + j * 4 < length); j++) { in cifs_dump_mem()
47 sprintf(buf, " %08x", intptr[i / 4 + j]); in cifs_dump_mem()
52 for (j = 0; (j < 16) && (i + j < length); j++) { in cifs_dump_mem()
53 buf[1] = isprint(charptr[i + j]) ? charptr[i + j] : '.'; in cifs_dump_mem()
116 int i, j; in cifs_debug_data_proc_show() local
184 j = 0; in cifs_debug_data_proc_show()
188 ++j; in cifs_debug_data_proc_show()
190 seq_printf(m, "\n\t%d) %s Mounts: %d ", j, in cifs_debug_data_proc_show()
Dmisc.c620 int i, j; in dump_smb() local
627 for (i = 0, j = 0; i < smb_buf_length; i++, j++) { in dump_smb()
631 j = 0; in dump_smb()
634 debug_line[2 * j] = ' '; in dump_smb()
636 debug_line[1 + (2 * j)] = buffer[i]; in dump_smb()
638 debug_line[1 + (2 * j)] = '_'; in dump_smb()
646 for (; j < 8; j++) { in dump_smb()
648 debug_line[2 * j] = ' '; in dump_smb()
649 debug_line[1 + (2 * j)] = ' '; in dump_smb()
Dcifs_unicode.c293 int i, j, charlen; in cifsConvertToUTF16() local
301 for (i = 0, j = 0; i < srclen; j++) { in cifsConvertToUTF16()
306 put_unaligned(0, &target[j]); in cifsConvertToUTF16()
349 put_unaligned(dst_char, &target[j]); in cifsConvertToUTF16()
353 return j; in cifsConvertToUTF16()
/fs/nilfs2/
Dsufile.c315 int ret, j; in nilfs_sufile_alloc() local
365 for (j = 0; j < nsus; j++, su = (void *)su + susz, segnum++) { in nilfs_sufile_alloc()
650 int j; in nilfs_sufile_truncate_range() local
682 for (j = 0; j < n; j++, su = (void *)su + susz) { in nilfs_sufile_truncate_range()
685 nilfs_segment_is_active(nilfs, segnum + j)) { in nilfs_sufile_truncate_range()
693 for (su = su2, j = 0; j < n; j++, su = (void *)su + susz) { in nilfs_sufile_truncate_range()
819 int ret, i, j; in nilfs_sufile_get_suinfo() local
846 for (j = 0; j < n; in nilfs_sufile_get_suinfo()
847 j++, su = (void *)su + susz, si = (void *)si + sisz) { in nilfs_sufile_get_suinfo()
852 if (nilfs_segment_is_active(nilfs, segnum + j)) in nilfs_sufile_get_suinfo()
Dalloc.c415 unsigned long i, j; in nilfs_palloc_prepare_alloc_entry() local
439 for (j = 0; j < n; j++, desc++, group++) { in nilfs_palloc_prepare_alloc_entry()
647 int i, j, n, ret; in nilfs_palloc_freev() local
649 for (i = 0; i < nitems; i = j) { in nilfs_palloc_freev()
665 for (j = i, n = 0; in nilfs_palloc_freev()
666 (j < nitems) && nilfs_palloc_group_is_in(inode, group, in nilfs_palloc_freev()
667 entry_nrs[j]); in nilfs_palloc_freev()
668 j++) { in nilfs_palloc_freev()
669 nilfs_palloc_group(inode, entry_nrs[j], &group_offset); in nilfs_palloc_freev()
676 (unsigned long long)entry_nrs[j]); in nilfs_palloc_freev()
/fs/befs/
Ddatastream.c308 int i, j; in befs_find_brun_indirect() local
337 for (j = 0; j < arraylen; ++j) { in befs_find_brun_indirect()
338 int len = fs16_to_cpu(sb, array[j].len); in befs_find_brun_indirect()
343 fs32_to_cpu(sb, array[j].allocation_group); in befs_find_brun_indirect()
345 fs16_to_cpu(sb, array[j].start) + offset; in befs_find_brun_indirect()
347 fs16_to_cpu(sb, array[j].len) - offset; in befs_find_brun_indirect()
353 blockno, j + (i * arraylen)); in befs_find_brun_indirect()
/fs/nfs/
Dnfs4filelayout.c356 u32 j, idx; in filelayout_read_pagelist() local
368 j = nfs4_fl_calc_j_index(lseg, offset); in filelayout_read_pagelist()
369 idx = nfs4_fl_calc_ds_index(lseg, j); in filelayout_read_pagelist()
381 fh = nfs4_fl_select_ds_fh(lseg, j); in filelayout_read_pagelist()
402 u32 j, idx; in filelayout_write_pagelist() local
410 j = nfs4_fl_calc_j_index(lseg, offset); in filelayout_write_pagelist()
411 idx = nfs4_fl_calc_ds_index(lseg, j); in filelayout_write_pagelist()
426 fh = nfs4_fl_select_ds_fh(lseg, j); in filelayout_write_pagelist()
775 static u32 select_bucket_index(struct nfs4_filelayout_segment *fl, u32 j) in select_bucket_index() argument
778 return nfs4_fl_calc_ds_index(&fl->generic_hdr, j); in select_bucket_index()
[all …]
/fs/efs/
Dsuper.c183 int j; in module_exit() local
186 for(j = 0; j < VDNAMESIZE; j++) { in module_exit()
187 name[j] = vh->vh_vd[i].vd_name[j]; in module_exit()
189 name[j] = (char) 0; in module_exit()
/fs/fat/
Ddir.c355 int chl, i, j, last_u, err, len; in fat_search_long() local
387 for (i = 0, j = 0, last_u = 0; i < 8;) { in fat_search_long()
391 &bufuname[j++], opt_shortname, in fat_search_long()
395 last_u = j; in fat_search_long()
397 last_u = j; in fat_search_long()
401 j = last_u; in fat_search_long()
402 fat_short2uni(nls_disk, ".", 1, &bufuname[j++]); in fat_search_long()
408 &bufuname[j++], opt_shortname, in fat_search_long()
412 last_u = j; in fat_search_long()
414 last_u = j; in fat_search_long()
[all …]

1234