Lines Matching defs:cn
523 struct componentname cn;
533 cn.cn_nameiop = DELETE;
534 cn.cn_flags = ISLASTCN;
535 cn.cn_context = context;
536 cn.cn_pnbuf = tmpname;
537 cn.cn_pnlen = sizeof(tmpname);
538 cn.cn_nameptr = cn.cn_pnbuf;
539 cn.cn_namelen = strlen(tmpname);
547 (void) VNOP_REMOVE(dvp, svp, &cn, 0, context);
639 struct componentname cn;
653 bzero(&cn, sizeof(cn));
654 cn.cn_nameiop = LOOKUP;
655 cn.cn_flags = ISLASTCN | CN_ALLOWRSRCFORK;
656 cn.cn_context = context;
657 cn.cn_pnbuf = tmpname;
658 cn.cn_pnlen = sizeof(tmpname);
659 cn.cn_nameptr = cn.cn_pnbuf;
660 cn.cn_namelen = strlen(tmpname);
662 if (VNOP_LOOKUP (shadow_dvp, &shadowfile, &cn, context) == 0) {
685 struct componentname cn;
696 bzero(&cn, sizeof(cn));
697 cn.cn_nameiop = LOOKUP;
698 cn.cn_flags = ISLASTCN;
699 cn.cn_context = context;
700 cn.cn_pnbuf = tmpname;
701 cn.cn_pnlen = sizeof(tmpname);
702 cn.cn_nameptr = cn.cn_pnbuf;
703 cn.cn_namelen = strlen(tmpname);
732 if (VNOP_LOOKUP(dvp, &svp, &cn, context) == 0) {
769 error = VNOP_CREATE(dvp, &svp, &cn, &va, context);
775 error = VNOP_LOOKUP(dvp, &svp, &cn, context);
1021 struct componentname cn;
1063 bzero(&cn, sizeof(cn));
1064 cn.cn_nameiop = LOOKUP;
1065 cn.cn_flags = ISLASTCN;
1066 cn.cn_context = context;
1067 cn.cn_pnbuf = tmpname;
1068 cn.cn_pnlen = sizeof(tmpname);
1069 cn.cn_nameptr = cn.cn_pnbuf;
1070 cn.cn_namelen = strlen(tmpname);
1083 error = VNOP_MKDIR(dvp, &sdvp, &cn, &va, context);
1090 error = VNOP_LOOKUP(dvp, &sdvp, &cn, context);