Lines Matching refs:convert_data
2202 kfree(load_state->convert_data); in selinux_policy_cancel()
2267 kfree(load_state->convert_data); in selinux_policy_commit()
2289 struct selinux_policy_convert_data *convert_data; in security_load_policy() local
2322 load_state->convert_data = NULL; in security_load_policy()
2336 convert_data = kmalloc(sizeof(*convert_data), GFP_KERNEL); in security_load_policy()
2337 if (!convert_data) { in security_load_policy()
2346 convert_data->args.state = state; in security_load_policy()
2347 convert_data->args.oldp = &oldpolicy->policydb; in security_load_policy()
2348 convert_data->args.newp = &newpolicy->policydb; in security_load_policy()
2350 convert_data->sidtab_params.func = convert_context; in security_load_policy()
2351 convert_data->sidtab_params.args = &convert_data->args; in security_load_policy()
2352 convert_data->sidtab_params.target = newpolicy->sidtab; in security_load_policy()
2354 rc = sidtab_convert(oldpolicy->sidtab, &convert_data->sidtab_params); in security_load_policy()
2363 load_state->convert_data = convert_data; in security_load_policy()
2367 kfree(convert_data); in security_load_policy()