Home
last modified time | relevance | path

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

/fs/autofs4/
Dexpire.c492 struct autofs_packet_expire pkt; in autofs4_expire_run() local
497 memset(&pkt,0,sizeof pkt); in autofs4_expire_run()
499 pkt.hdr.proto_version = sbi->version; in autofs4_expire_run()
500 pkt.hdr.type = autofs_ptype_expire; in autofs4_expire_run()
505 pkt.len = dentry->d_name.len; in autofs4_expire_run()
506 memcpy(pkt.name, dentry->d_name.name, pkt.len); in autofs4_expire_run()
507 pkt.name[pkt.len] = '\0'; in autofs4_expire_run()
510 if ( copy_to_user(pkt_p, &pkt, sizeof(struct autofs_packet_expire)) ) in autofs4_expire_run()
Dwaitq.c101 } pkt; in autofs4_notify_daemon() local
108 memset(&pkt,0,sizeof pkt); /* For security reasons */ in autofs4_notify_daemon()
110 pkt.hdr.proto_version = sbi->version; in autofs4_notify_daemon()
111 pkt.hdr.type = type; in autofs4_notify_daemon()
123 struct autofs_packet_missing *mp = &pkt.v4_pkt.missing; in autofs4_notify_daemon()
135 struct autofs_packet_expire_multi *ep = &pkt.v4_pkt.expire_multi; in autofs4_notify_daemon()
154 struct autofs_v5_packet *packet = &pkt.v5_pkt.v5_packet; in autofs4_notify_daemon()
181 if (autofs4_write(sbi, pipe, &pkt, pktsz)) in autofs4_notify_daemon()