Lines Matching refs:printh
65 function printh(s) {print s > hfile;} function
193 printh(common_head "extern struct vnodeop_desc vop_default_desc;");
194 printh("#include \"vnode_if_typedef.h\"")
195 printh("#include \"vnode_if_newproto.h\"")
322 printh("struct "name"_args {\n\tstruct vop_generic_args a_gen;");
324 printh("\t" t_spc(types[i]) "a_" args[i] ";");
325 printh("};");
326 printh("");
329 printh("extern struct vnodeop_desc " name "_desc;");
330 printh("");
333 printh("int " uname "_AP(struct " name "_args *);");
334 printh("int " uname "_APV(struct vop_vector *vop, struct " name "_args *);");
335 printh("");
336 printh("static __inline int " uname "(");
338 printh("\t" t_spc(types[i]) args[i] \
341 printh("{");
342 printh("\tstruct " name "_args a;");
343 printh("");
344 printh("\ta.a_gen.a_desc = &" name "_desc;");
346 printh("\ta.a_" args[i] " = " args[i] ";");
348 printh("\n#if !defined(DEBUG_VFS_LOCKS) && !defined(INVARIANTS) && !defined(KTR)");
349 printh("\tif (!SDT_PROBES_ENABLED())");
350 printh("\t\treturn (" args[0]"->v_op->"name"(&a));");
351 printh("\telse");
352 printh("\t\treturn (" uname "_APV("args[0]"->v_op, &a));");
353 printh("#else");
355 printh("\treturn (" uname "_APV("args[0]"->v_op, &a));");
357 printh("#endif");
359 printh("}");
361 printh("");
501 printh("void vfs_vector_op_register(struct vop_vector *orig_vop);");