Lines Matching refs:lock_path
240 this->lock_path = (char*) bs_calloc(flen, sizeof(char)); in phy_test_and_create_lock_file()
241 sprintf(this->lock_path, "%s/%s.phy.lock", pb_com_path, phy_id); in phy_test_and_create_lock_file()
243 int ret = pb_test_and_create_lock_file(this->lock_path); in phy_test_and_create_lock_file()
245 free(this->lock_path); in phy_test_and_create_lock_file()
246 this->lock_path = NULL; in phy_test_and_create_lock_file()
254 this->lock_path = (char*) bs_calloc(flen, sizeof(char)); in pb_device_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()
257 int ret = pb_test_and_create_lock_file(this->lock_path); in pb_device_test_and_create_lock_file()
259 free(this->lock_path); in pb_device_test_and_create_lock_file()
260 this->lock_path = NULL; in pb_device_test_and_create_lock_file()
293 this->lock_path = NULL; in pb_phy_initcom()
403 pb_remove_lock_file(&this->lock_path); in pb_phy_disconnect_devices()
553 pb_remove_lock_file(&this->lock_path); in pb_dev_clean_up()