Lines Matching defs:recipe

1344 		/* no recipe data on a copy */
1399 /* no recipe data on a remove */
1452 * interpret a recipe to generate the value handle.
1517 * value the resource manager returns for the command and recipe
1737 * managers interpret the supplied recipe commands and
1766 /* iterate over the recipe items */
1774 /* find the next recipe */
1807 * managers interpret the supplied recipe commands and
1814 * create a recipe, that will generate a callback just
1851 /* iterate over the recipe items */
1859 /* find the next recipe */
2015 * Extract a recipe for a given <voucher, key> pair.
2036 mach_voucher_attr_recipe_t recipe;
2053 if (*in_out_size < sizeof(*recipe))
2056 recipe = (mach_voucher_attr_recipe_t)(void *)raw_recipe;
2057 recipe->key = key;
2058 recipe->command = MACH_VOUCHER_ATTR_NOOP;
2059 recipe->previous_voucher = MACH_VOUCHER_NAME_NULL;
2060 recipe->content_size = *in_out_size - sizeof(*recipe);
2082 &recipe->command,
2083 recipe->content, &recipe->content_size);
2085 assert(*in_out_size - sizeof(*recipe) >= recipe->content_size);
2086 *in_out_size = sizeof(*recipe) + recipe->content_size;
2098 * building up a recipe that could be provided to a future
2122 mach_voucher_attr_recipe_t recipe;
2132 if (recipe_size - recipe_used < sizeof(*recipe))
2135 recipe = (mach_voucher_attr_recipe_t)(void *)&recipes[recipe_used];
2136 content_size = recipe_size - recipe_used - sizeof(*recipe);
2157 recipe->key = key;
2158 recipe->command = MACH_VOUCHER_ATTR_NOOP;
2159 recipe->content_size = content_size;
2164 &recipe->command,
2165 recipe->content, &recipe->content_size);
2169 assert(recipe->content_size <= content_size);
2170 recipe_used += sizeof(*recipe) + recipe->content_size;
2181 * building up a recipe that could be provided to a future
2338 * supplied recipe(s).
2343 * Coming in from user-space, each recipe item will have a previous
2344 * recipe port name that needs to be converted to a voucher. Because
2379 /* iterate over the recipe items */
2388 /* find the next recipe */
2429 * supplied recipe(s).
2431 * Comming in from user-space, each recipe item will have a previous
2432 * recipe port name that needs to be converted to a voucher. Because
2464 /* iterate over the recipe items */
2473 /* find the next recipe */