Lines Matching defs:mn_root
3190 * If mn_root is not NULL, mn_root is set to:
3191 * if contents is a /dev node, mn_root = contents
3193 * if contents is a /devices node, mn_root set to the '/'
3197 is_minor_node(const char *contents, const char **mn_root)
3205 /* mn_root should point to the / following /devices */
3206 if (mn_root != NULL) {
3207 *mn_root = ptr += strlen(prefix) - 1;
3216 /* mn_root should point to the / following /devices/ */
3217 if (mn_root != NULL) {
3218 *mn_root = contents + strlen(prefix) - 1;
3223 if (mn_root != NULL) {
3224 *mn_root = contents;