Searched refs:handle (Results 76 - 100 of 247) sorted by relevance

12345678910

/haiku/src/add-ons/kernel/bluetooth/hci/
H A Dacl.cpp28 extern void RegisterConnection(hci_id hid, uint16 handle);
29 extern void unRegisterConnection(hci_id hid, uint16 handle);
54 // Get ACL connection handle, PB flag and payload length
55 aclHeader->handle = B_LENDIAN_TO_HOST_INT16(aclHeader->handle);
57 uint16 con_handle = get_acl_handle(aclHeader->handle);
58 uint16 pb = get_acl_pb_flag(aclHeader->handle);
63 TRACE("%s: ACL data packet, handle=%#x, PB=%#x, length=%d\n", __func__,
72 ERROR("%s: expected handle=%#x does not exist!\n", __func__,
110 TRACE("%s: New L2CAP, handle
[all...]
/haiku/src/system/boot/platform/amiga_m68k/
H A DHandle.h16 Handle(int handle);
20 void SetHandle(int handle);
34 CharHandle(int handle);
/haiku/headers/os/bluetooth/HCI/
H A DbtHCI_acl.h14 uint16 handle; /* Handle & Flags(PB, BC) */ member in struct:hci_acl_header
18 /* ACL handle and flags pack/unpack */
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DNFS4Inode.h34 FileHandle* handle, bool parent = false);
51 uint64* fileID, FileHandle* handle,
68 uint64* fileID, FileHandle* handle,
78 status_t OpenAttrDir(FileHandle* handle);
/haiku/headers/posix/arpa/
H A Dnameser.h111 * This is a message handle. It is caller allocated and has no dynamic data.
128 * This is a newmsg handle, used when constructing new messages with
139 #define ns_msg_id(handle) ((handle)._id + 0)
140 #define ns_msg_base(handle) ((handle)._msg + 0)
141 #define ns_msg_end(handle) ((handle)._eom + 0)
142 #define ns_msg_size(handle) ((handle)
[all...]
/haiku/headers/private/kernel/platform/efi/
H A Dboot-services.h119 efi_status (*InstallProtocolInterface) (efi_handle* handle, efi_guid* protocol,
125 efi_status (*UninstallProtocolInterface) (efi_handle handle, efi_guid* protocol,
128 efi_status (*HandleProtocol) (efi_handle handle, efi_guid* protocol, void** intf) EFIAPI;
173 efi_status (*OpenProtocol) (efi_handle handle, efi_guid* protocol, void** intf,
177 efi_status (*CloseProtocol) (efi_handle handle, efi_guid* protocol,
180 efi_status (*OpenProtocolInformation) (efi_handle handle, efi_guid* protocol,
184 efi_status (*ProtocolsPerHandle) (efi_handle handle, efi_guid*** protocol_buf,
193 efi_status (*InstallMultipleProtocolInterfaces) (efi_handle* handle, ...) EFIAPI;
195 efi_status (*UninstallMultipleProtocolInterfaces) (efi_handle handle, ...) EFIAPI;
/haiku/src/add-ons/kernel/generic/scsi_periph/
H A Dscsi_periph_int.h72 status_t periph_get_media_status(scsi_periph_handle_info *handle);
82 // handle.c
86 status_t periph_handle_close(scsi_periph_handle_info *handle);
87 status_t periph_handle_free(scsi_periph_handle_info *handle);
114 status_t periph_ioctl(scsi_periph_handle_info *handle, int op,
/haiku/headers/private/drivers/
H A Dscsi_periph.h27 // cookie issued by module per file handle
55 // cookie issued by driver per file handle
105 status_t (*handle_close)(scsi_periph_handle handle);
107 status_t (*handle_free)(scsi_periph_handle handle);
117 status_t (*ioctl)(scsi_periph_handle handle, int op, void *buffer,
142 status_t (*get_media_status)(scsi_periph_handle handle);
/haiku/headers/private/shared/
H A DAutoDeleter.h15 HandleDeleter - use arbitrary handle type and destructor function
260 inline bool operator()(status_t handle) argument
262 return handle >= B_OK;
276 inline HandleDeleter(C handle) argument
277 : fHandle(handle)
287 inline void SetTo(C handle) argument
289 if (handle != fHandle) {
292 fHandle = handle;
319 C handle = fHandle; local
321 return handle;
[all...]
/haiku/src/add-ons/disk_systems/intel/
H A DExtendedPartitionAddOn.h20 BPartitionHandle** handle);
29 BPartitionHandle** handle);
H A DPartitionMapAddOn.h20 BPartitionHandle** handle);
29 BPartitionHandle** handle);
H A DExtendedPartitionAddOn.cpp76 ExtendedPartitionHandle* handle local
78 if (!handle)
81 status_t error = handle->Init();
83 delete handle;
87 *_handle = handle;
127 // create the handle
128 ExtendedPartitionHandle* handle local
130 if (!handle)
132 ObjectDeleter<ExtendedPartitionHandle> handleDeleter(handle);
191 void* handle local
[all...]
/haiku/src/system/kernel/arch/generic/
H A DGenericVMPhysicalPageMapper.cpp34 GenericVMPhysicalPageMapper::PutPage(addr_t virtualAddress, void* handle) argument
68 GenericVMPhysicalPageMapper::PutPageDebug(addr_t virtualAddress, void* handle) argument
H A DGenericVMPhysicalPageMapper.h20 void* handle);
33 void* handle);
/haiku/src/add-ons/disk_systems/bfs/
H A DBFSAddOn.cpp88 BFSPartitionHandle* handle = new(nothrow) BFSPartitionHandle(partition); local
89 if (!handle)
92 status_t error = handle->Init();
94 delete handle;
98 *_handle = handle;
161 // create the handle
162 BFSPartitionHandle* handle = new(nothrow) BFSPartitionHandle(partition);
163 if (!handle)
165 ObjectDeleter<BFSPartitionHandle> handleDeleter(handle);
/haiku/src/system/libnetwork/netresolv/net/
H A Dnsdispatch.c280 if (mod->handle == NULL)
285 if (mod->handle != _nsbuiltin)
286 (void) dlclose(mod->handle);
310 * The placeholder is required, as a NULL handle
313 mod.handle = _nsbuiltin;
321 mod.handle = dlopen(buf, RTLD_LOCAL | RTLD_LAZY);
322 if (mod.handle == NULL) {
332 reg_fn = (nss_module_register_fn) dlsym(mod.handle,
335 (void) dlclose(mod.handle);
336 mod.handle
[all...]
/haiku/src/add-ons/kernel/drivers/disk/scsi/scsi_disk/
H A Dscsi_disk.cpp9 /*! Peripheral driver to handle any kind of SCSI disks,
93 get_geometry(das_handle* handle, device_geometry* geometry) argument
95 das_driver_info* info = handle->info;
273 das_handle* handle = (das_handle*)malloc(sizeof(das_handle)); local
274 if (handle == NULL)
277 handle->info = info;
280 (periph_handle_cookie)handle, &handle->scsi_periph_handle);
282 free(handle);
286 *_cookie = handle;
294 das_handle* handle = (das_handle*)cookie; local
305 das_handle* handle = (das_handle*)cookie; local
317 das_handle* handle = (das_handle*)cookie; local
326 das_handle* handle = (das_handle*)cookie; local
[all...]
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/
H A DACM.cpp89 SetControlPipe(interface->endpoint[0].handle);
105 SetWritePipe(interface->endpoint[0].handle);
108 SetReadPipe(interface->endpoint[0].handle);
113 SetReadPipe(interface->endpoint[1].handle);
116 SetWritePipe(interface->endpoint[1].handle);
H A DSilicon.cpp36 SetReadPipe(endpoint->handle);
41 SetControlPipe(endpoint->handle);
42 SetWritePipe(endpoint->handle);
H A DProlific.cpp41 SetControlPipe(endpoint->handle);
55 SetReadPipe(endpoint->handle);
57 SetWritePipe(endpoint->handle);
/haiku/src/add-ons/kernel/network/ppp/modem/
H A DModemDevice.cpp49 modem_put_line(int32 handle, const char *string, int32 length) argument
56 return write(handle, line, length + 1);
61 modem_get_line(int32 handle, char *string, int32 length, const char *echo) argument
69 result = read(handle, string + position, 1);
96 int32 handle = device->Handle(); local
100 if (modem_put_line(handle, device->InitString(), strlen(device->InitString())) < 0
101 || modem_get_line(handle, (char*) buffer, sizeof(buffer),
109 if (modem_put_line(handle, device->DialString(), strlen(device->DialString())) < 0
110 || modem_get_line(handle, (char*) buffer, sizeof(buffer),
135 length = read(handle, buffe
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DClientVolume.cpp56 // create the node handle map
148 // // get the handle
149 // NodeHandle* handle;
150 // status_t error = LockNodeHandle(cookie, &handle);
152 // // close the node handle
153 // ClientNodeUnlocker _(handle->GetClientNode());
154 // Close(handle);
160 // "existing node handle! Can't continue Unmount().\n"));
391 // The caller gets a lock to the returned node handle.
399 FileHandle* handle
481 Close(NodeHandle* handle) argument
[all...]
/haiku/src/tests/servers/app/newerClipping/
H A Dmain.cpp118 uint32* handle = (uint32*)buffer; local
121 *handle++ = pixel;
129 uint64* handle = (uint64*)buffer; local
135 *handle++ = pixel;
142 uint8* handle = buffer; local
146 handle = buffer;
148 fill_line_8(handle, 512, 255, 0, 255);
149 handle += bpr;
155 handle = buffer;
157 fill_line_32(handle, 51
296 uint8* handle = buffer; local
[all...]
/haiku/src/add-ons/kernel/drivers/disk/nvme/
H A Dnvme_disk.cpp113 get_geometry(nvme_disk_handle* handle, device_geometry* geometry) argument
115 nvme_disk_driver_info* info = handle->info;
355 nvme_disk_handle* handle = (nvme_disk_handle*)malloc( local
357 if (handle == NULL)
360 handle->info = info;
362 *_cookie = handle;
372 //nvme_disk_handle* handle = (nvme_disk_handle*)cookie;
382 nvme_disk_handle* handle = (nvme_disk_handle*)cookie; local
383 free(handle);
549 nvme_disk_bounced_io(nvme_disk_handle* handle, io_reques argument
624 nvme_disk_handle* handle = (nvme_disk_handle*)cookie; local
801 nvme_disk_handle* handle = (nvme_disk_handle*)cookie; local
824 nvme_disk_handle* handle = (nvme_disk_handle*)cookie; local
935 nvme_disk_handle* handle = (nvme_disk_handle*)cookie; local
[all...]
/haiku/src/system/kernel/arch/x86/paging/
H A Dx86_physical_page_mapper_large_memory.cpp135 addr_t* virtualAddress, void** handle);
136 virtual status_t PutPage(addr_t virtualAddress, void* handle);
139 addr_t* virtualAddress, void** handle);
141 void* handle);
144 addr_t* virtualAddress, void** handle);
146 void* handle);
494 addr_t* virtualAddress, void** handle)
503 *handle = slot;
514 LargeMemoryPhysicalPageMapper::PutPage(addr_t virtualAddress, void* handle) argument
516 PutSlot((PhysicalPageSlot*)handle);
493 GetPage(phys_addr_t physicalAddress, addr_t* virtualAddress, void** handle) argument
522 GetPageCurrentCPU(phys_addr_t physicalAddress, addr_t* virtualAddress, void** handle) argument
539 PutPageCurrentCPU(addr_t virtualAddress, void* handle) argument
551 GetPageDebug(phys_addr_t physicalAddress, addr_t* virtualAddress, void** handle) argument
563 PutPageDebug(addr_t virtualAddress, void* handle) argument
[all...]

Completed in 114 milliseconds

12345678910