Symbol: io_context
headers/private/kernel/fs/fd.h
102
static struct io_context *get_current_io_context(bool kernel);
headers/private/kernel/fs/fd.h
112
static inline struct io_context *
headers/private/kernel/fs/fd.h
116
return (struct io_context *)team_get_kernel_team()->io_context;
headers/private/kernel/fs/fd.h
118
return (struct io_context *)thread_get_current_thread()->team->io_context;
headers/private/kernel/fs/fd.h
19
struct io_context;
headers/private/kernel/fs/fd.h
46
status_t (*fd_read_dir)(struct io_context* ioContext,
headers/private/kernel/fs/fd.h
76
extern int new_fd_etc(struct io_context *, struct file_descriptor *,
headers/private/kernel/fs/fd.h
78
extern int new_fd(struct io_context *, struct file_descriptor *);
headers/private/kernel/fs/fd.h
79
extern struct file_descriptor *get_fd(const struct io_context *, int);
headers/private/kernel/fs/fd.h
80
extern struct file_descriptor *get_open_fd(const struct io_context *, int);
headers/private/kernel/fs/fd.h
81
extern void close_fd(struct io_context *context,
headers/private/kernel/fs/fd.h
83
extern status_t close_fd_index(struct io_context *context, int fd);
headers/private/kernel/fs/fd.h
95
extern bool fd_close_on_exec(const struct io_context *context, int fd);
headers/private/kernel/fs/fd.h
96
extern void fd_set_close_on_exec(struct io_context *context, int fd,
headers/private/kernel/fs/fd.h
98
extern bool fd_close_on_fork(const struct io_context *context, int fd);
headers/private/kernel/fs/fd.h
99
extern void fd_set_close_on_fork(struct io_context *context, int fd,
headers/private/kernel/fs/node_monitor.h
12
struct io_context;
headers/private/kernel/fs/node_monitor.h
29
extern status_t remove_node_monitors(struct io_context *context);
headers/private/kernel/thread_types.h
453
struct io_context *io_context;
headers/private/kernel/thread_types.h
63
struct io_context;
headers/private/kernel/vfs.h
129
status_t vfs_release_posix_lock(io_context* context,
headers/private/kernel/vfs.h
73
void vfs_exec_io_context(io_context *context);
headers/private/kernel/vfs.h
74
io_context* vfs_new_io_context(const io_context *parentContext,
headers/private/kernel/vfs.h
76
void vfs_get_io_context(io_context *context);
headers/private/kernel/vfs.h
77
void vfs_put_io_context(io_context *context);
headers/private/kernel/vfs.h
78
status_t vfs_resize_fd_table(struct io_context* context, uint32 newSize);
src/add-ons/kernel/network/protocols/unix/unix.cpp
330
io_context* ioContext = get_current_io_context(!gStackModule->is_syscall());
src/add-ons/kernel/network/protocols/unix/unix.cpp
402
io_context* ioContext = get_current_io_context(!gStackModule->is_syscall());
src/add-ons/kernel/network/protocols/unix/unix.cpp
52
io_context* ioContext = get_current_io_context(!gStackModule->is_syscall());
src/system/kernel/events/event_queue.cpp
619
io_context* context = get_current_io_context(false);
src/system/kernel/events/wait_for_objects.cpp
944
struct io_context *context = get_current_io_context(false);
src/system/kernel/fs/fd.cpp
105
fd_set_close_on_exec(struct io_context* context, int fd, bool closeFD)
src/system/kernel/fs/fd.cpp
117
fd_close_on_fork(const struct io_context* context, int fd)
src/system/kernel/fs/fd.cpp
1210
struct io_context* ioContext = get_current_io_context(true);
src/system/kernel/fs/fd.cpp
126
fd_set_close_on_fork(struct io_context* context, int fd, bool closeFD)
src/system/kernel/fs/fd.cpp
141
new_fd_etc(struct io_context* context, struct file_descriptor* descriptor,
src/system/kernel/fs/fd.cpp
172
new_fd(struct io_context* context, struct file_descriptor* descriptor)
src/system/kernel/fs/fd.cpp
224
close_fd(struct io_context* context, struct file_descriptor* descriptor)
src/system/kernel/fs/fd.cpp
240
close_fd_index(struct io_context* context, int fd)
src/system/kernel/fs/fd.cpp
283
get_fd_locked(const struct io_context* context, int fd)
src/system/kernel/fs/fd.cpp
304
get_fd(const struct io_context* context, int fd)
src/system/kernel/fs/fd.cpp
312
get_open_fd(const struct io_context* context, int fd)
src/system/kernel/fs/fd.cpp
329
remove_fd(struct io_context* context, int fd)
src/system/kernel/fs/fd.cpp
366
struct io_context* context = get_current_io_context(kernel);
src/system/kernel/fs/fd.cpp
401
struct io_context* context;
src/system/kernel/fs/fd.cpp
475
io_context* fromContext = team->io_context;
src/system/kernel/fs/fd.cpp
48
static struct file_descriptor* get_fd_locked(const struct io_context* context,
src/system/kernel/fs/fd.cpp
50
static struct file_descriptor* remove_fd(struct io_context* context, int fd);
src/system/kernel/fs/fd.cpp
574
io_context* context = get_current_io_context(kernel);
src/system/kernel/fs/fd.cpp
654
io_context* context = get_current_io_context(kernel);
src/system/kernel/fs/fd.cpp
877
struct io_context* context = get_current_io_context(kernel);
src/system/kernel/fs/fd.cpp
96
fd_close_on_exec(const struct io_context* context, int fd)
src/system/kernel/fs/fd.cpp
985
io_context* ioContext = get_current_io_context(false);
src/system/kernel/fs/node_monitor.cpp
1008
NodeMonitorService::UpdateUserListener(io_context *context, dev_t device,
src/system/kernel/fs/node_monitor.cpp
109
status_t RemoveListeners(io_context *context);
src/system/kernel/fs/node_monitor.cpp
1132
remove_node_monitors(struct io_context *context)
src/system/kernel/fs/node_monitor.cpp
118
status_t AddListener(io_context *context, dev_t device, ino_t node,
src/system/kernel/fs/node_monitor.cpp
120
status_t RemoveListener(io_context *context, dev_t device, ino_t node,
src/system/kernel/fs/node_monitor.cpp
123
status_t RemoveUserListeners(struct io_context *context,
src/system/kernel/fs/node_monitor.cpp
125
status_t UpdateUserListener(io_context *context, dev_t device,
src/system/kernel/fs/node_monitor.cpp
132
status_t _RemoveListener(io_context *context, dev_t device, ino_t node,
src/system/kernel/fs/node_monitor.cpp
137
status_t _GetMonitor(io_context *context, dev_t device, ino_t node,
src/system/kernel/fs/node_monitor.cpp
1380
io_context *context = get_current_io_context(false);
src/system/kernel/fs/node_monitor.cpp
1390
io_context *context = get_current_io_context(false);
src/system/kernel/fs/node_monitor.cpp
1401
io_context *context = get_current_io_context(false);
src/system/kernel/fs/node_monitor.cpp
142
status_t _AddMonitorListener(io_context *context,
src/system/kernel/fs/node_monitor.cpp
145
status_t _UpdateListener(io_context *context, dev_t device, ino_t node,
src/system/kernel/fs/node_monitor.cpp
263
NodeMonitorService::_RemoveListener(io_context *context, dev_t device,
src/system/kernel/fs/node_monitor.cpp
339
NodeMonitorService::_GetMonitor(io_context *context, dev_t device, ino_t node,
src/system/kernel/fs/node_monitor.cpp
402
NodeMonitorService::_AddMonitorListener(io_context *context,
src/system/kernel/fs/node_monitor.cpp
429
NodeMonitorService::AddListener(io_context *context, dev_t device, ino_t node,
src/system/kernel/fs/node_monitor.cpp
450
NodeMonitorService::_UpdateListener(io_context *context, dev_t device,
src/system/kernel/fs/node_monitor.cpp
890
NodeMonitorService::RemoveListeners(io_context *context)
src/system/kernel/fs/node_monitor.cpp
912
io_context *context = get_current_io_context(
src/system/kernel/fs/node_monitor.cpp
930
io_context *context = get_current_io_context(
src/system/kernel/fs/node_monitor.cpp
949
io_context *context = get_current_io_context(
src/system/kernel/fs/node_monitor.cpp
960
NodeMonitorService::RemoveListener(io_context *context, dev_t device,
src/system/kernel/fs/node_monitor.cpp
977
NodeMonitorService::RemoveUserListeners(struct io_context *context,
src/system/kernel/fs/socket.cpp
416
io_context* context = get_current_io_context(kernel);
src/system/kernel/fs/vfs.cpp
10222
struct io_context* context = get_current_io_context(false);
src/system/kernel/fs/vfs.cpp
1645
release_advisory_lock(struct vnode* vnode, struct io_context* context,
src/system/kernel/fs/vfs.cpp
1759
acquire_advisory_lock(struct vnode* vnode, io_context* context,
src/system/kernel/fs/vfs.cpp
1955
io_context* context = team->io_context;
src/system/kernel/fs/vfs.cpp
1999
struct io_context* context = get_current_io_context(kernel);
src/system/kernel/fs/vfs.cpp
2160
int count, struct io_context* ioContext, VnodePutter& _vnode,
src/system/kernel/fs/vfs.cpp
2371
const struct io_context* context = get_current_io_context(kernel);
src/system/kernel/fs/vfs.cpp
2500
size_t bufferSize, struct io_context* ioContext)
src/system/kernel/fs/vfs.cpp
2608
struct io_context* ioContext = get_current_io_context(kernel);
src/system/kernel/fs/vfs.cpp
2878
io_context* context = get_current_io_context(kernel);
src/system/kernel/fs/vfs.cpp
2972
struct io_context* ioContext)
src/system/kernel/fs/vfs.cpp
3374
struct io_context* context = NULL;
src/system/kernel/fs/vfs.cpp
3379
context = (struct io_context*)num;
src/system/kernel/fs/vfs.cpp
3386
context = (struct io_context*)team->io_context;
src/system/kernel/fs/vfs.cpp
3624
free_io_context(io_context* context)
src/system/kernel/fs/vfs.cpp
3658
resize_monitor_table(struct io_context* context, const int newSize)
src/system/kernel/fs/vfs.cpp
375
static status_t dir_read(struct io_context* context,
src/system/kernel/fs/vfs.cpp
378
static status_t dir_read(struct io_context* ioContext, struct vnode* vnode,
src/system/kernel/fs/vfs.cpp
383
static status_t attr_dir_read(struct io_context* context,
src/system/kernel/fs/vfs.cpp
401
static status_t index_dir_read(struct io_context* context,
src/system/kernel/fs/vfs.cpp
407
static status_t query_read(struct io_context* context,
src/system/kernel/fs/vfs.cpp
4634
const struct io_context* context = get_current_io_context(false);
src/system/kernel/fs/vfs.cpp
4931
vfs_release_posix_lock(io_context* context, struct file_descriptor* descriptor)
src/system/kernel/fs/vfs.cpp
4948
vfs_exec_io_context(io_context* context)
src/system/kernel/fs/vfs.cpp
4976
io_context*
src/system/kernel/fs/vfs.cpp
4977
vfs_new_io_context(const io_context* parentContext, bool purgeCloseOnExec)
src/system/kernel/fs/vfs.cpp
4979
io_context* context = (io_context*)malloc(sizeof(io_context));
src/system/kernel/fs/vfs.cpp
4985
memset(context, 0, sizeof(io_context));
src/system/kernel/fs/vfs.cpp
5062
vfs_get_io_context(io_context* context)
src/system/kernel/fs/vfs.cpp
5069
vfs_put_io_context(io_context* context)
src/system/kernel/fs/vfs.cpp
5077
vfs_resize_fd_table(struct io_context* context, uint32 newSize)
src/system/kernel/fs/vfs.cpp
5272
struct io_context* context = get_current_io_context(false);
src/system/kernel/fs/vfs.cpp
5282
struct io_context* context = get_current_io_context(false);
src/system/kernel/fs/vfs.cpp
6167
dir_read(struct io_context* ioContext, struct file_descriptor* descriptor,
src/system/kernel/fs/vfs.cpp
6177
struct io_context* ioContext)
src/system/kernel/fs/vfs.cpp
6208
dir_read(struct io_context* ioContext, struct vnode* vnode, void* cookie,
src/system/kernel/fs/vfs.cpp
6312
struct io_context* context = get_current_io_context(kernel);
src/system/kernel/fs/vfs.cpp
6889
attr_dir_read(struct io_context* ioContext, struct file_descriptor* descriptor,
src/system/kernel/fs/vfs.cpp
7258
index_dir_read(struct io_context* ioContext, struct file_descriptor* descriptor,
src/system/kernel/fs/vfs.cpp
7461
query_read(struct io_context* ioContext, struct file_descriptor* descriptor,
src/system/kernel/fs/vfs.cpp
8251
const struct io_context* context = get_current_io_context(kernel);
src/system/kernel/fs/vfs.cpp
8273
struct io_context* context;
src/system/kernel/fs/vfs.cpp
8410
const io_context* context = team->io_context;
src/system/kernel/fs/vfs_tracing.h
105
RemoveFD(io_context* context, int fd, file_descriptor* descriptor)
src/system/kernel/fs/vfs_tracing.h
121
io_context* fContext;
src/system/kernel/fs/vfs_tracing.h
128
Dup2FD(io_context* context, int oldFD, int newFD)
src/system/kernel/fs/vfs_tracing.h
150
io_context* fContext;
src/system/kernel/fs/vfs_tracing.h
160
InheritFD(io_context* context, int fd, file_descriptor* descriptor,
src/system/kernel/fs/vfs_tracing.h
161
io_context* parentContext)
src/system/kernel/fs/vfs_tracing.h
179
io_context* fContext;
src/system/kernel/fs/vfs_tracing.h
180
io_context* fParentContext;
src/system/kernel/fs/vfs_tracing.h
205
IOContextTraceEntry(io_context* context)
src/system/kernel/fs/vfs_tracing.h
223
io_context* fContext;
src/system/kernel/fs/vfs_tracing.h
232
NewIOContext(io_context* context, io_context* parentContext)
src/system/kernel/fs/vfs_tracing.h
247
io_context* fParentContext;
src/system/kernel/fs/vfs_tracing.h
253
FreeIOContext(io_context* context)
src/system/kernel/fs/vfs_tracing.h
269
ResizeIOContext(io_context* context, uint32 newTableSize)
src/system/kernel/fs/vfs_tracing.h
42
NewFD(io_context* context, int fd, file_descriptor* descriptor)
src/system/kernel/fs/vfs_tracing.h
58
io_context* fContext;
src/system/kernel/fs/vfs_tracing.h
82
GetFD(io_context* context, int fd, file_descriptor* descriptor)
src/system/kernel/fs/vfs_tracing.h
98
io_context* fContext;
src/system/kernel/team.cpp
1153
kprintf("io_context: %p\n", team->io_context);
src/system/kernel/team.cpp
1701
io_context* parentIOContext = NULL;
src/system/kernel/team.cpp
1755
parentIOContext = (parent->id == B_SYSTEM_TEAM) ? NULL : parent->io_context;
src/system/kernel/team.cpp
1777
team->io_context = vfs_new_io_context(parentIOContext, true);
src/system/kernel/team.cpp
1778
if (team->io_context == NULL) {
src/system/kernel/team.cpp
2029
vfs_exec_io_context(team->io_context);
src/system/kernel/team.cpp
2163
team->io_context = vfs_new_io_context(parentTeam->io_context, false);
src/system/kernel/team.cpp
2164
if (!team->io_context) {
src/system/kernel/team.cpp
2908
sKernelTeam->io_context = vfs_new_io_context(NULL, false);
src/system/kernel/team.cpp
2909
if (sKernelTeam->io_context == NULL)
src/system/kernel/team.cpp
2912
if (vfs_resize_fd_table(sKernelTeam->io_context, 4096) != B_OK)
src/system/kernel/team.cpp
443
io_context = NULL;
src/system/kernel/team.cpp
4492
io_context* ioContext;
src/system/kernel/team.cpp
4507
ioContext = team->io_context;
src/system/kernel/team.cpp
4510
CObjectDeleter<io_context, void, vfs_put_io_context>
src/system/kernel/team.cpp
518
if (io_context != NULL)
src/system/kernel/team.cpp
519
vfs_put_io_context(io_context);
src/tools/fs_shell/fd.cpp
126
new_fd(struct io_context *context, struct file_descriptor *descriptor)
src/tools/fs_shell/fd.cpp
213
get_fd(struct io_context *context, int fd)
src/tools/fs_shell/fd.cpp
243
remove_fd(struct io_context *context, int fd)
src/tools/fs_shell/fd.cpp
274
struct io_context *context = get_current_io_context(kernel);
src/tools/fs_shell/fd.cpp
310
struct io_context *context;
src/tools/fs_shell/fd.cpp
32
io_context* gKernelIOContext;
src/tools/fs_shell/fd.cpp
445
struct io_context *io = get_current_io_context(kernel);
src/tools/fs_shell/fd.cpp
74
fd_close_on_exec(struct io_context *context, int fd)
src/tools/fs_shell/fd.cpp
81
fd_set_close_on_exec(struct io_context *context, int fd, bool closeFD)
src/tools/fs_shell/fd.cpp
95
new_fd_etc(struct io_context *context, struct file_descriptor *descriptor,
src/tools/fs_shell/fd.h
100
static io_context* get_current_io_context(bool kernel);
src/tools/fs_shell/fd.h
107
static inline struct io_context *
src/tools/fs_shell/fd.h
19
extern io_context* gKernelIOContext;
src/tools/fs_shell/fd.h
81
extern int new_fd_etc(struct io_context *,
src/tools/fs_shell/fd.h
83
extern int new_fd(struct io_context *, struct file_descriptor *);
src/tools/fs_shell/fd.h
84
extern file_descriptor* get_fd(struct io_context *, int);
src/tools/fs_shell/fd.h
96
extern bool fd_close_on_exec(struct io_context *context, int fd);
src/tools/fs_shell/fd.h
97
extern void fd_set_close_on_exec(struct io_context *context, int fd,
src/tools/fs_shell/fssh.cpp
90
gKernelIOContext = (io_context*)vfs_new_io_context(NULL);
src/tools/fs_shell/fuse.cpp
81
gKernelIOContext = (io_context*)vfs_new_io_context(NULL);
src/tools/fs_shell/vfs.cpp
1270
struct io_context *context = get_current_io_context(kernel);
src/tools/fs_shell/vfs.cpp
2728
struct io_context *context = get_current_io_context(false);
src/tools/fs_shell/vfs.cpp
2843
struct io_context *context = (struct io_context *)_context;
src/tools/fs_shell/vfs.cpp
2877
struct io_context *context;
src/tools/fs_shell/vfs.cpp
2878
struct io_context *parentContext;
src/tools/fs_shell/vfs.cpp
2880
context = (io_context *)malloc(sizeof(struct io_context));
src/tools/fs_shell/vfs.cpp
2884
fssh_memset(context, 0, sizeof(struct io_context));
src/tools/fs_shell/vfs.cpp
2886
parentContext = (struct io_context *)_parentContext;
src/tools/fs_shell/vfs.cpp
2945
struct io_context *context = (struct io_context *)_ioContext;
src/tools/fs_shell/vfs.cpp
3594
struct io_context *context = get_current_io_context(kernel);
src/tools/fs_shell/vfs.cpp
3608
struct io_context *context = get_current_io_context(kernel);
src/tools/fs_shell/vfs.cpp
3640
struct io_context *context = get_current_io_context(kernel);
src/tools/fs_shell/vfs.cpp
5062
struct io_context *context = get_current_io_context(kernel);
src/tools/fs_shell/vfs.cpp
5082
struct io_context *context;