Lines Matching refs:pb_com_path
24 char *pb_com_path = NULL; variable
105 pb_com_path = (char*)bs_calloc(10 + strlen(s) + UserNameLength, sizeof(char)); in pb_create_com_folder()
107 sprintf(pb_com_path, "/tmp/bs_%s", UserName); in pb_create_com_folder()
113 if (bs_createfolder(pb_com_path) != 0) { in pb_create_com_folder()
114 free(pb_com_path); in pb_create_com_folder()
115 pb_com_path = NULL; in pb_create_com_folder()
118 sprintf(&pb_com_path[8+UserNameLength], "/%s", s); in pb_create_com_folder()
119 if (bs_createfolder(pb_com_path) != 0) { in pb_create_com_folder()
120 free(pb_com_path); in pb_create_com_folder()
121 pb_com_path = NULL; in pb_create_com_folder()
241 sprintf(this->lock_path, "%s/%s.phy.lock", pb_com_path, phy_id); in phy_test_and_create_lock_file()
256 sprintf(this->lock_path, "%s/%s.d%i.lock", pb_com_path, phy_id, dev_nbr); in pb_device_test_and_create_lock_file()
310 sprintf(this->ff_path_dtp[d], "%s/%s.d%i.dtp", pb_com_path, p, d); in pb_phy_initcom()
311 sprintf(this->ff_path_ptd[d], "%s/%s.d%i.ptd", pb_com_path, p, d); in pb_phy_initcom()
376 if (pb_com_path) { in pb_phy_disconnect_devices()
377 rmdir(pb_com_path); in pb_phy_disconnect_devices()
378 free(pb_com_path); in pb_phy_disconnect_devices()
379 pb_com_path = NULL; in pb_phy_disconnect_devices()
497 sprintf(this->ff_path_dtp, "%s/%s.d%i.dtp", pb_com_path, p, d); in pb_dev_init_com()
498 sprintf(this->ff_path_ptd, "%s/%s.d%i.ptd", pb_com_path, p, d); in pb_dev_init_com()
578 if (pb_com_path != NULL) { in pb_dev_clean_up()
579 rmdir(pb_com_path); in pb_dev_clean_up()
580 free(pb_com_path); in pb_dev_clean_up()
581 pb_com_path = NULL; in pb_dev_clean_up()