Lines Matching refs:htonl
66 if (xdr->if_version != htonl(AFS_FSTATUS_VERSION)) {
67 if (xdr->if_version == htonl(0) &&
201 *bp++ = htonl(mask);
202 *bp++ = htonl(mtime);
203 *bp++ = htonl(owner);
204 *bp++ = htonl(group);
205 *bp++ = htonl(mode);
288 bp[0] = htonl(FSFETCHSTATUS);
289 bp[1] = htonl(vp->fid.vid);
290 bp[2] = htonl(vp->fid.vnode);
291 bp[3] = htonl(vp->fid.unique);
319 call->tmp_u = htonl(0);
436 bp[0] = htonl(FSFETCHDATA64);
437 bp[1] = htonl(vp->fid.vid);
438 bp[2] = htonl(vp->fid.vnode);
439 bp[3] = htonl(vp->fid.unique);
440 bp[4] = htonl(upper_32_bits(req->pos));
441 bp[5] = htonl(lower_32_bits(req->pos));
443 bp[7] = htonl(lower_32_bits(req->len));
472 bp[0] = htonl(FSFETCHDATA);
473 bp[1] = htonl(vp->fid.vid);
474 bp[2] = htonl(vp->fid.vnode);
475 bp[3] = htonl(vp->fid.unique);
476 bp[4] = htonl(lower_32_bits(req->pos));
477 bp[5] = htonl(lower_32_bits(req->len));
544 *bp++ = htonl(FSCREATEFILE);
545 *bp++ = htonl(dvp->fid.vid);
546 *bp++ = htonl(dvp->fid.vnode);
547 *bp++ = htonl(dvp->fid.unique);
548 *bp++ = htonl(namesz);
555 *bp++ = htonl(AFS_SET_MODE | AFS_SET_MTIME);
556 *bp++ = htonl(op->mtime.tv_sec); /* mtime */
559 *bp++ = htonl(op->create.mode & S_IALLUGO); /* unix mode */
597 *bp++ = htonl(FSMAKEDIR);
598 *bp++ = htonl(dvp->fid.vid);
599 *bp++ = htonl(dvp->fid.vnode);
600 *bp++ = htonl(dvp->fid.unique);
601 *bp++ = htonl(namesz);
608 *bp++ = htonl(AFS_SET_MODE | AFS_SET_MTIME);
609 *bp++ = htonl(op->mtime.tv_sec); /* mtime */
612 *bp++ = htonl(op->create.mode & S_IALLUGO); /* unix mode */
676 *bp++ = htonl(FSREMOVEFILE);
677 *bp++ = htonl(dvp->fid.vid);
678 *bp++ = htonl(dvp->fid.vnode);
679 *bp++ = htonl(dvp->fid.unique);
680 *bp++ = htonl(namesz);
723 *bp++ = htonl(FSREMOVEDIR);
724 *bp++ = htonl(dvp->fid.vid);
725 *bp++ = htonl(dvp->fid.vnode);
726 *bp++ = htonl(dvp->fid.unique);
727 *bp++ = htonl(namesz);
800 *bp++ = htonl(FSLINK);
801 *bp++ = htonl(dvp->fid.vid);
802 *bp++ = htonl(dvp->fid.vnode);
803 *bp++ = htonl(dvp->fid.unique);
804 *bp++ = htonl(namesz);
811 *bp++ = htonl(vp->fid.vid);
812 *bp++ = htonl(vp->fid.vnode);
813 *bp++ = htonl(vp->fid.unique);
885 *bp++ = htonl(FSSYMLINK);
886 *bp++ = htonl(dvp->fid.vid);
887 *bp++ = htonl(dvp->fid.vnode);
888 *bp++ = htonl(dvp->fid.unique);
889 *bp++ = htonl(namesz);
896 *bp++ = htonl(c_namesz);
903 *bp++ = htonl(AFS_SET_MODE | AFS_SET_MTIME);
904 *bp++ = htonl(op->mtime.tv_sec); /* mtime */
907 *bp++ = htonl(S_IRWXUGO); /* unix mode */
983 *bp++ = htonl(FSRENAME);
984 *bp++ = htonl(orig_dvp->fid.vid);
985 *bp++ = htonl(orig_dvp->fid.vnode);
986 *bp++ = htonl(orig_dvp->fid.unique);
987 *bp++ = htonl(o_namesz);
995 *bp++ = htonl(new_dvp->fid.vid);
996 *bp++ = htonl(new_dvp->fid.vnode);
997 *bp++ = htonl(new_dvp->fid.unique);
998 *bp++ = htonl(n_namesz);
1074 *bp++ = htonl(FSSTOREDATA64);
1075 *bp++ = htonl(vp->fid.vid);
1076 *bp++ = htonl(vp->fid.vnode);
1077 *bp++ = htonl(vp->fid.unique);
1079 *bp++ = htonl(AFS_SET_MTIME); /* mask */
1080 *bp++ = htonl(op->mtime.tv_sec); /* mtime */
1086 *bp++ = htonl(upper_32_bits(op->store.pos));
1087 *bp++ = htonl(lower_32_bits(op->store.pos));
1088 *bp++ = htonl(upper_32_bits(op->store.size));
1089 *bp++ = htonl(lower_32_bits(op->store.size));
1090 *bp++ = htonl(upper_32_bits(op->store.i_size));
1091 *bp++ = htonl(lower_32_bits(op->store.i_size));
1127 *bp++ = htonl(FSSTOREDATA);
1128 *bp++ = htonl(vp->fid.vid);
1129 *bp++ = htonl(vp->fid.vnode);
1130 *bp++ = htonl(vp->fid.unique);
1132 *bp++ = htonl(AFS_SET_MTIME); /* mask */
1133 *bp++ = htonl(op->mtime.tv_sec); /* mtime */
1139 *bp++ = htonl(lower_32_bits(op->store.pos));
1140 *bp++ = htonl(lower_32_bits(op->store.size));
1141 *bp++ = htonl(lower_32_bits(op->store.i_size));
1195 *bp++ = htonl(FSSTOREDATA64);
1196 *bp++ = htonl(vp->fid.vid);
1197 *bp++ = htonl(vp->fid.vnode);
1198 *bp++ = htonl(vp->fid.unique);
1202 *bp++ = htonl(upper_32_bits(attr->ia_size)); /* position of start of write */
1203 *bp++ = htonl(lower_32_bits(attr->ia_size));
1206 *bp++ = htonl(upper_32_bits(attr->ia_size)); /* new file length */
1207 *bp++ = htonl(lower_32_bits(attr->ia_size));
1239 *bp++ = htonl(FSSTOREDATA);
1240 *bp++ = htonl(vp->fid.vid);
1241 *bp++ = htonl(vp->fid.vnode);
1242 *bp++ = htonl(vp->fid.unique);
1246 *bp++ = htonl(attr->ia_size); /* position of start of write */
1248 *bp++ = htonl(attr->ia_size); /* new file length */
1279 *bp++ = htonl(FSSTORESTATUS);
1280 *bp++ = htonl(vp->fid.vid);
1281 *bp++ = htonl(vp->fid.vnode);
1282 *bp++ = htonl(vp->fid.unique);
1446 bp[0] = htonl(FSGETVOLUMESTATUS);
1447 bp[1] = htonl(vp->fid.vid);
1525 *bp++ = htonl(FSSETLOCK);
1526 *bp++ = htonl(vp->fid.vid);
1527 *bp++ = htonl(vp->fid.vnode);
1528 *bp++ = htonl(vp->fid.unique);
1529 *bp++ = htonl(op->lock.type);
1552 *bp++ = htonl(FSEXTENDLOCK);
1553 *bp++ = htonl(vp->fid.vid);
1554 *bp++ = htonl(vp->fid.vnode);
1555 *bp++ = htonl(vp->fid.unique);
1578 *bp++ = htonl(FSRELEASELOCK);
1579 *bp++ = htonl(vp->fid.vid);
1580 *bp++ = htonl(vp->fid.vnode);
1581 *bp++ = htonl(vp->fid.unique);
1626 *bp++ = htonl(FSGIVEUPALLCALLBACKS);
1729 *bp++ = htonl(FSGETCAPABILITIES);
1917 *bp++ = htonl(FSINLINEBULKSTATUS);
1918 *bp++ = htonl(op->nr_files);
1919 *bp++ = htonl(dvp->fid.vid);
1920 *bp++ = htonl(dvp->fid.vnode);
1921 *bp++ = htonl(dvp->fid.unique);
1922 *bp++ = htonl(vp->fid.vid);
1923 *bp++ = htonl(vp->fid.vnode);
1924 *bp++ = htonl(vp->fid.unique);
1926 *bp++ = htonl(op->more_files[i].fid.vid);
1927 *bp++ = htonl(op->more_files[i].fid.vnode);
1928 *bp++ = htonl(op->more_files[i].fid.unique);
2031 bp[0] = htonl(FSFETCHACL);
2032 bp[1] = htonl(vp->fid.vid);
2033 bp[2] = htonl(vp->fid.vnode);
2034 bp[3] = htonl(vp->fid.unique);
2072 bp[0] = htonl(FSSTOREACL);
2073 bp[1] = htonl(vp->fid.vid);
2074 bp[2] = htonl(vp->fid.vnode);
2075 bp[3] = htonl(vp->fid.unique);
2076 bp[4] = htonl(acl->size);