Searched refs:fid (Results 1 - 25 of 267) sorted by last modified time

1234567891011

/linux-master/drivers/power/supply/
H A Drt9455_charger.c165 #define GET_MASK(fid) (BIT(rt9455_reg_fields[fid].msb + 1) - \
166 BIT(rt9455_reg_fields[fid].lsb))
/linux-master/fs/erofs/
H A Dsuper.c549 struct fid *fid, int fh_len, int fh_type)
551 return generic_fh_to_dentry(sb, fid, fh_len, fh_type,
556 struct fid *fid, int fh_len, int fh_type)
558 return generic_fh_to_parent(sb, fid, fh_len, fh_type,
548 erofs_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument
555 erofs_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument
/linux-master/fs/ntfs3/
H A Dsuper.c810 static struct dentry *ntfs_fh_to_dentry(struct super_block *sb, struct fid *fid, argument
813 return generic_fh_to_dentry(sb, fid, fh_len, fh_type,
817 static struct dentry *ntfs_fh_to_parent(struct super_block *sb, struct fid *fid, argument
820 return generic_fh_to_parent(sb, fid, fh_len, fh_type,
/linux-master/fs/9p/
H A Dvfs_inode_dotl.c26 #include "fid.h"
58 v9fs_fid_iget_dotl(struct super_block *sb, struct p9_fid *fid, bool new) argument
65 inode = iget_locked(sb, QID2INO(&fid->qid));
76 inode = iget_locked(sb, QID2INO(&fid->qid));
86 st = p9_client_getattr_dotl(fid, P9_STATS_BASIC | P9_STATS_GEN);
92 retval = v9fs_init_inode(v9ses, inode, &fid->qid,
101 retval = v9fs_get_acl(inode, fid);
191 struct p9_fid *fid = NULL; local
219 p9_debug(P9_DEBUG_VFS, "fid lookup failed %d\n", err);
223 /* clone a fid t
312 struct p9_fid *fid = NULL, *dfid = NULL; local
382 struct p9_fid *fid; local
476 struct p9_fid *fid = NULL; local
648 struct p9_fid *fid = NULL; local
720 struct p9_fid *fid; local
752 struct p9_fid *fid = NULL, *dfid = NULL; local
822 struct p9_fid *fid; local
842 v9fs_refresh_inode_dotl(struct p9_fid *fid, struct inode *inode) argument
[all...]
H A Dvfs_super.c27 #include "fid.h"
113 struct p9_fid *fid; local
122 fid = v9fs_session_init(v9ses, dev_name, data);
123 if (IS_ERR(fid)) {
124 retval = PTR_ERR(fid);
142 inode = v9fs_get_inode_from_fid(v9ses, fid, sb, true);
154 retval = v9fs_get_acl(inode, fid);
157 v9fs_fid_add(root, &fid);
163 p9_fid_put(fid);
172 * in the below call. But we need to clunk fid, becaus
214 struct p9_fid *fid; local
[all...]
H A Dvfs_inode.c28 #include "fid.h"
368 v9fs_fid_iget(struct super_block *sb, struct p9_fid *fid, bool new) argument
377 inode = iget_locked(sb, QID2INO(&fid->qid));
388 inode = iget_locked(sb, QID2INO(&fid->qid));
398 st = p9_client_stat(fid);
405 retval = v9fs_init_inode(v9ses, inode, &fid->qid, umode, rdev);
485 p9_debug(P9_DEBUG_VFS, "fid lookup failed %d\n", retval);
539 struct p9_fid *dfid, *ofid = NULL, *fid = NULL; local
548 p9_debug(P9_DEBUG_VFS, "fid lookup failed %d\n", err);
552 /* clone a fid t
616 struct p9_fid *fid; local
643 struct p9_fid *fid; local
678 struct p9_fid *dfid, *fid; local
735 struct p9_fid *fid; local
945 struct p9_fid *fid; local
993 struct p9_fid *fid = NULL; local
1139 struct p9_fid *fid; local
1189 struct p9_fid *fid; local
1301 v9fs_refresh_inode(struct p9_fid *fid, struct inode *inode) argument
[all...]
H A Dv9fs.h182 extern struct inode *v9fs_fid_iget(struct super_block *sb, struct p9_fid *fid,
189 struct p9_fid *fid, bool new);
222 * @fid: fid to issue attribute request for
227 v9fs_get_inode_from_fid(struct v9fs_session_info *v9ses, struct p9_fid *fid, argument
231 return v9fs_fid_iget_dotl(sb, fid, new);
233 return v9fs_fid_iget(sb, fid, new);
H A Dvfs_file.c28 #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 Dfid.h19 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...]
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c4643 req->fid = cpu_to_le16(0xffff);
6700 req->fid = cpu_to_le16(0xffff);
7055 req->fid = cpu_to_le16(0xffff);
7101 int __bnxt_hwrm_get_tx_rings(struct bnxt *bp, u16 fid, int *tx_rings) argument
7114 req->fid = cpu_to_le16(fid);
7135 req->fid = cpu_to_le16(0xffff);
7889 req->fid = cpu_to_le16(0xffff);
8691 req->fid = cpu_to_le16(0xffff);
8814 req->fid
[all...]
/linux-master/drivers/net/dsa/mv88e6xxx/
H A Dport.h393 int mv88e6xxx_port_get_fid(struct mv88e6xxx_chip *chip, int port, u16 *fid);
394 int mv88e6xxx_port_set_fid(struct mv88e6xxx_chip *chip, int port, u16 fid);
H A Dchip.c1805 u16 fid)
1814 return mv88e6xxx_g1_atu_remove(chip, fid, port, false);
1904 set_bit(entry->fid, fid_bitmap);
1918 static int mv88e6xxx_atu_new(struct mv88e6xxx_chip *chip, u16 *fid) argument
1927 *fid = find_first_zero_bit(fid_bitmap, MV88E6XXX_N_FID);
1928 if (unlikely(*fid >= mv88e6xxx_num_databases(chip)))
1932 return mv88e6xxx_g1_atu_flush(chip, *fid, true);
2236 u16 fid; local
2247 fid = MV88E6XXX_FID_BRIDGED;
2257 fid
1804 mv88e6xxx_port_fast_age_fid(struct mv88e6xxx_chip *chip, int port, u16 fid) argument
2881 mv88e6xxx_port_db_dump_fid(struct mv88e6xxx_chip *chip, u16 fid, u16 vid, int port, dsa_fdb_dump_cb_t *cb, void *data) argument
2940 u16 fid; local
[all...]
/linux-master/fs/smb/server/
H A Dvfs.c569 * @fid: file id of open file
574 int ksmbd_vfs_fsync(struct ksmbd_work *work, u64 fid, u64 p_id) argument
579 fp = ksmbd_lookup_fd_slow(work, fid, p_id);
581 pr_err("failed to get filp for fid %llu\n", fid);
/linux-master/fs/smb/client/
H A Dtrace.h89 __u64 fid,
95 TP_ARGS(xid, fid, tid, sesid, offset, len, rc),
98 __field(__u64, fid)
107 __entry->fid = fid;
114 TP_printk("\txid=%u sid=0x%llx tid=0x%x fid=0x%llx offset=0x%llx len=0x%x rc=%d",
115 __entry->xid, __entry->sesid, __entry->tid, __entry->fid,
122 __u64 fid, \
128 TP_ARGS(xid, fid, tid, sesid, offset, len, rc))
140 __u64 fid,
[all...]
H A Dsmb2pdu.c2243 create_reconnect_durable_buf(struct cifs_fid *fid) argument
2257 buf->Data.Fid.PersistentFileId = fid->persistent_fid;
2258 buf->Data.Fid.VolatileFileId = fid->volatile_fid;
2411 struct cifs_fid *pfid = oparms->fid;
2451 create_reconnect_durable_v2_buf(struct cifs_fid *fid) argument
2470 buf->dcontext.Fid.PersistentFileId = fid->persistent_fid;
2471 buf->dcontext.Fid.VolatileFileId = fid->volatile_fid;
2473 memcpy(buf->dcontext.CreateGuid, fid->create_guid, 16);
2506 iov[num].iov_base = create_reconnect_durable_v2_buf(oparms->fid);
2529 iov[num].iov_base = create_reconnect_durable_buf(oparms->fid);
[all...]
H A Dsmb2ops.c813 struct cifs_fid fid; local
822 .fid = &fid,
827 memcpy(&fid, &cfid->fid, sizeof(struct cifs_fid));
836 SMB2_QFS_attr(xid, tcon, fid.persistent_fid, fid.volatile_fid,
838 SMB2_QFS_attr(xid, tcon, fid.persistent_fid, fid.volatile_fid,
840 SMB2_QFS_attr(xid, tcon, fid
858 struct cifs_fid fid; local
890 struct cifs_fid fid; local
960 struct cifs_fid *fid = &cfile->fid; local
1122 struct cifs_fid fid; local
1398 smb2_set_fid(struct cifsFileInfo *cfile, struct cifs_fid *fid, __u32 oplock) argument
1416 smb2_close_file(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *fid) argument
1520 struct cifs_fid fid; local
1877 smb2_flush_file(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *fid) argument
2180 struct cifs_fid fid; local
2254 smb2_query_dir_first(const unsigned int xid, struct cifs_tcon *tcon, const char *path, struct cifs_sb_info *cifs_sb, struct cifs_fid *fid, __u16 search_flags, struct cifs_search_info *srch_inf) argument
2393 smb2_query_dir_next(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *fid, __u16 search_flags, struct cifs_search_info *srch_inf) argument
2402 smb2_close_dir(const unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *fid) argument
2644 struct cifs_fid fid; local
2829 struct cifs_fid fid; local
2874 smb2_get_lease_key(struct inode *inode, struct cifs_fid *fid) argument
2880 smb2_set_lease_key(struct inode *inode, struct cifs_fid *fid) argument
2886 smb2_new_lease_key(struct cifs_fid *fid) argument
3037 struct cifs_fid fid; local
3103 struct cifs_fid fid; local
4980 struct cifs_fid fid; local
[all...]
H A Dmisc.c501 if (pSMB->Fid != netfile->fid.netfid)
671 cifs_add_pending_open_locked(struct cifs_fid *fid, struct tcon_link *tlink, argument
674 memcpy(open->lease_key, fid->lease_key, SMB2_LEASE_KEY_SIZE);
677 fid->pending_open = open;
682 cifs_add_pending_open(struct cifs_fid *fid, struct tcon_link *tlink, argument
686 cifs_add_pending_open_locked(fid, tlink, open);
701 if ((dclose->netfid == cfile->fid.netfid) &&
702 (dclose->persistent_fid == cfile->fid.persistent_fid) &&
703 (dclose->volatile_fid == cfile->fid.volatile_fid)) {
727 dclose->netfid = cfile->fid
[all...]
H A Dsmb2misc.c709 cfile->fid.persistent_fid ||
711 cfile->fid.volatile_fid)
765 rc = SMB2_close(0, tcon, cancelled->fid.persistent_fid,
766 cancelled->fid.volatile_fid);
792 cancelled->fid.persistent_fid = persistent_fid;
793 cancelled->fid.volatile_fid = volatile_fid;
822 cifs_server_dbg(FYI, "tid=0x%x: tcon is closing, skipping async close retry of fid %llu %llu\n",
H A Dcifsproto.h192 struct cifsFileInfo *cifs_new_fileinfo(struct cifs_fid *fid, struct file *file,
212 const struct cifs_fid *fid);
275 extern void cifs_add_pending_open(struct cifs_fid *fid,
278 extern void cifs_add_pending_open_locked(struct cifs_fid *fid,
399 const FILE_BASIC_INFO *data, __u16 fid,
403 bool delete_file, __u16 fid,
426 u16 fid, u32 pid_of_opener);
479 __u16 fid, char **symlinkinfo,
482 struct cifs_tcon *tcon, __u16 fid);
571 __u16 fid, struc
[all...]
H A Dcifsglob.h442 /* set fid protocol-specific info */
1399 struct cifs_fid *fid; member in struct:cifs_open_parms
1423 struct cifsFileInfo *cfile; /* fid that owns locks */
1424 struct list_head locks; /* locks held by fid above */
1429 struct list_head tlist; /* pointer to next fid owned by tcon */
1430 struct list_head flist; /* next fid (file instance) for this inode */
1432 struct cifs_fid_locks *llist; /* brlocks held by this fid */
1435 struct cifs_fid fid; /* file id from remote */ member in struct:cifsFileInfo
1736 struct cifs_fid fid; member in struct:close_cancelled_open
H A Dinode.c399 rc = CIFSSMBUnixQFileInfo(xid, tcon, cfile->fid.netfid, &find_data);
512 struct cifs_fid fid; local
546 .fid = &fid,
561 io_parms.netfid = fid.netfid;
567 rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms,
613 tcon->ses->server->ops->close(xid, tcon, &fid);
1061 const struct cifs_fid *fid,
1184 true, full_path, fid);
1194 false, full_path, fid);
1059 cifs_get_fattr(struct cifs_open_info_data *data, struct super_block *sb, int xid, const struct cifs_fid *fid, struct cifs_fattr *fattr, struct inode **inode, const char *full_path) argument
1221 cifs_get_inode_info(struct inode **inode, const char *full_path, struct cifs_open_info_data *data, struct super_block *sb, int xid, const struct cifs_fid *fid) argument
1592 struct cifs_fid fid; local
2182 struct cifs_fid fid; local
[all...]
/linux-master/fs/bcachefs/
H A Dfs.c1215 struct bcachefs_fid fid; member in struct:bcachefs_fid_with_parent
1248 struct bcachefs_fid_with_parent *fid = (void *) fh; local
1250 min_len = sizeof(*fid) / sizeof(u32);
1256 fid->fid = bch2_inode_to_fid(inode);
1257 fid->dir = bch2_inode_to_fid(dir);
1262 struct bcachefs_fid *fid = (void *) fh; local
1264 min_len = sizeof(*fid) / sizeof(u32);
1269 *fid = bch2_inode_to_fid(inode);
1277 struct bcachefs_fid fid)
1276 bch2_nfs_get_inode(struct super_block *sb, struct bcachefs_fid fid) argument
1294 struct bcachefs_fid *fid = (void *) _fid; local
1305 struct bcachefs_fid_with_parent *fid = (void *) _fid; local
[all...]
/linux-master/mm/
H A Dshmem.c3820 struct fid *fid, int fh_len, int fh_type)
3829 inum = fid->raw[2];
3830 inum = (inum << 32) | fid->raw[1];
3832 inode = ilookup5(sb, (unsigned long)(inum + fid->raw[0]),
3833 shmem_match, fid->raw);
3819 shmem_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument
/linux-master/fs/fuse/
H A Dinode.c1080 struct fid *fid, int fh_len, int fh_type)
1088 handle.nodeid = (u64) fid->raw[0] << 32;
1089 handle.nodeid |= (u64) fid->raw[1];
1090 handle.generation = fid->raw[2];
1095 struct fid *fid, int fh_len, int fh_type)
1102 parent.nodeid = (u64) fid->raw[3] << 32;
1103 parent.nodeid |= (u64) fid->raw[4];
1104 parent.generation = fid
1079 fuse_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument
1094 fuse_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) argument
[all...]
/linux-master/drivers/net/dsa/
H A Dmt7530.h228 #define FID_PST(fid, state) (((state) & 0x3) << ((fid) * 2))
229 #define FID_PST_MASK(fid) FID_PST(fid, 0x3)

Completed in 388 milliseconds

1234567891011