Lines Matching defs:same
103 * to see if the two structures describe the same device.
104 * If the file modes are the same and they have the same
106 * are block or character devices and have the same major
107 * and minor device numbers (i.e. "mknod"s for the same
108 * device), it's the same device.
111 * TRUE if the two structures describe the same device
118 int same;
121 /* If the devices are of the same type ... */
125 * If they are described by the same inode on the same device,
126 * the two devices are the same. Otherwise, if the devices are
131 if ((x.st_dev == y.st_dev) && (x.st_ino == y.st_ino)) same = TRUE;
136 (minor(x.st_rdev) == minor(y.st_rdev))) same = TRUE;
137 else same = FALSE;
138 } else same = FALSE;
140 } else same = FALSE;
142 return (same);
903 * - Someday, add a cache so that repeated requests for the same record