Lines Matching defs:fp
64 * - processes have the same fp.
84 file_t *fp;
95 fp = getf(pdp->pd_fd);
96 if (fp == NULL) {
101 if (fp != pdp->pd_fp) {
138 * The fd and the fp are used to detect a valid entry.
140 * the fd and the fp in the args match the entries in polldat_t.
143 port_cache_lookup_fp(port_fdcache_t *pcp, int fd, file_t *fp)
152 if (pdp->pd_fd == fd && pdp->pd_fp == fp)
185 file_t *fp;
197 if ((fp = getf(fd)) == NULL)
223 /* Check if the fd/fp is already associated with the port */
224 pfd = port_cache_lookup_fp(pcp, fd, fp);
238 pdp->pd_fp = fp;
318 error = VOP_POLL(fp->f_vnode, events, 0, &revents, &php, NULL);
333 if (((pfd = port_cache_lookup_fp(pcp, fd, fp)) == NULL) ||
369 if (((pfd = port_cache_lookup_fp(pcp, fd, fp)) == NULL) ||
448 file_t *fp;
464 if ((fp = getf(fd)) == NULL) {
468 pfd = port_cache_lookup_fp(pcp, fd, fp);
526 file_t *fp;
545 fp = pdp->pd_fp;
547 error = VOP_POLL(fp->f_vnode, pdp->pd_events, 0, revents, php, NULL);
613 file_t *fp;
618 fp = getf(fd = pdp->pd_fd);
620 * If we did not get the fp for pd_fd but its portfd_t
624 if (fp != NULL) {