Searched refs:tfd (Results 26 - 42 of 42) sorted by relevance

12

/freebsd-current/sys/fs/tmpfs/
H A Dtmpfs_vfsops.c588 struct tmpfs_fid_data tfd; local
593 if (fhp->fid_len != sizeof(tfd))
600 memcpy(&tfd, fhp->fid_data, fhp->fid_len);
604 if (tfd.tfd_id >= tmp->tm_nodes_max)
609 if (node->tn_id == tfd.tfd_id &&
610 node->tn_gen == tfd.tfd_gen) {
H A Dtmpfs_vnops.c1687 struct tmpfs_fid_data tfd; local
1693 fhp->fid_len = sizeof(tfd);
1699 tfd.tfd_id = node->tn_id;
1700 tfd.tfd_gen = node->tn_gen;
1701 memcpy(fhp->fid_data, &tfd, fhp->fid_len);
/freebsd-current/usr.sbin/rpc.yppasswdd/
H A Dyppasswdd_server.c473 int pfd, tfd; local
633 if ((tfd = pw_tmp(-1)) == -1) {
638 if (pw_copy(pfd, tfd, &yp_password, NULL) == -1) {
739 int pfd, tfd; local
861 if ((tfd = pw_tmp(-1)) == -1) {
867 if (pw_copy(pfd, tfd, &newpasswd, NULL) == -1) {
/freebsd-current/contrib/file/src/
H A Dcompress.c477 int tfd; local
497 tfd = open(ptr, O_RDWR|O_TRUNC|O_EXCL|O_CREAT, 0600);
506 tfd = mkstemp(buf);
513 if (tfd == -1) {
519 if (swrite(tfd, startbuf, nbytes) != CAST(ssize_t, nbytes))
523 if (swrite(tfd, buf, CAST(size_t, r)) != r)
543 if ((fd = dup2(tfd, fd)) == -1) {
547 (void)close(tfd);
/freebsd-current/lib/libpam/modules/pam_unix/
H A Dpam_unix.c292 int pfd, tfd, retval; local
418 else if ((tfd = pw_tmp(-1)) == -1)
420 else if (pw_copy(pfd, tfd, pwd, old_pwd) == -1)
/freebsd-current/usr.sbin/lpr/lpd/
H A Dprintjob.c93 static int tfd = -1; /* output filter temp file output */ variable
1027 tfd = -1;
1087 tfd = mkstemp(tfile);
1088 if (tfd == -1) {
1094 filtstat = execfilter(pp, filtcmd, av, sfd, tfd);
1113 statrc = fstat(tfd, &stb); /* to find size of tfile */
1122 sfd = tfd;
1211 if (tfd != -1) {
1213 * If tfd is set, then it is the same value as sfd, and
1217 tfd
[all...]
/freebsd-current/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c735 int tfd = -1; local
744 if ((tfd = open(newname, O_RDWR | O_CREAT | O_TRUNC, st.st_mode)) < 0)
746 if ((telf = elf_begin(tfd, ELF_C_WRITE, NULL)) == NULL)
772 (void) close(tfd);
/freebsd-current/usr.sbin/pwd_mkdb/
H A Dpwd_mkdb.c92 int ch, cnt, ypcnt, makeold, tfd, yp_enabled = 0; local
298 if ((tfd = open(buf,
301 if ((oldfp = fdopen(tfd, "w")) == NULL)
/freebsd-current/contrib/sendmail/src/
H A Dqueue.c358 int tfd = -1; local
379 tfd = open(tf, TF_OPEN_FLAGS, QueueFileMode); \
400 if (tfd < 0 ||
402 !lockfile(tfd, tf, NULL, LOCK_EX|LOCK_NB) ||
405 (void *) &tfd, SM_IO_WRONLY,
413 tf, (long) geteuid(), tfd, (void *)tfp);
426 if (tfd < 0)
429 if (tfd < 0)
444 if (tfd >= 0)
450 if (lockfile(tfd, t
[all...]
/freebsd-current/contrib/elftoolchain/elfcopy/
H A Dmain.c653 int efd, ifd, ofd, ofd0, tfd; local
851 &tfd, in_place) < 0) {
860 ofd = tfd;
/freebsd-current/sys/contrib/dev/iwlwifi/fw/api/
H A Dtx.h704 * @tfd: array of TFD queue status updates. See &iwl_mvm_compressed_ba_tfd
726 DECLARE_FLEX_ARRAY(struct iwl_mvm_compressed_ba_tfd, tfd);
/freebsd-current/sys/contrib/dev/iwlwifi/
H A Diwl-trans.h174 #define IWL_TRANS_MAX_FRAGS(trans) ((trans)->txqs.tfd.max_tbs - 3)
1033 } tfd; member in struct:iwl_trans_txqs
/freebsd-current/contrib/bmake/
H A Djob.c1632 int tfd; /* File descriptor to the temp file */ local
1634 tfd = Job_TempFile(TMPPAT, tfile, sizeof tfile);
1636 job->cmdFILE = fdopen(tfd, "w+");
/freebsd-current/sys/dev/stge/
H A Dif_stge.c1068 struct stge_tfd *tfd; local
1116 tfd = &sc->sc_rdata.stge_tx_ring[si];
1118 tfd->tfd_frags[i].frag_word0 =
1134 tfd->tfd_control = htole64(tfc);
/freebsd-current/sys/contrib/dev/iwlwifi/pcie/
H A Dtrans.c3100 static u32 iwl_trans_pcie_get_cmdlen(struct iwl_trans *trans, void *tfd) argument
3105 for (i = 0; i < trans->txqs.tfd.max_tbs; i++)
3106 cmdlen += iwl_txq_gen1_tfd_tb_get_len(trans, tfd, i);
3443 u16 tfd_size = trans->txqs.tfd.size;
3681 addr_size = trans->txqs.tfd.addr_size;
/freebsd-current/sys/contrib/dev/iwlwifi/mvm/
H A Dtx.c2102 struct_size(ba_res, tfd, tfd_cnt) > pkt_len,
2122 &ba_res->tfd[i];
/freebsd-current/sys/dev/ahci/
H A Dahci.c1436 //device_printf(dev, "%s ERROR is %08x cs %08x ss %08x rs %08x tfd %02x serr %08x fbs %08x ccs %d\n",
1793 "rs %08x tfd %02x serr %08x cmd %08x\n",
1889 device_printf(dev, "is %08x cs %08x ss %08x rs %08x tfd %02x "
1964 uint16_t tfd = ATA_INL(ch->r_mem, AHCI_P_TFD); local
1966 res->status = tfd;
1967 res->error = tfd >> 8;
2414 "(tfd = %08x)\n",

Completed in 336 milliseconds

12