Lines Matching defs:src
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
203 static hook_int_t *hook_copy(hook_t *src);
206 static hook_event_int_t *hook_event_copy(hook_event_t *src);
209 static hook_family_int_t *hook_family_copy(hook_family_t *src);
1088 * Parameters: src(I) - family pointer
1094 hook_family_copy(hook_family_t *src)
1099 ASSERT(src != NULL);
1100 ASSERT(src->hf_name != NULL);
1106 *dst = *src;
1112 dst->hf_name = (char *)kmem_alloc(strlen(src->hf_name) + 1, KM_SLEEP);
1113 (void) strcpy(dst->hf_name, src->hf_name);
1620 * Parameters: src(I) - event pointer
1626 hook_event_copy(hook_event_t *src)
1630 ASSERT(src != NULL);
1631 ASSERT(src->he_name != NULL);
1637 new->hei_event = src;
2260 * Parameters: src(I) - hook pointer
2270 hook_copy(hook_t *src)
2276 ASSERT(src != NULL);
2277 ASSERT(src->h_name != NULL);
2283 *dst = *src;
2286 len = strlen(src->h_name);
2288 (void) strcpy(dst->h_name, src->h_name);
2297 len = strlen((char *)src->h_hintvalue);
2302 (char *)src->h_hintvalue);