lf                619 source3/registry/regfio.c 	REGF_LF_REC *lf = &nk->subkeys;
lf                640 source3/registry/regfio.c 	if ( !prs_uint32( "rec_size", &hbin->ps, depth, &lf->rec_size ))
lf                643 source3/registry/regfio.c 	if ( !prs_uint8s( True, "header", &hbin->ps, depth, (uint8*)lf->header, sizeof( lf->header )) )
lf                646 source3/registry/regfio.c 	if ( !prs_uint16( "num_keys", &hbin->ps, depth, &lf->num_keys))
lf                650 source3/registry/regfio.c 		if (lf->num_keys) {
lf                651 source3/registry/regfio.c 			if ( !(lf->hashes = PRS_ALLOC_MEM( &hbin->ps, REGF_HASH_REC, lf->num_keys )) )
lf                654 source3/registry/regfio.c 			lf->hashes = NULL;
lf                658 source3/registry/regfio.c 	for ( i=0; i<lf->num_keys; i++ ) {
lf                659 source3/registry/regfio.c 		if ( !prs_hash_rec( "hash_rec", &hbin->ps, depth, &lf->hashes[i] ) )
lf                668 source3/registry/regfio.c 	if ( data_size > lf->rec_size )
lf                669 source3/registry/regfio.c 		DEBUG(10,("Encountered reused record (0x%x < 0x%x)\n", data_size, lf->rec_size));
lf                628 source4/lib/registry/regf.c 		struct lf_block lf;
lf                634 source4/lib/registry/regf.c 		if (NT_STATUS_IS_ERR(tdr_pull_lf_block(pull, nk, &lf))) {
lf                640 source4/lib/registry/regf.c 		SMB_ASSERT(!strncmp(lf.header, "lf", 2));
lf                642 source4/lib/registry/regf.c 		if (lf.key_count != nk->num_subkeys) {
lf                647 source4/lib/registry/regf.c 		key_off = lf.hr[idx].nk_offset;
lf                876 source4/lib/registry/regf.c 		struct lf_block lf;
lf                883 source4/lib/registry/regf.c 		if (NT_STATUS_IS_ERR(tdr_pull_lf_block(pull, nk, &lf))) {
lf                889 source4/lib/registry/regf.c 		SMB_ASSERT(!strncmp(lf.header, "lf", 2));
lf                891 source4/lib/registry/regf.c 		if (lf.key_count != nk->num_subkeys) {
lf                896 source4/lib/registry/regf.c 		for (i = 0; i < lf.key_count; i++) {
lf                897 source4/lib/registry/regf.c 			if (strncmp(lf.hr[i].hash, name, 4)) {
lf                902 source4/lib/registry/regf.c 									lf.hr[i].nk_offset,
lf               1247 source4/lib/registry/regf.c 			struct lf_block lf;
lf               1248 source4/lib/registry/regf.c 			ZERO_STRUCT(lf);
lf               1249 source4/lib/registry/regf.c 			lf.header = "lf";
lf               1250 source4/lib/registry/regf.c 			lf.key_count = 1;
lf               1252 source4/lib/registry/regf.c 			lf.hr = talloc_array(regf, struct hash_record, 1);
lf               1253 source4/lib/registry/regf.c 			W_ERROR_HAVE_NO_MEMORY(lf.hr);
lf               1254 source4/lib/registry/regf.c 			lf.hr[0].nk_offset = key_offset;
lf               1255 source4/lib/registry/regf.c 			lf.hr[0].hash = talloc_strndup(lf.hr, name, 4);
lf               1256 source4/lib/registry/regf.c 			W_ERROR_HAVE_NO_MEMORY(lf.hr[0].hash);
lf               1260 source4/lib/registry/regf.c 					      &lf);
lf               1262 source4/lib/registry/regf.c 			talloc_free(lf.hr);
lf               1321 source4/lib/registry/regf.c 		struct lf_block lf;
lf               1325 source4/lib/registry/regf.c 		if (NT_STATUS_IS_ERR(tdr_pull_lf_block(pull, regf, &lf))) {
lf               1331 source4/lib/registry/regf.c 		SMB_ASSERT(!strncmp(lf.header, "lf", 2));
lf               1333 source4/lib/registry/regf.c 		lf.hr = talloc_realloc(regf, lf.hr, struct hash_record,
lf               1334 source4/lib/registry/regf.c 				       lf.key_count+1);
lf               1335 source4/lib/registry/regf.c 		W_ERROR_HAVE_NO_MEMORY(lf.hr);
lf               1336 source4/lib/registry/regf.c 		lf.hr[lf.key_count].nk_offset = key_offset;
lf               1337 source4/lib/registry/regf.c 		lf.hr[lf.key_count].hash = talloc_strndup(lf.hr, name, 4);
lf               1338 source4/lib/registry/regf.c 		W_ERROR_HAVE_NO_MEMORY(lf.hr[lf.key_count].hash);
lf               1339 source4/lib/registry/regf.c 		lf.key_count++;
lf               1342 source4/lib/registry/regf.c 					     list_offset, &lf);
lf               1344 source4/lib/registry/regf.c 		talloc_free(lf.hr);
lf               1438 source4/lib/registry/regf.c 		struct lf_block lf;
lf               1447 source4/lib/registry/regf.c 		if (NT_STATUS_IS_ERR(tdr_pull_lf_block(pull, regf, &lf))) {
lf               1454 source4/lib/registry/regf.c 		SMB_ASSERT(!strncmp(lf.header, "lf", 2));
lf               1456 source4/lib/registry/regf.c 		for (i = 0; i < lf.key_count; i++) {
lf               1458 source4/lib/registry/regf.c 				lf.hr[i-1] = lf.hr[i];
lf               1461 source4/lib/registry/regf.c 			if (lf.hr[i].nk_offset == key_offset) {
lf               1470 source4/lib/registry/regf.c 		lf.key_count--;
lf               1473 source4/lib/registry/regf.c 		if (lf.key_count == 0) {
lf               1482 source4/lib/registry/regf.c 					     list_offset, &lf);