Lines Matching refs:desc
100 struct fsverity_descriptor *desc; in fsverity_read_descriptor() local
104 res = fsverity_get_descriptor(inode, &desc); in fsverity_read_descriptor()
110 desc->sig_size = 0; in fsverity_read_descriptor()
112 res = fsverity_read_buffer(buf, offset, length, desc, desc_size); in fsverity_read_descriptor()
114 kfree(desc); in fsverity_read_descriptor()
121 struct fsverity_descriptor *desc; in fsverity_read_signature() local
124 res = fsverity_get_descriptor(inode, &desc); in fsverity_read_signature()
128 if (desc->sig_size == 0) { in fsverity_read_signature()
137 res = fsverity_read_buffer(buf, offset, length, desc->signature, in fsverity_read_signature()
138 le32_to_cpu(desc->sig_size)); in fsverity_read_signature()
140 kfree(desc); in fsverity_read_signature()