Searched refs:fdctx (Results 1 – 2 of 2) sorted by relevance
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_fd.cc | 43 static FdContext fdctx; variable 66 CHECK_NE(s, &fdctx.globsync); in unref() 67 CHECK_NE(s, &fdctx.filesync); in unref() 68 CHECK_NE(s, &fdctx.socksync); in unref() 77 atomic_uintptr_t *pl1 = &fdctx.tab[fd / kTableSizeL2]; in fddesc() 109 d->sync = &fdctx.globsync; in init() 123 atomic_store(&fdctx.globsync.rc, (u64)-1, memory_order_relaxed); in FdInit() 124 atomic_store(&fdctx.filesync.rc, (u64)-1, memory_order_relaxed); in FdInit() 125 atomic_store(&fdctx.socksync.rc, (u64)-1, memory_order_relaxed); in FdInit() 133 FdDesc *tab = (FdDesc*)atomic_load(&fdctx.tab[l1], memory_order_relaxed); in FdOnFork() [all …]
|
/external/libpcap/ |
D | pcap-canusb-linux.c | 92 libusb_context *fdctx; in canusb_findalldevs() local 97 if (libusb_init(&fdctx) != 0) { in canusb_findalldevs() 106 cnt = libusb_get_device_list(fdctx,&devs); in canusb_findalldevs() 136 libusb_exit(fdctx); in canusb_findalldevs() 143 libusb_exit(fdctx); in canusb_findalldevs()
|