Lines Matching defs:newlock
792 dav_lock *newlock;
814 newlock = dav_generic_alloc_lock(lockdb, key, dp->locktoken);
815 newlock->is_locknull = !resource->exists;
816 newlock->scope = dp->f.scope;
817 newlock->type = dp->f.type;
818 newlock->depth = dp->f.depth;
819 newlock->timeout = dp->f.timeout;
820 newlock->owner = dp->owner;
821 newlock->auth_user = dp->auth_user;
824 newlock->next = lock;
825 lock = newlock;
830 newlock = dav_generic_alloc_lock(lockdb, ip->key, ip->locktoken);
831 newlock->is_locknull = !resource->exists;
840 newlock->scope = dp->f.scope;
841 newlock->type = dp->f.type;
842 newlock->depth = dp->f.depth;
843 newlock->timeout = dp->f.timeout;
844 newlock->owner = dp->owner;
845 newlock->auth_user = dp->auth_user;
849 newlock->rectype = DAV_LOCKREC_INDIRECT_PARTIAL;
853 newlock->next = lock;
854 lock = newlock;
1115 dav_lock *newlock;
1132 newlock = dav_generic_alloc_lock(lockdb, key, dp_scan->locktoken);
1133 newlock->is_locknull = !resource->exists;
1134 newlock->scope = dp_scan->f.scope;
1135 newlock->type = dp_scan->f.type;
1136 newlock->depth = dp_scan->f.depth;
1137 newlock->timeout = dp_scan->f.timeout;
1138 newlock->owner = dp_scan->owner;
1139 newlock->auth_user = dp_scan->auth_user;
1141 newlock->next = *locks;
1142 *locks = newlock;
1167 newlock = dav_generic_alloc_lock(lockdb, ip->key, dp->locktoken);
1168 newlock->is_locknull = !resource->exists;
1169 newlock->scope = dp->f.scope;
1170 newlock->type = dp->f.type;
1171 newlock->depth = dp->f.depth;
1172 newlock->timeout = dp->f.timeout;
1173 newlock->owner = dp->owner;
1174 newlock->auth_user = dp_scan->auth_user;
1176 newlock->next = *locks;
1177 *locks = newlock;