Searched refs:dffd (Results 1 – 2 of 2) sorted by relevance
/dragonfly/test/stress/stress2/lib/ |
H A D | resources.c | 51 static int dffd; variable 170 if ((dffd = open(dfpath, O_RDWR, 0644)) == -1) { in getdf() 171 if ((dffd = open(dfpath, in getdf() 181 if (write(dffd, buf, strlen(buf) + 1) != strlen(buf) +1) in getdf() 184 if (read(dffd, buf, sizeof(buf)) < 1) { in getdf() 191 close(dffd); in getdf() 201 if ((dffd = open(dfpath, O_RDWR, 0644)) == -1) { in reservedf() 205 if (read(dffd, buf, sizeof(buf)) < 1) { in reservedf() 220 if (lseek(dffd, 0, 0) == -1) in reservedf() 222 if (write(dffd, buf, strlen(buf) + 1) != strlen(buf) +1) in reservedf() [all …]
|
/dragonfly/contrib/libarchive/libarchive/ |
H A D | archive_write_disk_posix.c | 4148 copy_xattrs(struct archive_write_disk *a, int tmpfd, int dffd) in copy_xattrs() argument 4204 f = fsetxattr(dffd, xattr_names + xattr_i, xattr_val, s, 0, 0); in copy_xattrs() 4220 copy_acls(struct archive_write_disk *a, int tmpfd, int dffd) in copy_acls() argument 4239 acl_r = acl_set_fd(dffd, dfacl); in copy_acls() 4290 int dffd, tmpfd; in copy_metadata() local 4301 dffd = open(datafork, 0); in copy_metadata() 4302 if (dffd == -1) { in copy_metadata() 4310 ret = copy_xattrs(a, tmpfd, dffd); in copy_metadata() 4313 ret = copy_acls(a, tmpfd, dffd); in copy_metadata() 4315 close(dffd); in copy_metadata()
|