Searched refs:hsize (Results 1 – 6 of 6) sorted by relevance
/fs/verity/ |
D | verify.c | 44 unsigned int hsize, u8 *out) in extract_hash() argument 48 memcpy(out, virt + hoffset, hsize); in extract_hash() 56 const unsigned int hsize = vi->tree_params.digest_size; in cmp_hashes() local 58 if (memcmp(want_hash, real_hash, hsize) == 0) in cmp_hashes() 64 vi->tree_params.hash_alg->name, hsize, want_hash, in cmp_hashes() 65 vi->tree_params.hash_alg->name, hsize, real_hash); in cmp_hashes() 91 const unsigned int hsize = params->digest_size; in verify_page() local 132 extract_hash(hpage, hoffset, hsize, _want_hash); in verify_page() 137 hsize, want_hash); in verify_page() 147 params->hash_alg->name, hsize, want_hash); in verify_page() [all …]
|
/fs/gfs2/ |
D | dir.c | 342 u32 hsize; in gfs2_dir_get_hash_table() local 351 hsize = BIT(ip->i_depth); in gfs2_dir_get_hash_table() 352 hsize *= sizeof(__be64); in gfs2_dir_get_hash_table() 353 if (hsize != i_size_read(&ip->i_inode)) { in gfs2_dir_get_hash_table() 358 hc = kmalloc(hsize, GFP_NOFS | __GFP_NOWARN); in gfs2_dir_get_hash_table() 360 hc = __vmalloc(hsize, GFP_NOFS, PAGE_KERNEL); in gfs2_dir_get_hash_table() 365 ret = gfs2_dir_read_data(ip, hc, hsize); in gfs2_dir_get_hash_table() 822 unsigned int hsize = BIT(ip->i_depth); in gfs2_dirent_search() local 825 if (hsize * sizeof(u64) != i_size_read(inode)) { in gfs2_dirent_search() 1156 u32 hsize; in dir_double_exhash() local [all …]
|
/fs/pstore/ |
D | platform.c | 357 static size_t copy_kmsg_to_buffer(int hsize, size_t len) in copy_kmsg_to_buffer() argument 362 total_len = hsize + len; in copy_kmsg_to_buffer() 365 diff = total_len - psinfo->bufsize + hsize; in copy_kmsg_to_buffer() 366 memcpy(psinfo->buf, big_oops_buf, hsize); in copy_kmsg_to_buffer() 367 memcpy(psinfo->buf + hsize, big_oops_buf + diff, in copy_kmsg_to_buffer() 368 psinfo->bufsize - hsize); in copy_kmsg_to_buffer()
|
/fs/f2fs/ |
D | xattr.c | 432 static inline int write_all_xattrs(struct inode *inode, __u32 hsize, in write_all_xattrs() argument 444 if (hsize > inline_size && !F2FS_I(inode)->i_xattr_nid) in write_all_xattrs() 464 if (hsize <= inline_size) { in write_all_xattrs()
|
/fs/xfs/ |
D | xfs_ioctl.c | 56 int hsize; in xfs_find_handle() local 99 hsize = sizeof(xfs_fsid_t); in xfs_find_handle() 106 hsize = sizeof(xfs_handle_t); in xfs_find_handle() 110 if (copy_to_user(hreq->ohandle, &handle, hsize) || in xfs_find_handle() 111 copy_to_user(hreq->ohandlen, &hsize, sizeof(__s32))) in xfs_find_handle()
|
D | xfs_log_recover.c | 991 int hsize) in xlog_verify_tail() argument 1034 if (tail_distance > BTOBB(XLOG_MAX_ICLOGS * hsize)) in xlog_verify_tail()
|