/linux-master/fs/9p/ |
H A D | fid.h | 19 void v9fs_fid_add(struct dentry *dentry, struct p9_fid **fid); 20 void v9fs_open_fid_add(struct inode *inode, struct p9_fid **fid); 21 static inline struct p9_fid *clone_fid(struct p9_fid *fid) argument 23 return IS_ERR(fid) ? fid : p9_client_walk(fid, 0, NULL, 1); 27 struct p9_fid *fid, *nfid; local 29 fid = v9fs_fid_lookup(dentry); 30 if (!fid || IS_ERR(fid)) 49 v9fs_fid_add_modes(struct p9_fid *fid, unsigned int s_flags, unsigned int s_cache, unsigned int f_flags) argument [all...] |
H A D | fid.c | 19 #include "fid.h" 21 static inline void __add_fid(struct dentry *dentry, struct p9_fid *fid) argument 23 hlist_add_head(&fid->dlist, (struct hlist_head *)&dentry->d_fsdata); 28 * v9fs_fid_add - add a fid to a dentry 29 * @dentry: dentry that the fid is being added to 30 * @pfid: fid to add, NULLed out 35 struct p9_fid *fid = *pfid; local 38 __add_fid(dentry, fid); 53 * v9fs_fid_find_inode - search for an open fid off of the inode list 54 * @inode: return a fid pointin 64 struct p9_fid *fid, *ret = NULL; local 95 struct p9_fid *fid = *pfid; local 115 struct p9_fid *fid, *ret; local 177 struct p9_fid *fid, *root_fid, *old_fid; local [all...] |
H A D | xattr.c | 15 #include "fid.h" 18 ssize_t v9fs_fid_xattr_get(struct p9_fid *fid, const char *name, argument 30 attr_fid = p9_client_xattrwalk(fid, name, &attr_size); 68 struct p9_fid *fid; local 73 fid = v9fs_fid_lookup(dentry); 74 if (IS_ERR(fid)) 75 return PTR_ERR(fid); 76 ret = v9fs_fid_xattr_get(fid, name, buffer, buffer_size); 77 p9_fid_put(fid); 98 struct p9_fid *fid; local 108 v9fs_fid_xattr_set(struct p9_fid *fid, const char *name, const void *value, size_t value_len, int flags) argument [all...] |
H A D | vfs_addr.c | 27 #include "fid.h" 31 struct p9_fid *fid = subreq->rreq->netfs_priv; local 35 len = p9_client_write(fid, subreq->start, &subreq->io_iter, &err); 68 struct p9_fid *fid = rreq->netfs_priv; local 71 total = p9_client_read(fid, subreq->start + subreq->transferred, 88 struct p9_fid *fid; local 97 fid = file->private_data; 98 if (!fid) 100 p9_fid_get(fid); 102 fid 126 struct p9_fid *fid = rreq->netfs_priv; local [all...] |
H A D | vfs_file.c | 28 #include "fid.h" 44 struct p9_fid *fid; local 54 fid = file->private_data; 55 if (!fid) { 56 fid = v9fs_fid_clone(file_dentry(file)); 57 if (IS_ERR(fid)) 58 return PTR_ERR(fid); 64 err = p9_client_open(fid, writeback_omode); 67 err = p9_client_open(fid, omode); 68 fid 121 struct p9_fid *fid; local 226 struct p9_fid *fid; local 355 struct p9_fid *fid = iocb->ki_filp->private_data; local 379 struct p9_fid *fid = in->private_data; local 399 struct p9_fid *fid = file->private_data; local 413 struct p9_fid *fid; local 437 struct p9_fid *fid; local [all...] |
H A D | acl.h | 10 int v9fs_get_acl(struct inode *inode, struct p9_fid *fid); 17 int v9fs_acl_chmod(struct inode *inode, struct p9_fid *fid); 18 int v9fs_set_create_acl(struct inode *inode, struct p9_fid *fid, 27 static inline int v9fs_get_acl(struct inode *inode, struct p9_fid *fid) argument 31 static inline int v9fs_acl_chmod(struct inode *inode, struct p9_fid *fid) argument 36 struct p9_fid *fid, 35 v9fs_set_create_acl(struct inode *inode, struct p9_fid *fid, struct posix_acl *dacl, struct posix_acl *acl) argument
|
H A D | vfs_dentry.c | 24 #include "fid.h" 61 struct p9_fid *fid; local 77 fid = v9fs_fid_lookup(dentry); 78 if (IS_ERR(fid)) 79 return PTR_ERR(fid); 83 retval = v9fs_refresh_inode_dotl(fid, inode); 85 retval = v9fs_refresh_inode(fid, inode); 86 p9_fid_put(fid);
|
H A D | vfs_dir.c | 24 #include "fid.h" 70 struct p9_fid *fid = filp->private_data; local 72 if (!fid->rdir) 73 fid->rdir = kzalloc(sizeof(struct p9_rdir) + buflen, GFP_KERNEL); 74 return fid->rdir; 89 struct p9_fid *fid; local 95 fid = file->private_data; 97 buflen = fid->clnt->msize - P9_IOHDRSZ; 122 err = p9stat_read(fid->clnt, rdir->buf + rdir->head, 150 struct p9_fid *fid; local 208 struct p9_fid *fid; local [all...] |
H A D | xattr.h | 15 ssize_t v9fs_fid_xattr_get(struct p9_fid *fid, const char *name, 19 int v9fs_fid_xattr_set(struct p9_fid *fid, const char *name,
|
/linux-master/drivers/net/dsa/mv88e6xxx/ |
H A D | switchdev.h | 17 u16 fid);
|
H A D | trace.h | 18 const unsigned char *addr, u16 fid), 20 TP_ARGS(dev, spid, portvec, addr, fid), 27 __field(u16, fid) 35 __entry->fid = fid; 38 TP_printk("dev %s spid %d portvec 0x%x addr %pM fid %u", 40 __entry->addr, __entry->fid) 45 const unsigned char *addr, u16 fid), 46 TP_ARGS(dev, spid, portvec, addr, fid)); 50 const unsigned char *addr, u16 fid), [all...] |
H A D | switchdev.c | 26 if (ctx->fid_search == entry->fid) { 34 static int mv88e6xxx_find_vid(struct mv88e6xxx_chip *chip, u16 fid, u16 *vid) argument 39 ctx.fid_search = fid; 54 struct mv88e6xxx_atu_entry *entry, u16 fid) 65 err = mv88e6xxx_find_vid(chip, fid, &vid); 53 mv88e6xxx_handle_miss_violation(struct mv88e6xxx_chip *chip, int port, struct mv88e6xxx_atu_entry *entry, u16 fid) argument
|
H A D | global1_atu.c | 20 static int mv88e6xxx_g1_atu_fid_write(struct mv88e6xxx_chip *chip, u16 fid) argument 22 return mv88e6xxx_g1_write(chip, MV88E6352_G1_ATU_FID, fid & 0xfff); 132 static int mv88e6xxx_g1_atu_op(struct mv88e6xxx_chip *chip, u16 fid, u16 op) argument 139 err = mv88e6xxx_g1_atu_fid_write(chip, fid); 150 val = (val & 0x0fff) | ((fid << 8) & 0xf000); 157 op |= (fid & 0x30) << 4; 161 op |= fid & 0xf; 172 int mv88e6xxx_g1_atu_get_next(struct mv88e6xxx_chip *chip, u16 fid) argument 174 return mv88e6xxx_g1_atu_op(chip, fid, MV88E6XXX_G1_ATU_OP_GET_NEXT_DB); 177 static int mv88e6xxx_g1_atu_fid_read(struct mv88e6xxx_chip *chip, u16 *fid) argument 289 mv88e6xxx_g1_atu_getnext(struct mv88e6xxx_chip *chip, u16 fid, struct mv88e6xxx_atu_entry *entry) argument 316 mv88e6xxx_g1_atu_loadpurge(struct mv88e6xxx_chip *chip, u16 fid, struct mv88e6xxx_atu_entry *entry) argument 336 mv88e6xxx_g1_atu_flushmove(struct mv88e6xxx_chip *chip, u16 fid, struct mv88e6xxx_atu_entry *entry, bool all) argument 364 mv88e6xxx_g1_atu_flush(struct mv88e6xxx_chip *chip, u16 fid, bool all) argument 373 mv88e6xxx_g1_atu_move(struct mv88e6xxx_chip *chip, u16 fid, int from_port, int to_port, bool all) argument 393 mv88e6xxx_g1_atu_remove(struct mv88e6xxx_chip *chip, u16 fid, int port, bool all) argument 407 u16 val, fid; local [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_fid.c | 80 int (*setup)(struct mlxsw_sp_fid *fid, const void *arg); 81 int (*configure)(struct mlxsw_sp_fid *fid); 82 void (*deconfigure)(struct mlxsw_sp_fid *fid); 83 int (*index_alloc)(struct mlxsw_sp_fid *fid, const void *arg, 85 bool (*compare)(const struct mlxsw_sp_fid *fid, 87 int (*port_vid_map)(struct mlxsw_sp_fid *fid, 89 void (*port_vid_unmap)(struct mlxsw_sp_fid *fid, 91 int (*vni_set)(struct mlxsw_sp_fid *fid); 92 void (*vni_clear)(struct mlxsw_sp_fid *fid); 93 int (*nve_flood_index_set)(struct mlxsw_sp_fid *fid); 192 struct mlxsw_sp_fid *fid; local 202 mlxsw_sp_fid_nve_ifindex(const struct mlxsw_sp_fid *fid, int *nve_ifindex) argument 212 mlxsw_sp_fid_nve_type(const struct mlxsw_sp_fid *fid, enum mlxsw_sp_nve_type *p_type) argument 226 struct mlxsw_sp_fid *fid; local 236 mlxsw_sp_fid_vni(const struct mlxsw_sp_fid *fid, __be32 *vni) argument 246 mlxsw_sp_fid_nve_flood_index_set(struct mlxsw_sp_fid *fid, u32 nve_flood_index) argument 269 mlxsw_sp_fid_nve_flood_index_clear(struct mlxsw_sp_fid *fid) argument 281 mlxsw_sp_fid_nve_flood_index_is_set(const struct mlxsw_sp_fid *fid) argument 286 mlxsw_sp_fid_vni_set(struct mlxsw_sp_fid *fid, enum mlxsw_sp_nve_type type, __be32 vni, int nve_ifindex) argument 320 mlxsw_sp_fid_vni_clear(struct mlxsw_sp_fid *fid) argument 335 mlxsw_sp_fid_vni_is_set(const struct mlxsw_sp_fid *fid) argument 340 mlxsw_sp_fid_fdb_clear_offload(const struct mlxsw_sp_fid *fid, const struct net_device *nve_dev) argument 351 mlxsw_sp_fid_flood_table_lookup(const struct mlxsw_sp_fid *fid, enum mlxsw_sp_flood_type packet_type) argument 426 mlxsw_sp_fid_fid_mid_ctl(const struct mlxsw_sp_fid *fid, const struct mlxsw_sp_flood_table *flood_table) argument 433 mlxsw_sp_fid_flood_set(struct mlxsw_sp_fid *fid, enum mlxsw_sp_flood_type packet_type, u16 local_port, bool member) argument 453 mlxsw_sp_fid_port_vid_map(struct mlxsw_sp_fid *fid, struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) argument 461 mlxsw_sp_fid_port_vid_unmap(struct mlxsw_sp_fid *fid, struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) argument 467 mlxsw_sp_fid_index(const struct mlxsw_sp_fid *fid) argument 472 mlxsw_sp_fid_type(const struct mlxsw_sp_fid *fid) argument 477 mlxsw_sp_fid_rif(const struct mlxsw_sp_fid *fid) argument 492 mlxsw_sp_fid_8021q_fid(const struct mlxsw_sp_fid *fid) argument 497 mlxsw_sp_fid_8021q_vid(const struct mlxsw_sp_fid *fid) argument 502 mlxsw_sp_fid_8021q_setup(struct mlxsw_sp_fid *fid, const void *arg) argument 517 mlxsw_sp_fid_pack(char *sfmr_pl, const struct mlxsw_sp_fid *fid, enum mlxsw_reg_sfmr_op op) argument 529 mlxsw_sp_fid_pack_ctl(char *sfmr_pl, const struct mlxsw_sp_fid *fid, enum mlxsw_reg_sfmr_op op) argument 548 mlxsw_sp_fid_pgt_base_cff(const struct mlxsw_sp_fid *fid) argument 553 mlxsw_sp_fid_fid_pack_cff(char *sfmr_pl, const struct mlxsw_sp_fid *fid, enum mlxsw_reg_sfmr_op op) argument 580 mlxsw_sp_fid_op(const struct mlxsw_sp_fid *fid, bool valid) argument 590 mlxsw_sp_fid_edit_op(const struct mlxsw_sp_fid *fid, const struct mlxsw_sp_rif *rif) argument 612 mlxsw_sp_fid_vni_to_fid_map(const struct mlxsw_sp_fid *fid, const struct mlxsw_sp_rif *rif, bool valid) argument 629 mlxsw_sp_fid_to_fid_rif_update(const struct mlxsw_sp_fid *fid, const struct mlxsw_sp_rif *rif) argument 635 mlxsw_sp_fid_vni_to_fid_rif_update(const struct mlxsw_sp_fid *fid, const struct mlxsw_sp_rif *rif) argument 645 mlxsw_sp_fid_vid_to_fid_map(const struct mlxsw_sp_fid *fid, u16 vid, bool valid, const struct mlxsw_sp_rif *rif) argument 662 mlxsw_sp_fid_8021q_vid_to_fid_rif_update(const struct mlxsw_sp_fid *fid, const struct mlxsw_sp_rif *rif) argument 674 mlxsw_sp_fid_port_vid_to_fid_rif_update_one(const struct mlxsw_sp_fid *fid, struct mlxsw_sp_fid_port_vid *pv, bool irif_valid, u16 irif_index) argument 688 mlxsw_sp_fid_vid_to_fid_rif_set(const struct mlxsw_sp_fid *fid, const struct mlxsw_sp_rif *rif) argument 731 mlxsw_sp_fid_vid_to_fid_rif_unset(const struct mlxsw_sp_fid *fid) argument 749 mlxsw_sp_fid_reiv_handle(struct mlxsw_sp_fid *fid, u16 rif_index, bool valid, u8 port_page) argument 798 mlxsw_sp_fid_erif_eport_to_vid_map(struct mlxsw_sp_fid *fid, u16 rif_index, bool valid) argument 822 mlxsw_sp_fid_rif_set(struct mlxsw_sp_fid *fid, struct mlxsw_sp_rif *rif) argument 855 mlxsw_sp_fid_rif_unset(struct mlxsw_sp_fid *fid) argument 871 mlxsw_sp_fid_vni_op(const struct mlxsw_sp_fid *fid) argument 890 __mlxsw_sp_fid_port_vid_map(const struct mlxsw_sp_fid *fid, u16 local_port, u16 vid, bool valid) argument 909 mlxsw_sp_fid_8021d_fid(const struct mlxsw_sp_fid *fid) argument 914 mlxsw_sp_fid_8021d_setup(struct mlxsw_sp_fid *fid, const void *arg) argument 923 mlxsw_sp_fid_8021d_configure(struct mlxsw_sp_fid *fid) argument 928 mlxsw_sp_fid_8021d_deconfigure(struct mlxsw_sp_fid *fid) argument 935 mlxsw_sp_fid_8021d_index_alloc(struct mlxsw_sp_fid *fid, const void *arg, u16 *p_fid_index) argument 951 mlxsw_sp_fid_8021d_compare(const struct mlxsw_sp_fid *fid, const void *arg) argument 965 struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid; local 988 struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid; local 1008 struct mlxsw_sp_fid *fid = mlxsw_sp_port_vlan->fid; local 1020 mlxsw_sp_fid_port_vid_list_add(struct mlxsw_sp_fid *fid, u16 local_port, u16 vid) argument 1042 mlxsw_sp_fid_port_vid_list_del(struct mlxsw_sp_fid *fid, u16 local_port, u16 vid) argument 1058 mlxsw_sp_fid_mpe_table_map(const struct mlxsw_sp_fid *fid, u16 local_port, u16 vid, bool valid) argument 1070 mlxsw_sp_fid_erif_eport_to_vid_map_one(const struct mlxsw_sp_fid *fid, u16 local_port, u16 vid, bool valid) argument 1092 mlxsw_sp_fid_evid_map(const struct mlxsw_sp_fid *fid, u16 local_port, u16 vid, bool valid) argument 1116 mlxsw_sp_fid_8021d_port_vid_map(struct mlxsw_sp_fid *fid, struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) argument 1157 mlxsw_sp_fid_8021d_port_vid_unmap(struct mlxsw_sp_fid *fid, struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) argument 1171 mlxsw_sp_fid_8021d_vni_set(struct mlxsw_sp_fid *fid) argument 1176 mlxsw_sp_fid_8021d_vni_clear(struct mlxsw_sp_fid *fid) argument 1181 mlxsw_sp_fid_8021d_nve_flood_index_set(struct mlxsw_sp_fid *fid) argument 1186 mlxsw_sp_fid_8021d_nve_flood_index_clear(struct mlxsw_sp_fid *fid) argument 1192 mlxsw_sp_fid_8021d_fdb_clear_offload(const struct mlxsw_sp_fid *fid, const struct net_device *nve_dev) argument 1199 mlxsw_sp_fid_8021d_vid_to_fid_rif_update(const struct mlxsw_sp_fid *fid, const struct mlxsw_sp_rif *rif) argument 1256 mlxsw_sp_fid_fid_mid_cff(const struct mlxsw_sp_fid *fid, const struct mlxsw_sp_flood_table *flood_table) argument 1342 mlxsw_sp_fid_8021q_compare(const struct mlxsw_sp_fid *fid, const void *arg) argument 1350 mlxsw_sp_fid_8021q_fdb_clear_offload(const struct mlxsw_sp_fid *fid, const struct net_device *nve_dev) argument 1356 mlxsw_sp_fid_rfid_setup_ctl(struct mlxsw_sp_fid *fid, const void *arg) argument 1364 mlxsw_sp_fid_rfid_setup_cff(struct mlxsw_sp_fid *fid, const void *arg) argument 1387 mlxsw_sp_fid_rfid_configure(struct mlxsw_sp_fid *fid) argument 1392 mlxsw_sp_fid_rfid_deconfigure(struct mlxsw_sp_fid *fid) argument 1397 mlxsw_sp_fid_rfid_index_alloc(struct mlxsw_sp_fid *fid, const void *arg, u16 *p_fid_index) argument 1407 mlxsw_sp_fid_rfid_compare(const struct mlxsw_sp_fid *fid, const void *arg) argument 1415 mlxsw_sp_fid_rfid_port_vid_map(struct mlxsw_sp_fid *fid, struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) argument 1466 mlxsw_sp_fid_rfid_port_vid_unmap(struct mlxsw_sp_fid *fid, struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) argument 1483 mlxsw_sp_fid_rfid_vni_set(struct mlxsw_sp_fid *fid) argument 1488 mlxsw_sp_fid_rfid_vni_clear(struct mlxsw_sp_fid *fid) argument 1493 mlxsw_sp_fid_rfid_nve_flood_index_set(struct mlxsw_sp_fid *fid) argument 1498 mlxsw_sp_fid_rfid_nve_flood_index_clear(struct mlxsw_sp_fid *fid) argument 1504 mlxsw_sp_fid_rfid_vid_to_fid_rif_update(const struct mlxsw_sp_fid *fid, const struct mlxsw_sp_rif *rif) argument 1659 mlxsw_sp_fid_dummy_setup(struct mlxsw_sp_fid *fid, const void *arg) argument 1665 mlxsw_sp_fid_dummy_configure(struct mlxsw_sp_fid *fid) argument 1670 mlxsw_sp_fid_dummy_deconfigure(struct mlxsw_sp_fid *fid) argument 1675 mlxsw_sp_fid_dummy_index_alloc(struct mlxsw_sp_fid *fid, const void *arg, u16 *p_fid_index) argument 1683 mlxsw_sp_fid_dummy_compare(const struct mlxsw_sp_fid *fid, const void *arg) argument 1689 mlxsw_sp_fid_dummy_vni_set(struct mlxsw_sp_fid *fid) argument 1694 mlxsw_sp_fid_dummy_vni_clear(struct mlxsw_sp_fid *fid) argument 1699 mlxsw_sp_fid_dummy_nve_flood_index_set(struct mlxsw_sp_fid *fid) argument 1704 mlxsw_sp_fid_dummy_nve_flood_index_clear(struct mlxsw_sp_fid *fid) argument 1722 mlxsw_sp_fid_8021q_configure(struct mlxsw_sp_fid *fid) argument 1742 mlxsw_sp_fid_8021q_deconfigure(struct mlxsw_sp_fid *fid) argument 1753 mlxsw_sp_fid_8021q_port_vid_map(struct mlxsw_sp_fid *fid, struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) argument 1791 mlxsw_sp_fid_8021q_port_vid_unmap(struct mlxsw_sp_fid *fid, struct mlxsw_sp_port *mlxsw_sp_port, u16 vid) argument 1998 struct mlxsw_sp_fid *fid; local 2016 struct mlxsw_sp_fid *fid; local 2066 mlxsw_sp_fid_put(struct mlxsw_sp_fid *fid) argument [all...] |
/linux-master/include/net/9p/ |
H A D | client.h | 132 * @fid: numeric identifier for this handle 133 * @mode: current mode of this fid (enum?) 138 * @dlist: per-dentry fid tracking 150 u32 fid; member in struct:p9_fid 181 int p9_client_statfs(struct p9_fid *fid, struct p9_rstatfs *sb); 182 int p9_client_rename(struct p9_fid *fid, struct p9_fid *newdirfid, 194 int p9_client_open(struct p9_fid *fid, int mode); 195 int p9_client_fcreate(struct p9_fid *fid, const char *name, u32 perm, int mode, 197 int p9_client_link(struct p9_fid *fid, struct p9_fid *oldfid, const char *newname); 198 int p9_client_symlink(struct p9_fid *fid, cons 257 p9_fid_get(struct p9_fid *fid) argument 267 p9_fid_put(struct p9_fid *fid) argument [all...] |
/linux-master/include/linux/ |
H A D | exportfs.h | 135 struct fid { struct 225 struct dentry * (*fh_to_dentry)(struct super_block *sb, struct fid *fid, 227 struct dentry * (*fh_to_parent)(struct super_block *sb, struct fid *fid, 265 extern int exportfs_encode_inode_fh(struct inode *inode, struct fid *fid, 268 extern int exportfs_encode_fh(struct dentry *dentry, struct fid *fid, 286 * sure that filesystem did not opt-out of encoding fid 298 exportfs_encode_fid(struct inode *inode, struct fid *fid, int *max_len) argument [all...] |
/linux-master/tools/power/cpupower/debug/i386/ |
H A D | powernow-k8-decode.c | 27 static int get_fidvid(uint32_t cpu, uint32_t *fid, uint32_t *vid) argument 46 *fid = ((uint32_t )(msr & 0xffffffffull)) & MSR_S_LO_CURRENT_FID; 56 /* Return a frequency in MHz, given an input fid */ 57 static uint32_t find_freq_from_fid(uint32_t fid) argument 59 return 800 + (fid * 100); 72 uint32_t fid, vid; local 79 err = get_fidvid(cpu, &fid, &vid); 82 printf("can't get fid, vid from MSR\n"); 91 find_freq_from_fid(fid),
|
/linux-master/fs/xfs/ |
H A D | xfs_export.c | 48 struct fid *fid = (struct fid *)fh; local 85 fid->i32.parent_ino = XFS_I(parent)->i_ino; 86 fid->i32.parent_gen = parent->i_generation; 89 fid->i32.ino = XFS_I(inode)->i_ino; 90 fid->i32.gen = inode->i_generation; 172 xfs_fs_fh_to_dentry(struct super_block *sb, struct fid *fid, argument 175 struct xfs_fid64 *fid64 = (struct xfs_fid64 *)fid; 196 xfs_fs_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fileid_type) argument [all...] |
/linux-master/fs/coda/ |
H A D | coda_psdev.h | 49 int venus_getattr(struct super_block *sb, struct CodaFid *fid, 52 int venus_lookup(struct super_block *sb, struct CodaFid *fid, 55 int venus_close(struct super_block *sb, struct CodaFid *fid, int flags, 57 int venus_open(struct super_block *sb, struct CodaFid *fid, int flags, 69 int venus_readlink(struct super_block *sb, struct CodaFid *fid, 75 int venus_link(struct super_block *sb, struct CodaFid *fid, 77 int venus_symlink(struct super_block *sb, struct CodaFid *fid, 79 int venus_access(struct super_block *sb, struct CodaFid *fid, int mask); 80 int venus_pioctl(struct super_block *sb, struct CodaFid *fid, 84 int venus_fsync(struct super_block *sb, struct CodaFid *fid); [all...] |
H A D | cnode.c | 47 struct CodaFid *fid = (struct CodaFid *)data; local 49 return coda_fideq(&cii->c_fid, fid); 54 struct CodaFid *fid = (struct CodaFid *)data; local 56 cii->c_fid = *fid; 60 struct inode * coda_iget(struct super_block * sb, struct CodaFid * fid, argument 65 unsigned long hash = coda_f2i(fid); 69 inode = iget5_locked(sb, hash, coda_test_inode, coda_set_inode, fid); 93 - get the inode for the fid using vfs iget 97 struct inode *coda_cnode_make(struct CodaFid *fid, struct super_block *sb) argument 104 error = venus_getattr(sb, fid, 140 coda_fid_to_inode(struct CodaFid *fid, struct super_block *sb) argument [all...] |
/linux-master/drivers/w1/ |
H A D | w1_family.c | 31 if (f->fid == newf->fid) { 63 if (f->fid == fent->fid) { 75 fent->fid, atomic_read(&fent->refcnt)); 86 struct w1_family * w1_family_registered(u8 fid) argument 95 if (f->fid == fid) {
|
/linux-master/net/9p/ |
H A D | client.c | 850 struct p9_fid *fid; local 853 fid = kzalloc(sizeof(*fid), GFP_KERNEL); 854 if (!fid) 857 fid->mode = -1; 858 fid->uid = current_fsuid(); 859 fid->clnt = clnt; 860 refcount_set(&fid->count, 1); 864 ret = idr_alloc_u32(&clnt->fids, fid, &fid 877 p9_fid_destroy(struct p9_fid *fid) argument 895 do_trace_9p_fid_get(struct p9_fid *fid) argument 901 do_trace_9p_fid_put(struct p9_fid *fid) argument 1058 struct p9_fid *fid; local 1100 struct p9_fid *fid; local 1146 struct p9_fid *fid; local 1216 p9_client_open(struct p9_fid *fid, int mode) argument 1305 p9_client_fcreate(struct p9_fid *fid, const char *name, u32 perm, int mode, char *extension) argument 1401 p9_client_fsync(struct p9_fid *fid, int datasync) argument 1426 p9_client_clunk(struct p9_fid *fid) argument 1462 p9_client_remove(struct p9_fid *fid) argument 1513 p9_client_read(struct p9_fid *fid, u64 offset, struct iov_iter *to, int *err) argument 1532 p9_client_read_once(struct p9_fid *fid, u64 offset, struct iov_iter *to, int *err) argument 1605 p9_client_write(struct p9_fid *fid, u64 offset, struct iov_iter *from, int *err) argument 1664 p9_client_stat(struct p9_fid *fid) argument 1715 p9_client_getattr_dotl(struct p9_fid *fid, u64 request_mask) argument 1806 p9_client_wstat(struct p9_fid *fid, struct p9_wstat *wst) argument 1844 p9_client_setattr(struct p9_fid *fid, struct p9_iattr_dotl *p9attr) argument 1875 p9_client_statfs(struct p9_fid *fid, struct p9_rstatfs *sb) argument 1911 p9_client_rename(struct p9_fid *fid, struct p9_fid *newdirfid, const char *name) argument 2014 p9_client_xattrcreate(struct p9_fid *fid, const char *name, u64 attr_size, int flags) argument 2038 p9_client_readdir(struct p9_fid *fid, char *data, u32 count, u64 offset) argument 2103 p9_client_mknod_dotl(struct p9_fid *fid, const char *name, int mode, dev_t rdev, kgid_t gid, struct p9_qid *qid) argument 2133 p9_client_mkdir_dotl(struct p9_fid *fid, const char *name, int mode, kgid_t gid, struct p9_qid *qid) argument 2162 p9_client_lock_dotl(struct p9_fid *fid, struct p9_flock *flock, u8 *status) argument 2193 p9_client_getlock_dotl(struct p9_fid *fid, struct p9_getlock *glock) argument 2229 p9_client_readlink(struct p9_fid *fid, char **target) argument [all...] |
/linux-master/fs/jfs/ |
H A D | jfs_inode.h | 8 struct fid; 25 extern struct dentry *jfs_fh_to_dentry(struct super_block *sb, struct fid *fid, 27 extern struct dentry *jfs_fh_to_parent(struct super_block *sb, struct fid *fid,
|
/linux-master/fs/fat/ |
H A D | nfs.c | 105 struct fat_fid *fid = (struct fat_fid *) fh; local 123 fid->i_gen = inode->i_generation; 124 fid->i_pos_low = i_pos & 0xFFFFFFFF; 125 fid->i_pos_hi = (i_pos >> 32) & 0xFFFF; 128 fid->parent_i_pos_hi = (i_pos >> 32) & 0xFFFF; 129 fid->parent_i_pos_low = i_pos & 0xFFFFFFFF; 130 fid->parent_i_gen = parent->i_generation; 138 fid->parent_i_pos_hi = 0; 148 static struct dentry *fat_fh_to_dentry(struct super_block *sb, struct fid *fid, argument 160 struct fat_fid *fid = (struct fat_fid *)fh; local 186 fat_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument 198 struct fat_fid *fid = (struct fat_fid *)fh; local [all...] |
/linux-master/drivers/cpufreq/ |
H A D | cpufreq-nforce2.c | 39 /* fid: 42 static int fid; variable 54 module_param(fid, int, 0444); 57 MODULE_PARM_DESC(fid, "CPU multiplier to use (11.5 = 115)"); 238 return nforce2_fsb_read(0) * fid * 100; 260 target_fsb = target_freq / (fid * 100); 263 freqs.new = target_fsb * fid * 100; 298 fsb_pol_max = policy->max / (fid * 100); 300 if (policy->min < (fsb_pol_max * fid * 100)) 301 policy->max = (fsb_pol_max + 1) * fid * 10 [all...] |