Searched refs:hlen (Results 1 – 6 of 6) sorted by relevance
/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 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()
|
D | ram.c | 312 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/ |
D | xfs_ioctl.h | 49 u32 hlen);
|
D | xfs_log_recover.c | 2923 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()
|
D | xfs_ioctl.c | 148 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/ |
D | journal.c | 1711 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()
|