Home
last modified time | relevance | path

Searched refs:pkt (Results 1 – 2 of 2) sorted by relevance

/fs/autofs/
Dexpire.c541 struct autofs_packet_expire pkt; in autofs_expire_run() local
546 memset(&pkt, 0, sizeof(pkt)); in autofs_expire_run()
548 pkt.hdr.proto_version = sbi->version; in autofs_expire_run()
549 pkt.hdr.type = autofs_ptype_expire; in autofs_expire_run()
555 pkt.len = dentry->d_name.len; in autofs_expire_run()
556 memcpy(pkt.name, dentry->d_name.name, pkt.len); in autofs_expire_run()
557 pkt.name[pkt.len] = '\0'; in autofs_expire_run()
559 if (copy_to_user(pkt_p, &pkt, sizeof(struct autofs_packet_expire))) in autofs_expire_run()
Dwaitq.c87 } pkt; in autofs_notify_daemon() local
96 memset(&pkt, 0, sizeof(pkt)); /* For security reasons */ in autofs_notify_daemon()
98 pkt.hdr.proto_version = sbi->version; in autofs_notify_daemon()
99 pkt.hdr.type = type; in autofs_notify_daemon()
105 struct autofs_packet_missing *mp = &pkt.v4_pkt.missing; in autofs_notify_daemon()
118 &pkt.v4_pkt.expire_multi; in autofs_notify_daemon()
137 struct autofs_v5_packet *packet = &pkt.v5_pkt.v5_packet; in autofs_notify_daemon()
164 switch (ret = autofs_write(sbi, pipe, &pkt, pktsz)) { in autofs_notify_daemon()