Searched refs:handle (Results 51 - 75 of 247) sorted by relevance

12345678910

/haiku/src/add-ons/kernel/generic/scsi_periph/
H A Dremovable.cpp30 // if there is no hook, the driver doesn't handle removal devices
72 scsi_periph_handle_info *handle; local
77 // (this must be atomic for each handle!)
78 for (handle = device->handles; handle; handle = handle->next)
79 handle->pending_error = B_DEV_MEDIA_CHANGED;
148 periph_get_media_status(scsi_periph_handle_info *handle) argument
150 scsi_periph_device_info *device = handle
[all...]
/haiku/headers/private/bluetooth/
H A DbtCoreData.h44 uint16 handle; member in struct:HciConnection
78 struct HciConnection* (*AddConnection)(uint16 handle, int type,
82 status_t (*RemoveConnection)(uint16 handle, hci_id hid);
86 struct HciConnection* (*ConnectionByHandle)(uint16 handle, hci_id hid);
98 inline bool ExistConnectionByHandle(uint16 handle, hci_id hid);
/haiku/src/system/kernel/platform/openfirmware/
H A Dopenfirmware.cpp125 of_call_method(uint32_t handle, const char *method, intptr_t numArgs, argument
138 intptr_t handle; member in struct:__anon7
140 } args = {"call-method", numArgs + 2, numReturns + 1, method, handle};
184 intptr_t handle; member in struct:__anon8
190 return args.handle;
408 intptr_t handle; member in struct:__anon19
411 if (gCallOpenFirmware(&args) == OF_FAILED || args.handle == 0)
414 return args.handle;
419 of_close(intptr_t handle) argument
425 intptr_t handle; member in struct:__anon20
433 of_read(intptr_t handle, void *buffer, intptr_t bufferSize) argument
439 intptr_t handle; member in struct:__anon21
453 of_write(intptr_t handle, const void *buffer, intptr_t bufferSize) argument
459 intptr_t handle; member in struct:__anon22
473 of_seek(intptr_t handle, off_t pos) argument
483 intptr_t handle; member in struct:__anon23
497 of_blocks(intptr_t handle) argument
503 intptr_t handle; member in struct:__anon24
515 of_block_size(intptr_t handle) argument
521 intptr_t handle; member in struct:__anon25
[all...]
/haiku/src/system/kernel/arch/x86/paging/
H A Dx86_physical_page_mapper_mapped.h83 addr_t* virtualAddress, void** handle)
94 X86PhysicalPageMapper::PutPage(addr_t virtualAddress, void* handle) argument
102 addr_t* virtualAddress, void** handle)
114 void* handle)
122 addr_t* virtualAddress, void** handle)
133 X86PhysicalPageMapper::PutPageDebug(addr_t virtualAddress, void* handle) argument
82 GetPage(phys_addr_t physicalAddress, addr_t* virtualAddress, void** handle) argument
101 GetPageCurrentCPU(phys_addr_t physicalAddress, addr_t* virtualAddress, void** handle) argument
113 PutPageCurrentCPU(addr_t virtualAddress, void* handle) argument
121 GetPageDebug(phys_addr_t physicalAddress, addr_t* virtualAddress, void** handle) argument
/haiku/src/add-ons/kernel/bluetooth/btCoreData/
H A DBTCoreData.cpp32 ExistConnectionByHandle(uint16 handle, hci_id hid) argument
34 return ConnectionByHandle(handle, hid);
51 // TODO: XXX parse handle field
52 HciConnection* conn = AddConnection(data->handle, BT_ACL,
58 TRACE("%s: Registered connection handle=%#x\n", __func__,
59 data->handle);
70 RemoveConnection(data->handle, ndev->index);
71 TRACE("%s: unRegistered connection handle=%#x\n", __func__,
72 data->handle);
H A DConnectionInterface.cpp64 AddConnection(uint16 handle, int type, const bdaddr_t& dst, hci_id hid) argument
68 HciConnection* conn = ConnectionByHandle(handle, hid);
90 conn->handle = handle;
136 RemoveConnection(uint16 handle, hci_id hid) argument
146 if (conn->Hid == hid && conn->handle == handle) {
185 ConnectionByHandle(uint16 handle, hci_id hid) argument
195 if (conn->Hid == hid && conn->handle == handle) {
[all...]
/haiku/src/add-ons/disk_systems/intel/
H A DPartitionMapAddOn.cpp75 PartitionMapHandle* handle = new(nothrow) PartitionMapHandle(partition); local
76 if (!handle)
79 status_t error = handle->Init();
81 delete handle;
85 *_handle = handle;
127 // create the handle
128 PartitionMapHandle* handle = new(nothrow) PartitionMapHandle(partition); local
129 if (!handle)
131 ObjectDeleter<PartitionMapHandle> handleDeleter(handle);
304 void* handle local
318 void* handle = parse_driver_settings_string(parameters); local
372 void* handle = parse_driver_settings_string(parameters); local
487 void* handle = parse_driver_settings_string(parameters); local
[all...]
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dwin32_io.c282 HANDLE handle; member in struct:__anon144
473 * @handle: pointer the a HANDLE in which to put the result
480 * -1 if not, and errno set. In this case handle is trashed.
483 HANDLE *handle, int flags, BOOL locking)
485 *handle = CreateFile(filename,
490 if (*handle == INVALID_HANDLE_VALUE) {
500 * @handle: a win32 HANDLE for a volume to lock
508 static int ntfs_device_win32_lock(HANDLE handle) argument
512 if (!DeviceIoControl(handle, FSCTL_LOCK_VOLUME, NULL, 0, NULL, 0, &i,
524 * @handle
482 ntfs_device_win32_simple_open_file(const char *filename, HANDLE *handle, int flags, BOOL locking) argument
529 ntfs_device_win32_unlock(HANDLE handle) argument
543 ntfs_device_win32_setlock(HANDLE handle, ULONG code) argument
572 ntfs_device_win32_dismount(HANDLE handle) argument
595 ntfs_device_win32_getsize(HANDLE handle) argument
621 ntfs_device_win32_getdisklength(HANDLE handle) argument
651 ntfs_device_win32_getntfssize(HANDLE handle) argument
689 ntfs_device_win32_getgeo(HANDLE handle, win32_fd *fd) argument
747 ntfs_device_win32_getntgeo(HANDLE handle, win32_fd *fd) argument
800 HANDLE handle; local
842 HANDLE handle; local
880 HANDLE handle; local
988 HANDLE handle; local
1060 ntfs_device_win32_find_partition(HANDLE handle, DWORD partition_id, s64 *part_offset, s64 *part_length, int *hidden_sectors) argument
1133 HANDLE handle; local
1342 HANDLE handle; local
1970 HANDLE handle; local
1992 win32_ftruncate(HANDLE handle, s64 size) argument
2035 HANDLE handle; local
[all...]
/haiku/src/add-ons/disk_systems/bfs/
H A DBFSAddOn.h18 BPartitionHandle** handle);
30 BPartitionHandle** handle);
/haiku/src/add-ons/disk_systems/ntfs/
H A DNTFSAddOn.h25 BPartitionHandle** handle);
37 BPartitionHandle** handle);
/haiku/src/tests/system/kernel/file_corruption/disk_system/
H A Dchecksumfs.cpp78 CheckSumFSPartitionHandle* handle local
80 if (handle == NULL)
83 status_t error = handle->Init();
85 delete handle;
89 *_handle = handle;
141 CheckSumFSPartitionHandle* handle local
143 if (handle == NULL)
145 ObjectDeleter<CheckSumFSPartitionHandle> handleDeleter(handle);
/haiku/src/add-ons/disk_systems/fat/
H A DFATAddOn.h26 BPartitionHandle** handle);
38 BPartitionHandle** handle);
/haiku/src/add-ons/disk_systems/btrfs/
H A DBTRFSAddOn.cpp75 BTRFSPartitionHandle* handle = new(nothrow) BTRFSPartitionHandle(partition); local
76 if (!handle)
79 status_t error = handle->Init();
81 delete handle;
85 *_handle = handle;
138 BTRFSPartitionHandle* handle = new(nothrow) BTRFSPartitionHandle(partition);
139 if (!handle)
141 ObjectDeleter<BTRFSPartitionHandle> handleDeleter(handle);
H A DBTRFSAddOn.h20 BPartitionHandle** handle);
32 BPartitionHandle** handle);
/haiku/src/add-ons/kernel/bus_managers/acpi/
H A DACPICAHaiku.cpp341 * PARAMETERS: destination - An open file handle/pointer
557 * outHandle - Where a handle will be returned
586 * PARAMETERS: handle - Handle returned by AcpiOsCreateSemaphore
594 AcpiOsDeleteSemaphore(ACPI_SEMAPHORE handle) argument
596 DEBUG_FUNCTION_F("sem: %" B_PRId32, handle);
597 return delete_sem(handle) == B_OK ? AE_OK : AE_BAD_PARAMETER;
605 * PARAMETERS: handle - Handle returned by AcpiOsCreateSemaphore
615 AcpiOsWaitSemaphore(ACPI_SEMAPHORE handle, UINT32 units, UINT16 timeout) argument
619 handle, (uint32)units, timeout);
622 result = acquire_sem_etc(handle, unit
660 AcpiOsSignalSemaphore(ACPI_SEMAPHORE handle, UINT32 units) argument
691 AcpiOsDeleteLock(ACPI_SPINLOCK handle) argument
699 AcpiOsAcquireLock(ACPI_SPINLOCK handle) argument
710 AcpiOsReleaseLock(ACPI_SPINLOCK handle, ACPI_CPU_FLAGS flags) argument
1282 AcpiOsDeleteMutex(ACPI_MUTEX handle) argument
1291 AcpiOsAcquireMutex(ACPI_MUTEX handle, UINT16 timeout) argument
1324 AcpiOsReleaseMutex(ACPI_MUTEX handle) argument
[all...]
/haiku/src/tests/system/boot/loader/
H A DHandle.cpp26 Handle::Handle(int handle, bool takeOwnership) argument
28 fHandle(handle),
74 Handle::SetTo(int handle, bool takeOwnership) argument
79 fHandle = handle;
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/
H A DOption.cpp72 SetControlPipe(irEndpoint->handle);
73 SetReadPipe(rxEndpoint->handle);
74 SetWritePipe(txEndpoint->handle);
77 // TODO: We need to handle multiple ports
/haiku/headers/os/bluetooth/HCI/
H A DbtHCI_command.h219 uint16 handle; member in struct:hci_disconnect
225 uint16 handle; member in struct:hci_cp_add_sco
271 uint16 handle; member in struct:hci_cp_change_conn_ptype
277 uint16 handle; member in struct:hci_cp_auth_requested
282 uint16 handle; member in struct:hci_cp_set_conn_encrypt
288 uint16 handle; member in struct:hci_cp_change_conn_link_key
301 uint16 handle; member in struct:hci_cp_read_rmt_features
306 uint16 handle; member in struct:hci_cp_read_rmt_version
315 uint16 handle; member in struct:hci_cp_role_discovery
319 uint16 handle; member in struct:hci_rp_role_discovery
325 uint16 handle; member in struct:hci_cp_flow_specification
342 uint16 handle; member in struct:hci_cp_read_link_policy
346 uint16 handle; member in struct:hci_rp_read_link_policy
358 uint16 handle; member in struct:hci_cp_write_link_policy
363 uint16 handle; member in struct:hci_rp_write_link_policy
[all...]
/haiku/headers/os/drivers/
H A DACPI.h110 acpi_handle handle; member in struct:acpi_object_type::__anon8
186 status_t (*get_name)(acpi_handle handle, uint32 nameType,
191 status_t (*acquire_global_lock)(uint16 timeout, uint32 *handle);
192 status_t (*release_global_lock)(uint32 handle);
205 status_t (*enable_gpe)(acpi_handle handle, uint32 gpeNumber);
206 status_t (*disable_gpe)(acpi_handle handle, uint32 gpeNumber);
207 status_t (*clear_gpe)(acpi_handle handle, uint32 gpeNumber);
208 status_t (*set_gpe)(acpi_handle handle, uint32 gpeNumber,
210 status_t (*finish_gpe)(acpi_handle handle, uint32 gpeNumber);
211 status_t (*install_gpe_handler)(acpi_handle handle, uint3
[all...]
/haiku/src/add-ons/kernel/drivers/disk/virtual/nbd/
H A Dnbd-server.py73 def nbd_reply(error=0, handle=1, data=''):
75 assert type(handle) is type('') and len(handle) == 8
76 return ('\x67\x44\x66\x98' + struct.pack('>L', error) + handle + data)
89 (self.magic, self.type, self.handle, self.offset,
96 return nbd_reply(error=error, handle=self.handle, data=data)
/haiku/src/add-ons/kernel/generic/dpc/
H A Ddpc.c83 new_dpc_queue(void **handle, const char *name, int32 priority) argument
88 if (!handle)
110 // Fire a kernel thread to actually handle (aka call them!)
121 *handle = queue;
128 delete_dpc_queue(void *handle) argument
130 dpc_queue *queue = handle;
159 queue_dpc(void *handle, dpc_func function, void *arg) argument
161 dpc_queue *queue = handle;
/haiku/src/tools/mbrtool/
H A Dmbrtool.cpp70 mbrWipe(int handle) argument
77 return pwrite(handle, emptyMBR, 66, 0x1BE);
82 mbrValid(int handle) argument
87 ssize_t read = pread(handle, mbrBytes, 66, 0x1BE);
94 createPartition(int handle, int index, bool active, uint8_t type,
116 ssize_t written = pwrite(handle, partition, 16, 512 - 2 - 16 * (4 - index));
121 written = pwrite(handle, &partitionOffset, 4, offset + 512 - 2 - 4);
/haiku/src/system/boot/platform/openfirmware/
H A Ddevices.cpp104 int handle = of_open(sBootPath); local
105 if (handle == OF_FAILED) {
110 Handle *device = new(nothrow) Handle(handle);
208 intptr_t handle = of_open(path); local
209 if (handle == OF_FAILED) {
214 Handle *device = new(nothrow) Handle(handle);
215 printf("\t\t(could open device, handle = %p, node = %p)\n",
216 (void *)handle, device);
/haiku/src/add-ons/kernel/drivers/disk/mmc/
H A Dmmc_disk.cpp221 TRACE("MMC bus handle: %p %s\n", info->mmc, info->mmc->info.info.name);
361 mmc_disk_handle* handle = new(std::nothrow) mmc_disk_handle; local
362 *_cookie = handle;
363 if (handle == NULL)
366 handle->info = info;
368 if (handle->info->geometry.bytes_per_sector == 0) {
369 status_t error = mmc_block_get_geometry(handle->info,
370 &handle->info->geometry);
373 delete handle;
386 //mmc_disk_handle* handle
397 mmc_disk_handle* handle = (mmc_disk_handle*)cookie; local
408 mmc_disk_handle* handle = (mmc_disk_handle*)cookie; local
436 mmc_disk_handle* handle = (mmc_disk_handle*)cookie; local
463 mmc_disk_handle* handle = (mmc_disk_handle*)cookie; local
567 mmc_disk_handle* handle = (mmc_disk_handle*)cookie; local
[all...]
/haiku/src/servers/syslog_daemon/
H A Dsyslog_output.cpp211 void *handle; local
214 handle = load_driver_settings("kernel");
215 if (handle != NULL) {
216 sLogTimeStamps = get_driver_boolean_parameter(handle,
218 const char *param = get_driver_parameter(handle,
228 unload_driver_settings(handle);

Completed in 332 milliseconds

12345678910