Lines Matching defs:start

577 	int i, start = 0, depth = 0;
581 start = 1;
583 for(i = start; i < path_num_items(path); i++) {
1137 * to start at, if we don't want to start the branch at the root
1182 * is consistent after we add a new branch(it will start
1476 "Owner %llu has extent list where extent # %d has no physical block start\n",
2369 int ret, start, orig_credits = jbd2_handle_buffer_credits(handle);
2463 start = ocfs2_find_subtree_root(et, left_path, right_path);
2465 trace_ocfs2_rotate_subtree(start,
2467 right_path->p_node[start].bh->b_blocknr,
2470 ret = ocfs2_extend_rotate_transaction(handle, start,
2478 right_path, start);
3133 * rotation. We start at some non-rightmost path containing an empty
4271 * Determine the path to start with. Rotations need the
6842 static void ocfs2_zero_cluster_pages(struct inode *inode, loff_t start,
6860 from = start & (PAGE_SIZE - 1);
6870 start = (page->index + 1) << PAGE_SHIFT;
6877 int ocfs2_grab_pages(struct inode *inode, loff_t start, loff_t end,
6885 BUG_ON(start > end);
6889 index = start >> PAGE_SHIFT;
6914 static int ocfs2_grab_eof_pages(struct inode *inode, loff_t start, loff_t end,
6919 BUG_ON(start >> OCFS2_SB(sb)->s_clustersize_bits !=
6922 return ocfs2_grab_pages(inode, start, end, pages, num);
7232 start:
7299 goto start;
7355 goto start;
7371 * 'start' is inclusive, 'end' is not.
7374 unsigned int start, unsigned int end, int trunc)
7384 if (start >= i_size_read(inode))
7390 BUG_ON(start > end);
7419 numbytes = end - start;
7420 memset(idata->id_data + start, 0, numbytes);
7429 i_size_write(inode, start);
7430 di->i_size = cpu_to_le64(start);
7451 u64 group, u32 start, u32 count)
7457 discard = ocfs2_clusters_to_blocks(sb, start);
7460 * For the first cluster group, the gd->bg_blkno is not at the start
7461 * of the group, but at an offset from the start. If we add it while
7462 * calculating discard for first group, we will wrongly start fstrim a
7463 * few blocks after the desried start block and the range can cross
7477 u32 start, u32 max, u32 minbits)
7486 start, max, minbits);
7488 while (start < max) {
7489 start = ocfs2_find_next_zero_bit(bitmap, max, start);
7490 if (start >= max)
7492 next = ocfs2_find_next_bit(bitmap, max, start);
7494 if ((next - start) >= minbits) {
7496 start, next - start);
7501 count += next - start;
7503 start = next + 1;
7524 u64 start, len, trimmed = 0, first_group, last_group = 0, group = 0;
7533 start = range->start >> osb->s_clustersize_bits;
7540 trace_ocfs2_trim_mainbm(start, len, minlen);
7565 if (start >= le32_to_cpu(main_bm->i_clusters)) {
7570 if (start + len > le32_to_cpu(main_bm->i_clusters))
7571 len = le32_to_cpu(main_bm->i_clusters) - start;
7575 * start and len
7577 first_group = ocfs2_which_cluster_group(main_bm_inode, start);
7579 first_bit = start;
7581 first_bit = start - ocfs2_blocks_to_clusters(sb,
7584 start + len - 1);
7652 trace_ocfs2_trim_fs(range->start, range->len, range->minlen);
7673 info.tf_start == range->start &&
7686 info.tf_start = range->start;