Lines Matching defs:key
139 /* Looking for where to place the key */
196 struct tep_cmdline key;
204 key.pid = pid;
206 comm = bsearch(&key, tep->cmdlines, tep->cmdline_count,
225 struct tep_cmdline key;
233 key.pid = pid;
235 comm = bsearch(&key, tep->cmdlines, tep->cmdline_count,
253 struct tep_cmdline key;
261 key.pid = pid;
263 cmdline = bsearch(&key, tep->cmdlines, tep->cmdline_count,
288 key.comm = strdup(comm);
289 if (!key.comm) {
296 tep->cmdlines[0] = key;
302 cmdline = bsearch(&key, tep->cmdlines, tep->cmdline_count - 1,
313 if (key.pid > tep->cmdlines[tep->cmdline_count - 1].pid) {
314 tep->cmdlines[tep->cmdline_count++] = key;
320 *cmdline = key;
480 struct func_map key;
485 key.addr = addr;
487 func = bsearch(&key, tep->func_map, tep->func_count,
726 struct printk_map key;
731 key.addr = addr;
733 printk = bsearch(&key, tep->printk_map, tep->printk_count,
3575 struct tep_event key;
3576 struct tep_event *pkey = &key;
3582 key.id = id;