/fs/reiserfs/ |
D | bitmap.c | 773 static inline void new_hashed_relocation(reiserfs_blocknr_hint_t * hint) in new_hashed_relocation() argument 777 if (hint->formatted_node) { in new_hashed_relocation() 778 hash_in = (char *)&hint->key.k_dir_id; in new_hashed_relocation() 780 if (!hint->inode) { in new_hashed_relocation() 782 hash_in = (char *)&hint->key.k_dir_id; in new_hashed_relocation() 784 if (TEST_OPTION(displace_based_on_dirid, hint->th->t_super)) in new_hashed_relocation() 785 hash_in = (char *)(&INODE_PKEY(hint->inode)->k_dir_id); in new_hashed_relocation() 788 (char *)(&INODE_PKEY(hint->inode)->k_objectid); in new_hashed_relocation() 791 hint->search_start = in new_hashed_relocation() 792 hint->beg + keyed_hash(hash_in, 4) % (hint->end - hint->beg); in new_hashed_relocation() [all …]
|
D | reiserfs.h | 3334 reiserfs_blocknr_hint_t hint = { in reiserfs_new_form_blocknrs() local 3342 return reiserfs_allocate_blocknrs(&hint, new_blocknrs, amount_needed, in reiserfs_new_form_blocknrs() 3352 reiserfs_blocknr_hint_t hint = { in reiserfs_new_unf_blocknrs() local 3360 return reiserfs_allocate_blocknrs(&hint, new_blocknrs, 1, 0); in reiserfs_new_unf_blocknrs() 3370 reiserfs_blocknr_hint_t hint = { in reiserfs_new_unf_blocknrs2() local 3378 return reiserfs_allocate_blocknrs(&hint, new_blocknrs, 1, 0); in reiserfs_new_unf_blocknrs2()
|
/fs/jfs/ |
D | jfs_extent.c | 76 s64 nxlen, nxaddr, xoff, hint, xaddr = 0; in extAlloc() local 94 if ((hint = addressXAD(xp))) { in extAlloc() 108 xaddr = hint + nxlen; in extAlloc() 111 hint += (nxlen - 1); in extAlloc() 125 if ((rc = extBalloc(ip, hint ? hint : INOHINT(ip), &nxlen, &nxaddr))) { in extAlloc() 496 extBalloc(struct inode *ip, s64 hint, s64 * nblocks, s64 * blkno) in extBalloc() argument 518 while ((rc = dbAlloc(ip, hint, nb, &daddr)) != 0) { in extBalloc()
|
D | jfs_dmap.h | 291 extern int dbAlloc(struct inode *ipbmap, s64 hint, s64 nblocks, s64 * results);
|
D | jfs_imap.c | 2156 s64 blkno, hint; in diNewExt() local 2248 hint = ((s64) agno << sbi->bmap->db_agl2size) - 1; in diNewExt() 2250 hint = addressPXD(&iagp->inoext[extno - 1]) + in diNewExt() 2253 if ((rc = dbAlloc(ipimap, hint, (s64) imap->im_nbperiext, &blkno))) in diNewExt()
|
D | jfs_dmap.c | 687 int dbAlloc(struct inode *ip, s64 hint, s64 nblocks, s64 * results) in dbAlloc() argument 713 if (hint >= mapSize) { in dbAlloc() 732 if (hint == 0) in dbAlloc() 739 blkno = hint + 1; in dbAlloc()
|
D | jfs_xtree.c | 529 s64 xaddr, hint; in xtInsert() local 573 hint = addressXAD(xad) + lengthXAD(xad) - 1; in xtInsert() 575 hint = 0; in xtInsert() 578 if ((rc = dbAlloc(ip, hint, (s64) xlen, &xaddr))) { in xtInsert()
|
/fs/lockd/ |
D | svcsubs.c | 331 nlmsvc_mark_host(void *data, struct nlm_host *hint) in nlmsvc_mark_host() argument 335 if ((hint->net == NULL) || in nlmsvc_mark_host() 336 (host->net == hint->net)) in nlmsvc_mark_host() 372 struct nlm_host hint; in nlmsvc_mark_resources() local 375 hint.net = net; in nlmsvc_mark_resources() 376 nlm_traverse_files(&hint, nlmsvc_mark_host, NULL); in nlmsvc_mark_resources()
|
/fs/ |
D | fcntl.c | 261 static bool rw_hint_valid(enum rw_hint hint) in rw_hint_valid() argument 263 switch (hint) { in rw_hint_valid() 281 enum rw_hint hint; in fcntl_rw_hint() local 293 hint = (enum rw_hint) h; in fcntl_rw_hint() 294 if (!rw_hint_valid(hint)) in fcntl_rw_hint() 298 file->f_write_hint = hint; in fcntl_rw_hint() 309 hint = (enum rw_hint) h; in fcntl_rw_hint() 310 if (!rw_hint_valid(hint)) in fcntl_rw_hint() 314 inode->i_write_hint = hint; in fcntl_rw_hint()
|
D | buffer.c | 54 enum rw_hint hint, struct writeback_control *wbc);
|
/fs/ocfs2/ |
D | suballoc.c | 1884 u64 hint = ac->ac_last_group; in ocfs2_claim_suballoc_bits() local 1908 res->sr_bg_blkno = hint; in ocfs2_claim_suballoc_bits() 1933 hint = res->sr_bg_blkno; in ocfs2_claim_suballoc_bits() 1935 hint = ocfs2_group_from_res(res); in ocfs2_claim_suballoc_bits() 1960 hint = ocfs2_group_from_res(res); in ocfs2_claim_suballoc_bits() 1977 ac->ac_last_group = hint; in ocfs2_claim_suballoc_bits()
|
/fs/f2fs/ |
D | segment.c | 2381 unsigned int hint = GET_SEC_FROM_SEG(sbi, *newseg); in get_new_segment() local 2383 unsigned int left_start = hint; in get_new_segment() 2392 GET_SEG_FROM_SEC(sbi, hint + 1), *newseg + 1); in get_new_segment() 2393 if (segno < GET_SEG_FROM_SEC(sbi, hint + 1)) in get_new_segment() 2397 secno = find_next_zero_bit(free_i->free_secmap, MAIN_SECS(sbi), hint); in get_new_segment() 2405 left_start = hint - 1; in get_new_segment() 2446 hint = zoneno * sbi->secs_per_zone - 1; in get_new_segment() 2448 hint = 0; in get_new_segment() 2450 hint = (zoneno + 1) * sbi->secs_per_zone; in get_new_segment() 2902 int f2fs_rw_hint_to_seg_type(enum rw_hint hint) in f2fs_rw_hint_to_seg_type() argument [all …]
|
D | data.c | 3000 enum rw_hint hint = iocb->ki_hint; in f2fs_direct_IO() local 3043 iocb->ki_hint = hint; in f2fs_direct_IO() 3049 iocb->ki_hint = hint; in f2fs_direct_IO() 3071 iocb->ki_hint = hint; in f2fs_direct_IO()
|
D | f2fs.h | 3165 int f2fs_rw_hint_to_seg_type(enum rw_hint hint);
|
/fs/gfs2/ |
D | file.c | 401 int hint = min_t(size_t, INT_MAX, blks); in gfs2_size_hint() local 403 if (hint > atomic_read(&ip->i_sizehint)) in gfs2_size_hint() 404 atomic_set(&ip->i_sizehint, hint); in gfs2_size_hint()
|
/fs/btrfs/ |
D | extent-tree.c | 4488 int level, u64 hint, in btrfs_alloc_tree_block() argument 4517 empty_size, hint, &ins, 0, 0); in btrfs_alloc_tree_block()
|
D | ctree.c | 1005 u64 hint, in alloc_tree_block_no_bg_flush() argument 1035 hint, empty_size); in alloc_tree_block_no_bg_flush()
|
D | ctree.h | 2421 int level, u64 hint,
|