memo 418 netbt/hci_event.c struct hci_memo *memo; memo 435 netbt/hci_event.c memo = hci_memo_find(unit, &bdaddr); memo 436 netbt/hci_event.c if (memo == NULL) { memo 437 netbt/hci_event.c memo = malloc(sizeof(struct hci_memo), memo 439 netbt/hci_event.c if (memo == NULL) { memo 443 netbt/hci_event.c bzero(memo, sizeof *memo); memo 445 netbt/hci_event.c LIST_INSERT_HEAD(&unit->hci_memos, memo, next); memo 448 netbt/hci_event.c microtime(&memo->time); memo 450 netbt/hci_event.c (caddr_t)&memo->response); memo 453 netbt/hci_event.c memo->response.clock_offset = memo 454 netbt/hci_event.c letoh16(memo->response.clock_offset); memo 71 netbt/hci_link.c struct hci_memo *memo; memo 97 netbt/hci_link.c memo = hci_memo_find(unit, bdaddr); memo 98 netbt/hci_link.c if (memo != NULL) { memo 99 netbt/hci_link.c cp.page_scan_rep_mode = memo->response.page_scan_rep_mode; memo 100 netbt/hci_link.c cp.page_scan_mode = memo->response.page_scan_mode; memo 101 netbt/hci_link.c cp.clock_offset = htole16(memo->response.clock_offset); memo 61 netbt/hci_misc.c struct hci_memo *memo; memo 88 netbt/hci_misc.c memo = hci_memo_find(unit, dest); memo 89 netbt/hci_misc.c if (memo) memo 117 netbt/hci_misc.c struct hci_memo *memo, *m0; memo 123 netbt/hci_misc.c while ((memo = m0) != NULL) { memo 124 netbt/hci_misc.c m0 = LIST_NEXT(memo, next); memo 126 netbt/hci_misc.c if (now.tv_sec > memo->time.tv_sec + hci_memo_expiry) { memo 127 netbt/hci_misc.c DPRINTF("memo %p too old (expiring)\n", memo); memo 128 netbt/hci_misc.c hci_memo_free(memo); memo 132 netbt/hci_misc.c if (bdaddr_same(bdaddr, &memo->response.bdaddr)) { memo 133 netbt/hci_misc.c DPRINTF("memo %p found\n", memo); memo 134 netbt/hci_misc.c return memo; memo 143 netbt/hci_misc.c hci_memo_free(struct hci_memo *memo) memo 146 netbt/hci_misc.c LIST_REMOVE(memo, next); memo 147 netbt/hci_misc.c free(memo, M_BLUETOOTH); memo 166 netbt/hci_unit.c struct hci_memo *memo; memo 191 netbt/hci_unit.c while ((memo = LIST_FIRST(&unit->hci_memos)) != NULL) memo 192 netbt/hci_unit.c hci_memo_free(memo);