Searched refs:ops (Results 1 - 25 of 104) sorted by relevance

12345

/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A Dfuse_fs.h13 fuse_operations ops; member in struct:fuse_fs
H A DFUSELowLevel.h18 void fuse_ll_init(const fuse_lowlevel_ops* ops, void* userdata, struct fuse_conn_info* conn);
19 void fuse_ll_destroy(const fuse_lowlevel_ops* ops, void *userdata);
20 int fuse_ll_lookup(const fuse_lowlevel_ops* ops, fuse_ino_t parent, const char *name,
22 int fuse_ll_getattr(const fuse_lowlevel_ops* ops, fuse_ino_t ino, struct stat* st);
23 int fuse_ll_setattr(const fuse_lowlevel_ops* ops, fuse_ino_t ino, const struct stat *attr,
25 int fuse_ll_readlink(const fuse_lowlevel_ops* ops, fuse_ino_t ino, char* buffer, size_t size);
26 int fuse_ll_mkdir(const fuse_lowlevel_ops* ops, fuse_ino_t parent, const char *name,
28 int fuse_ll_unlink(const fuse_lowlevel_ops* ops, fuse_ino_t parent, const char *name);
29 int fuse_ll_rmdir(const fuse_lowlevel_ops* ops, fuse_ino_t parent, const char *name);
30 int fuse_ll_symlink(const fuse_lowlevel_ops* ops, cons
[all...]
H A Dfuse_fs.cpp18 if (fs->ops.getattr == NULL)
20 return fs->ops.getattr(path, buf);
28 if (fs->ops.fgetattr == NULL)
30 return fs->ops.fgetattr(path, buf, fi);
37 if (fs->ops.rename == NULL)
39 return fs->ops.rename(oldpath, newpath);
46 if (fs->ops.unlink == NULL)
48 return fs->ops.unlink(path);
55 if (fs->ops.rmdir == NULL)
57 return fs->ops
375 fuse_fs_new(const struct fuse_operations* ops, size_t opSize, void* userData) argument
[all...]
H A DFUSELowLevel.cpp66 fuse_ll_init(const fuse_lowlevel_ops* ops, void* userdata, struct fuse_conn_info* conn) argument
68 if (ops->init != NULL) {
69 ops->init(userdata, conn);
75 fuse_ll_destroy(const fuse_lowlevel_ops* ops, void* userdata) argument
77 if (ops->destroy != NULL) {
78 ops->destroy(userdata);
84 fuse_ll_lookup(const fuse_lowlevel_ops* ops, fuse_ino_t parent, const char *name, argument
87 if (ops->lookup == NULL)
91 ops->lookup(&request, parent, name);
100 fuse_ll_getattr(const fuse_lowlevel_ops* ops, fuse_ino_ argument
114 fuse_ll_setattr(const fuse_lowlevel_ops* ops, fuse_ino_t ino, const struct stat *attr, int to_set) argument
129 fuse_ll_readlink(const fuse_lowlevel_ops* ops, fuse_ino_t ino, char* buffer, size_t size) argument
143 fuse_ll_mkdir(const fuse_lowlevel_ops* ops, fuse_ino_t parent, const char *name, mode_t mode) argument
157 fuse_ll_unlink(const fuse_lowlevel_ops* ops, fuse_ino_t parent, const char *name) argument
170 fuse_ll_rmdir(const fuse_lowlevel_ops* ops, fuse_ino_t parent, const char *name) argument
183 fuse_ll_symlink(const fuse_lowlevel_ops* ops, const char* link, fuse_ino_t parent, const char* name) argument
197 fuse_ll_rename(const fuse_lowlevel_ops* ops, fuse_ino_t parent, const char *name, fuse_ino_t newparent, const char *newname) argument
211 fuse_ll_link(const fuse_lowlevel_ops* ops, fuse_ino_t ino, fuse_ino_t newparent, const char *newname) argument
225 fuse_ll_open(const fuse_lowlevel_ops* ops, fuse_ino_t ino, fuse_file_info* ffi) argument
239 fuse_ll_read(const fuse_lowlevel_ops* ops, fuse_ino_t ino, char* buffer, size_t bufferSize, off_t position, fuse_file_info* ffi) argument
254 fuse_ll_write(const fuse_lowlevel_ops* ops, fuse_ino_t ino, const char *buf, size_t size, off_t off, struct fuse_file_info *fi) argument
268 fuse_ll_flush(const fuse_lowlevel_ops* ops, fuse_ino_t ino, fuse_file_info* ffi) argument
281 fuse_ll_release(const fuse_lowlevel_ops* ops, fuse_ino_t ino, fuse_file_info* ffi) argument
294 fuse_ll_fsync(const fuse_lowlevel_ops* ops, fuse_ino_t ino, int datasync, fuse_file_info* ffi) argument
307 fuse_ll_opendir(const fuse_lowlevel_ops* ops, fuse_ino_t inode, struct fuse_file_info* ffi) argument
327 fuse_ll_readdir(const fuse_lowlevel_ops* ops, fuse_ino_t ino, void* cookie, char* buffer, size_t bufferSize, ReadDirBufferFiller filler, off_t pos, fuse_file_info* ffi) argument
347 fuse_ll_releasedir(const fuse_lowlevel_ops* ops, fuse_ino_t ino, struct fuse_file_info *fi) argument
360 fuse_ll_statfs(const fuse_lowlevel_ops* ops, fuse_ino_t inode, struct statvfs* stat) argument
374 fuse_ll_getxattr(const fuse_lowlevel_ops* ops, fuse_ino_t ino, const char *name, char* buffer, size_t size) argument
389 fuse_ll_listxattr(const fuse_lowlevel_ops* ops, fuse_ino_t ino, char* buffer, size_t size) argument
403 fuse_ll_access(const fuse_lowlevel_ops* ops, fuse_ino_t ino, int mask) argument
416 fuse_ll_create(const fuse_lowlevel_ops* ops, fuse_ino_t parent, const char *name, mode_t mode, struct fuse_file_info *fi, fuse_ino_t& ino) argument
[all...]
H A DFUSEFileSystem.cpp269 const fuse_operations* ops, size_t opSize, void* userData)
277 fInitStatus = _InitClientFS(ops, opSize, userData);
284 const fuse_lowlevel_ops* ops, size_t opSize, void* userData)
292 fInitStatus = _InitClientFS(ops, opSize, userData);
359 FUSEFileSystem::_InitClientFS(const fuse_operations* ops, size_t opSize, argument
363 fFS = fuse_fs_new(ops, opSize, userData);
533 fNodeCapabilities.Set(FS_VNODE_CAPABILITY_FSYNC, fFS->ops.fsync);
535 fNodeCapabilities.Set(FS_VNODE_CAPABILITY_READ_SYMLINK, fFS->ops.readlink);
536 fNodeCapabilities.Set(FS_VNODE_CAPABILITY_CREATE_SYMLINK, fFS->ops.symlink);
538 fNodeCapabilities.Set(FS_VNODE_CAPABILITY_LINK, fFS->ops
268 FinishInitClientFS(fuse_config* config, const fuse_operations* ops, size_t opSize, void* userData) argument
283 FinishInitClientFS(fuse_config* config, const fuse_lowlevel_ops* ops, size_t opSize, void* userData) argument
[all...]
/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_mii_bitbang.c49 static void mii_bitbang_sendbits(device_t dev, mii_bitbang_ops_t ops,
54 ops->mbo_write(dev, (x)); \
58 #define MREAD ops->mbo_read(dev)
60 #define MDO ops->mbo_bits[MII_BIT_MDO]
61 #define MDI ops->mbo_bits[MII_BIT_MDI]
62 #define MDC ops->mbo_bits[MII_BIT_MDC]
63 #define MDIRPHY ops->mbo_bits[MII_BIT_DIR_HOST_PHY]
64 #define MDIRHOST ops->mbo_bits[MII_BIT_DIR_PHY_HOST]
72 mii_bitbang_sync(device_t dev, mii_bitbang_ops_t ops) argument
92 mii_bitbang_sendbits(device_t dev, mii_bitbang_ops_t ops, uint32_ argument
118 mii_bitbang_readreg(device_t dev, mii_bitbang_ops_t ops, int phy, int reg) argument
166 mii_bitbang_writereg(device_t dev, mii_bitbang_ops_t ops, int phy, int reg, int val) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/
H A Digc_api.c23 if (hw->mac.ops.init_params) {
24 ret_val = hw->mac.ops.init_params(hw);
49 if (hw->nvm.ops.init_params) {
50 ret_val = hw->nvm.ops.init_params(hw);
75 if (hw->phy.ops.init_params) {
76 ret_val = hw->phy.ops.init_params(hw);
216 if (hw->mac.ops.get_bus_info)
217 return hw->mac.ops.get_bus_info(hw);
231 if (hw->mac.ops.clear_vfta)
232 hw->mac.ops
[all...]
H A Digc_phy.c26 phy->ops.init_params = igc_null_ops_generic;
27 phy->ops.acquire = igc_null_ops_generic;
28 phy->ops.check_reset_block = igc_null_ops_generic;
29 phy->ops.force_speed_duplex = igc_null_ops_generic;
30 phy->ops.get_info = igc_null_ops_generic;
31 phy->ops.set_page = igc_null_set_page;
32 phy->ops.read_reg = igc_null_read_reg;
33 phy->ops.read_reg_locked = igc_null_read_reg;
34 phy->ops.read_reg_page = igc_null_read_reg;
35 phy->ops
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/haiku/
H A DHaikuKernelVolume.cpp53 fVolume.ops = NULL; // filled in by the FS
81 HaikuKernelVolume::NewVNode(ino_t vnodeID, void* privateNode, fs_vnode_ops* ops, argument
93 = _FileSystem()->GetNodeCapabilities(ops);
98 node = new(std::nothrow) HaikuKernelNode(this, vnodeID, privateNode, ops,
121 fs_vnode_ops* ops, int type, uint32 flags, HaikuKernelNode** _node)
133 = _FileSystem()->GetNodeCapabilities(ops);
139 ops, capabilities);
213 if (!fVolume.ops->unmount)
216 return fVolume.ops->unmount(&fVolume);
223 if (!fVolume.ops
120 PublishVNode(ino_t vnodeID, void* privateNode, fs_vnode_ops* ops, int type, uint32 flags, HaikuKernelNode** _node) argument
[all...]
H A DHaikuKernelFileSystem.cpp65 { return HashKey(value->ops); }
67 { return value->ops == key; }
241 HaikuKernelFileSystem::GetNodeCapabilities(fs_vnode_ops* ops) argument
245 // check whether the ops are already known
247 = fNodeCapabilities->Lookup(ops);
253 // get the capabilities implied by the ops vector
255 _InitNodeCapabilities(ops, nodeCapabilities);
258 capabilities = new(std::nothrow) HaikuKernelNode::Capabilities(ops,
298 HaikuKernelFileSystem::_InitNodeCapabilities(fs_vnode_ops* ops, argument
304 capabilities.Set(FS_VNODE_CAPABILITY_LOOKUP, ops
[all...]
H A DHaikuKernelNode.h34 fs_vnode_ops* ops,
46 fs_vnode_ops* ops; member in struct:UserlandFS::HaikuKernelNode::Capabilities
50 Capabilities(fs_vnode_ops* ops, FSVNodeCapabilities capabilities) argument
53 ops(ops),
61 void* privateNode, fs_vnode_ops* ops, Capabilities* capabilities)
69 this->ops = ops;
60 HaikuKernelNode(HaikuKernelVolume* volume, ino_t vnodeID, void* privateNode, fs_vnode_ops* ops, Capabilities* capabilities) argument
/haiku/src/libs/compat/freebsd_network/compat/dev/mii/
H A Dmii_bitbang.h50 int mii_bitbang_readreg(device_t dev, mii_bitbang_ops_t ops,
52 void mii_bitbang_sync(device_t dev, mii_bitbang_ops_t ops);
53 void mii_bitbang_writereg(device_t dev, mii_bitbang_ops_t ops,
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A De1000_api.c49 if (hw->mac.ops.init_params) {
50 ret_val = hw->mac.ops.init_params(hw);
75 if (hw->nvm.ops.init_params) {
76 ret_val = hw->nvm.ops.init_params(hw);
101 if (hw->phy.ops.init_params) {
102 ret_val = hw->phy.ops.init_params(hw);
127 if (hw->mbx.ops.init_params) {
128 ret_val = hw->mbx.ops.init_params(hw);
567 if (hw->mac.ops.get_bus_info)
568 return hw->mac.ops
[all...]
H A De1000_82541.c99 phy->ops.check_polarity = e1000_check_polarity_igp;
100 phy->ops.force_speed_duplex = e1000_phy_force_speed_duplex_igp;
101 phy->ops.get_cable_length = e1000_get_cable_length_igp_82541;
102 phy->ops.get_cfg_done = e1000_get_cfg_done_generic;
103 phy->ops.get_info = e1000_get_phy_info_igp;
104 phy->ops.read_reg = e1000_read_phy_reg_igp;
105 phy->ops.reset = e1000_phy_hw_reset_82541;
106 phy->ops.set_d3_lplu_state = e1000_set_d3_lplu_state_82541;
107 phy->ops.write_reg = e1000_write_phy_reg_igp;
108 phy->ops
[all...]
H A De1000_82540.c78 phy->ops.check_polarity = e1000_check_polarity_m88;
79 phy->ops.commit = e1000_phy_sw_reset_generic;
80 phy->ops.force_speed_duplex = e1000_phy_force_speed_duplex_m88;
81 phy->ops.get_cable_length = e1000_get_cable_length_m88;
82 phy->ops.get_cfg_done = e1000_get_cfg_done_generic;
83 phy->ops.read_reg = e1000_read_phy_reg_m88;
84 phy->ops.reset = e1000_phy_hw_reset_generic;
85 phy->ops.write_reg = e1000_write_phy_reg_m88;
86 phy->ops.get_info = e1000_get_phy_info_m88;
87 phy->ops
[all...]
H A De1000_phy.c77 phy->ops.init_params = e1000_null_ops_generic;
78 phy->ops.acquire = e1000_null_ops_generic;
79 phy->ops.check_polarity = e1000_null_ops_generic;
80 phy->ops.check_reset_block = e1000_null_ops_generic;
81 phy->ops.commit = e1000_null_ops_generic;
82 phy->ops.force_speed_duplex = e1000_null_ops_generic;
83 phy->ops.get_cfg_done = e1000_null_ops_generic;
84 phy->ops.get_cable_length = e1000_null_ops_generic;
85 phy->ops.get_info = e1000_null_ops_generic;
86 phy->ops
[all...]
H A De1000_vf.c66 hw->phy.ops.acquire = e1000_acquire_vf;
67 hw->phy.ops.release = e1000_release_vf;
82 hw->nvm.ops.acquire = e1000_acquire_vf;
83 hw->nvm.ops.release = e1000_release_vf;
119 mac->ops.setup_link = e1000_setup_link_vf;
121 mac->ops.get_bus_info = e1000_get_bus_info_pcie_vf;
123 mac->ops.reset_hw = e1000_reset_hw_vf;
125 mac->ops.init_hw = e1000_init_hw_vf;
127 mac->ops.check_for_link = e1000_check_for_link_vf;
129 mac->ops
[all...]
H A De1000_80003es2lan.c99 phy->ops.power_up = e1000_power_up_phy_copper;
100 phy->ops.power_down = e1000_power_down_phy_copper_80003es2lan;
108 phy->ops.acquire = e1000_acquire_phy_80003es2lan;
109 phy->ops.check_polarity = e1000_check_polarity_m88;
110 phy->ops.check_reset_block = e1000_check_reset_block_generic;
111 phy->ops.commit = e1000_phy_sw_reset_generic;
112 phy->ops.get_cfg_done = e1000_get_cfg_done_80003es2lan;
113 phy->ops.get_info = e1000_get_phy_info_m88;
114 phy->ops.release = e1000_release_phy_80003es2lan;
115 phy->ops
[all...]
H A De1000_82571.c108 phy->ops.check_reset_block = e1000_check_reset_block_generic;
109 phy->ops.reset = e1000_phy_hw_reset_generic;
110 phy->ops.set_d0_lplu_state = e1000_set_d0_lplu_state_82571;
111 phy->ops.set_d3_lplu_state = e1000_set_d3_lplu_state_generic;
112 phy->ops.power_up = e1000_power_up_phy_copper;
113 phy->ops.power_down = e1000_power_down_phy_copper_82571;
119 phy->ops.get_cfg_done = e1000_get_cfg_done_82571;
120 phy->ops.get_info = e1000_get_phy_info_igp;
121 phy->ops.check_polarity = e1000_check_polarity_igp;
122 phy->ops
[all...]
H A De1000_82575.c167 phy->ops.read_i2c_byte = e1000_read_i2c_byte_generic;
168 phy->ops.write_i2c_byte = e1000_write_i2c_byte_generic;
175 phy->ops.power_up = e1000_power_up_phy_copper;
176 phy->ops.power_down = e1000_power_down_phy_copper_base;
181 phy->ops.acquire = e1000_acquire_phy_base;
182 phy->ops.check_reset_block = e1000_check_reset_block_generic;
183 phy->ops.commit = e1000_phy_sw_reset_generic;
184 phy->ops.get_cfg_done = e1000_get_cfg_done_82575;
185 phy->ops.release = e1000_release_phy_base;
190 phy->ops
[all...]
H A De1000_82542.c88 nvm->ops.read = e1000_read_nvm_microwire;
89 nvm->ops.release = e1000_stop_nvm;
90 nvm->ops.write = e1000_write_nvm_microwire;
91 nvm->ops.update = e1000_update_nvm_checksum_generic;
92 nvm->ops.validate = e1000_validate_nvm_checksum_generic;
118 mac->ops.get_bus_info = e1000_get_bus_info_82542;
120 mac->ops.set_lan_id = e1000_set_lan_id_multi_port_pci;
122 mac->ops.reset_hw = e1000_reset_hw_82542;
124 mac->ops.init_hw = e1000_init_hw_82542;
126 mac->ops
[all...]
H A De1000_mbx.c88 if (mbx->ops.read)
89 ret_val = mbx->ops.read(hw, msg, size, mbx_id);
113 else if (mbx->ops.write)
114 ret_val = mbx->ops.write(hw, msg, size, mbx_id);
133 if (mbx->ops.check_for_msg)
134 ret_val = mbx->ops.check_for_msg(hw, mbx_id);
153 if (mbx->ops.check_for_ack)
154 ret_val = mbx->ops.check_for_ack(hw, mbx_id);
173 if (mbx->ops.check_for_rst)
174 ret_val = mbx->ops
[all...]
H A De1000_82543.c96 phy->ops.power_up = e1000_power_up_phy_copper;
97 phy->ops.power_down = e1000_power_down_phy_copper;
106 phy->ops.check_polarity = e1000_check_polarity_m88;
107 phy->ops.commit = e1000_phy_sw_reset_generic;
108 phy->ops.force_speed_duplex = e1000_phy_force_speed_duplex_82543;
109 phy->ops.get_cable_length = e1000_get_cable_length_m88;
110 phy->ops.get_cfg_done = e1000_get_cfg_done_generic;
111 phy->ops.read_reg = (hw->mac.type == e1000_82543)
114 phy->ops.reset = (hw->mac.type == e1000_82543)
117 phy->ops
[all...]
/haiku/src/libs/compat/freebsd_iflib/compat/
H A Difdi_if.h46 KOBJOPLOOKUP(((kobj_t)_ctx)->ops,ifdi_knlist_add);
58 KOBJOPLOOKUP(((kobj_t)_ctx)->ops,ifdi_knote_event);
71 KOBJOPLOOKUP(((kobj_t)_ctx)->ops,ifdi_object_info_get);
83 KOBJOPLOOKUP(((kobj_t)_ctx)->ops,ifdi_attach_pre);
95 KOBJOPLOOKUP(((kobj_t)_ctx)->ops,ifdi_attach_post);
107 KOBJOPLOOKUP(((kobj_t)_ctx)->ops,ifdi_reinit_pre);
119 KOBJOPLOOKUP(((kobj_t)_ctx)->ops,ifdi_reinit_post);
133 KOBJOPLOOKUP(((kobj_t)_ctx)->ops,ifdi_cloneattach);
145 KOBJOPLOOKUP(((kobj_t)_ctx)->ops,ifdi_detach);
157 KOBJOPLOOKUP(((kobj_t)_ctx)->ops,ifdi_suspen
[all...]
/haiku/headers/os/drivers/pcmcia/
H A Ddriver_ops.h68 int register_driver(struct driver_operations *ops);
69 void unregister_driver(struct driver_operations *ops);

Completed in 90 milliseconds

12345