Home
last modified time | relevance | path

Searched refs:top (Results 1 – 22 of 22) sorted by relevance

/fs/incfs/
Dintegrity.c59 static bool read_u32(u8 **p, u8 *top, u32 *result) in read_u32() argument
61 if (*p + sizeof(u32) > top) in read_u32()
69 static bool read_u8(u8 **p, u8 *top, u8 *result) in read_u8() argument
71 if (*p + sizeof(u8) > top) in read_u8()
79 static bool read_mem_range(u8 **p, u8 *top, struct mem_range *range) in read_mem_range() argument
83 if (!read_u32(p, top, &len) || *p + len > top) in read_mem_range()
96 u8 *top = signature.data + signature.len; in incfs_parse_signature() local
102 if (!read_u32(&p, top, &si->version) || in incfs_parse_signature()
106 if (!read_u32(&p, top, &hash_section_size) || in incfs_parse_signature()
107 p + hash_section_size > top) in incfs_parse_signature()
[all …]
/fs/jfs/
Djfs_btree.h106 struct btframe *top; member
112 (btstack)->top = (btstack)->stack
115 ( (btstack)->top == &((btstack)->stack[MAXTREEHEIGHT-1]))
120 (BTSTACK)->top->bn = BN;\
121 (BTSTACK)->top->index = INDEX;\
122 ++(BTSTACK)->top;\
126 ( (btstack)->top == (btstack)->stack ? NULL : --(btstack)->top )
129 ( (btstack)->top == (btstack)->stack ? NULL : (btstack)->top )
156 if (! BT_IS_ROOT((BTSTACK)->top->mp))\
157 release_metapage((BTSTACK)->top->mp);\
Djfs_xtree.c175 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtLookup()
346 btsp = btstack->top; in xtSearch()
393 btsp = btstack->top; in xtSearch()
451 btsp = btstack->top; in xtSearch()
556 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtInsert()
1372 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtExtend()
1539 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtTailgate()
1720 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index0); in xtUpdate()
2034 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index0); in xtUpdate()
2195 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtAppend()
[all …]
Djfs_dtree.c697 btsp = btstack->top; in dtSearch()
746 btsp = btstack->top; in dtSearch()
836 DT_GETSEARCH(ip, btstack->top, bn, mp, p, index); in dtInsert()
2103 DT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in dtDelete()
2472 DT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); in dtRelocate()
2700 btsp = btstack->top; in dtSearchNode()
3119 DT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in jfs_readdir()
3165 DT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in jfs_readdir()
3363 btsp = btstack->top; in dtReadFirst()
3432 DT_GETSEARCH(ip, btstack->top, bn, mp, p, index); in dtReadNext()
[all …]
Djfs_txnmgr.c1140 ino_t top; in txCommit() local
1196 top = (cd.iplist[k])->i_ino; in txCommit()
1199 if (ip->i_ino > top) { in txCommit()
1200 top = ip->i_ino; in txCommit()
/fs/autofs/
Dexpire.c32 struct dentry *top = dentry; in autofs_mount_busy() local
61 ino = autofs_dentry_ino(top); in autofs_mount_busy()
151 struct dentry *top, in autofs_direct_busy() argument
155 pr_debug("top %p %pd\n", top, top); in autofs_direct_busy()
165 ino = autofs_dentry_ino(top); in autofs_direct_busy()
172 if (!autofs_can_expire(top, timeout, how)) in autofs_direct_busy()
183 struct dentry *top, in autofs_tree_busy() argument
187 struct autofs_info *top_ino = autofs_dentry_ino(top); in autofs_tree_busy()
190 pr_debug("top %p %pd\n", top, top); in autofs_tree_busy()
193 if (!simple_positive(top)) in autofs_tree_busy()
[all …]
/fs/erofs/
Ddecompressor.c78 unsigned int i, j, top; in z_erofs_lz4_prepare_destpages() local
80 top = 0; in z_erofs_lz4_prepare_destpages()
91 DBG_BUGON(top >= lz4_max_distance_pages); in z_erofs_lz4_prepare_destpages()
92 availables[top++] = rq->out[i - lz4_max_distance_pages]; in z_erofs_lz4_prepare_destpages()
114 if (top) { in z_erofs_lz4_prepare_destpages()
115 victim = availables[--top]; in z_erofs_lz4_prepare_destpages()
/fs/nfs/blocklayout/
Ddev.c501 struct pnfs_block_dev *top; in bl_alloc_deviceid_node() local
531 top = kzalloc(sizeof(*top), gfp_mask); in bl_alloc_deviceid_node()
532 if (!top) in bl_alloc_deviceid_node()
535 ret = bl_parse_deviceid(server, top, volumes, nr_volumes - 1, gfp_mask); in bl_alloc_deviceid_node()
537 node = &top->node; in bl_alloc_deviceid_node()
/fs/btrfs/
Dreada.c55 struct btrfs_key top; member
90 struct btrfs_key *top, u64 generation);
143 next_key = re->top; in __readahead_hook()
301 struct btrfs_key *top) in reada_find_extent() argument
330 re->top = *top; in reada_find_extent()
549 struct btrfs_key *top, u64 generation) in reada_add_block() argument
556 re = reada_find_extent(fs_info, logical, top); in reada_add_block()
/fs/minix/
Ditree_common.c227 block_t *top) in find_shared() argument
232 *top = 0; in find_shared()
249 *top = *p->p; in find_shared()
/fs/ext4/
Ddir.c655 char *top; in ext4_check_all_de() local
658 top = buf + buf_size; in ext4_check_all_de()
659 while ((char *) de < top) { in ext4_check_all_de()
667 if ((char *) de > top) in ext4_check_all_de()
Dnamei.c347 struct ext4_dir_entry *d, *top; in get_dirent_tail() local
350 top = (struct ext4_dir_entry *)(bh->b_data + in get_dirent_tail()
352 while (d < top && ext4_rec_len_from_disk(d->rec_len, blocksize)) in get_dirent_tail()
356 if (d != top) in get_dirent_tail()
1055 struct ext4_dir_entry_2 *de, *top; in htree_dirblock_to_tree() local
1068 top = (struct ext4_dir_entry_2 *) ((char *) de + in htree_dirblock_to_tree()
1087 for (; de < top; de = ext4_next_entry(de, dir->i_sb->s_blocksize)) { in htree_dirblock_to_tree()
1317 struct dx_map_entry *p, *q, *top = map + count - 1; in dx_sort_map() local
1324 for (p = top, q = p - count; q >= map; p--, q--) in dx_sort_map()
1331 q = top; in dx_sort_map()
[all …]
Dindirect.c803 __le32 *top) in ext4_find_shared() argument
808 *top = 0; in ext4_find_shared()
834 *top = *p->p; in ext4_find_shared()
/fs/sysv/
Ditree.c285 sysv_zone_t *top) in find_shared() argument
290 *top = 0; in find_shared()
317 *top = *p->p; in find_shared()
/fs/
Dbinfmt_elf_fdpic.c928 unsigned long load_addr, base = ULONG_MAX, top = 0, maddr = 0, mflags; in elf_fdpic_map_file_constdisp_on_uclinux() local
943 if (top < phdr->p_vaddr + phdr->p_memsz) in elf_fdpic_map_file_constdisp_on_uclinux()
944 top = phdr->p_vaddr + phdr->p_memsz; in elf_fdpic_map_file_constdisp_on_uclinux()
952 maddr = vm_mmap(NULL, load_addr, top - base, in elf_fdpic_map_file_constdisp_on_uclinux()
958 load_addr += PAGE_ALIGN(top - base); in elf_fdpic_map_file_constdisp_on_uclinux()
/fs/hfs/
Dhfs.h98 __be16 top; member
/fs/ubifs/
DKconfig18 UBIFS is a file system for flash devices which works on top of UBI.
/fs/hfsplus/
Dhfsplus_raw.h228 __be16 top; member
/fs/ntfs/
DKconfig74 on top of any DOS/Microsoft Windows system without partitioning your
/fs/ext2/
Dinode.c1048 __le32 *top) in ext2_find_shared() argument
1053 *top = 0; in ext2_find_shared()
1079 *top = *p->p; in ext2_find_shared()
/fs/cramfs/
DREADME53 <block_pointer>'s top bits may contain special flags as follows:
/fs/ocfs2/dlm/
Ddlmmaster.c3338 top: in dlm_clean_master_list()
3404 goto top; in dlm_clean_master_list()