Lines Matching refs:name
33 kfree(wq->name.name - wq->offset); in autofs_catatonic_mode()
34 wq->name.name = NULL; in autofs_catatonic_mode()
94 wq->name.len, wq->name.name, type); in autofs_notify_daemon()
110 mp->len = wq->name.len; in autofs_notify_daemon()
111 memcpy(mp->name, wq->name.name, wq->name.len); in autofs_notify_daemon()
112 mp->name[wq->name.len] = '\0'; in autofs_notify_daemon()
123 ep->len = wq->name.len; in autofs_notify_daemon()
124 memcpy(ep->name, wq->name.name, wq->name.len); in autofs_notify_daemon()
125 ep->name[wq->name.len] = '\0'; in autofs_notify_daemon()
143 packet->len = wq->name.len; in autofs_notify_daemon()
144 memcpy(packet->name, wq->name.name, wq->name.len); in autofs_notify_daemon()
145 packet->name[wq->name.len] = '\0'; in autofs_notify_daemon()
185 if (wq->name.hash == qstr->hash && in autofs_find_wait()
186 wq->name.len == qstr->len && in autofs_find_wait()
187 wq->name.name && in autofs_find_wait()
188 !memcmp(wq->name.name, qstr->name, qstr->len)) in autofs_find_wait()
309 char *name; in autofs_wait() local
344 name = kmalloc(NAME_MAX + 1, GFP_KERNEL); in autofs_wait()
345 if (!name) in autofs_wait()
350 qstr.name = name; in autofs_wait()
351 qstr.len = sprintf(name, "%p", dentry); in autofs_wait()
353 char *p = dentry_path_raw(dentry, name, NAME_MAX); in autofs_wait()
355 kfree(name); in autofs_wait()
358 qstr.name = ++p; // skip the leading slash in autofs_wait()
360 offset = p - name; in autofs_wait()
362 qstr.hash = full_name_hash(dentry, qstr.name, qstr.len); in autofs_wait()
365 kfree(name); in autofs_wait()
373 kfree(name); in autofs_wait()
381 kfree(name); in autofs_wait()
392 memcpy(&wq->name, &qstr, sizeof(struct qstr)); in autofs_wait()
420 (unsigned long) wq->wait_queue_token, wq->name.len, in autofs_wait()
421 wq->name.name, notify); in autofs_wait()
430 (unsigned long) wq->wait_queue_token, wq->name.len, in autofs_wait()
431 wq->name.name, notify); in autofs_wait()
433 kfree(name); in autofs_wait()
440 wait_event_killable(wq->queue, wq->name.name == NULL); in autofs_wait()
504 kfree(wq->name.name - wq->offset); in autofs_wait_release()
505 wq->name.name = NULL; /* Do not wait on this queue */ in autofs_wait_release()