Lines Matching full:pre
97 struct adf_mstate_preh *pre = (struct adf_mstate_preh *)mgr->buf; in adf_mstate_preamble_add() local
99 if (adf_mstate_avail_room(mgr) < sizeof(*pre)) { in adf_mstate_preamble_add()
104 adf_mstate_preamble_init(pre); in adf_mstate_preamble_add()
105 mgr->state += pre->preh_len; in adf_mstate_preamble_add()
107 return pre; in adf_mstate_preamble_add()
263 struct adf_mstate_preh *pre; in adf_mstate_mgr_init_from_remote() local
267 pre = (struct adf_mstate_preh *)(mgr->buf); in adf_mstate_mgr_init_from_remote()
270 print_hex_dump_debug("", DUMP_PREFIX_OFFSET, 16, 2, pre, pre->preh_len, 0); in adf_mstate_mgr_init_from_remote()
273 ret = (*pre_checker)(pre, opaque); in adf_mstate_mgr_init_from_remote()
275 ret = adf_mstate_preamble_def_checker(pre, mgr); in adf_mstate_mgr_init_from_remote()
279 mgr->state = mgr->buf + pre->preh_len; in adf_mstate_mgr_init_from_remote()
280 mgr->n_sects = pre->n_sects; in adf_mstate_mgr_init_from_remote()