Lines Matching refs:fd
117 (*_ATgetmsg)(uap->fd, uap->ctlptr, uap->datptr,
143 _ATputmsg(uap->fd, uap->ctlptr, uap->datptr,
169 _ATPsndreq(uap->fd, uap->buf, uap->len,
195 _ATPsndrsp(uap->fd, uap->respbuff,
221 _ATPgetreq(uap->fd, uap->buf, uap->buflen,
247 _ATPgetrsp(uap->fd, (struct atpBDS *)uap->bdsp, &err, proc);
275 int err, fd;
281 if ((err = falloc_locked(proc, &fp, &fd, vfs_context_current(), 1)) != 0) {
294 procfdtbl_releasefd(proc, fd, NULL);
295 *retfd = fd;
296 fp_drop(proc, fd, fp, 1);
308 * as it converts fd to fileproc. Callers of this api who pass fp as null
311 int atalk_getref(fp, fd, grefp, proc, droponerr)
313 int fd;
321 error = atalk_getref_locked(fp, fd, grefp, proc, droponerr);
326 int atalk_getref_locked(fp, fd, grefp, proc, droponerr)
328 int fd;
335 int error = fp_lookup(proc, fd, &fp, 1);
346 fp_drop(proc, fd, fp, 1);
353 fp_drop(proc, fd, fp, 1);