Home
last modified time | relevance | path

Searched refs:i_minor (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/infiniband/hw/ipath/
Dipath_file_ops.c1833 int i_minor; in ipath_assign_port() local
1867 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()
/linux-3.4.99/drivers/infiniband/hw/qib/
Dqib_file_ops.c1488 int i_minor; in qib_assign_ctxt() local
1521 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()