• Home
  • Raw
  • Download

Lines Matching refs:len

106 		(unsigned long) wq->wait_queue_token, wq->name.len, wq->name.name, type);  in autofs4_notify_daemon()
128 mp->len = wq->name.len; in autofs4_notify_daemon()
129 memcpy(mp->name, wq->name.name, wq->name.len); in autofs4_notify_daemon()
130 mp->name[wq->name.len] = '\0'; in autofs4_notify_daemon()
140 ep->len = wq->name.len; in autofs4_notify_daemon()
141 memcpy(ep->name, wq->name.name, wq->name.len); in autofs4_notify_daemon()
142 ep->name[wq->name.len] = '\0'; in autofs4_notify_daemon()
160 packet->len = wq->name.len; in autofs4_notify_daemon()
161 memcpy(packet->name, wq->name.name, wq->name.len); in autofs4_notify_daemon()
162 packet->name[wq->name.len] = '\0'; in autofs4_notify_daemon()
193 int len; in autofs4_getpath() local
198 len = 0; in autofs4_getpath()
204 len += tmp->d_name.len + 1; in autofs4_getpath()
206 if (!len || --len > NAME_MAX) { in autofs4_getpath()
214 *(buf + len) = '\0'; in autofs4_getpath()
215 p = buf + len - dentry->d_name.len; in autofs4_getpath()
216 strncpy(p, dentry->d_name.name, dentry->d_name.len); in autofs4_getpath()
220 p -= tmp->d_name.len; in autofs4_getpath()
221 strncpy(p, tmp->d_name.name, tmp->d_name.len); in autofs4_getpath()
228 return len; in autofs4_getpath()
238 wq->name.len == qstr->len && in autofs4_find_wait()
240 !memcmp(wq->name.name, qstr->name, qstr->len)) in autofs4_find_wait()
382 qstr.len = sprintf(name, "%p", dentry); in autofs4_wait()
384 qstr.len = autofs4_getpath(sbi, dentry, &name); in autofs4_wait()
385 if (!qstr.len) { in autofs4_wait()
391 qstr.hash = full_name_hash(name, qstr.len); in autofs4_wait()
449 (unsigned long) wq->wait_queue_token, wq->name.len, in autofs4_wait()
459 (unsigned long) wq->wait_queue_token, wq->name.len, in autofs4_wait()