/fs/ufs/ |
D | cylinder.c | 35 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()
|
D | util.c | 22 unsigned i, j ; in _ubh_bread_() local 41 for (j = 0; j < i; j++) in _ubh_bread_() 42 brelse (ubh->bh[j]); in _ubh_bread_() 50 unsigned i, j; in ubh_bread_uspi() local 66 for (j = 0; j < i; j++) in ubh_bread_uspi() 67 brelse (USPI_UBH(uspi)->bh[j]); in ubh_bread_uspi()
|
D | ialloc.c | 179 unsigned cg, bit, i, j, start; in ufs_new_inode() local 210 for ( j = 1; j < uspi->s_ncg; j <<= 1 ) { in ufs_new_inode() 211 i += j; in ufs_new_inode() 224 for (j = 2; j < uspi->s_ncg; j++) { in ufs_new_inode()
|
/fs/minix/ |
D | bitmap.c | 78 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/jbd2/ |
D | recovery.c | 177 static int jbd2_descr_block_csum_verify(journal_t *j, in jbd2_descr_block_csum_verify() argument 184 if (!jbd2_journal_has_csum_v2or3(j)) in jbd2_descr_block_csum_verify() 187 tail = (struct jbd2_journal_block_tail *)(buf + j->j_blocksize - in jbd2_descr_block_csum_verify() 191 calculated = jbd2_chksum(j, j->j_csum_seed, buf, j->j_blocksize); in jbd2_descr_block_csum_verify() 382 static int jbd2_commit_block_csum_verify(journal_t *j, void *buf) in jbd2_commit_block_csum_verify() argument 388 if (!jbd2_journal_has_csum_v2or3(j)) in jbd2_commit_block_csum_verify() 394 calculated = jbd2_chksum(j, j->j_csum_seed, buf, j->j_blocksize); in jbd2_commit_block_csum_verify() 400 static int jbd2_block_tag_csum_verify(journal_t *j, journal_block_tag_t *tag, in jbd2_block_tag_csum_verify() argument 407 if (!jbd2_journal_has_csum_v2or3(j)) in jbd2_block_tag_csum_verify() 411 csum32 = jbd2_chksum(j, j->j_csum_seed, (__u8 *)&seq, sizeof(seq)); in jbd2_block_tag_csum_verify() [all …]
|
D | commit.c | 95 static void jbd2_commit_block_csum_set(journal_t *j, struct buffer_head *bh) in jbd2_commit_block_csum_set() argument 100 if (!jbd2_journal_has_csum_v2or3(j)) in jbd2_commit_block_csum_set() 107 csum = jbd2_chksum(j, j->j_csum_seed, bh->b_data, j->j_blocksize); in jbd2_commit_block_csum_set() 314 static void write_tag_block(journal_t *j, journal_block_tag_t *tag, in write_tag_block() argument 318 if (jbd2_has_feature_64bit(j)) in write_tag_block() 322 static void jbd2_descr_block_csum_set(journal_t *j, in jbd2_descr_block_csum_set() argument 328 if (!jbd2_journal_has_csum_v2or3(j)) in jbd2_descr_block_csum_set() 331 tail = (struct jbd2_journal_block_tail *)(bh->b_data + j->j_blocksize - in jbd2_descr_block_csum_set() 334 csum = jbd2_chksum(j, j->j_csum_seed, bh->b_data, j->j_blocksize); in jbd2_descr_block_csum_set() 338 static void jbd2_block_tag_csum_set(journal_t *j, journal_block_tag_t *tag, in jbd2_block_tag_csum_set() argument [all …]
|
/fs/xfs/ |
D | xfs_stats.c | 34 int i, j; in xfs_stats_format() local 70 for (i = j = 0; i < ARRAY_SIZE(xstats); i++) { in xfs_stats_format() 74 for (; j < xstats[i].endpoint; j++) in xfs_stats_format() 76 counter_val(stats, j)); in xfs_stats_format() 141 int j; in xqmstat_proc_show() local 144 for (j = XFSSTAT_END_IBT_V2; j < XFSSTAT_END_XQMSTAT; j++) in xqmstat_proc_show() 145 seq_printf(m, " %u", counter_val(xfsstats.xs_stats, j)); in xqmstat_proc_show()
|
D | xfs_trans_dquot.c | 93 int i, j; in xfs_trans_dup_dqinfo() local 109 for (j = 0; j < XFS_QM_TRANS_DQTYPES; j++) { in xfs_trans_dup_dqinfo() 110 oqa = otp->t_dqinfo->dqs[j]; in xfs_trans_dup_dqinfo() 111 nqa = ntp->t_dqinfo->dqs[j]; in xfs_trans_dup_dqinfo() 331 int i, j; in xfs_trans_apply_dquot_deltas() local 342 for (j = 0; j < XFS_QM_TRANS_DQTYPES; j++) { in xfs_trans_apply_dquot_deltas() 343 qa = tp->t_dqinfo->dqs[j]; in xfs_trans_apply_dquot_deltas() 514 int i, j; in xfs_trans_unreserve_and_mod_dquots() local 522 for (j = 0; j < XFS_QM_TRANS_DQTYPES; j++) { in xfs_trans_unreserve_and_mod_dquots() 523 qa = tp->t_dqinfo->dqs[j]; in xfs_trans_unreserve_and_mod_dquots()
|
D | xfs_dir2_readdir.c | 285 int j; in xfs_dir2_leaf_readbuf() local 302 j = min_t(int, map->br_blockcount, i); in xfs_dir2_leaf_readbuf() 303 map->br_blockcount -= j; in xfs_dir2_leaf_readbuf() 304 map->br_startblock += j; in xfs_dir2_leaf_readbuf() 305 map->br_startoff += j; in xfs_dir2_leaf_readbuf() 313 i -= j; in xfs_dir2_leaf_readbuf() 447 for (j = 0; in xfs_dir2_leaf_readbuf() 448 j < geo->fsbcount && mip->ra_index < mip->map_valid; in xfs_dir2_leaf_readbuf() 449 j += length ) { in xfs_dir2_leaf_readbuf() 454 length = min_t(int, geo->fsbcount - j, in xfs_dir2_leaf_readbuf()
|
/fs/reiserfs/ |
D | hashes.c | 130 int j, pow; in yura_hash() local 144 for (pow = 1, j = i; j < len - 1; j++) in yura_hash() 151 for (pow = 1, j = i; j < len - 1; j++) in yura_hash() 158 for (pow = 1, j = i; j < len - 1; j++) in yura_hash()
|
D | item_ops.c | 144 int j = 0; in direct_print_item() local 148 while (j < ih_item_len(ih)) in direct_print_item() 149 printk("%c", item[j++]); in direct_print_item() 270 int j; in indirect_print_item() local 281 for (j = 0; j < I_UNFM_NUM(ih); j++) { in indirect_print_item() 282 if (sequence_finished(prev, &num, get_block_num(unp, j))) { in indirect_print_item() 284 start_new_sequence(&prev, &num, get_block_num(unp, j)); in indirect_print_item() 471 int i, j; in direntry_create_vi() local 491 j = old_entry_num(is_affected, i, vn->vn_pos_in_item, in direntry_create_vi() 494 (j ? deh_location(&deh[j - 1]) : ih_item_len(vi->vi_ih)) - in direntry_create_vi() [all …]
|
/fs/affs/ |
D | symlink.c | 19 int i, j; in affs_symlink_readpage() local 29 j = 0; in affs_symlink_readpage() 41 while (i < 1023 && lf->symname[j] != ':') in affs_symlink_readpage() 42 link[i++] = lf->symname[j++]; in affs_symlink_readpage() 45 j++; in affs_symlink_readpage() 48 while (i < 1023 && (c = lf->symname[j])) { in affs_symlink_readpage() 55 j++; in affs_symlink_readpage()
|
/fs/cifs/ |
D | cifs_unicode.c | 464 int j = 0; in cifsConvertToUTF16() local 477 for (i = 0; i < srclen; j++) { in cifsConvertToUTF16() 540 put_unaligned(dst_char, &target[j]); in cifsConvertToUTF16() 545 put_unaligned(dst_char, &target[j]); in cifsConvertToUTF16() 547 j++; in cifsConvertToUTF16() 548 put_unaligned(dst_char, &target[j]); in cifsConvertToUTF16() 551 put_unaligned(dst_char, &target[j]); in cifsConvertToUTF16() 553 j++; in cifsConvertToUTF16() 554 put_unaligned(dst_char, &target[j]); in cifsConvertToUTF16() 556 j++; in cifsConvertToUTF16() [all …]
|
/fs/udf/ |
D | partition.c | 158 int i, j, k, l; in udf_relocate_blocks() local 173 for (j = 0; j < 4; j++) in udf_relocate_blocks() 174 if (sdata->s_spar_map[j] != NULL) { in udf_relocate_blocks() 176 sdata->s_spar_map[j]->b_data; in udf_relocate_blocks() 192 for (; j < 4; j++) { in udf_relocate_blocks() 194 bh = sdata->s_spar_map[j]; in udf_relocate_blocks() 235 for (; j < 4; j++) { in udf_relocate_blocks() 236 bh = sdata->s_spar_map[j]; in udf_relocate_blocks()
|
/fs/nfs/filelayout/ |
D | filelayoutdev.c | 154 int j; in nfs4_fl_alloc_deviceid_node() local 162 for (j = 0; j < mp_count; j++) { in nfs4_fl_alloc_deviceid_node() 236 nfs4_fl_calc_ds_index(struct pnfs_layout_segment *lseg, u32 j) in nfs4_fl_calc_ds_index() argument 238 return FILELAYOUT_LSEG(lseg)->dsaddr->stripe_indices[j]; in nfs4_fl_calc_ds_index() 242 nfs4_fl_select_ds_fh(struct pnfs_layout_segment *lseg, u32 j) in nfs4_fl_select_ds_fh() argument 254 i = nfs4_fl_calc_ds_index(lseg, j); in nfs4_fl_select_ds_fh() 256 i = j; in nfs4_fl_select_ds_fh()
|
/fs/hpfs/ |
D | name.c | 94 int i,j; in hpfs_is_name_long() local 99 for (j = i + 1; j < len; j++) in hpfs_is_name_long() 100 if (name[j] == '.' || no_dos_char(name[i])) return 1; in hpfs_is_name_long() 101 return j - i > 4; in hpfs_is_name_long()
|
D | alloc.c | 362 int i, j; in hpfs_check_free_dnodes() local 366 for (j = 0; j < 512; j++) { in hpfs_check_free_dnodes() 368 if (!le32_to_cpu(bmp[j])) continue; in hpfs_check_free_dnodes() 369 for (k = le32_to_cpu(bmp[j]); k; k >>= 1) if (k & 1) if (!--n) { in hpfs_check_free_dnodes() 387 for (j = 0; j < 512; j++) { in hpfs_check_free_dnodes() 389 if (!le32_to_cpu(bmp[j])) continue; in hpfs_check_free_dnodes() 391 if ((le32_to_cpu(bmp[j]) & k) == k) { in hpfs_check_free_dnodes()
|
/fs/proc/ |
D | stat.c | 82 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_usr(j)); in show_stat()
|
D | softirqs.c | 11 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/nilfs2/ |
D | alloc.c | 518 unsigned long i, j; in nilfs_palloc_prepare_alloc_entry() local 542 for (j = 0; j < n; j++, desc++, group++) { in nilfs_palloc_prepare_alloc_entry() 746 int i, j, k, ret; in nilfs_palloc_freev() local 749 for (i = 0; i < nitems; i = j) { in nilfs_palloc_freev() 771 j = i; in nilfs_palloc_freev() 778 (unsigned long long)entry_nrs[j], in nilfs_palloc_freev() 784 j++; in nilfs_palloc_freev() 785 if (j >= nitems || entry_nrs[j] < group_min_nr || in nilfs_palloc_freev() 786 entry_nrs[j] >= group_min_nr + epg) { in nilfs_palloc_freev() 789 group_offset = entry_nrs[j] - group_min_nr; in nilfs_palloc_freev() [all …]
|
D | sufile.c | 323 int ret, j; in nilfs_sufile_alloc() local 373 for (j = 0; j < nsus; j++, su = (void *)su + susz, segnum++) { in nilfs_sufile_alloc() 663 int j; in nilfs_sufile_truncate_range() local 695 for (j = 0; j < n; j++, su = (void *)su + susz) { in nilfs_sufile_truncate_range() 698 nilfs_segment_is_active(nilfs, segnum + j)) { in nilfs_sufile_truncate_range() 706 for (su = su2, j = 0; j < n; j++, su = (void *)su + susz) { in nilfs_sufile_truncate_range() 832 int ret, i, j; in nilfs_sufile_get_suinfo() local 859 for (j = 0; j < n; in nilfs_sufile_get_suinfo() 860 j++, su = (void *)su + susz, si = (void *)si + sisz) { in nilfs_sufile_get_suinfo() 865 if (nilfs_segment_is_active(nilfs, segnum + j)) in nilfs_sufile_get_suinfo()
|
/fs/befs/ |
D | datastream.c | 310 int i, j; in befs_find_brun_indirect() local 338 for (j = 0; j < arraylen; ++j) { in befs_find_brun_indirect() 339 int len = fs16_to_cpu(sb, array[j].len); in befs_find_brun_indirect() 344 fs32_to_cpu(sb, array[j].allocation_group); in befs_find_brun_indirect() 346 fs16_to_cpu(sb, array[j].start) + offset; in befs_find_brun_indirect() 348 fs16_to_cpu(sb, array[j].len) - offset; in befs_find_brun_indirect() 355 j + (i * arraylen)); in befs_find_brun_indirect()
|
/fs/efs/ |
D | super.c | 190 int j; in module_exit() local 193 for(j = 0; j < VDNAMESIZE; j++) { in module_exit() 194 name[j] = vh->vh_vd[i].vd_name[j]; in module_exit() 196 name[j] = (char) 0; in module_exit()
|
/fs/ |
D | binfmt_misc.c | 93 int j; in check_file() local 109 for (j = 0; j < e->size; j++) in check_file() 110 if ((*s++ ^ e->magic[j]) & e->mask[j]) in check_file() 113 for (j = 0; j < e->size; j++) in check_file() 114 if ((*s++ ^ e->magic[j])) in check_file() 117 if (j == e->size) in check_file()
|
/fs/ceph/ |
D | mdsmap.c | 55 int i, j, n; in ceph_mdsmap_decode() local 146 for (j = 0; j < num_export_targets; j++) in ceph_mdsmap_decode() 147 info->export_targets[j] = in ceph_mdsmap_decode()
|