Lines Matching refs:generation

240 static dtrace_genid_t	dtrace_probegen;	/* current probe generation */
392 * debugging problems in the DIF code generator or in DOF generation . The
11245 * This probe was created in a generation for which this
14862 * given generation number.
14868 * Look for a helper provider with the right generation. We
15479 * to rip out the entire generation and return failure.
15553 * this is the generation that dof was loaded in. If we hand back
15623 * Each dof being added must be assigned a unique generation.
15625 uint64_t generation = (existing_dofs) ? existing_dofs->dofiod_helpers[existing_dofs_count - 1].dofhp_dof + 1 : 1;
15631 incoming_dofs->dofiod_helpers[i].dofhp_dof = generation++;
15683 * EINVAL: lazy dof is enabled, but the requested generation was not found.
15687 dtrace_lazy_dofs_remove(proc_t *p, int generation)
15711 if ((int)existing_dofs->dofiod_helpers[index].dofhp_dof == generation) {
15887 * We stored the generation in dofhp_dof. Save it, and restore the original value.
15889 int generation = dhp->dofhp_dof;
15906 * If the generation value has been bumped, someone snuck in
15907 * when we released the dtrace lock. We have to dump this generation,
15910 if (help->dthps_generation <= generation) {
15911 help->dthps_generation = generation;
15917 if ((rval = dtrace_helper_slurp(p, dof, dhp)) != generation) {
15918 dtrace_dof_error(NULL, "returned value did not match expected generation");
18180 * the generation (unique id) values needed to call DTRACEHIOC_REMOVE
18202 int generation = *(int*)arg;
18208 int rval = dtrace_lazy_dofs_remove(p, generation);
18215 rval = dtrace_helper_destroygen(p, generation);