Lines Matching refs:cookie
213 unsigned long cookie; in fast_get_dcookie() local
217 get_dcookie(path, &cookie); in fast_get_dcookie()
218 return cookie; in fast_get_dcookie()
229 unsigned long cookie = NO_COOKIE; in get_exec_dcookie() local
239 cookie = fast_get_dcookie(&exe_file->f_path); in get_exec_dcookie()
242 return cookie; in get_exec_dcookie()
256 unsigned long cookie = NO_COOKIE; in lookup_dcookie() local
266 cookie = fast_get_dcookie(&vma->vm_file->f_path); in lookup_dcookie()
278 cookie = INVALID_COOKIE; in lookup_dcookie()
281 return cookie; in lookup_dcookie()
304 add_user_ctx_switch(struct task_struct const *task, unsigned long cookie) in add_user_ctx_switch() argument
309 add_event_entry(cookie); in add_user_ctx_switch()
317 static void add_cookie_switch(unsigned long cookie) in add_cookie_switch() argument
321 add_event_entry(cookie); in add_cookie_switch()
334 unsigned long cookie; in add_data() local
345 cookie = lookup_dcookie(mm, pc, &offset); in add_data()
347 if (cookie == NO_COOKIE) in add_data()
349 if (cookie == INVALID_COOKIE) { in add_data()
353 if (cookie != last_cookie) { in add_data()
354 add_cookie_switch(cookie); in add_data()
355 last_cookie = cookie; in add_data()
383 unsigned long cookie; in add_sample() local
398 cookie = lookup_dcookie(mm, s->eip, &offset); in add_sample()
400 if (cookie == INVALID_COOKIE) { in add_sample()
405 if (cookie != last_cookie) { in add_sample()
406 add_cookie_switch(cookie); in add_sample()
407 last_cookie = cookie; in add_sample()
499 unsigned long cookie = 0; in sync_buffer() local
541 cookie = get_exec_dcookie(mm); in sync_buffer()
542 add_user_ctx_switch(new, cookie); in sync_buffer()