Lines Matching refs:printh
64 function printh(s) {print s > hfile;} function
190 printh(common_head "extern struct vnodeop_desc vop_default_desc;");
191 printh("#include \"vnode_if_typedef.h\"")
192 printh("#include \"vnode_if_newproto.h\"")
319 printh("struct "name"_args {\n\tstruct vop_generic_args a_gen;");
321 printh("\t" t_spc(types[i]) "a_" args[i] ";");
322 printh("};");
323 printh("");
326 printh("extern struct vnodeop_desc " name "_desc;");
327 printh("");
330 printh("int " uname "_AP(struct " name "_args *);");
331 printh("int " uname "_APV(struct vop_vector *vop, struct " name "_args *);");
332 printh("");
333 printh("static __inline int " uname "(");
335 printh("\t" t_spc(types[i]) args[i] \
338 printh("{");
339 printh("\tstruct " name "_args a;");
340 printh("");
341 printh("\ta.a_gen.a_desc = &" name "_desc;");
343 printh("\ta.a_" args[i] " = " args[i] ";");
345 printh("\n#if !defined(DEBUG_VFS_LOCKS) && !defined(INVARIANTS) && !defined(KTR)");
346 printh("\tif (!SDT_PROBES_ENABLED())");
347 printh("\t\treturn (" args[0]"->v_op->"name"(&a));");
348 printh("\telse");
349 printh("\t\treturn (" uname "_APV("args[0]"->v_op, &a));");
350 printh("#else");
352 printh("\treturn (" uname "_APV("args[0]"->v_op, &a));");
354 printh("#endif");
356 printh("}");
358 printh("");
500 printh("void vfs_vector_op_register(struct vop_vector *orig_vop);");