/linux-2.4.37.9/fs/nfsd/ |
D | nfs3proc.c | 32 #define RETURN_STATUS(st) { resp->status = (st); return (st); } 59 nfsd3_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) in nfsd3_proc_null() argument 69 struct nfsd3_attrstat *resp) in nfsd3_proc_getattr() argument 76 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_getattr() 77 nfserr = fh_verify(rqstp, &resp->fh, 0, MAY_NOP); in nfsd3_proc_getattr() 86 struct nfsd3_attrstat *resp) in nfsd3_proc_setattr() argument 93 fh_copy(&resp->fh, &argp->fh); in nfsd3_proc_setattr() 94 nfserr = nfsd_setattr(rqstp, &resp->fh, &argp->attrs, in nfsd3_proc_setattr() 104 struct nfsd3_diropres *resp) in nfsd3_proc_lookup() argument 113 fh_copy(&resp->dirfh, &argp->fh); in nfsd3_proc_lookup() [all …]
|
D | nfs3xdr.c | 520 struct nfsd3_attrstat *resp) in nfs3svc_encode_attrstat() argument 522 if (resp->status == 0) in nfs3svc_encode_attrstat() 523 p = encode_fattr3(rqstp, p, &resp->fh); in nfs3svc_encode_attrstat() 530 struct nfsd3_attrstat *resp) in nfs3svc_encode_wccstat() argument 532 p = encode_wcc_data(rqstp, p, &resp->fh); in nfs3svc_encode_wccstat() 539 struct nfsd3_diropres *resp) in nfs3svc_encode_diropres() argument 541 if (resp->status == 0) { in nfs3svc_encode_diropres() 542 p = encode_fh(p, &resp->fh); in nfs3svc_encode_diropres() 543 p = encode_post_op_attr(rqstp, p, &resp->fh); in nfs3svc_encode_diropres() 545 p = encode_post_op_attr(rqstp, p, &resp->dirfh); in nfs3svc_encode_diropres() [all …]
|
D | nfsproc.c | 42 nfsd_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) in nfsd_proc_null() argument 53 struct nfsd_attrstat *resp) in nfsd_proc_getattr() argument 57 fh_copy(&resp->fh, &argp->fh); in nfsd_proc_getattr() 58 return fh_verify(rqstp, &resp->fh, 0, MAY_NOP); in nfsd_proc_getattr() 67 struct nfsd_attrstat *resp) in nfsd_proc_setattr() argument 73 fh_copy(&resp->fh, &argp->fh); in nfsd_proc_setattr() 74 return nfsd_setattr(rqstp, &resp->fh, &argp->attrs,0, (time_t)0); in nfsd_proc_setattr() 85 struct nfsd_diropres *resp) in nfsd_proc_lookup() argument 92 fh_init(&resp->fh, NFS_FHSIZE); in nfsd_proc_lookup() 94 &resp->fh); in nfsd_proc_lookup() [all …]
|
D | nfsxdr.c | 350 struct nfsd_attrstat *resp) in nfssvc_encode_attrstat() argument 352 p = encode_fattr(rqstp, p, &resp->fh); in nfssvc_encode_attrstat() 358 struct nfsd_diropres *resp) in nfssvc_encode_diropres() argument 360 p = encode_fh(p, &resp->fh); in nfssvc_encode_diropres() 361 p = encode_fattr(rqstp, p, &resp->fh); in nfssvc_encode_diropres() 367 struct nfsd_readlinkres *resp) in nfssvc_encode_readlinkres() argument 369 *p++ = htonl(resp->len); in nfssvc_encode_readlinkres() 370 p += XDR_QUADLEN(resp->len); in nfssvc_encode_readlinkres() 376 struct nfsd_readres *resp) in nfssvc_encode_readres() argument 378 p = encode_fattr(rqstp, p, &resp->fh); in nfssvc_encode_readres() [all …]
|
D | nfscache.c | 295 struct svc_buf *resp = &rqstp->rq_resbuf, *cachp; in nfsd_cache_update() local 301 len = resp->len - (statp - resp->base); in nfsd_cache_update() 342 struct svc_buf *resp = &rqstp->rq_resbuf; in nfsd_cache_append() local 344 if (resp->len + data->len > resp->buflen) { in nfsd_cache_append() 349 memcpy(resp->buf, data->buf, data->len << 2); in nfsd_cache_append() 350 resp->buf += data->len; in nfsd_cache_append() 351 resp->len += data->len; in nfsd_cache_append()
|
D | nfsctl.c | 224 union nfsctl_res * resp = opaque_resp; in handle_sys_nfsservctl() local 243 || (resp && !access_ok(VERIFY_WRITE, resp, respsize))) { in handle_sys_nfsservctl() 248 (resp && !(res = kmalloc(sizeof(*res), GFP_USER)))) { in handle_sys_nfsservctl() 294 if (!err && resp && respsize) in handle_sys_nfsservctl() 295 copy_to_user(resp, res, respsize); in handle_sys_nfsservctl()
|
/linux-2.4.37.9/drivers/usb/gadget/ |
D | rndis.c | 97 rndis_query_cmplt_type *resp; in gen_ndis_query_resp() local 100 resp = (rndis_query_cmplt_type *) r->buf; in gen_ndis_query_resp() 102 if (!resp) return -ENOMEM; in gen_ndis_query_resp() 113 tmp = (u32 *) ((u8 *)resp + 24); in gen_ndis_query_resp() 129 *((u32 *) resp + 6) = __constant_cpu_to_le32 (0); in gen_ndis_query_resp() 137 *((u32 *) resp + 6) = cpu_to_le32 ( in gen_ndis_query_resp() 147 *((u32 *) resp + 6) = cpu_to_le32 ( in gen_ndis_query_resp() 157 *((u32 *) resp + 6) = cpu_to_le32 ( in gen_ndis_query_resp() 161 *((u32 *) resp + 6) = __constant_cpu_to_le32 (0); in gen_ndis_query_resp() 172 *((u32 *) resp + 6) = __constant_cpu_to_le32 (0); in gen_ndis_query_resp() [all …]
|
/linux-2.4.37.9/fs/lockd/ |
D | svc4proc.c | 83 nlm4svc_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) in nlm4svc_proc_null() argument 94 struct nlm_res *resp) in nlm4svc_proc_test() argument 100 resp->cookie = argp->cookie; in nlm4svc_proc_test() 104 resp->status = nlm_lck_denied_grace_period; in nlm4svc_proc_test() 109 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in nlm4svc_proc_test() 113 resp->status = nlmsvc_testlock(file, &argp->lock, &resp->lock); in nlm4svc_proc_test() 115 dprintk("lockd: TEST4 status %d\n", ntohl(resp->status)); in nlm4svc_proc_test() 123 struct nlm_res *resp) in nlm4svc_proc_lock() argument 130 resp->cookie = argp->cookie; in nlm4svc_proc_lock() 134 resp->status = nlm_lck_denied_grace_period; in nlm4svc_proc_lock() [all …]
|
D | svcproc.c | 110 nlmsvc_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) in nlmsvc_proc_null() argument 121 struct nlm_res *resp) in nlmsvc_proc_test() argument 127 resp->cookie = argp->cookie; in nlmsvc_proc_test() 131 resp->status = nlm_lck_denied_grace_period; in nlmsvc_proc_test() 136 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in nlmsvc_proc_test() 140 resp->status = cast_status(nlmsvc_testlock(file, &argp->lock, &resp->lock)); in nlmsvc_proc_test() 143 ntohl(resp->status), rqstp->rq_vers); in nlmsvc_proc_test() 151 struct nlm_res *resp) in nlmsvc_proc_lock() argument 158 resp->cookie = argp->cookie; in nlmsvc_proc_lock() 162 resp->status = nlm_lck_denied_grace_period; in nlmsvc_proc_lock() [all …]
|
D | xdr4.c | 188 nlm4_encode_testres(u32 *p, struct nlm_res *resp) in nlm4_encode_testres() argument 192 dprintk("xdr: before encode_testres (p %p resp %p)\n", p, resp); in nlm4_encode_testres() 193 if (!(p = nlm4_encode_cookie(p, &resp->cookie))) in nlm4_encode_testres() 195 *p++ = resp->status; in nlm4_encode_testres() 197 if (resp->status == nlm_lck_denied) { in nlm4_encode_testres() 198 struct file_lock *fl = &resp->lock.fl; in nlm4_encode_testres() 204 if (!(p = xdr_encode_netobj(p, &resp->lock.oh))) in nlm4_encode_testres() 216 resp->status, fl->fl_pid, fl->fl_type, in nlm4_encode_testres() 220 dprintk("xdr: after encode_testres (p %p resp %p)\n", p, resp); in nlm4_encode_testres() 266 nlm4svc_encode_testres(struct svc_rqst *rqstp, u32 *p, struct nlm_res *resp) in nlm4svc_encode_testres() argument [all …]
|
D | xdr.c | 188 nlm_encode_testres(u32 *p, struct nlm_res *resp) in nlm_encode_testres() argument 192 if (!(p = nlm_encode_cookie(p, &resp->cookie))) in nlm_encode_testres() 194 *p++ = resp->status; in nlm_encode_testres() 196 if (resp->status == nlm_lck_denied) { in nlm_encode_testres() 197 struct file_lock *fl = &resp->lock.fl; in nlm_encode_testres() 203 if (!(p = xdr_encode_netobj(p, &resp->lock.oh))) in nlm_encode_testres() 260 nlmsvc_encode_testres(struct svc_rqst *rqstp, u32 *p, struct nlm_res *resp) in nlmsvc_encode_testres() argument 262 if (!(p = nlm_encode_testres(p, resp))) in nlmsvc_encode_testres() 334 nlmsvc_encode_shareres(struct svc_rqst *rqstp, u32 *p, struct nlm_res *resp) in nlmsvc_encode_shareres() argument 336 if (!(p = nlm_encode_cookie(p, &resp->cookie))) in nlmsvc_encode_shareres() [all …]
|
D | clntproc.c | 242 struct nlm_res *resp = &req->a_res; in nlmclnt_call() local 252 msg.rpc_resp = resp; in nlmclnt_call() 288 if (resp->status == NLM_LCK_DENIED_GRACE_PERIOD) { in nlmclnt_call() 296 dprintk("lockd: server returns status %d\n", resp->status); in nlmclnt_call() 325 struct nlm_res *resp = &req->a_res; in nlmsvc_async_call() local 339 msg.rpc_resp =resp; in nlmsvc_async_call() 352 struct nlm_res *resp = &req->a_res; in nlmclnt_async_call() local 367 msg.rpc_resp =resp; in nlmclnt_async_call() 446 struct nlm_res *resp = &req->a_res; in nlmclnt_lock() local 457 if (resp->status != NLM_LCK_BLOCKED) in nlmclnt_lock() [all …]
|
D | mon.c | 181 xdr_decode_stat_res(struct rpc_rqst *rqstp, u32 *p, struct nsm_res *resp) in xdr_decode_stat_res() argument 183 resp->status = ntohl(*p++); in xdr_decode_stat_res() 184 resp->state = ntohl(*p++); in xdr_decode_stat_res() 186 resp->status, resp->state); in xdr_decode_stat_res() 191 xdr_decode_stat(struct rpc_rqst *rqstp, u32 *p, struct nsm_res *resp) in xdr_decode_stat() argument 193 resp->state = ntohl(*p++); in xdr_decode_stat()
|
/linux-2.4.37.9/net/sunrpc/ |
D | svc.c | 234 struct svc_buf * resp = &rqstp->rq_resbuf; in svc_process() local 250 svc_putlong(resp, xdr_one); /* REPLY */ in svc_process() 251 svc_putlong(resp, xdr_zero); /* ACCEPT */ in svc_process() 302 statp = resp->buf; in svc_process() 303 svc_putlong(resp, rpc_success); /* RPC_SUCCESS */ in svc_process() 346 resp->len = statp + 1 - resp->base; in svc_process() 377 resp->buf[-1] = xdr_one; /* REJECT */ in svc_process() 378 svc_putlong(resp, xdr_zero); /* RPC_MISMATCH */ in svc_process() 379 svc_putlong(resp, xdr_two); /* Only RPCv2 supported */ in svc_process() 380 svc_putlong(resp, xdr_two); in svc_process() [all …]
|
D | svcauth.c | 88 struct svc_buf *resp = &rqstp->rq_resbuf; in svcauth_null() local 112 svc_putlong(resp, RPC_AUTH_NULL); in svcauth_null() 113 svc_putlong(resp, 0); in svcauth_null() 120 struct svc_buf *resp = &rqstp->rq_resbuf; in svcauth_unix() local 159 svc_putlong(resp, RPC_AUTH_NULL); in svcauth_unix() 160 svc_putlong(resp, 0); in svcauth_unix()
|
/linux-2.4.37.9/fs/xfs/ |
D | xfs_trans.c | 83 xfs_trans_reservations_t *resp; in xfs_trans_init() local 85 resp = &(mp->m_reservations); in xfs_trans_init() 86 resp->tr_write = in xfs_trans_init() 88 resp->tr_itruncate = in xfs_trans_init() 90 resp->tr_rename = in xfs_trans_init() 92 resp->tr_link = (uint)XFS_CALC_LINK_LOG_RES(mp); in xfs_trans_init() 93 resp->tr_remove = in xfs_trans_init() 95 resp->tr_symlink = in xfs_trans_init() 97 resp->tr_create = in xfs_trans_init() 99 resp->tr_mkdir = in xfs_trans_init() [all …]
|
/linux-2.4.37.9/drivers/scsi/ |
D | sg.c | 2225 Sg_request * resp; in sg_get_rq_mark() local 2229 for (resp = sfp->headrp; resp; resp = resp->nextrp) { in sg_get_rq_mark() 2231 if ((1 == resp->done) && (! resp->sg_io_owned) && in sg_get_rq_mark() 2232 ((-1 == pack_id) || (resp->header.pack_id == pack_id))) { in sg_get_rq_mark() 2233 resp->done = 2; /* guard against other readers */ in sg_get_rq_mark() 2238 return resp; in sg_get_rq_mark() 2244 Sg_request * resp; in sg_get_nth_request() local 2249 for (k = 0, resp = sfp->headrp; resp && (k < nth); in sg_get_nth_request() 2250 ++k, resp = resp->nextrp) in sg_get_nth_request() 2253 return resp; in sg_get_nth_request() [all …]
|
/linux-2.4.37.9/include/linux/sunrpc/ |
D | svc.h | 85 #define svc_putlong(resp, val) { *(resp)->buf++ = (val); (resp)->len++; } argument 166 typedef int (*svc_procfunc)(struct svc_rqst *, void *argp, void *resp);
|
D | clnt.h | 132 int rpc_call(struct rpc_clnt *clnt, u32 proc, void *argp, void *resp, int flags) in rpc_call() argument 134 struct rpc_message msg = { proc, argp, resp, NULL }; in rpc_call()
|
/linux-2.4.37.9/drivers/video/ |
D | bwtwofb.c | 165 struct resource *resp; in bwtwofb_init() local 176 resp = &res; in bwtwofb_init() 178 resp = &fb->sbdp->resource[0]; in bwtwofb_init() 182 sbus_ioremap(resp, BWTWO_REGISTER_OFFSET, in bwtwofb_init() 240 sbus_ioremap(resp, 0, type->fb_size, "bw2 ram"); in bwtwofb_init()
|
/linux-2.4.37.9/fs/ |
D | filesystems.c | 20 asmlinkage sys_nfsservctl(int cmd, void *argp, void *resp) in sys_nfsservctl() argument 31 ret = nfsd_linkage->do_nfsservctl(cmd, argp, resp); in sys_nfsservctl()
|
/linux-2.4.37.9/drivers/net/wireless/ |
D | hermes.c | 229 int hermes_docmd_wait(hermes_t *hw, u16 cmd, u16 parm0, hermes_response_t *resp) in hermes_docmd_wait() argument 274 if (resp) { in hermes_docmd_wait() 275 resp->status = status; in hermes_docmd_wait() 276 resp->resp0 = hermes_read_regn(hw, RESP0); in hermes_docmd_wait() 277 resp->resp1 = hermes_read_regn(hw, RESP1); in hermes_docmd_wait() 278 resp->resp2 = hermes_read_regn(hw, RESP2); in hermes_docmd_wait()
|
/linux-2.4.37.9/drivers/net/ |
D | typhoon.c | 242 struct resp_desc resp[RESPONSE_ENTRIES] __3xp_aligned; member 454 typhoon_media_status(struct net_device *dev, struct resp_desc *resp) in typhoon_media_status() argument 456 if(resp->parm1 & TYPHOON_MEDIA_STAT_NO_LINK) in typhoon_media_status() 488 struct resp_desc *resp; in typhoon_process_response() local 497 resp = (struct resp_desc *)(base + cleared); in typhoon_process_response() 498 count = resp->numDesc + 1; in typhoon_process_response() 499 if(resp_save && resp->seqNo) { in typhoon_process_response() 506 len = count * sizeof(*resp); in typhoon_process_response() 512 memcpy(resp_save, resp, len); in typhoon_process_response() 514 resp_save += len / sizeof(*resp); in typhoon_process_response() [all …]
|
/linux-2.4.37.9/drivers/char/ipmi/ |
D | ipmi_kcs_intf.c | 782 unsigned char resp[IPMI_MAX_MSG_LENGTH]; in ipmi_kcs_detect_hardware() local 823 resp_len = kcs_get_result(data, resp, IPMI_MAX_MSG_LENGTH); in ipmi_kcs_detect_hardware() 828 if ((resp[1] != IPMI_GET_DEVICE_ID_CMD) || (resp[2] != 0)) in ipmi_kcs_detect_hardware() 832 ipmi_kcs_dev_rev = resp[4] & 0xf; in ipmi_kcs_detect_hardware() 833 ipmi_kcs_fw_rev_major = resp[5] & 0x7f; in ipmi_kcs_detect_hardware() 834 ipmi_kcs_fw_rev_minor = resp[6]; in ipmi_kcs_detect_hardware() 835 ipmi_version_major = resp[7] & 0xf; in ipmi_kcs_detect_hardware() 836 ipmi_version_minor = resp[7] >> 4; in ipmi_kcs_detect_hardware()
|
/linux-2.4.37.9/include/linux/nfsd/ |
D | interface.h | 19 long (*do_nfsservctl)(int cmd, void *argp, void *resp);
|