Lines Matching refs:type
38 static __inline__ void set_autofs_type_indirect(unsigned int *type)
40 *type = AUTOFS_TYPE_INDIRECT;
44 static __inline__ unsigned int autofs_type_indirect(unsigned int type)
46 return (type == AUTOFS_TYPE_INDIRECT);
49 static __inline__ void set_autofs_type_direct(unsigned int *type)
51 *type = AUTOFS_TYPE_DIRECT;
55 static __inline__ unsigned int autofs_type_direct(unsigned int type)
57 return (type == AUTOFS_TYPE_DIRECT);
60 static __inline__ void set_autofs_type_offset(unsigned int *type)
62 *type = AUTOFS_TYPE_OFFSET;
66 static __inline__ unsigned int autofs_type_offset(unsigned int type)
68 return (type == AUTOFS_TYPE_OFFSET);
71 static __inline__ unsigned int autofs_type_trigger(unsigned int type)
73 return (type == AUTOFS_TYPE_DIRECT || type == AUTOFS_TYPE_OFFSET);
77 * This isn't really a type as we use it to say "no type set" to
81 static __inline__ void set_autofs_type_any(unsigned int *type)
83 *type = AUTOFS_TYPE_ANY;
87 static __inline__ unsigned int autofs_type_any(unsigned int type)
89 return (type == AUTOFS_TYPE_ANY);