Lines Matching refs:px_args
1575 struct user__posix_spawn_args_desc px_args;
1597 error = copyin(uap->adesc, &px_args, sizeof(px_args));
1607 px_args.attr_size = px_args32.attr_size;
1608 px_args.attrp = CAST_USER_ADDR_T(px_args32.attrp);
1609 px_args.file_actions_size = px_args32.file_actions_size;
1610 px_args.file_actions = CAST_USER_ADDR_T(px_args32.file_actions);
1611 px_args.port_actions_size = px_args32.port_actions_size;
1612 px_args.port_actions = CAST_USER_ADDR_T(px_args32.port_actions);
1617 if (px_args.attr_size != 0) {
1620 * but we already have it from px_args.
1622 if ((error = copyin(px_args.attrp, &px_sa, sizeof(px_sa))) != 0)
1627 if (px_args.file_actions_size != 0) {
1630 if (px_args.file_actions_size < PSF_ACTIONS_SIZE(1) ||
1631 px_args.file_actions_size > PSF_ACTIONS_SIZE(maxfa)) {
1635 MALLOC(px_sfap, _posix_spawn_file_actions_t, px_args.file_actions_size, M_TEMP, M_WAITOK);
1642 if ((error = copyin(px_args.file_actions, px_sfap,
1643 px_args.file_actions_size)) != 0)
1646 if (px_args.port_actions_size != 0) {
1648 if (px_args.port_actions_size < PS_PORT_ACTIONS_SIZE(1) ||
1649 px_args.port_actions_size > PAGE_SIZE) {
1655 px_args.port_actions_size, M_TEMP, M_WAITOK);
1662 if ((error = copyin(px_args.port_actions, px_spap,
1663 px_args.port_actions_size)) != 0)