Searched refs:oh (Results 1 – 9 of 9) sorted by relevance
/fs/lockd/ |
D | svcshare.c | 20 nlm_cmp_owner(struct nlm_share *share, struct xdr_netobj *oh) in nlm_cmp_owner() argument 22 return share->s_owner.len == oh->len in nlm_cmp_owner() 23 && !memcmp(share->s_owner.data, oh->data, oh->len); in nlm_cmp_owner() 31 struct xdr_netobj *oh = &argp->lock.oh; in nlmsvc_share_file() local 35 if (share->s_host == host && nlm_cmp_owner(share, oh)) in nlmsvc_share_file() 42 share = kmalloc(sizeof(*share) + oh->len, in nlmsvc_share_file() 49 memcpy(ohdata, oh->data, oh->len); in nlmsvc_share_file() 54 share->s_owner.len = oh->len; in nlmsvc_share_file() 72 struct xdr_netobj *oh = &argp->lock.oh; in nlmsvc_unshare_file() local 76 if (share->s_host == host && nlm_cmp_owner(share, oh)) { in nlmsvc_unshare_file()
|
D | svclock.c | 308 call->a_args.lock.oh.len = lock->oh.len; in nlmsvc_setgrantargs() 311 call->a_args.lock.oh.data = call->a_owner; in nlmsvc_setgrantargs() 314 if (lock->oh.len > NLMCLNT_OHSIZE) { in nlmsvc_setgrantargs() 315 void *data = kmalloc(lock->oh.len, GFP_KERNEL); in nlmsvc_setgrantargs() 318 call->a_args.lock.oh.data = (u8 *) data; in nlmsvc_setgrantargs() 321 memcpy(call->a_args.lock.oh.data, lock->oh.data, lock->oh.len); in nlmsvc_setgrantargs() 327 if (call->a_args.lock.oh.data != call->a_owner) in nlmsvc_freegrantargs() 328 kfree(call->a_args.lock.oh.data); in nlmsvc_freegrantargs() 542 conflock->oh.len = 0; /* don't return OH info */ in nlmsvc_testlock()
|
D | xdr.c | 109 nlm_decode_oh(__be32 *p, struct xdr_netobj *oh) in nlm_decode_oh() argument 111 return xdr_decode_netobj(p, oh); in nlm_decode_oh() 115 nlm_encode_oh(__be32 *p, struct xdr_netobj *oh) in nlm_encode_oh() argument 117 return xdr_encode_netobj(p, oh); in nlm_encode_oh() 130 || !(p = nlm_decode_oh(p, &lock->oh))) in nlm_decode_lock() 163 || !(p = nlm_encode_oh(p, &lock->oh))) in nlm_encode_lock() 202 if (!(p = xdr_encode_netobj(p, &resp->lock.oh))) in nlm_encode_testres() 307 || !(p = nlm_decode_oh(p, &lock->oh))) in nlmsvc_decode_shareargs() 418 if (!(p = nlm_decode_oh(p, &resp->lock.oh))) in nlmclt_decode_testres()
|
D | xdr4.c | 110 nlm4_decode_oh(__be32 *p, struct xdr_netobj *oh) in nlm4_decode_oh() argument 112 return xdr_decode_netobj(p, oh); in nlm4_decode_oh() 116 nlm4_encode_oh(__be32 *p, struct xdr_netobj *oh) in nlm4_encode_oh() argument 118 return xdr_encode_netobj(p, oh); in nlm4_encode_oh() 131 || !(p = nlm4_decode_oh(p, &lock->oh))) in nlm4_decode_lock() 164 || !(p = nlm4_encode_oh(p, &lock->oh))) in nlm4_encode_lock() 205 if (!(p = xdr_encode_netobj(p, &resp->lock.oh))) in nlm4_encode_testres() 314 || !(p = nlm4_decode_oh(p, &lock->oh))) in nlm4svc_decode_shareargs() 426 if (!(p = nlm4_decode_oh(p, &resp->lock.oh))) in nlm4clt_decode_testres()
|
D | clntproc.c | 132 lock->oh.data = req->a_owner; in nlmclnt_setlockargs() 133 lock->oh.len = snprintf(req->a_owner, sizeof(req->a_owner), "%u@%s", in nlmclnt_setlockargs()
|
/fs/yaffs2/ |
D | yaffs_guts.c | 545 static void yaffs_VerifyObjectHeader(yaffs_Object *obj, yaffs_ObjectHeader *oh, yaffs_ExtendedTags … in yaffs_VerifyObjectHeader() argument 550 if (!(tags && obj && oh)) { in yaffs_VerifyObjectHeader() 553 (__u32)tags, (__u32)obj, (__u32)oh)); in yaffs_VerifyObjectHeader() 557 if (oh->type <= YAFFS_OBJECT_TYPE_UNKNOWN || in yaffs_VerifyObjectHeader() 558 oh->type > YAFFS_OBJECT_TYPE_MAX) in yaffs_VerifyObjectHeader() 561 tags->objectId, oh->type)); in yaffs_VerifyObjectHeader() 578 tags->objectId, oh->parentObjectId)); in yaffs_VerifyObjectHeader() 581 oh->parentObjectId != obj->parent->objectId && in yaffs_VerifyObjectHeader() 582 (oh->parentObjectId != YAFFS_OBJECTID_UNLINKED || in yaffs_VerifyObjectHeader() 586 tags->objectId, oh->parentObjectId, obj->parent->objectId)); in yaffs_VerifyObjectHeader() [all …]
|
/fs/fuse/ |
D | dev.c | 909 struct fuse_out_header oh; in fuse_dev_write() local 919 err = fuse_copy_one(&cs, &oh, sizeof(oh)); in fuse_dev_write() 924 if (oh.len != nbytes) in fuse_dev_write() 931 if (!oh.unique) { in fuse_dev_write() 932 err = fuse_notify(fc, oh.error, nbytes - sizeof(oh), &cs); in fuse_dev_write() 937 if (oh.error <= -1000 || oh.error > 0) in fuse_dev_write() 945 req = request_find(fc, oh.unique); in fuse_dev_write() 957 if (req->intr_unique == oh.unique) { in fuse_dev_write() 962 if (oh.error == -ENOSYS) in fuse_dev_write() 964 else if (oh.error == -EAGAIN) in fuse_dev_write() [all …]
|
/fs/coda/ |
D | psdev.c | 195 if (!outp->oh.result) in coda_psdev_write()
|
D | upcall.c | 713 error = -out->oh.result; in coda_upcall()
|