Home
last modified time | relevance | path

Searched refs:reqp (Results 1 – 13 of 13) sorted by relevance

/netbsd-src/sys/arch/atari/dev/
H A Dncr5380.c131 nack_message(SC_REQ *reqp, u_char msg) in nack_message() argument
135 reqp->msgout = msg; in nack_message()
139 finish_req(SC_REQ *reqp) in finish_req() argument
142 struct scsipi_xfer *xs = reqp->xs; in finish_req()
148 if (reqp->dr_flag & DRIVER_BOUNCING) in finish_req()
149 free_bounceb(reqp->bounceb); in finish_req()
152 if (dbg_target_mask & (1 << reqp->targ_id)) in finish_req()
153 show_request(reqp, "DONE"); in finish_req()
156 if ((dbg_target_mask & (1 << reqp->targ_id)) && (reqp->xs->error != 0)) in finish_req()
157 show_request(reqp, "ERR_RET"); in finish_req()
[all …]
H A Datari5380.c203 #define poll_edma(reqp) tt_poll_edma(reqp) argument
242 tt_wrong_dma_range(SC_REQ *reqp, struct dma_chain *dm) in tt_wrong_dma_range() argument
246 reqp->dr_flag |= DRIVER_BOUNCING; in tt_wrong_dma_range()
252 #define tt_wrong_dma_range(reqp, dm) 0 argument
342 scsi_tt_dmasetup(SC_REQ *reqp, u_int phase, uint8_t mode) in scsi_tt_dmasetup() argument
349 set_scsi_dma(SCSI_DMA->s_dma_ptr, reqp->dm_cur->dm_addr); in scsi_tt_dmasetup()
350 set_scsi_dma(SCSI_DMA->s_dma_cnt, reqp->dm_cur->dm_count); in scsi_tt_dmasetup()
359 set_scsi_dma(SCSI_DMA->s_dma_ptr, reqp->dm_cur->dm_addr); in scsi_tt_dmasetup()
360 set_scsi_dma(SCSI_DMA->s_dma_cnt, reqp->dm_cur->dm_count); in scsi_tt_dmasetup()
369 tt_poll_edma(SC_REQ *reqp) in tt_poll_edma() argument
[all …]
/netbsd-src/sys/arch/mac68k/dev/
H A Dncr5380.c128 extern inline void nack_message(SC_REQ *reqp, u_char msg) in nack_message() argument
131 reqp->msgout = msg; in nack_message()
134 extern inline void finish_req(SC_REQ *reqp) in finish_req() argument
137 struct scsipi_xfer *xs = reqp->xs; in finish_req()
143 if (reqp->dr_flag & DRIVER_BOUNCING) in finish_req()
144 free_bounceb(reqp->bounceb); in finish_req()
147 if (dbg_target_mask & (1 << reqp->targ_id)) in finish_req()
148 show_request(reqp, "DONE"); in finish_req()
151 if (reqp->xs->error != 0) in finish_req()
152 show_request(reqp, "ERR_RET"); in finish_req()
[all …]
H A Dmac68k5380.c219 SC_REQ *reqp = connected; in pdma_cleanup() local
229 pdma_5380_bytes+=(reqp->xdata_len - pending_5380_count); in pdma_cleanup()
235 reqp->xdata_ptr += reqp->xdata_len - pending_5380_count; in pdma_cleanup()
236 reqp->xdata_len = pending_5380_count; in pdma_cleanup()
251 reqp->dr_flag &= ~DRIVER_IN_DMA; in pdma_cleanup()
271 SC_REQ *reqp = connected; in pdma_ready() local
293 } else if (PH_IN(reqp->phase) && (dmstat & SC_PAR_ERR)) { in pdma_ready()
294 if (!(ncr5380_no_parchk & (1 << reqp->targ_id))) in pdma_ready()
296 reqp->xs->error = XS_DRIVER_STUFFUP; in pdma_ready()
302 || (((idstat>>2) & 7) != reqp->phase)) { in pdma_ready()
[all …]
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/rbac/
H A Drbacreq.c39 rbac_req_t *reqp = NULL; in rbac_alloc_req() local
41 reqp = ch_calloc( 1, sizeof(rbac_req_t) ); in rbac_alloc_req()
43 reqp->req_type = type; in rbac_alloc_req()
44 BER_BVZERO( &reqp->sessid ); in rbac_alloc_req()
45 BER_BVZERO( &reqp->tenantid ); in rbac_alloc_req()
47 BER_BVZERO( &reqp->uid ); in rbac_alloc_req()
48 BER_BVZERO( &reqp->authtok ); in rbac_alloc_req()
49 reqp->roles = NULL; in rbac_alloc_req()
51 BER_BVZERO( &reqp->opname ); in rbac_alloc_req()
52 BER_BVZERO( &reqp->objname ); in rbac_alloc_req()
[all …]
H A Drbac.c327 rbac_req_t *reqp = NULL; in slap_parse_rbac_session_roles() local
340 reqp = rbac_alloc_req( RBAC_REQ_SESSION_ROLES ); in slap_parse_rbac_session_roles()
342 if ( !reqp ) { in slap_parse_rbac_session_roles()
369 ber_dupbv_x( &reqp->uid, &uid, ctx ); in slap_parse_rbac_session_roles()
382 ber_dupbv_x( &reqp->sessid, &sessid, ctx ); in slap_parse_rbac_session_roles()
397 *reqpp = reqp; in slap_parse_rbac_session_roles()
399 rbac_free_req( reqp ); in slap_parse_rbac_session_roles()
415 rbac_req_t *reqp = NULL; in rbac_session_roles() local
420 op->ore_reqdata, &reqp, &rs->sr_text, NULL ); in rbac_session_roles()
425 sessp = rbac_session_byid( op, reqp ); in rbac_session_roles()
[all …]
H A Drbacaudit.c64 rbac_req_t *reqp, in rbac_audit() argument
166 if ( reqp && reqp->roles ) { in rbac_audit()
168 reqp->roles, NULL ); in rbac_audit()
177 if ( reqp && !BER_BVISEMPTY( &reqp->opname ) ) { in rbac_audit()
179 &reqp->opname, NULL ); in rbac_audit()
181 if ( reqp && !BER_BVISEMPTY( &reqp->objname ) ) { in rbac_audit()
183 &reqp->objname, NULL ); in rbac_audit()
188 if ( reqp && reqp->roles ) { in rbac_audit()
190 reqp->roles, NULL ); in rbac_audit()
196 if ( reqp && reqp->roles ) { in rbac_audit()
[all …]
H A Drbacperm.c107 rbac_read_permission( Operation *op, rbac_req_t *reqp ) in rbac_read_permission() argument
120 tenant_info_t *tenantp = rbac_tid2tenant( &reqp->tenantid ); in rbac_read_permission()
123 if ( !is_valid_opname( &reqp->opname ) || in rbac_read_permission()
124 !is_valid_objname( &reqp->objname ) ) { in rbac_read_permission()
127 reqp->opname.bv_val, reqp->objname.bv_val ); in rbac_read_permission()
140 if ( reqp->objid.bv_val != NULL ) { in rbac_read_permission()
142 "ftObjId=%s+ftOpNm=%s,ftObjNm=%s,%s", reqp->objid.bv_val, in rbac_read_permission()
143 reqp->opname.bv_val, reqp->objname.bv_val, in rbac_read_permission()
147 "ftOpNm=%s,ftObjNm=%s,%s", reqp->opname.bv_val, in rbac_read_permission()
148 reqp->objname.bv_val, tenantp->permissions_basedn.bv_val ); in rbac_read_permission()
H A Drbacsess.c197 rbac_is_session_owner( rbac_session_t *sessp, rbac_req_t *reqp ) in rbac_is_session_owner() argument
201 if ( BER_BVISEMPTY( &sessp->uid ) || BER_BVISEMPTY( &reqp->uid ) ) { in rbac_is_session_owner()
207 if ( !ber_bvstrcasecmp( &sessp->uid, &reqp->uid ) ) { in rbac_is_session_owner()
217 rbac_session_add_role( Operation *op, rbac_session_t *sessp, rbac_req_t *reqp ) in rbac_session_add_role() argument
229 tenantp = rbac_tid2tenant( &reqp->tenantid ); in rbac_session_add_role()
237 rbac_to_lower( &reqp->role ); in rbac_session_add_role()
240 ber_dupbv( &vals[0], &reqp->role ); in rbac_session_add_role()
277 rbac_session_drop_role( Operation *op, rbac_session_t *sessp, rbac_req_t *reqp ) in rbac_session_drop_role() argument
288 tenantp = rbac_tid2tenant( &reqp->tenantid ); in rbac_session_drop_role()
307 rbac_to_lower( &reqp->role ); in rbac_session_drop_role()
[all …]
H A Drbac.h340 void rbac_free_req( rbac_req_t *reqp );
349 rbac_session_t *rbac_session_byid( Operation *op, rbac_req_t *reqp );
350 int rbac_is_session_owner( rbac_session_t *sessp, rbac_req_t *reqp );
356 rbac_req_t *reqp );
360 rbac_req_t *reqp );
364 rbac_req_t *reqp,
368 rbac_req_t *reqp,
393 rbac_req_t *reqp,
H A Drbacuser.c354 rbac_read_user( Operation *op, rbac_req_t *reqp ) in rbac_read_user() argument
357 tenant_info_t *tenantp = rbac_tid2tenant( &reqp->tenantid ); in rbac_read_user()
374 if ( BER_BVISNULL( &reqp->uid ) ) { in rbac_read_user()
381 if ( !isvalidusername( &reqp->uid ) ) { in rbac_read_user()
393 strncat( fbuf, reqp->uid.bv_val, reqp->uid.bv_len ); in rbac_read_user()
426 if ( !BER_BVISNULL( &reqp->authtok ) ) in rbac_read_user()
427 ber_dupbv( &userp->password, &reqp->authtok ); in rbac_read_user()
/netbsd-src/sys/dev/ic/
H A Disp.c3989 sns_screq_t *reqp = (sns_screq_t *) local; in isp_register_fc4_type() local
3992 ISP_MEMZERO((void *) reqp, SNS_RFT_ID_REQ_SIZE); in isp_register_fc4_type()
3993 reqp->snscb_rblen = SNS_RFT_ID_RESP_SIZE >> 1; in isp_register_fc4_type()
3994 reqp->snscb_addr[RQRSP_ADDR0015] = DMA_WD0(fcp->isp_scdma + 0x100); in isp_register_fc4_type()
3995 reqp->snscb_addr[RQRSP_ADDR1631] = DMA_WD1(fcp->isp_scdma + 0x100); in isp_register_fc4_type()
3996 reqp->snscb_addr[RQRSP_ADDR3247] = DMA_WD2(fcp->isp_scdma + 0x100); in isp_register_fc4_type()
3997 reqp->snscb_addr[RQRSP_ADDR4863] = DMA_WD3(fcp->isp_scdma + 0x100); in isp_register_fc4_type()
3998 reqp->snscb_sblen = 22; in isp_register_fc4_type()
3999 reqp->snscb_data[0] = SNS_RFT_ID; in isp_register_fc4_type()
4000 reqp->snscb_data[4] = fcp->isp_portid & 0xffff; in isp_register_fc4_type()
[all …]
/netbsd-src/external/mpl/bind/dist/lib/isc/
H A Dhttpd.c784 prepare_response(isc_httpdmgr_t * mgr,isc_httpd_t * httpd,isc_httpd_sendreq_t ** reqp) prepare_response() argument