Home
last modified time | relevance | path

Searched refs:skip (Results 1 – 25 of 27) sorted by relevance

12

/fs/squashfs/
Dfile.c103 int skip) in empty_meta_index() argument
111 TRACE("empty_meta_index: offset %d, skip %d\n", offset, skip); in empty_meta_index()
153 meta->skip = skip; in empty_meta_index()
228 int skip = blocks / ((SQUASHFS_META_ENTRIES + 1) in calculate_skip() local
230 return min(SQUASHFS_CACHED_BLKS - 1, skip + 1); in calculate_skip()
243 int skip = calculate_skip(i_size_read(inode) >> msblk->block_log); in fill_meta_index() local
255 index /= SQUASHFS_META_INDEXES * skip; in fill_meta_index()
261 meta = empty_meta_index(inode, offset + 1, skip); in fill_meta_index()
287 int blocks = skip * SQUASHFS_META_INDEXES; in fill_meta_index()
326 return offset * SQUASHFS_META_INDEXES * skip; in fill_meta_index()
Dsquashfs_fs.h229 unsigned short skip; member
/fs/jfs/
Djfs_xtree.c698 int skip; /* index of entry of insertion */ in xtSplitUp() local
728 skip = split->index; in xtSplitUp()
730 if (skip < nextindex) in xtSplitUp()
731 memmove(&sp->xad[skip + 1], &sp->xad[skip], in xtSplitUp()
732 (nextindex - skip) * sizeof(xad_t)); in xtSplitUp()
735 xad = &sp->xad[skip]; in xtSplitUp()
747 min(skip, (int)xtlck->lwm.offset) : skip; in xtSplitUp()
843 skip = parent->index + 1; in xtSplitUp()
855 split->index = skip; /* index at insert */ in xtSplitUp()
897 if (skip < nextindex) in xtSplitUp()
[all …]
Djfs_dtree.c942 int skip; /* index of entry of insertion */ in dtSplitUp() local
1149 skip = parent->index + 1; in dtSplitUp()
1183 if ((sp->header.flag & BT_ROOT && skip > 1) || in dtSplitUp()
1184 sp->header.prev != 0 || skip > 1) { in dtSplitUp()
1235 split->index = skip; /* index at insert */ in dtSplitUp()
1278 n = skip >> L2DTSLOTSIZE; in dtSplitUp()
1286 dtInsertEntry(sp, skip, &key, data, &dtlck); in dtSplitUp()
1344 int skip, nextindex, half, left, nxt, off, si; in dtSplitPage() local
1504 skip = split->index; in dtSplitPage()
1517 if (off == skip) in dtSplitPage()
[all …]
Djfs_metapage.c476 goto skip; in metapage_writepage()
480 skip: in metapage_writepage()
/fs/reiserfs/
Dxattr.c517 size_t skip = 0; in reiserfs_xattr_set_handle() local
535 skip = file_pos = sizeof(struct reiserfs_xattr_header); in reiserfs_xattr_set_handle()
536 if (chunk + skip > PAGE_CACHE_SIZE) in reiserfs_xattr_set_handle()
537 chunk = PAGE_CACHE_SIZE - skip; in reiserfs_xattr_set_handle()
543 err = __reiserfs_write_begin(page, page_offset, chunk + skip); in reiserfs_xattr_set_handle()
546 memcpy(data + skip, buffer + buffer_pos, chunk); in reiserfs_xattr_set_handle()
549 skip); in reiserfs_xattr_set_handle()
555 skip = 0; in reiserfs_xattr_set_handle()
660 size_t skip = 0; in reiserfs_xattr_get() local
677 skip = file_pos = sizeof(struct reiserfs_xattr_header); in reiserfs_xattr_get()
[all …]
/fs/fat/
Dfile.c216 static int fat_free(struct inode *inode, int skip) in fat_free() argument
231 if (!skip) { in fat_free()
248 if (skip) { in fat_free()
252 ret = fat_get_cluster(inode, skip - 1, &fclus, &dclus); in fat_free()
279 inode->i_blocks = skip << (MSDOS_SB(sb)->cluster_bits - 9); in fat_free()
/fs/
Dbio-integrity.c541 unsigned int skip) in bio_integrity_mark_head() argument
547 if (skip == 0) { in bio_integrity_mark_head()
550 } else if (skip >= iv->bv_len) { in bio_integrity_mark_head()
551 skip -= iv->bv_len; in bio_integrity_mark_head()
553 iv->bv_offset += skip; in bio_integrity_mark_head()
554 iv->bv_len -= skip; in bio_integrity_mark_head()
/fs/hfs/
Dbrec.c117 goto skip; in hfs_brec_insert()
129 skip: in hfs_brec_insert()
210 goto skip; in hfs_brec_remove()
222 skip: in hfs_brec_remove()
384 goto skip; in hfs_brec_update_parent()
412 skip: in hfs_brec_update_parent()
/fs/hfsplus/
Dbrec.c117 goto skip; in hfs_brec_insert()
129 skip: in hfs_brec_insert()
214 goto skip; in hfs_brec_remove()
226 skip: in hfs_brec_remove()
389 goto skip; in hfs_brec_update_parent()
418 skip: in hfs_brec_update_parent()
/fs/ubifs/
Drecovery.c474 int skip, dlen = le32_to_cpu(ch->len); in no_more_nodes() local
477 skip = ALIGN(offs + UBIFS_CH_SZ, c->max_write_size) - offs; in no_more_nodes()
478 if (is_empty(buf + skip, len - skip)) in no_more_nodes()
489 skip = ALIGN(offs + dlen, c->max_write_size) - offs; in no_more_nodes()
491 if (is_empty(buf + skip, len - skip)) in no_more_nodes()
493 dbg_rcvry("unexpected data at %d:%d", lnum, offs + skip); in no_more_nodes()
/fs/ocfs2/
Dmove_extents.c810 u32 threshold, int *skip) in ocfs2_calc_extent_defrag_len() argument
821 *skip = 1; in ocfs2_calc_extent_defrag_len()
839 int ret = 0, flags, do_defrag, skip = 0; in __ocfs2_move_extents_range() local
922 defrag_thresh, &skip); in __ocfs2_move_extents_range()
926 if (skip) { in __ocfs2_move_extents_range()
927 skip = 0; in __ocfs2_move_extents_range()
/fs/gfs2/
Drgrp.c1638 static void try_rgrp_unlink(struct gfs2_rgrpd *rgd, u64 *last_unlinked, u64 skip) in try_rgrp_unlink() argument
1662 if (block == skip) in try_rgrp_unlink()
1778 u32 skip; in gfs2_orlov_skip() local
1780 get_random_bytes(&skip, sizeof(skip)); in gfs2_orlov_skip()
1781 return skip % sdp->sd_rgrps; in gfs2_orlov_skip()
1814 u32 skip = 0; in gfs2_inplace_reserve() local
1829 skip = gfs2_orlov_skip(ip); in gfs2_inplace_reserve()
1838 if (skip && skip--) in gfs2_inplace_reserve()
1898 if (skip) in gfs2_inplace_reserve()
/fs/isofs/
Drock.h10 unsigned char skip; member
Drock.c47 ISOFS_SB(inode->i_sb)->s_rock_offset = rr->u.SP.skip; in check_sp()
/fs/ext4/
Dmmp.c305 goto skip; in ext4_multi_mount_protect()
335 skip: in ext4_multi_mount_protect()
/fs/logfs/
Dlogfs.h653 static inline __be32 logfs_crc32(void *data, size_t len, size_t skip) in logfs_crc32() argument
655 return cpu_to_be32(crc32(~0, data+skip, len-skip)); in logfs_crc32()
Dreadwrite.c365 static unsigned long __get_bits(u64 val, int skip, int no) in __get_bits() argument
369 ret >>= skip * no; in __get_bits()
375 static unsigned long get_bits(u64 val, level_t skip) in get_bits() argument
377 return __get_bits(val, (__force int)skip, LOGFS_BLOCK_BITS); in get_bits()
/fs/jffs2/
Ddebug.c739 int skip; in __jffs2_dbg_dump_buffer() local
744 i = skip = offs % JFFS2_BUFDUMP_BYTES_PER_LINE; in __jffs2_dbg_dump_buffer()
747 if (skip != 0) in __jffs2_dbg_dump_buffer()
750 while (skip--) in __jffs2_dbg_dump_buffer()
Dscan.c255 uint32_t skip = c->nextblock->free_size % c->wbuf_pagesize; in jffs2_scan_medium() local
258 __func__, skip); in jffs2_scan_medium()
260 jffs2_scan_dirty_space(c, c->nextblock, skip); in jffs2_scan_medium()
/fs/btrfs/
Dioctl.c923 u64 *last_len, u64 *skip, u64 *defrag_end, in should_defrag_range() argument
937 *skip = 0; in should_defrag_range()
971 *skip = extent_map_end(em); in should_defrag_range()
1143 u64 skip = 0; in btrfs_defrag_file() local
1243 extent_thresh, &last_len, &skip, in btrfs_defrag_file()
1251 next = (skip + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT; in btrfs_defrag_file()
2761 u64 skip = 0; in btrfs_ioctl_clone() local
2764 skip = off - key.offset; in btrfs_ioctl_clone()
2765 new_key.offset += skip; in btrfs_ioctl_clone()
2771 if (comp && (skip || trim)) { in btrfs_ioctl_clone()
[all …]
Dextent-tree.c7031 goto skip; in do_walk_down()
7035 goto skip; in do_walk_down()
7041 goto skip; in do_walk_down()
7049 goto skip; in do_walk_down()
7080 skip: in do_walk_down()
/fs/ocfs2/dlm/
Ddlmmaster.c2890 int ret, skip, status = 0; in dlm_do_migrate_request() local
2909 skip = (!test_bit(nodenum, dlm->domain_map)); in dlm_do_migrate_request()
2911 if (skip) { in dlm_do_migrate_request()
/fs/ceph/
Dmds_client.c3488 struct ceph_msg_header *hdr, int *skip) in mds_alloc_msg() argument
3497 *skip = 0; in mds_alloc_msg()
/fs/proc/
Dbase.c317 trace.skip = 0; in proc_pid_stack()

12