• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/system_cmds-643.1.1/trace.tproj/

Lines Matching defs:lkp

562 	lookup_t	lkp;
571 for (lkp = lookup_hash[hashid]; lkp; lkp = lkp->lk_next) {
572 if (lkp->lk_thread == thread)
575 if (lkp == NULL) {
579 if ((lkp = lookup_freelist))
580 lookup_freelist = lkp->lk_next;
582 lkp = (lookup_t)malloc(sizeof(struct lookup));
584 lkp->lk_thread = thread;
586 lkp->lk_next = lookup_hash[hashid];
587 lookup_hash[hashid] = lkp;
591 lkp->lk_pathptr = lkp->lk_pathname;
592 lkp->lk_dvp = kdp->arg1;
594 if (lkp->lk_pathptr > &lkp->lk_pathname[NUMPARMS-4])
595 return (lkp);
597 *lkp->lk_pathptr++ = kdp->arg1;
599 *lkp->lk_pathptr++ = kdp->arg2;
600 *lkp->lk_pathptr++ = kdp->arg3;
601 *lkp->lk_pathptr++ = kdp->arg4;
602 *lkp->lk_pathptr = 0;
604 return (lkp);
611 lookup_t lkp;
617 if ((lkp = lookup_hash[hashid])) {
618 if (lkp == lkp_to_delete)
619 lookup_hash[hashid] = lkp->lk_next;
621 lkp_prev = lkp;
623 for (lkp = lkp->lk_next; lkp; lkp = lkp->lk_next) {
624 if (lkp == lkp_to_delete) {
625 lkp_prev->lk_next = lkp->lk_next;
628 lkp_prev = lkp;
631 if (lkp) {
632 lkp->lk_next = lookup_freelist;
633 lookup_freelist = lkp;
1036 lookup_t lkp;
1123 lkp = 0;
1126 lkp = handle_lookup_event(thread, debugid, kdp);
1128 if ( !lkp || !(debugid & DBG_FUNC_END))
1163 if ( !lkp) {
1236 if (lkp) {
1240 strptr = (char *)lkp->lk_pathname;
1252 fprintf(output_file, "%-16lx %-51s %-16lx %-2d %s\n", lkp->lk_dvp, &strptr[len], thread, cpunum, command);
1254 fprintf(output_file, "%-8x %-51s %-8lx %-2d %s\n", (unsigned int)lkp->lk_dvp, &strptr[len], thread, cpunum, command);
1256 delete_lookup_event(thread, lkp);