Home
last modified time | relevance | path

Searched refs:curr (Results 1 – 12 of 12) sorted by relevance

/fs/hfsplus/
Dbitmap.c22 __be32 *pptr, *curr, *end; in hfsplus_block_allocate() local
40 curr = pptr + (offset & (PAGE_CACHE_BITS - 1)) / 32; in hfsplus_block_allocate()
49 val = *curr; in hfsplus_block_allocate()
58 curr++; in hfsplus_block_allocate()
62 while (curr < end) { in hfsplus_block_allocate()
63 val = *curr; in hfsplus_block_allocate()
72 curr++; in hfsplus_block_allocate()
84 curr = pptr = kmap(page); in hfsplus_block_allocate()
95 start = offset + (curr - pptr) * 32 + i; in hfsplus_block_allocate()
112 *curr++ = cpu_to_be32(n); in hfsplus_block_allocate()
[all …]
/fs/hfs/
Dbitmap.c31 __be32 *curr, *end; in hfs_find_set_zero_bits() local
40 curr = bitmap + (offset / 32); in hfs_find_set_zero_bits()
44 val = *curr; in hfs_find_set_zero_bits()
56 while (++curr < end) { in hfs_find_set_zero_bits()
57 val = *curr; in hfs_find_set_zero_bits()
70 start = (curr - bitmap) * 32 + i; in hfs_find_set_zero_bits()
85 *curr++ = cpu_to_be32(n); in hfs_find_set_zero_bits()
88 n = be32_to_cpu(*curr); in hfs_find_set_zero_bits()
95 *curr++ = cpu_to_be32(0xffffffff); in hfs_find_set_zero_bits()
107 *curr = cpu_to_be32(n); in hfs_find_set_zero_bits()
[all …]
/fs/udf/
Dunicode.c393 uint8_t curr; in udf_translate_to_linux() local
403 curr = udfName[index]; in udf_translate_to_linux()
404 if (curr == '/' || curr == 0) { in udf_translate_to_linux()
406 curr = ILLEGAL_CHAR_MARK; in udf_translate_to_linux()
412 if (curr == EXT_MARK && in udf_translate_to_linux()
423 newName[newIndex++] = curr; in udf_translate_to_linux()
437 curr = udfName[extIndex + index + 1]; in udf_translate_to_linux()
439 if (curr == '/' || curr == 0) { in udf_translate_to_linux()
441 curr = ILLEGAL_CHAR_MARK; in udf_translate_to_linux()
448 ext[localExtIndex++] = curr; in udf_translate_to_linux()
Dsuper.c1540 struct udf_vds_record *curr; in udf_process_sequence() local
1569 curr = &vds[VDS_POS_PRIMARY_VOL_DESC]; in udf_process_sequence()
1570 if (vdsn >= curr->volDescSeqNum) { in udf_process_sequence()
1571 curr->volDescSeqNum = vdsn; in udf_process_sequence()
1572 curr->block = block; in udf_process_sequence()
1576 curr = &vds[VDS_POS_VOL_DESC_PTR]; in udf_process_sequence()
1577 if (vdsn >= curr->volDescSeqNum) { in udf_process_sequence()
1578 curr->volDescSeqNum = vdsn; in udf_process_sequence()
1579 curr->block = block; in udf_process_sequence()
1591 curr = &vds[VDS_POS_IMP_USE_VOL_DESC]; in udf_process_sequence()
[all …]
Dinode.c711 int curr = *c; in udf_split_extents() local
712 int blen = ((laarr[curr].extLength & UDF_EXTENT_LENGTH_MASK) + in udf_split_extents()
714 int8_t etype = (laarr[curr].extLength >> 30); in udf_split_extents()
719 laarr[curr + 2] = laarr[curr + 1]; in udf_split_extents()
720 laarr[curr + 1] = laarr[curr]; in udf_split_extents()
722 laarr[curr + 3] = laarr[curr + 1]; in udf_split_extents()
723 laarr[curr + 2] = laarr[curr + 1] = laarr[curr]; in udf_split_extents()
729 laarr[curr].extLocation, in udf_split_extents()
731 laarr[curr].extLength = in udf_split_extents()
734 laarr[curr].extLocation.logicalBlockNum = 0; in udf_split_extents()
[all …]
/fs/ocfs2/
Dsuballoc.c388 u16 curr, best; in ocfs2_find_smallest_chain() local
390 best = curr = 0; in ocfs2_find_smallest_chain()
391 while (curr < le16_to_cpu(cl->cl_count)) { in ocfs2_find_smallest_chain()
393 le32_to_cpu(cl->cl_recs[curr].c_total)) in ocfs2_find_smallest_chain()
394 best = curr; in ocfs2_find_smallest_chain()
395 curr++; in ocfs2_find_smallest_chain()
1022 u16 curr, best; in ocfs2_find_victim_chain() local
1026 best = curr = 0; in ocfs2_find_victim_chain()
1027 while (curr < le16_to_cpu(cl->cl_next_free_rec)) { in ocfs2_find_victim_chain()
1028 if (le32_to_cpu(cl->cl_recs[curr].c_free) > in ocfs2_find_victim_chain()
[all …]
/fs/afs/
Ddir.c241 unsigned offset, next, curr; in afs_dir_iterate_block() local
247 curr = (*fpos - blkoff) / sizeof(union afs_dirent); in afs_dir_iterate_block()
261 if (offset >= curr) in afs_dir_iterate_block()
275 (offset < curr ? "skip" : "fill"), in afs_dir_iterate_block()
304 if (offset < curr) in afs_dir_iterate_block()
/fs/
Dexec.c1651 struct core_thread *curr, *next; in coredump_finish() local
1655 while ((curr = next) != NULL) { in coredump_finish()
1656 next = curr->next; in coredump_finish()
1657 task = curr->task; in coredump_finish()
1663 curr->task = NULL; in coredump_finish()
/fs/ext2/
Dballoc.c1158 int curr = my_rsv->rsv_end - in ext2_try_to_allocate_with_rsv() local
1161 if (curr < *count) in ext2_try_to_allocate_with_rsv()
1163 *count - curr); in ext2_try_to_allocate_with_rsv()
/fs/ext3/
Dballoc.c1373 int curr = my_rsv->rsv_end - in ext3_try_to_allocate_with_rsv() local
1376 if (curr < *count) in ext3_try_to_allocate_with_rsv()
1378 *count - curr); in ext3_try_to_allocate_with_rsv()
/fs/xfs/
Dxfs_da_btree.c1052 xfs_da_blkinfo_t *curr; in xfs_da_node_lookup_int() local
1081 curr = blk->bp->data; in xfs_da_node_lookup_int()
1082 blk->magic = be16_to_cpu(curr->magic); in xfs_da_node_lookup_int()
/fs/yaffs2/
Dyaffs_guts.c1160 yaffs_Tnode *curr; in yaffs_CreateTnodes() local
1202 curr = (yaffs_Tnode *) &mem[i * tnodeSize]; in yaffs_CreateTnodes()
1204 curr->internal[0] = next; in yaffs_CreateTnodes()
1207 curr = (yaffs_Tnode *) &mem[(nTnodes - 1) * tnodeSize]; in yaffs_CreateTnodes()
1208 curr->internal[0] = dev->freeTnodes; in yaffs_CreateTnodes()