Searched refs:ptrs_block (Results 1 – 1 of 1) sorted by relevance
314 static bool fixup_lfp_data_ptrs(const void *bdb, void *ptrs_block) in fixup_lfp_data_ptrs() argument316 struct bdb_lfp_data_ptrs *ptrs = ptrs_block; in fixup_lfp_data_ptrs()369 void *ptrs_block; in generate_lfp_data_ptrs() local395 ptrs_block = kzalloc(sizeof(*ptrs) + 3, GFP_KERNEL); in generate_lfp_data_ptrs()396 if (!ptrs_block) in generate_lfp_data_ptrs()399 *(u8 *)(ptrs_block + 0) = BDB_LFP_DATA_PTRS; in generate_lfp_data_ptrs()400 *(u16 *)(ptrs_block + 1) = sizeof(*ptrs); in generate_lfp_data_ptrs()401 ptrs = ptrs_block + 3; in generate_lfp_data_ptrs()420 kfree(ptrs_block); in generate_lfp_data_ptrs()450 return ptrs_block; in generate_lfp_data_ptrs()