Lines Matching refs:len
107 wq->wait_queue_token, wq->name.len, wq->name.name, type); in autofs4_notify_daemon()
122 mp->len = wq->name.len; in autofs4_notify_daemon()
123 memcpy(mp->name, wq->name.name, wq->name.len); in autofs4_notify_daemon()
124 mp->name[wq->name.len] = '\0'; in autofs4_notify_daemon()
134 ep->len = wq->name.len; in autofs4_notify_daemon()
135 memcpy(ep->name, wq->name.name, wq->name.len); in autofs4_notify_daemon()
136 ep->name[wq->name.len] = '\0'; in autofs4_notify_daemon()
153 packet->len = wq->name.len; in autofs4_notify_daemon()
154 memcpy(packet->name, wq->name.name, wq->name.len); in autofs4_notify_daemon()
155 packet->name[wq->name.len] = '\0'; in autofs4_notify_daemon()
191 int len = 0; in autofs4_getpath() local
195 len += tmp->d_name.len + 1; in autofs4_getpath()
197 if (!len || --len > NAME_MAX) { in autofs4_getpath()
202 *(buf + len) = '\0'; in autofs4_getpath()
203 p = buf + len - dentry->d_name.len; in autofs4_getpath()
204 strncpy(p, dentry->d_name.name, dentry->d_name.len); in autofs4_getpath()
208 p -= tmp->d_name.len; in autofs4_getpath()
209 strncpy(p, tmp->d_name.name, tmp->d_name.len); in autofs4_getpath()
213 return len; in autofs4_getpath()
223 wq->name.len == qstr->len && in autofs4_find_wait()
225 !memcmp(wq->name.name, qstr->name, qstr->len)) in autofs4_find_wait()
352 qstr.len = sprintf(name, "%p", dentry); in autofs4_wait()
354 qstr.len = autofs4_getpath(sbi, dentry, &name); in autofs4_wait()
355 if (!qstr.len) { in autofs4_wait()
361 qstr.hash = full_name_hash(name, qstr.len); in autofs4_wait()
419 (unsigned long) wq->wait_queue_token, wq->name.len, in autofs4_wait()
429 (unsigned long) wq->wait_queue_token, wq->name.len, in autofs4_wait()