/kernel/linux/linux-5.10/fs/gfs2/ |
H A D | inode.h | 93 unsigned int blktype); 96 unsigned int blktype);
|
H A D | inode.c | 109 * @blktype: Requested block type (GFS2_BLKST_DINODE or GFS2_BLKST_UNLINKED; 114 * If @blktype is anything other than GFS2_BLKST_FREE (which is used as a 116 * is verified to be @blktype. 127 unsigned int blktype) in gfs2_inode_lookup() 153 if (blktype != GFS2_BLKST_UNLINKED) in gfs2_inode_lookup() 156 if (type == DT_UNKNOWN || blktype != GFS2_BLKST_FREE) { in gfs2_inode_lookup() 172 if (blktype != GFS2_BLKST_FREE) { in gfs2_inode_lookup() 174 blktype); in gfs2_inode_lookup() 237 * @blktype: Requested block type (see gfs2_inode_lookup) 240 u64 no_formal_ino, unsigned int blktype) in gfs2_lookup_by_inum() 125 gfs2_inode_lookup(struct super_block *sb, unsigned int type, u64 no_addr, u64 no_formal_ino, unsigned int blktype) gfs2_inode_lookup() argument 239 gfs2_lookup_by_inum(struct gfs2_sbd *sdp, u64 no_addr, u64 no_formal_ino, unsigned int blktype) gfs2_lookup_by_inum() argument [all...] |
/kernel/linux/linux-6.6/fs/gfs2/ |
H A D | inode.h | 93 unsigned int blktype); 96 unsigned int blktype);
|
H A D | inode.c | 98 * @blktype: Requested block type (GFS2_BLKST_DINODE or GFS2_BLKST_UNLINKED; 103 * If @blktype is anything other than GFS2_BLKST_FREE (which is used as a 105 * is verified to be @blktype. 116 unsigned int blktype) in gfs2_inode_lookup() 146 * The only caller that sets @blktype to GFS2_BLKST_UNLINKED is in gfs2_inode_lookup() 150 if (blktype == GFS2_BLKST_UNLINKED) in gfs2_inode_lookup() 161 if (type == DT_UNKNOWN || blktype != GFS2_BLKST_FREE) { in gfs2_inode_lookup() 177 if (blktype != GFS2_BLKST_FREE) { in gfs2_inode_lookup() 179 blktype); in gfs2_inode_lookup() 241 * @blktype 114 gfs2_inode_lookup(struct super_block *sb, unsigned int type, u64 no_addr, u64 no_formal_ino, unsigned int blktype) gfs2_inode_lookup() argument 243 gfs2_lookup_by_inum(struct gfs2_sbd *sdp, u64 no_addr, u64 no_formal_ino, unsigned int blktype) gfs2_lookup_by_inum() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu.c | 253 int rvu_get_blkaddr(struct rvu *rvu, int blktype, u16 pcifunc) in rvu_get_blkaddr() argument 259 switch (blktype) { in rvu_get_blkaddr() 303 if (blktype == BLKTYPE_NIX) { in rvu_get_blkaddr() 319 if (blktype == BLKTYPE_CPT) { in rvu_get_blkaddr() 1267 static bool is_blktype_attached(struct rvu_pfvf *pfvf, int blktype) in is_blktype_attached() argument 1269 switch (blktype) { in is_blktype_attached() 1287 bool is_pffunc_map_valid(struct rvu *rvu, u16 pcifunc, int blktype) in is_pffunc_map_valid() argument 1296 /* Check if this PFFUNC has a LF of type blktype attached */ in is_pffunc_map_valid() 1297 if (!is_blktype_attached(pfvf, blktype)) in is_pffunc_map_valid() 1324 int rvu_get_blkaddr_from_slot(struct rvu *rvu, int blktype, u1 argument 1378 rvu_detach_block(struct rvu *rvu, int pcifunc, int blktype) rvu_detach_block() argument 1516 rvu_get_attach_blkaddr(struct rvu *rvu, int blktype, u16 pcifunc, struct rsrc_attach *attach) rvu_get_attach_blkaddr() argument 1543 rvu_attach_block(struct rvu *rvu, int pcifunc, int blktype, int num_lfs, struct rsrc_attach *attach) rvu_attach_block() argument 1692 rvu_attach_from_same_block(struct rvu *rvu, int blktype, struct rsrc_attach *attach) rvu_attach_from_same_block() argument [all...] |
H A D | rvu.h | 753 bool is_pffunc_map_valid(struct rvu *rvu, u16 pcifunc, int blktype); 756 int rvu_get_blkaddr(struct rvu *rvu, int blktype, u16 pcifunc); 759 int rvu_get_blkaddr_from_slot(struct rvu *rvu, int blktype, u16 pcifunc,
|
H A D | rvu_debugfs.c | 945 int blktype) in rvu_dbg_qsize_display() 957 switch (blktype) { in rvu_dbg_qsize_display() 972 if (blktype == BLKTYPE_NPA) { in rvu_dbg_qsize_display() 991 loff_t *ppos, int blktype) in rvu_dbg_qsize_write() 993 char *blk_string = (blktype == BLKTYPE_NPA) ? "npa" : "nix"; in rvu_dbg_qsize_write() 1025 if (blktype == BLKTYPE_NPA) { in rvu_dbg_qsize_write() 1037 if (blktype == BLKTYPE_NPA) in rvu_dbg_qsize_write() 944 rvu_dbg_qsize_display(struct seq_file *filp, void *unsused, int blktype) rvu_dbg_qsize_display() argument 989 rvu_dbg_qsize_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos, int blktype) rvu_dbg_qsize_write() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu.c | 224 int rvu_get_blkaddr(struct rvu *rvu, int blktype, u16 pcifunc) in rvu_get_blkaddr() argument 230 switch (blktype) { in rvu_get_blkaddr() 272 if (blktype == BLKTYPE_NIX) { in rvu_get_blkaddr() 280 if (blktype == BLKTYPE_CPT) { in rvu_get_blkaddr() 1066 static bool is_blktype_attached(struct rvu_pfvf *pfvf, int blktype) in is_blktype_attached() argument 1068 switch (blktype) { in is_blktype_attached() 1086 bool is_pffunc_map_valid(struct rvu *rvu, u16 pcifunc, int blktype) in is_pffunc_map_valid() argument 1095 /* Check if this PFFUNC has a LF of type blktype attached */ in is_pffunc_map_valid() 1096 if (!is_blktype_attached(pfvf, blktype)) in is_pffunc_map_valid() 1123 static void rvu_detach_block(struct rvu *rvu, int pcifunc, int blktype) in rvu_detach_block() argument 1245 rvu_get_attach_blkaddr(struct rvu *rvu, int blktype, u16 pcifunc) rvu_get_attach_blkaddr() argument 1263 rvu_attach_block(struct rvu *rvu, int pcifunc, int blktype, int num_lfs) rvu_attach_block() argument [all...] |
H A D | rvu_debugfs.c | 315 static bool rvu_dbg_is_valid_lf(struct rvu *rvu, int blktype, int lf, in rvu_dbg_is_valid_lf() argument 322 blkaddr = rvu_get_blkaddr(rvu, blktype, 0); in rvu_dbg_is_valid_lf() 324 dev_warn(rvu->dev, "Invalid blktype\n"); in rvu_dbg_is_valid_lf() 378 int blktype) in rvu_dbg_qsize_display() 388 switch (blktype) { in rvu_dbg_qsize_display() 403 if (!rvu_dbg_is_valid_lf(rvu, blktype, qsize_id, &pcifunc)) in rvu_dbg_qsize_display() 414 loff_t *ppos, int blktype) in rvu_dbg_qsize_write() 416 char *blk_string = (blktype == BLKTYPE_NPA) ? "npa" : "nix"; in rvu_dbg_qsize_write() 446 if (!rvu_dbg_is_valid_lf(rvu, blktype, lf, &pcifunc)) { in rvu_dbg_qsize_write() 450 if (blktype in rvu_dbg_qsize_write() 377 rvu_dbg_qsize_display(struct seq_file *filp, void *unsused, int blktype) rvu_dbg_qsize_display() argument 412 rvu_dbg_qsize_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos, int blktype) rvu_dbg_qsize_write() argument [all...] |
H A D | rvu.h | 442 bool is_pffunc_map_valid(struct rvu *rvu, u16 pcifunc, int blktype); 445 int rvu_get_blkaddr(struct rvu *rvu, int blktype, u16 pcifunc);
|
/kernel/linux/linux-5.10/drivers/lightnvm/ |
H A D | core.c | 960 int ret, blk, pl, offset, blktype; in nvm_bb_to_chunk() local 964 blktype = blks[offset]; in nvm_bb_to_chunk() 969 blktype = blks[offset + pl]; in nvm_bb_to_chunk() 982 if (blktype == NVM_BLK_T_FREE) { in nvm_bb_to_chunk()
|