Searched refs:hlen (Results 1 – 7 of 7) sorted by relevance
/fs/fscache/ |
D | volume.c | 219 size_t klen, hlen; in fscache_alloc_volume() local 250 hlen = round_up(1 + klen + 1, sizeof(__le32)); in fscache_alloc_volume() 251 key = kzalloc(hlen, GFP_KERNEL); in fscache_alloc_volume() 258 volume->key_hash = fscache_hash(0, key, hlen); in fscache_alloc_volume()
|
/fs/pstore/ |
D | zone.c | 748 size_t size, hlen; in psz_kmsg_write_record() local 773 hlen = sizeof(struct psz_kmsg_header); in psz_kmsg_write_record() 774 size = min_t(size_t, record->size, zone->buffer_size - hlen); in psz_kmsg_write_record() 775 ret = psz_zone_write(zone, FLUSH_ALL, record->buf, size, hlen); in psz_kmsg_write_record() 961 ssize_t size, hlen = 0; in psz_kmsg_read() local 978 hlen = strlen(buf); in psz_kmsg_read() 979 record->buf = krealloc(buf, hlen + size, GFP_KERNEL); in psz_kmsg_read() 990 size = psz_zone_read_buffer(zone, record->buf + hlen, size, in psz_kmsg_read() 997 return size + hlen; in psz_kmsg_read()
|
D | ram.c | 313 size_t size, hlen; in ramoops_pstore_write() local 380 hlen = ramoops_write_kmsg_hdr(prz, record); in ramoops_pstore_write() 381 if (!hlen) in ramoops_pstore_write() 385 if (size + hlen > prz->buffer_size) in ramoops_pstore_write() 386 size = prz->buffer_size - hlen; in ramoops_pstore_write()
|
/fs/xfs/ |
D | xfs_ioctl.h | 43 u32 hlen);
|
D | xfs_log_recover.c | 2916 int hlen; in xlog_valid_rec_header() local 2934 hlen = be32_to_cpu(rhead->h_len); in xlog_valid_rec_header() 2935 if (XFS_IS_CORRUPT(log->l_mp, hlen <= 0 || hlen > bufsize)) in xlog_valid_rec_header()
|
D | xfs_ioctl.c | 149 u32 hlen) in xfs_handle_to_dentry() argument 160 if (hlen != sizeof(xfs_handle_t)) in xfs_handle_to_dentry() 162 if (copy_from_user(&handle, uhandle, hlen)) in xfs_handle_to_dentry()
|
/fs/ubifs/ |
D | journal.c | 1721 int err, xlen, hlen, len, lnum, xent_offs, aligned_xlen, write_len; in ubifs_jnl_delete_xattr() local 1738 hlen = host_ui->data_len + UBIFS_INO_NODE_SZ; in ubifs_jnl_delete_xattr() 1739 len = aligned_xlen + UBIFS_INO_NODE_SZ + ALIGN(hlen, 8); in ubifs_jnl_delete_xattr() 1806 err = ubifs_tnc_add(c, &key1, lnum, xent_offs + len - hlen, hlen, hash); in ubifs_jnl_delete_xattr()
|