Home
last modified time | relevance | path

Searched refs:hlen (Results 1 – 6 of 6) sorted by relevance

/fs/pstore/
Dzone.c748 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
976 hlen = strlen(buf); in psz_kmsg_read()
977 record->buf = krealloc(buf, hlen + size, GFP_KERNEL); in psz_kmsg_read()
988 size = psz_zone_read_buffer(zone, record->buf + hlen, size, in psz_kmsg_read()
995 return size + hlen; in psz_kmsg_read()
Dram.c312 size_t size, hlen; in ramoops_pstore_write() local
379 hlen = ramoops_write_kmsg_hdr(prz, record); in ramoops_pstore_write()
380 if (!hlen) in ramoops_pstore_write()
384 if (size + hlen > prz->buffer_size) in ramoops_pstore_write()
385 size = prz->buffer_size - hlen; in ramoops_pstore_write()
/fs/xfs/
Dxfs_ioctl.h49 u32 hlen);
Dxfs_log_recover.c2923 int hlen; in xlog_valid_rec_header() local
2941 hlen = be32_to_cpu(rhead->h_len); in xlog_valid_rec_header()
2942 if (XFS_IS_CORRUPT(log->l_mp, hlen <= 0 || hlen > bufsize)) in xlog_valid_rec_header()
Dxfs_ioctl.c148 u32 hlen) in xfs_handle_to_dentry() argument
159 if (hlen != sizeof(xfs_handle_t)) in xfs_handle_to_dentry()
161 if (copy_from_user(&handle, uhandle, hlen)) in xfs_handle_to_dentry()
/fs/ubifs/
Djournal.c1711 int err, xlen, hlen, len, lnum, xent_offs, aligned_xlen, write_len; in ubifs_jnl_delete_xattr() local
1728 hlen = host_ui->data_len + UBIFS_INO_NODE_SZ; in ubifs_jnl_delete_xattr()
1729 len = aligned_xlen + UBIFS_INO_NODE_SZ + ALIGN(hlen, 8); in ubifs_jnl_delete_xattr()
1796 err = ubifs_tnc_add(c, &key1, lnum, xent_offs + len - hlen, hlen, hash); in ubifs_jnl_delete_xattr()