Home
last modified time | relevance | path

Searched refs:fd_type (Results 1 – 21 of 21) sorted by relevance

/freebsd/usr.sbin/fdread/
H A Dfdutil.c90 static struct fd_type fd_types_auto[1] =
94 static struct fd_type fd_types_288m[] = {
108 static struct fd_type fd_types_144m[] = {
119 static struct fd_type fd_types_12m[] = {
132 static struct fd_type fd_types_720k[] =
138 static struct fd_type fd_types_360k[] =
169 struct fd_type in, struct fd_type *out) in parse_fmt()
346 print_fmt(struct fd_type in) in print_fmt()
379 struct fd_type *
383 struct fd_type *fdtp; in get_fmt()
[all …]
H A Dfdutil.h32 struct fd_type, struct fd_type *);
33 struct fd_type *get_fmt(int, enum fd_drivetype);
34 void print_fmt(struct fd_type);
H A Dfdread.c165 struct fd_type fdt; in doread()
308 struct fd_type fdt; in doreadid()
/freebsd/sys/fs/fdescfs/
H A Dfdesc_vnops.c186 fd->fd_type = ftype; in fdesc_allocvp()
308 if (VTOFDESC(dvp)->fd_type != Froot) { in fdesc_lookup()
385 if (VTOFDESC(vp)->fd_type == Froot) in fdesc_open()
411 if (VTOFDESC(vp)->fd_type == Froot) in fdesc_pathconf()
417 if (VTOFDESC(vp)->fd_type == Froot) in fdesc_pathconf()
451 switch (VTOFDESC(vp)->fd_type) { in fdesc_getattr()
491 if (VTOFDESC(ap->a_vp)->fd_type == Froot) in fdesc_setattr()
544 if (VTOFDESC(ap->a_vp)->fd_type != Froot) in fdesc_readdir()
635 if (VTOFDESC(vn)->fd_type != Fdesc) in fdesc_readlink()
H A Dfdesc.h60 fdntype fd_type; /* Type of this node */ member
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_rdma_core.c337 const struct uverbs_obj_fd_type *fd_type; in lookup_get_fd_uobject()
350 fd_type = in lookup_get_fd_uobject()
363 if (f->f_op != fd_type->fops) { in lookup_get_fd_uobject()
456 const struct uverbs_obj_fd_type *fd_type = in alloc_begin_fd_uobject()
462 if (WARN_ON(fd_type->fops->release != &uverbs_uobject_fd_release)) in alloc_begin_fd_uobject()
474 filp = alloc_file(fd_type->flags, fd_type->fops); in alloc_begin_fd_uobject()
563 const struct uverbs_obj_fd_type *fd_type = container_of( in destroy_hw_fd_uobject()
565 int ret = fd_type->destroy_object(uobj, why); in destroy_hw_fd_uobject() local
339 const struct uverbs_obj_fd_type *fd_type; lookup_get_fd_uobject() local
458 const struct uverbs_obj_fd_type *fd_type = alloc_begin_fd_uobject() local
/freebsd/sys/sys/
H A Dfdcio.h83 struct fd_type { struct
127 #define FD_GTYPE _IOR('F', 62, struct fd_type) /* get drive type */
128 #define FD_STYPE _IOW('F', 63, struct fd_type) /* set drive type */
/freebsd/sbin/ipf/libipf/
H A Dprint_toif.c16 switch (fdp->fd_type) in print_toif()
42 PRINTF("%s <%d>", tag, fdp->fd_type); in print_toif()
H A Dload_dstlistnode.c42 dst->fd_type = node->ipfd_dest.fd_type; in load_dstlistnode()
/freebsd/sys/dev/fdc/
H A Dfdc.c136 static struct fd_type fd_searchlist_360k[] = {
141 static struct fd_type fd_searchlist_12m[] = {
148 static struct fd_type fd_searchlist_720k[] = {
153 static struct fd_type fd_searchlist_144m[] = {
159 static struct fd_type fd_searchlist_288m[] = {
171 static struct fd_type *fd_native_types[] = {
242 struct fd_type *ft; /* pointer to current type descriptor */
243 struct fd_type fts; /* type descriptors */
298 fdprinttype(struct fd_type *ft) in fdprinttype()
308 fdsettype(struct fd_data *fd, struct fd_type *ft) in fdsettype()
[all …]
/freebsd/contrib/ofed/librdmacm/
H A Dpreload.c104 enum fd_type { enum
118 enum fd_type type;
285 static void fd_store(int index, int fd, enum fd_type type, enum fd_fork_state state) in fd_store()
295 static inline enum fd_type fd_get(int index, int *fd) in fd_get()
326 static inline enum fd_type fd_gett(int index) in fd_gett()
334 static enum fd_type fd_close(int index, int *fd) in fd_close()
337 enum fd_type type; in fd_close()
479 static int transpose_socket(int socket, enum fd_type new_type) in transpose_socket()
746 static inline enum fd_type fd_fork_get(int index, int *fd) in fd_fork_get()
/freebsd/usr.sbin/fdcontrol/
H A Dfdcontrol.c73 struct fd_type ft, newft, *fdtp; in main()
/freebsd/usr.sbin/fdwrite/
H A Dfdwrite.c71 struct fd_type fdt; in main()
/freebsd/usr.sbin/fdformat/
H A Dfdformat.c142 struct fd_type fdt, newft, *fdtp; in main()
/freebsd/sbin/ipf/ipftest/
H A Dip_fil.c388 (fdp->fd_type == FRD_DSTLIST)) {
/freebsd/sbin/ipf/common/
H A Dipf_y.y639 fr->fr_dif.fd_type = FRD_DSTLIST;
669 fr->fr_tif.fd_type = FRD_DSTLIST;
697 fr->fr_rif.fd_type = FRD_DSTLIST;
/freebsd/sbin/newfs_msdos/
H A Dmkfs_msdos.c930 struct fd_type type; in getdiskinfo()
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_fil_freebsd.c712 (fdp->fd_type == FRD_DSTLIST)) { in ipf_fastroute()
H A Dip_state.c1806 if (fdp->fd_type == FRD_DSTLIST) { in ipf_state_add()
1814 if (fdp->fd_type == FRD_DSTLIST) { in ipf_state_add()
1823 if (fdp->fd_type == FRD_DSTLIST) { in ipf_state_add()
H A Dip_fil.h516 fr_dtypes_t fd_type; member
H A Dfil.c5418 if (fdp->fd_type == FRD_DSTLIST) in ipf_derefrule()
5422 if (fdp->fd_type == FRD_DSTLIST) in ipf_derefrule()
5426 if (fdp->fd_type == FRD_DSTLIST) in ipf_derefrule()
7282 if (fdp->fd_type == FRD_DSTLIST) {