Home
last modified time | relevance | path

Searched refs:vs (Results 1 – 8 of 8) sorted by relevance

/fs/incfs/
Dverity.c81 struct incfs_df_verity_signature *vs = NULL; in incfs_end_enable_verity() local
88 vs = kzalloc(sizeof(*vs), GFP_NOFS); in incfs_end_enable_verity()
89 if (!vs) in incfs_end_enable_verity()
115 *vs = (struct incfs_df_verity_signature) { in incfs_end_enable_verity()
120 df->df_verity_signature = vs; in incfs_end_enable_verity()
121 vs = NULL; in incfs_end_enable_verity()
127 kfree(vs); in incfs_end_enable_verity()
616 struct incfs_df_verity_signature *vs; in incfs_get_verity_signature() local
623 vs = df->df_verity_signature; in incfs_get_verity_signature()
624 if (!vs) { in incfs_get_verity_signature()
[all …]
Dformat.c374 struct incfs_file_verity_signature vs = {}; in incfs_write_verity_signature_to_backing_file() local
384 vs = (struct incfs_file_verity_signature) { in incfs_write_verity_signature_to_backing_file()
387 .h_record_size = cpu_to_le16(sizeof(vs)), in incfs_write_verity_signature_to_backing_file()
398 result = append_md_to_backing_file(bfc, &vs.vs_header); in incfs_write_verity_signature_to_backing_file()
Ddata_mgmt.c1636 struct incfs_file_verity_signature *vs, in process_file_verity_signature_md() argument
1649 verity_signature->offset = le64_to_cpu(vs->vs_offset); in process_file_verity_signature_md()
1650 verity_signature->size = le32_to_cpu(vs->vs_size); in process_file_verity_signature_md()
/fs/afs/
Dsuper.c729 struct afs_volume_status *vs = &op->volstatus.vs; in afs_get_volume_status_success() local
732 if (vs->max_quota == 0) in afs_get_volume_status_success()
733 buf->f_blocks = vs->part_max_blocks; in afs_get_volume_status_success()
735 buf->f_blocks = vs->max_quota; in afs_get_volume_status_success()
737 if (buf->f_blocks > vs->blocks_in_use) in afs_get_volume_status_success()
739 buf->f_blocks - vs->blocks_in_use; in afs_get_volume_status_success()
Dyfsclient.c308 struct afs_volume_status *vs) in xdr_decode_YFSFetchVolumeStatus() argument
313 vs->vid = xdr_to_u64(x->vid); in xdr_decode_YFSFetchVolumeStatus()
314 vs->parent_id = xdr_to_u64(x->parent_id); in xdr_decode_YFSFetchVolumeStatus()
316 vs->online = flags & yfs_FVSOnline; in xdr_decode_YFSFetchVolumeStatus()
317 vs->in_service = flags & yfs_FVSInservice; in xdr_decode_YFSFetchVolumeStatus()
318 vs->blessed = flags & yfs_FVSBlessed; in xdr_decode_YFSFetchVolumeStatus()
319 vs->needs_salvage = flags & yfs_FVSNeedsSalvage; in xdr_decode_YFSFetchVolumeStatus()
320 vs->type = ntohl(x->type); in xdr_decode_YFSFetchVolumeStatus()
321 vs->min_quota = 0; in xdr_decode_YFSFetchVolumeStatus()
322 vs->max_quota = xdr_to_u64(x->max_quota); in xdr_decode_YFSFetchVolumeStatus()
[all …]
Dfsclient.c213 struct afs_volume_status *vs) in xdr_decode_AFSFetchVolumeStatus() argument
217 vs->vid = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
218 vs->parent_id = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
219 vs->online = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
220 vs->in_service = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
221 vs->blessed = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
222 vs->needs_salvage = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
223 vs->type = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
224 vs->min_quota = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
225 vs->max_quota = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
[all …]
Dinternal.h827 struct afs_volume_status vs; member
/fs/verity/
DKconfig32 protection against malicious disks vs. an ahead-of-time hash.