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

12345678910

/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DFileInfo.cpp199 FileHandle handle; local
200 result = reply.GetFH(&handle);
210 fHandle = handle;
211 fNames->fHandle = handle;
H A DFileInfo.h31 inline bool operator==(const FileHandle& handle) const;
32 inline bool operator!=(const FileHandle& handle) const;
33 inline bool operator>(const FileHandle& handle) const;
34 inline bool operator<(const FileHandle& handle) const;
118 FileHandle::operator==(const FileHandle& handle) const
120 if (fSize != handle.fSize)
122 return memcmp(fData, handle.fData, fSize) == 0;
127 FileHandle::operator!=(const FileHandle& handle) const
129 return !operator==(handle);
134 FileHandle::operator>(const FileHandle& handle) cons
[all...]
H A DFileSystem.h55 Delegation* GetDelegation(const FileHandle& handle);
H A DInode.cpp200 FileHandle handle; local
201 status_t result = NFS4Inode::LookUp(name, &change, &fileID, &handle);
207 result = ChildAdded(name, fileID, handle);
414 FileHandle handle; local
417 &changeInfo, &fileID, &handle);
423 result = ChildAdded(name, fileID, handle);
H A DInodeRegular.cpp31 FileHandle handle; local
35 &fileID, &handle, delegationData);
41 fileInfo.fHandle = handle;
H A DNFS4Inode.cpp122 FileHandle* handle, bool parent)
145 if (handle != NULL)
180 if (handle != NULL)
181 reply.GetFH(handle);
445 ChangeInfo* changeInfo, uint64* fileID, FileHandle* handle,
451 ASSERT(handle != NULL);
516 reply.GetFH(handle);
539 result = ConfirmOpen(*handle, state, &sequence);
633 FileHandle handle; local
634 result = reply.GetFH(&handle);
121 LookUp(const char* name, uint64* change, uint64* fileID, FileHandle* handle, bool parent) argument
444 CreateFile(const char* name, int mode, int perms, OpenState* state, ChangeInfo* changeInfo, uint64* fileID, FileHandle* handle, OpenDelegationData* delegation) argument
796 CreateObject(const char* name, const char* path, int mode, FileType type, ChangeInfo* changeInfo, uint64* fileID, FileHandle* handle, bool parent) argument
1033 OpenAttrDir(FileHandle* handle) argument
[all...]
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);
H A DRequestInterpreter.cpp32 RequestInterpreter::GetAttr(FileHandle* handle, int* _mask) argument
39 handle->fSize = size;
40 memcpy(handle->fData, ptr, size);
66 RequestInterpreter::Recall(FileHandle* handle, bool& truncate, uint32* stateSeq, argument
81 handle->fSize = size;
82 memcpy(handle->fData, ptr, size);
H A DRequestInterpreter.h27 status_t GetAttr(FileHandle* handle, int* mask);
28 status_t Recall(FileHandle* handle, bool& truncate,
/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/add-ons/kernel/generic/scsi_periph/
H A Dhandle.cpp22 scsi_periph_handle_info *handle; local
26 handle = (scsi_periph_handle_info *)malloc(sizeof(*handle));
27 if (handle == NULL)
30 handle->periph_handle = periph_handle;
31 handle->device = device;
32 handle->pending_error = B_OK;
35 ADD_DL_LIST_HEAD(handle, device->handles, );
38 *res_handle = handle;
40 // SHOW_FLOW( 3, "handle
47 periph_handle_close(scsi_periph_handle_info *handle) argument
55 periph_handle_free(scsi_periph_handle_info *handle) argument
[all...]
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/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/network/ppp/shared/libppp/
H A DMessageDriverSettingsUtils.cpp134 void *handle = load_driver_settings(name); local
135 if (!handle)
137 const driver_settings *settings = get_driver_settings(handle);
139 unload_driver_settings(handle);
149 unload_driver_settings(handle);
H A DPPPManager.cpp113 void *handle = load_driver_settings("ptpnet.settings"); local
114 BString name = get_driver_parameter(handle, "default", NULL, NULL);
115 unload_driver_settings(handle);
/haiku/src/add-ons/media/media-add-ons/radeon/
H A DRadeon.cpp534 int32 *offset, int32 *handle )
549 *handle = am.handle;
555 memory_type_e memory_type, int32 handle )
562 fm.handle = handle;
H A DRadeon.h374 int32 *offset, int32 *handle );
377 memory_type_e memory_type, int32 handle );
/haiku/src/add-ons/network_settings/dialup/
H A DMessageDriverSettingsUtils.cpp136 void *handle = load_driver_settings(name); local
137 if(!handle)
139 const driver_settings *settings = get_driver_settings(handle);
141 unload_driver_settings(handle);
151 unload_driver_settings(handle);
/haiku/src/add-ons/translators/gif/
H A DSavePalette.cpp303 uint8* handle = bits; local
305 b = handle[0];
306 g = handle[1];
307 r = handle[2];
308 handle += 4;
323 uint8* handle = bits; local
325 b = handle[2];
326 g = handle[1];
327 r = handle[0];
328 handle
[all...]
/haiku/src/apps/icon-o-matic/generic/gui/
H A DIconButton.cpp438 uint8* handle = bits; local
441 gray = uint8((116 * handle[0] + 600 * handle[1] + 308 * handle[2]) / 1024);
442 handle[0] = gray;
443 handle[1] = gray;
444 handle[2] = gray;
445 handle += 4;
/haiku/src/bin/pcmcia-cs/
H A Dcardctl.c277 arg2.win_info.handle = arg1.win_info.handle;
/haiku/src/kits/game/
H A DGameSound.cpp254 BGameSound::Init(gs_id handle) argument
257 fSound = handle;
/haiku/src/kits/media/
H A DPlaySound.cpp24 status_t stop_sound(sound_handle handle) argument
30 status_t wait_for_sound(sound_handle handle) argument
/haiku/src/kits/midi/
H A DMidiSettings.cpp34 void* handle = load_driver_settings(path.Path()); local
35 if (handle == NULL)
38 const char* soundfont = get_driver_parameter(handle, "soundfont", NULL,
41 unload_driver_settings(handle);
47 unload_driver_settings(handle);
/haiku/src/kits/shared/
H A DDriverSettingsMessageAdapter.cpp96 void* handle = load_driver_settings(path); local
97 if (handle == NULL)
100 const driver_settings* settings = get_driver_settings(handle);
108 unload_driver_settings(handle);

Completed in 149 milliseconds

12345678910