• Home
  • Raw
  • Download

Lines Matching refs:name

33 		kfree(wq->name.name);  in autofs_catatonic_mode()
34 wq->name.name = NULL; in autofs_catatonic_mode()
93 wq->name.len, wq->name.name, type); in autofs_notify_daemon()
109 mp->len = wq->name.len; in autofs_notify_daemon()
110 memcpy(mp->name, wq->name.name, wq->name.len); in autofs_notify_daemon()
111 mp->name[wq->name.len] = '\0'; in autofs_notify_daemon()
122 ep->len = wq->name.len; in autofs_notify_daemon()
123 memcpy(ep->name, wq->name.name, wq->name.len); in autofs_notify_daemon()
124 ep->name[wq->name.len] = '\0'; in autofs_notify_daemon()
142 packet->len = wq->name.len; in autofs_notify_daemon()
143 memcpy(packet->name, wq->name.name, wq->name.len); in autofs_notify_daemon()
144 packet->name[wq->name.len] = '\0'; in autofs_notify_daemon()
179 struct dentry *dentry, char *name) in autofs_getpath() argument
189 buf = name; in autofs_getpath()
208 strncpy(p, dentry->d_name.name, dentry->d_name.len); in autofs_getpath()
213 strncpy(p, tmp->d_name.name, tmp->d_name.len); in autofs_getpath()
229 if (wq->name.hash == qstr->hash && in autofs_find_wait()
230 wq->name.len == qstr->len && in autofs_find_wait()
231 wq->name.name && in autofs_find_wait()
232 !memcmp(wq->name.name, qstr->name, qstr->len)) in autofs_find_wait()
353 char *name; in autofs_wait() local
387 name = kmalloc(NAME_MAX + 1, GFP_KERNEL); in autofs_wait()
388 if (!name) in autofs_wait()
393 qstr.len = sprintf(name, "%p", dentry); in autofs_wait()
395 qstr.len = autofs_getpath(sbi, dentry, name); in autofs_wait()
397 kfree(name); in autofs_wait()
401 qstr.name = name; in autofs_wait()
402 qstr.hash = full_name_hash(dentry, name, qstr.len); in autofs_wait()
405 kfree(qstr.name); in autofs_wait()
413 kfree(qstr.name); in autofs_wait()
421 kfree(qstr.name); in autofs_wait()
432 memcpy(&wq->name, &qstr, sizeof(struct qstr)); in autofs_wait()
459 (unsigned long) wq->wait_queue_token, wq->name.len, in autofs_wait()
460 wq->name.name, notify); in autofs_wait()
469 (unsigned long) wq->wait_queue_token, wq->name.len, in autofs_wait()
470 wq->name.name, notify); in autofs_wait()
472 kfree(qstr.name); in autofs_wait()
479 wait_event_killable(wq->queue, wq->name.name == NULL); in autofs_wait()
543 kfree(wq->name.name); in autofs_wait_release()
544 wq->name.name = NULL; /* Do not wait on this queue */ in autofs_wait_release()