Lines Matching defs:ops

84 #define HAS_FS_CALL(vnode, op)			(vnode->ops->op != NULL)
85 #define HAS_FS_MOUNT_CALL(mount, op) (mount->volume->ops->op != NULL)
90 vnode->ops->op(vnode->mount->volume, vnode, params) \
94 vnode->ops->op(vnode->mount->volume, vnode) \
98 mount->volume->ops->op(mount->volume, params) \
102 mount->volume->ops->op(mount->volume) \
106 vnode->ops->op(vnode->mount->volume, vnode, params)
108 vnode->ops->op(vnode->mount->volume, vnode)
110 mount->volume->ops->op(mount->volume, params)
112 mount->volume->ops->op(mount->volume)
2817 descriptor->ops = &sFileOps;
2820 descriptor->ops = &sDirectoryOps;
2823 descriptor->ops = &sAttributeOps;
2826 descriptor->ops = &sAttributeDirectoryOps;
2831 descriptor->ops = &sIndexDirectoryOps;
2834 descriptor->ops = &sQueryOps;
2844 if (descriptor->ops->fd_seek != NULL) {
2863 descriptor->ops = NULL;
3021 kprintf(" ops: %p\n", volume->ops);
3380 B_PRINTF_POINTER_WIDTH, "ops", B_PRINTF_POINTER_WIDTH, "cookie");
3390 fd->type, fd->ops, fd->ref_count, fd->open_count, fd->open_mode,
3681 fs_vnode_ops* ops)
3719 vnode->ops = ops;
3730 fs_vnode_ops* ops, int type, uint32 flags)
3758 vnode->ops = ops;
3761 && vnode->private_node == privateNode && vnode->ops == ops) {
3788 status = subVolume->ops->create_sub_vnode(subVolume, vnodeID,
3800 subVolume->ops->delete_sub_vnode(subVolume, vnode);
4345 if (descriptor->ops->fd_read_stat)
4346 status = descriptor->ops->fd_read_stat(descriptor.Get(), stat);
6212 if (descriptor->ops->fd_set_flags != NULL) {
6213 status = descriptor->ops->fd_set_flags(descriptor.Get(), argument);
6328 // ToDo: add support for more ops?
7494 volume->ops = NULL;
7541 if (status != B_OK || mount->volume->ops == NULL)
7571 if (status != B_OK || volume->ops == NULL) {
7572 if (status == B_OK && volume->ops == NULL)
7573 panic("fs_mount: mount() succeeded but ops is NULL!");
7584 if (volume->ops->all_layers_mounted != NULL)
7585 volume->ops->all_layers_mounted(volume);
8675 if (descriptor->ops->fd_write_stat)
8676 status = descriptor->ops->fd_write_stat(descriptor.Get(), stat, statMask);
9633 if (descriptor->ops->fd_read_stat)
9634 status = descriptor->ops->fd_read_stat(descriptor.Get(), &stat);
9689 if (descriptor->ops->fd_write_stat) {
9690 status = descriptor->ops->fd_write_stat(descriptor.Get(), &stat,
9801 if (descriptor->ops->fd_read_stat)
9802 status = descriptor->ops->fd_read_stat(descriptor, &stat);