cookie -> name cache More...

Go to the source code of this file.
Defines | |
| #define | INVALID_COOKIE ~0LLU |
| #define | NO_COOKIE 0LLU |
| #define | DCOOKIE_SHIFT 7 |
| Shift value to remove trailing zero on a dcookie value, 7 is sufficient for most architecture. | |
Typedefs | |
| typedef unsigned long long | cookie_t |
Functions | |
| char const * | find_cookie (cookie_t cookie) |
| Return the name of the given dcookie. | |
| int | is_cookie_ignored (cookie_t cookie) |
| return true if this cookie should be ignored | |
| char const * | verbose_cookie (cookie_t cookie) |
| give a textual description of the cookie | |
| void | cookie_init (void) |
cookie -> name cache
| #define DCOOKIE_SHIFT 7 |
Shift value to remove trailing zero on a dcookie value, 7 is sufficient for most architecture.
| #define INVALID_COOKIE ~0LLU |
Referenced by find_cookie(), is_cookie_ignored(), opd_process_samples(), trans_ibs_op_bta(), trans_ibs_op_ls_memaccess(), and verbose_cookie().
| #define NO_COOKIE 0LLU |
Referenced by find_cookie(), is_cookie_ignored(), sfile_find(), trans_ibs_op_bta(), trans_ibs_op_ls_memaccess(), and verbose_cookie().
| typedef unsigned long long cookie_t |
| void cookie_init | ( | void | ) |
References HASH_SIZE.
| char const* find_cookie | ( | cookie_t | cookie | ) |
Return the name of the given dcookie.
May return NULL on failure.
References INVALID_COOKIE, cookie_entry::list, list_entry, list_for_each, cookie_entry::name, NO_COOKIE, and cookie_entry::value.
Referenced by code_spu_ctx_switch(), and opd_open_sample_file().
| int is_cookie_ignored | ( | cookie_t | cookie | ) |
return true if this cookie should be ignored
References cookie_entry::ignored, INVALID_COOKIE, cookie_entry::list, list_entry, list_for_each, NO_COOKIE, and cookie_entry::value.
| char const* verbose_cookie | ( | cookie_t | cookie | ) |
give a textual description of the cookie
References INVALID_COOKIE, cookie_entry::list, list_entry, list_for_each, cookie_entry::name, NO_COOKIE, and cookie_entry::value.
Referenced by sfile_find().
1.6.1