Lines Matching refs:fileName
189 const char *fileName) in addHardLinkInfo() argument
194 hlInfo = xmalloc(sizeof(HardLinkInfo) + strlen(fileName)); in addHardLinkInfo()
200 strcpy(hlInfo->name, fileName); in addHardLinkInfo()
303 const char *header_name, const char *fileName, struct stat *statbuf) in writeTarHeader() argument
335 char *lpath = xmalloc_readlink_or_warn(fileName); in writeTarHeader()
402 fileName, statbuf->st_size); in writeTarHeader()
406 bb_error_msg("%s: unknown file type", fileName); in writeTarHeader()
468 const char *fileName, in writeFileToTarball() argument
475 DBG("writeFileToTarball('%s')", fileName); in writeFileToTarball()
478 header_name = strip_unsafe_prefix(fileName); in writeFileToTarball()
488 bb_error_msg("%s: socket ignored", fileName); in writeFileToTarball()
515 bb_error_msg("%s: file is the archive; skipping", fileName); in writeFileToTarball()
529 inputFileFd = open_or_warn(fileName, O_RDONLY); in writeFileToTarball()
536 if (writeTarHeader(tbInfo, header_name, fileName, statbuf) == FALSE) { in writeFileToTarball()