Lines Matching refs:pathname
48 char *pathname; member
548 user_rec->pathname = in usb_get_conf_rec()
660 } else if (user_rec->pathname) { in usb_cmp_rec()
661 if (cfg_rec->pathname) { in usb_cmp_rec()
672 ustr = strrchr(user_rec->pathname, '/'); in usb_cmp_rec()
673 cstr = strrchr(cfg_rec->pathname, '/'); in usb_cmp_rec()
674 path = (strncmp(cfg_rec->pathname, in usb_cmp_rec()
675 user_rec->pathname, in usb_cmp_rec()
676 MAX(ustr - user_rec->pathname, in usb_cmp_rec()
677 cstr - cfg_rec->pathname)) == 0); in usb_cmp_rec()
678 path = path && (*(user_rec->pathname + in usb_cmp_rec()
679 strlen(user_rec->pathname) -1) == in usb_cmp_rec()
680 *(cfg_rec->pathname + in usb_cmp_rec()
681 strlen(cfg_rec->pathname) - 1)); in usb_cmp_rec()
687 } else if (cfg_rec->serialno || cfg_rec->pathname) { in usb_cmp_rec()
716 free(rec->pathname); in usb_free_rec()
753 cfgrec.pathname = path; in add_entry()
836 if (user_rec->pathname) { in add_entry()
838 "pathname=\"%s\" ", user_rec->pathname); in add_entry()
897 if (cfgrec.pathname != NULL) { in add_entry()
899 "pathname=\"%s\" ", cfgrec.pathname); in add_entry()