Lines Matching refs:type
47 int type; /* Type of packet */
103 static inline void set_autofs_type_indirect(unsigned int *type)
105 *type = AUTOFS_TYPE_INDIRECT;
108 static inline unsigned int autofs_type_indirect(unsigned int type)
110 return (type == AUTOFS_TYPE_INDIRECT);
113 static inline void set_autofs_type_direct(unsigned int *type)
115 *type = AUTOFS_TYPE_DIRECT;
118 static inline unsigned int autofs_type_direct(unsigned int type)
120 return (type == AUTOFS_TYPE_DIRECT);
123 static inline void set_autofs_type_offset(unsigned int *type)
125 *type = AUTOFS_TYPE_OFFSET;
128 static inline unsigned int autofs_type_offset(unsigned int type)
130 return (type == AUTOFS_TYPE_OFFSET);
133 static inline unsigned int autofs_type_trigger(unsigned int type)
135 return (type == AUTOFS_TYPE_DIRECT || type == AUTOFS_TYPE_OFFSET);
139 * This isn't really a type as we use it to say "no type set" to
143 static inline void set_autofs_type_any(unsigned int *type)
145 *type = AUTOFS_TYPE_ANY;
148 static inline unsigned int autofs_type_any(unsigned int type)
150 return (type == AUTOFS_TYPE_ANY);