Searched refs:i_minor (Results 1 – 2 of 2) sorted by relevance
1833 int i_minor; in ipath_assign_port() local1867 i_minor = iminor(fp->f_path.dentry->d_inode) - IPATH_USER_MINOR_BASE; in ipath_assign_port()1869 (long)fp->f_path.dentry->d_inode->i_rdev, i_minor); in ipath_assign_port()1871 if (i_minor) in ipath_assign_port()1872 ret = find_free_port(i_minor - 1, fp, uinfo); in ipath_assign_port()
1488 int i_minor; in qib_assign_ctxt() local1521 i_minor = iminor(fp->f_dentry->d_inode) - QIB_USER_MINOR_BASE; in qib_assign_ctxt()1522 if (i_minor) in qib_assign_ctxt()1523 ret = find_free_ctxt(i_minor - 1, fp, uinfo); in qib_assign_ctxt()