• Home
  • Raw
  • Download

Lines Matching refs:sig

251 	struct ondisk_signature *sig = NULL;  in validate_hash_tree()  local
262 sig = df->df_signature; in validate_hash_tree()
263 if (!tree || !sig) in validate_hash_tree()
275 sig->mtree_offset; in validate_hash_tree()
325 struct ondisk_signature *sig = df->df_signature; in revalidate_signature() local
333 if (!sig || !df->df_hash_tree || sig->sig_size == 0) in revalidate_signature()
340 add_data_buf = kzalloc(sig->add_data_size, GFP_NOFS); in revalidate_signature()
346 read_res = incfs_kread(bf, add_data_buf, sig->add_data_size, in revalidate_signature()
347 sig->add_data_offset); in revalidate_signature()
352 if (read_res != sig->add_data_size) { in revalidate_signature()
357 sig_buf = kzalloc(sig->sig_size, GFP_NOFS); in revalidate_signature()
363 read_res = incfs_kread(bf, sig_buf, sig->sig_size, sig->sig_offset); in revalidate_signature()
368 if (read_res != sig->sig_size) { in revalidate_signature()
377 range(sig_buf, sig->sig_size), in revalidate_signature()
379 range(add_data_buf, sig->add_data_size)); in revalidate_signature()
756 struct ondisk_signature *sig; in incfs_read_file_signature() local
762 sig = df->df_signature; in incfs_read_file_signature()
763 if (!sig) in incfs_read_file_signature()
766 if (dst.len < sig->sig_size) in incfs_read_file_signature()
769 read_res = incfs_kread(bf, dst.data, sig->sig_size, sig->sig_offset); in incfs_read_file_signature()
774 if (read_res != sig->sig_size) in incfs_read_file_signature()
786 struct ondisk_signature *sig = NULL; in incfs_process_new_hash_block() local
804 sig = df->df_signature; in incfs_process_new_hash_block()
805 if (!hash_tree || !sig || sig->mtree_offset == 0) in incfs_process_new_hash_block()
808 hash_area_base = sig->mtree_offset; in incfs_process_new_hash_block()
809 hash_area_size = sig->mtree_size; in incfs_process_new_hash_block()