stp 250 arch/arm64/include/asm/alternative.h 8888: stp \reg1, \reg2, [\addr], \post_inc; stp 279 arch/arm64/include/asm/alternative.h USER(\l, stp \reg1, \reg2, [\addr], \post_inc) stp 670 arch/arm64/include/asm/assembler.h stp x29, x30, [sp, #-.Lframe_local_offset - .Lframe_extra]! stp 10 arch/arm64/include/asm/fpsimdmacros.h stp q0, q1, [\state, #16 * 0] stp 11 arch/arm64/include/asm/fpsimdmacros.h stp q2, q3, [\state, #16 * 2] stp 12 arch/arm64/include/asm/fpsimdmacros.h stp q4, q5, [\state, #16 * 4] stp 13 arch/arm64/include/asm/fpsimdmacros.h stp q6, q7, [\state, #16 * 6] stp 14 arch/arm64/include/asm/fpsimdmacros.h stp q8, q9, [\state, #16 * 8] stp 15 arch/arm64/include/asm/fpsimdmacros.h stp q10, q11, [\state, #16 * 10] stp 16 arch/arm64/include/asm/fpsimdmacros.h stp q12, q13, [\state, #16 * 12] stp 17 arch/arm64/include/asm/fpsimdmacros.h stp q14, q15, [\state, #16 * 14] stp 18 arch/arm64/include/asm/fpsimdmacros.h stp q16, q17, [\state, #16 * 16] stp 19 arch/arm64/include/asm/fpsimdmacros.h stp q18, q19, [\state, #16 * 18] stp 20 arch/arm64/include/asm/fpsimdmacros.h stp q20, q21, [\state, #16 * 20] stp 21 arch/arm64/include/asm/fpsimdmacros.h stp q22, q23, [\state, #16 * 22] stp 22 arch/arm64/include/asm/fpsimdmacros.h stp q24, q25, [\state, #16 * 24] stp 23 arch/arm64/include/asm/fpsimdmacros.h stp q26, q27, [\state, #16 * 26] stp 24 arch/arm64/include/asm/fpsimdmacros.h stp q28, q29, [\state, #16 * 28] stp 25 arch/arm64/include/asm/fpsimdmacros.h stp q30, q31, [\state, #16 * 30]! stp 29 arch/arm64/include/asm/kvm_ptrauth.h stp \reg1, \reg2, [\base, #PTRAUTH_REG_OFFSET(CPU_APIAKEYLO_EL1)] stp 32 arch/arm64/include/asm/kvm_ptrauth.h stp \reg1, \reg2, [\base, #PTRAUTH_REG_OFFSET(CPU_APIBKEYLO_EL1)] stp 35 arch/arm64/include/asm/kvm_ptrauth.h stp \reg1, \reg2, [\base, #PTRAUTH_REG_OFFSET(CPU_APDAKEYLO_EL1)] stp 38 arch/arm64/include/asm/kvm_ptrauth.h stp \reg1, \reg2, [\base, #PTRAUTH_REG_OFFSET(CPU_APDBKEYLO_EL1)] stp 41 arch/arm64/include/asm/kvm_ptrauth.h stp \reg1, \reg2, [\base, #PTRAUTH_REG_OFFSET(CPU_APGAKEYLO_EL1)] stp 259 arch/mips/alchemy/common/dbdma.c dbdev_tab_t *stp, *dtp; stp 271 arch/mips/alchemy/common/dbdma.c stp = find_dbdev_id(srcid); stp 272 arch/mips/alchemy/common/dbdma.c if (stp == NULL) stp 282 arch/mips/alchemy/common/dbdma.c if (!(stp->dev_flags & DEV_FLAGS_INUSE) || stp 283 arch/mips/alchemy/common/dbdma.c (stp->dev_flags & DEV_FLAGS_ANYUSE)) { stp 285 arch/mips/alchemy/common/dbdma.c stp->dev_flags |= DEV_FLAGS_INUSE; stp 292 arch/mips/alchemy/common/dbdma.c stp->dev_flags &= ~DEV_FLAGS_INUSE; stp 325 arch/mips/alchemy/common/dbdma.c ctp->chan_src = stp; stp 332 arch/mips/alchemy/common/dbdma.c if (stp->dev_intlevel) stp 334 arch/mips/alchemy/common/dbdma.c if (stp->dev_intpolarity) stp 340 arch/mips/alchemy/common/dbdma.c if ((stp->dev_flags & DEV_FLAGS_SYNC) || stp 354 arch/mips/alchemy/common/dbdma.c stp->dev_flags &= ~DEV_FLAGS_INUSE; stp 369 arch/mips/alchemy/common/dbdma.c dbdev_tab_t *stp, *dtp; stp 372 arch/mips/alchemy/common/dbdma.c stp = ctp->chan_src; stp 376 arch/mips/alchemy/common/dbdma.c if (stp->dev_flags & DEV_FLAGS_IN) { /* Source in fifo */ stp 377 arch/mips/alchemy/common/dbdma.c rv = stp->dev_devwidth; stp 378 arch/mips/alchemy/common/dbdma.c stp->dev_devwidth = bits; stp 397 arch/mips/alchemy/common/dbdma.c dbdev_tab_t *stp, *dtp; stp 405 arch/mips/alchemy/common/dbdma.c stp = ctp->chan_src; stp 442 arch/mips/alchemy/common/dbdma.c srcid = stp->dev_id; stp 460 arch/mips/alchemy/common/dbdma.c switch (stp->dev_devwidth) { stp 490 arch/mips/alchemy/common/dbdma.c if (stp->dev_flags & DEV_FLAGS_IN) stp 499 arch/mips/alchemy/common/dbdma.c switch (stp->dev_tsize) { stp 516 arch/mips/alchemy/common/dbdma.c if (stp->dev_flags & DEV_FLAGS_IN) { stp 517 arch/mips/alchemy/common/dbdma.c if (stp->dev_flags & DEV_FLAGS_BURSTABLE) stp 523 arch/mips/alchemy/common/dbdma.c if (stp->dev_physaddr) stp 524 arch/mips/alchemy/common/dbdma.c src0 = stp->dev_physaddr; stp 560 arch/mips/alchemy/common/dbdma.c dtp->dev_id, stp->dev_id, cmd0, cmd1, src0, stp 844 arch/mips/alchemy/common/dbdma.c dbdev_tab_t *stp, *dtp; stp 847 arch/mips/alchemy/common/dbdma.c stp = ctp->chan_src; stp 854 arch/mips/alchemy/common/dbdma.c stp->dev_flags &= ~DEV_FLAGS_INUSE; stp 893 arch/mips/alchemy/common/dbdma.c dbdev_tab_t *stp, *dtp; stp 898 arch/mips/alchemy/common/dbdma.c stp = ctp->chan_src; stp 903 arch/mips/alchemy/common/dbdma.c (u32)ctp, (u32)stp, stp - dbdev_tab, (u32)dtp, stp 6758 drivers/net/ethernet/micrel/ksz884x.c static int stp; stp 7253 drivers/net/ethernet/micrel/ksz884x.c module_param(stp, int, 0); stp 7258 drivers/net/ethernet/micrel/ksz884x.c MODULE_PARM_DESC(stp, "STP support"); stp 216 drivers/scsi/arm/fas216.c info->device[i].disconnect_ok, info->device[i].stp, stp 473 drivers/scsi/arm/fas216.c fas216_writeb(info, REG_STP, info->device[target].stp); stp 597 drivers/scsi/arm/fas216.c dev->stp = fas216_syncperiod(info, msg[3] * 4); stp 611 drivers/scsi/arm/fas216.c dev->stp = info->scsi.async_stp; stp 1615 drivers/scsi/arm/fas216.c info->device[i].stp = info->scsi.async_stp; stp 291 drivers/scsi/arm/fas216.h unsigned char stp; /* synchronous transfer period */ stp 748 drivers/scsi/csiostor/csio_wr.c struct csio_qstatus_page *stp = (struct csio_qstatus_page *)q->vwrap; stp 750 drivers/scsi/csiostor/csio_wr.c memset(stp, 0, sizeof(*stp)); stp 869 drivers/scsi/csiostor/csio_wr.c struct csio_qstatus_page *stp = (struct csio_qstatus_page *)q->vwrap; stp 870 drivers/scsi/csiostor/csio_wr.c uint16_t cidx = q->cidx = ntohs(stp->cidx); stp 1498 drivers/scsi/esp_scsi.c u8 stp; stp 1517 drivers/scsi/esp_scsi.c stp = DIV_ROUND_UP(period << 2, one_clock); stp 1518 drivers/scsi/esp_scsi.c if (stp && esp->rev >= FAS236) { stp 1519 drivers/scsi/esp_scsi.c if (stp >= 50) stp 1520 drivers/scsi/esp_scsi.c stp--; stp 1523 drivers/scsi/esp_scsi.c stp = 0; stp 1526 drivers/scsi/esp_scsi.c esp_setsync(esp, tp, period, offset, stp, offset); stp 537 drivers/scsi/hisi_sas/hisi_sas.h struct hisi_sas_command_table_stp stp; stp 537 drivers/scsi/isci/request.c task_context->type.words[0] = *(u32 *)&ireq->stp.cmd; stp 550 drivers/scsi/isci/request.c ((char *) &ireq->stp.cmd) + stp 570 drivers/scsi/isci/request.c task_context->type.stp.fis_type = FIS_REGH2D; stp 577 drivers/scsi/isci/request.c struct isci_stp_request *stp_req = &ireq->stp.req; stp 643 drivers/scsi/isci/request.c struct host_to_dev_fis *h2d_fis = &ireq->stp.cmd; stp 662 drivers/scsi/isci/request.c ireq->stp.rsp.fis_type = 0; stp 1326 drivers/scsi/isci/request.c struct isci_stp_request *stp_req = &ireq->stp.req; stp 1344 drivers/scsi/isci/request.c task_context->type.stp.fis_type = FIS_DATA; stp 1352 drivers/scsi/isci/request.c struct isci_stp_request *stp_req = &ireq->stp.req; stp 1512 drivers/scsi/isci/request.c struct isci_stp_request *stp_req = &ireq->stp.req; stp 1573 drivers/scsi/isci/request.c sci_controller_copy_sata_response(&ireq->stp.rsp, stp 1609 drivers/scsi/isci/request.c sci_controller_copy_sata_response(&ireq->stp.rsp, stp 1628 drivers/scsi/isci/request.c if (ireq->stp.rsp.status & ATA_ERR) stp 1659 drivers/scsi/isci/request.c memset(&ireq->stp.cmd, 0, sizeof(struct host_to_dev_fis)); stp 1660 drivers/scsi/isci/request.c memcpy(((u8 *)&ireq->stp.cmd + sizeof(u32)), atapi_cdb, ATAPI_CDB_LEN); stp 1661 drivers/scsi/isci/request.c memset(&(task_context->type.stp), 0, sizeof(struct stp_task_context)); stp 1662 drivers/scsi/isci/request.c task_context->type.stp.fis_type = FIS_DATA; stp 1685 drivers/scsi/isci/request.c memset(&task_context->type.stp, 0, sizeof(task_context->type.stp)); stp 1686 drivers/scsi/isci/request.c task_context->type.stp.fis_type = FIS_DATA; stp 1688 drivers/scsi/isci/request.c memset(&ireq->stp.cmd, 0, sizeof(ireq->stp.cmd)); stp 1689 drivers/scsi/isci/request.c memcpy(&ireq->stp.cmd.lbal, task->ata_task.atapi_packet, cdb_len); stp 1710 drivers/scsi/isci/request.c struct isci_stp_request *stp_req = &ireq->stp.req; stp 1866 drivers/scsi/isci/request.c sci_controller_copy_sata_response(&ireq->stp.rsp, stp 1930 drivers/scsi/isci/request.c sci_controller_copy_sata_response(&ireq->stp.rsp, stp 1934 drivers/scsi/isci/request.c ireq->stp.rsp.status = stp_req->status; stp 1975 drivers/scsi/isci/request.c sci_controller_copy_sata_response(&ireq->stp.rsp, stp 2120 drivers/scsi/isci/request.c if (ireq->stp.rsp.fis_type == FIS_REGD2H) { stp 2184 drivers/scsi/isci/request.c struct dev_to_host_fis *d2h = &ireq->stp.rsp; stp 2762 drivers/scsi/isci/request.c isci_process_stp_response(task, &request->stp.rsp); stp 3103 drivers/scsi/isci/request.c memset(&ireq->stp.cmd, 0, sizeof(ireq->stp.cmd)); stp 3155 drivers/scsi/isci/request.c struct host_to_dev_fis *fis = &ireq->stp.cmd; stp 3177 drivers/scsi/isci/request.c ireq->tc->type.stp.ncq_tag = qc->tag; stp 146 drivers/scsi/isci/request.h } stp; stp 154 drivers/scsi/isci/request.h ireq = container_of(stp_req, typeof(*ireq), stp.req); stp 225 drivers/scsi/isci/scu_remote_node_context.h struct stp_remote_node_context stp; stp 428 drivers/scsi/isci/scu_task_context.h struct stp_task_context stp; stp 718 drivers/scsi/isci/task.c &ireq->stp.rsp, stp 2011 drivers/scsi/megaraid/megaraid_sas.h struct megasas_stp_frame stp; stp 363 drivers/scsi/st.c DEB(const char *stp;) stp 435 drivers/scsi/st.c stp = "read"; stp 437 drivers/scsi/st.c stp = "write"; stp 439 drivers/scsi/st.c stp = "ioctl"; stp 442 drivers/scsi/st.c stp, STp->recover_count); stp 451 drivers/scsi/st.c static struct st_request *st_allocate_request(struct scsi_tape *stp) stp 457 drivers/scsi/st.c streq->stp = stp; stp 459 drivers/scsi/st.c st_printk(KERN_ERR, stp, stp 462 drivers/scsi/st.c stp->buffer->syscall_result = -EINTR; stp 464 drivers/scsi/st.c stp->buffer->syscall_result = -EBUSY; stp 520 drivers/scsi/st.c struct scsi_tape *STp = SRpnt->stp; stp 544 drivers/scsi/st.c struct rq_map_data *mdata = &SRpnt->stp->buffer->map_data; stp 546 drivers/scsi/st.c struct scsi_tape *STp = SRpnt->stp; stp 548 drivers/scsi/st.c req = blk_get_request(SRpnt->stp->device->request_queue, stp 4115 drivers/scsi/st.c char *stp; stp 4117 drivers/scsi/st.c stp = get_options(str, ARRAY_SIZE(ints), ints); stp 4124 drivers/scsi/st.c while (stp != NULL) { stp 4127 drivers/scsi/st.c if (!strncmp(stp, parms[i].name, len) && stp 4128 drivers/scsi/st.c (*(stp + len) == ':' || *(stp + len) == '=')) { stp 4131 drivers/scsi/st.c simple_strtoul(stp + len + 1, NULL, 0); stp 4140 drivers/scsi/st.c stp); stp 4141 drivers/scsi/st.c stp = strchr(stp, ','); stp 4142 drivers/scsi/st.c if (stp) stp 4143 drivers/scsi/st.c stp++; stp 4264 drivers/scsi/st.c char *stp; stp 4268 drivers/scsi/st.c if ((stp = st_incompatible(SDp))) { stp 31 drivers/scsi/st.h struct scsi_tape *stp; stp 398 drivers/tty/tty_io.c char *str, *stp; stp 414 drivers/tty/tty_io.c stp = str; stp 415 drivers/tty/tty_io.c if (*stp == ',') stp 416 drivers/tty/tty_io.c stp++; stp 417 drivers/tty/tty_io.c if (*stp == '\0') stp 418 drivers/tty/tty_io.c stp = NULL; stp 421 drivers/tty/tty_io.c p->ops->poll_init && !p->ops->poll_init(p, tty_line, stp)) { stp 94 drivers/usb/gadget/legacy/dbgp.c int stp; stp 99 drivers/usb/gadget/legacy/dbgp.c stp = 1; stp 104 drivers/usb/gadget/legacy/dbgp.c stp = 2; stp 113 drivers/usb/gadget/legacy/dbgp.c stp = 3; stp 125 drivers/usb/gadget/legacy/dbgp.c "complete: failure (%d:%d) ==> %d\n", stp, err, status); stp 130 drivers/usb/gadget/legacy/dbgp.c int err, stp; stp 136 drivers/usb/gadget/legacy/dbgp.c stp = 1; stp 143 drivers/usb/gadget/legacy/dbgp.c stp = 2; stp 151 drivers/usb/gadget/legacy/dbgp.c stp = 3; stp 163 drivers/usb/gadget/legacy/dbgp.c "enable ep req: failure (%d:%d)\n", stp, err); stp 177 drivers/usb/gadget/legacy/dbgp.c int err, stp; stp 181 drivers/usb/gadget/legacy/dbgp.c stp = 1; stp 187 drivers/usb/gadget/legacy/dbgp.c stp = 2; stp 193 drivers/usb/gadget/legacy/dbgp.c stp = 3; stp 204 drivers/usb/gadget/legacy/dbgp.c dev_dbg(&dbgp.gadget->dev, "enable ep: failure (%d:%d)\n", stp, err); stp 237 drivers/usb/gadget/legacy/dbgp.c int stp; stp 243 drivers/usb/gadget/legacy/dbgp.c stp = 1; stp 252 drivers/usb/gadget/legacy/dbgp.c stp = 2; stp 273 drivers/usb/gadget/legacy/dbgp.c dev_dbg(&dbgp.gadget->dev, "ep config: failure (%d)\n", stp); stp 280 drivers/usb/gadget/legacy/dbgp.c int err, stp; stp 287 drivers/usb/gadget/legacy/dbgp.c stp = 1; stp 294 drivers/usb/gadget/legacy/dbgp.c stp = 2; stp 303 drivers/usb/gadget/legacy/dbgp.c stp = 3; stp 309 drivers/usb/gadget/legacy/dbgp.c stp = 4; stp 317 drivers/usb/gadget/legacy/dbgp.c stp = 5; stp 325 drivers/usb/gadget/legacy/dbgp.c dev_dbg(&gadget->dev, "bind: failure (%d:%d)\n", stp, err); stp 218 fs/nfsd/nfs4layouts.c struct nfs4_stid *stp; stp 220 fs/nfsd/nfs4layouts.c stp = nfs4_alloc_stid(cstate->clp, nfs4_layout_stateid_cache, stp 222 fs/nfsd/nfs4layouts.c if (!stp) stp 226 fs/nfsd/nfs4layouts.c stp->sc_file = fp; stp 228 fs/nfsd/nfs4layouts.c ls = layoutstateid(stp); stp 252 fs/nfsd/nfs4layouts.c stp->sc_type = NFS4_LAYOUT_STID; stp 1125 fs/nfsd/nfs4state.c set_access(u32 access, struct nfs4_ol_stateid *stp) stp 1130 fs/nfsd/nfs4state.c stp->st_access_bmap |= mask; stp 1135 fs/nfsd/nfs4state.c clear_access(u32 access, struct nfs4_ol_stateid *stp) stp 1140 fs/nfsd/nfs4state.c stp->st_access_bmap &= ~mask; stp 1145 fs/nfsd/nfs4state.c test_access(u32 access, struct nfs4_ol_stateid *stp) stp 1149 fs/nfsd/nfs4state.c return (bool)(stp->st_access_bmap & mask); stp 1154 fs/nfsd/nfs4state.c set_deny(u32 deny, struct nfs4_ol_stateid *stp) stp 1159 fs/nfsd/nfs4state.c stp->st_deny_bmap |= mask; stp 1164 fs/nfsd/nfs4state.c clear_deny(u32 deny, struct nfs4_ol_stateid *stp) stp 1169 fs/nfsd/nfs4state.c stp->st_deny_bmap &= ~mask; stp 1174 fs/nfsd/nfs4state.c test_deny(u32 deny, struct nfs4_ol_stateid *stp) stp 1178 fs/nfsd/nfs4state.c return (bool)(stp->st_deny_bmap & mask); stp 1202 fs/nfsd/nfs4state.c struct nfs4_ol_stateid *stp; stp 1206 fs/nfsd/nfs4state.c list_for_each_entry(stp, &fp->fi_stateids, st_perfile) stp 1207 fs/nfsd/nfs4state.c fp->fi_share_deny |= bmap_to_share_mode(stp->st_deny_bmap); stp 1212 fs/nfsd/nfs4state.c reset_union_bmap_deny(u32 deny, struct nfs4_ol_stateid *stp) stp 1220 fs/nfsd/nfs4state.c clear_deny(i, stp); stp 1226 fs/nfsd/nfs4state.c recalculate_deny_mode(stp->st_stid.sc_file); stp 1231 fs/nfsd/nfs4state.c release_all_access(struct nfs4_ol_stateid *stp) stp 1234 fs/nfsd/nfs4state.c struct nfs4_file *fp = stp->st_stid.sc_file; stp 1236 fs/nfsd/nfs4state.c if (fp && stp->st_deny_bmap != 0) stp 1240 fs/nfsd/nfs4state.c if (test_access(i, stp)) stp 1241 fs/nfsd/nfs4state.c nfs4_file_put_access(stp->st_stid.sc_file, i); stp 1242 fs/nfsd/nfs4state.c clear_access(i, stp); stp 1265 fs/nfsd/nfs4state.c static bool unhash_ol_stateid(struct nfs4_ol_stateid *stp) stp 1267 fs/nfsd/nfs4state.c struct nfs4_file *fp = stp->st_stid.sc_file; stp 1269 fs/nfsd/nfs4state.c lockdep_assert_held(&stp->st_stateowner->so_client->cl_lock); stp 1271 fs/nfsd/nfs4state.c if (list_empty(&stp->st_perfile)) stp 1275 fs/nfsd/nfs4state.c list_del_init(&stp->st_perfile); stp 1277 fs/nfsd/nfs4state.c list_del(&stp->st_perstateowner); stp 1283 fs/nfsd/nfs4state.c struct nfs4_ol_stateid *stp = openlockstateid(stid); stp 1285 fs/nfsd/nfs4state.c put_clnt_odstate(stp->st_clnt_odstate); stp 1286 fs/nfsd/nfs4state.c release_all_access(stp); stp 1287 fs/nfsd/nfs4state.c if (stp->st_stateowner) stp 1288 fs/nfsd/nfs4state.c nfs4_put_stateowner(stp->st_stateowner); stp 1294 fs/nfsd/nfs4state.c struct nfs4_ol_stateid *stp = openlockstateid(stid); stp 1295 fs/nfsd/nfs4state.c struct nfs4_lockowner *lo = lockowner(stp->st_stateowner); stp 1298 fs/nfsd/nfs4state.c nf = find_any_file(stp->st_stid.sc_file); stp 1312 fs/nfsd/nfs4state.c static void put_ol_stateid_locked(struct nfs4_ol_stateid *stp, stp 1315 fs/nfsd/nfs4state.c struct nfs4_stid *s = &stp->st_stid; stp 1320 fs/nfsd/nfs4state.c WARN_ON_ONCE(!list_empty(&stp->st_locks)); stp 1328 fs/nfsd/nfs4state.c list_add(&stp->st_locks, reaplist); stp 1331 fs/nfsd/nfs4state.c static bool unhash_lock_stateid(struct nfs4_ol_stateid *stp) stp 1333 fs/nfsd/nfs4state.c lockdep_assert_held(&stp->st_stid.sc_client->cl_lock); stp 1335 fs/nfsd/nfs4state.c list_del_init(&stp->st_locks); stp 1336 fs/nfsd/nfs4state.c nfs4_unhash_stid(&stp->st_stid); stp 1337 fs/nfsd/nfs4state.c return unhash_ol_stateid(stp); stp 1340 fs/nfsd/nfs4state.c static void release_lock_stateid(struct nfs4_ol_stateid *stp) stp 1342 fs/nfsd/nfs4state.c struct nfs4_client *clp = stp->st_stid.sc_client; stp 1346 fs/nfsd/nfs4state.c unhashed = unhash_lock_stateid(stp); stp 1349 fs/nfsd/nfs4state.c nfs4_put_stid(&stp->st_stid); stp 1368 fs/nfsd/nfs4state.c struct nfs4_ol_stateid *stp; stp 1374 fs/nfsd/nfs4state.c stp = list_first_entry(reaplist, struct nfs4_ol_stateid, stp 1376 fs/nfsd/nfs4state.c list_del(&stp->st_locks); stp 1377 fs/nfsd/nfs4state.c fp = stp->st_stid.sc_file; stp 1378 fs/nfsd/nfs4state.c stp->st_stid.sc_free(&stp->st_stid); stp 1387 fs/nfsd/nfs4state.c struct nfs4_ol_stateid *stp; stp 1392 fs/nfsd/nfs4state.c stp = list_entry(open_stp->st_locks.next, stp 1394 fs/nfsd/nfs4state.c WARN_ON(!unhash_lock_stateid(stp)); stp 1395 fs/nfsd/nfs4state.c put_ol_stateid_locked(stp, reaplist); stp 1399 fs/nfsd/nfs4state.c static bool unhash_open_stateid(struct nfs4_ol_stateid *stp, stp 1404 fs/nfsd/nfs4state.c lockdep_assert_held(&stp->st_stid.sc_client->cl_lock); stp 1406 fs/nfsd/nfs4state.c unhashed = unhash_ol_stateid(stp); stp 1407 fs/nfsd/nfs4state.c release_open_stateid_locks(stp, reaplist); stp 1411 fs/nfsd/nfs4state.c static void release_open_stateid(struct nfs4_ol_stateid *stp) stp 1415 fs/nfsd/nfs4state.c spin_lock(&stp->st_stid.sc_client->cl_lock); stp 1416 fs/nfsd/nfs4state.c if (unhash_open_stateid(stp, &reaplist)) stp 1417 fs/nfsd/nfs4state.c put_ol_stateid_locked(stp, &reaplist); stp 1418 fs/nfsd/nfs4state.c spin_unlock(&stp->st_stid.sc_client->cl_lock); stp 1451 fs/nfsd/nfs4state.c struct nfs4_ol_stateid *stp; stp 1460 fs/nfsd/nfs4state.c stp = list_first_entry(&oo->oo_owner.so_stateids, stp 1462 fs/nfsd/nfs4state.c if (unhash_open_stateid(stp, &reaplist)) stp 1463 fs/nfsd/nfs4state.c put_ol_stateid_locked(stp, &reaplist); stp 4145 fs/nfsd/nfs4state.c nfsd4_lock_ol_stateid(struct nfs4_ol_stateid *stp) stp 4149 fs/nfsd/nfs4state.c mutex_lock_nested(&stp->st_mutex, LOCK_STATEID_MUTEX); stp 4150 fs/nfsd/nfs4state.c ret = nfsd4_verify_open_stid(&stp->st_stid); stp 4152 fs/nfsd/nfs4state.c mutex_unlock(&stp->st_mutex); stp 4159 fs/nfsd/nfs4state.c struct nfs4_ol_stateid *stp; stp 4162 fs/nfsd/nfs4state.c stp = nfsd4_find_existing_open(fp, open); stp 4164 fs/nfsd/nfs4state.c if (!stp || nfsd4_lock_ol_stateid(stp) == nfs_ok) stp 4166 fs/nfsd/nfs4state.c nfs4_put_stid(&stp->st_stid); stp 4168 fs/nfsd/nfs4state.c return stp; stp 4208 fs/nfsd/nfs4state.c struct nfs4_ol_stateid *stp; stp 4210 fs/nfsd/nfs4state.c stp = open->op_stp; stp 4212 fs/nfsd/nfs4state.c mutex_init(&stp->st_mutex); stp 4213 fs/nfsd/nfs4state.c mutex_lock_nested(&stp->st_mutex, OPEN_STATEID_MUTEX); stp 4224 fs/nfsd/nfs4state.c refcount_inc(&stp->st_stid.sc_count); stp 4225 fs/nfsd/nfs4state.c stp->st_stid.sc_type = NFS4_OPEN_STID; stp 4226 fs/nfsd/nfs4state.c INIT_LIST_HEAD(&stp->st_locks); stp 4227 fs/nfsd/nfs4state.c stp->st_stateowner = nfs4_get_stateowner(&oo->oo_owner); stp 4229 fs/nfsd/nfs4state.c stp->st_stid.sc_file = fp; stp 4230 fs/nfsd/nfs4state.c stp->st_access_bmap = 0; stp 4231 fs/nfsd/nfs4state.c stp->st_deny_bmap = 0; stp 4232 fs/nfsd/nfs4state.c stp->st_openstp = NULL; stp 4233 fs/nfsd/nfs4state.c list_add(&stp->st_perstateowner, &oo->oo_owner.so_stateids); stp 4234 fs/nfsd/nfs4state.c list_add(&stp->st_perfile, &fp->fi_stateids); stp 4246 fs/nfsd/nfs4state.c mutex_unlock(&stp->st_mutex); stp 4247 fs/nfsd/nfs4state.c stp = retstp; stp 4249 fs/nfsd/nfs4state.c return stp; stp 4681 fs/nfsd/nfs4state.c struct svc_fh *cur_fh, struct nfs4_ol_stateid *stp, stp 4710 fs/nfsd/nfs4state.c old_access_bmap = stp->st_access_bmap; stp 4711 fs/nfsd/nfs4state.c set_access(open->op_share_access, stp); stp 4714 fs/nfsd/nfs4state.c old_deny_bmap = stp->st_deny_bmap; stp 4715 fs/nfsd/nfs4state.c set_deny(open->op_share_deny, stp); stp 4739 fs/nfsd/nfs4state.c stp->st_access_bmap = old_access_bmap; stp 4741 fs/nfsd/nfs4state.c reset_union_bmap_deny(bmap_to_share_mode(old_deny_bmap), stp); stp 4746 fs/nfsd/nfs4state.c nfs4_upgrade_open(struct svc_rqst *rqstp, struct nfs4_file *fp, struct svc_fh *cur_fh, struct nfs4_ol_stateid *stp, struct nfsd4_open *open) stp 4749 fs/nfsd/nfs4state.c unsigned char old_deny_bmap = stp->st_deny_bmap; stp 4751 fs/nfsd/nfs4state.c if (!test_access(open->op_share_access, stp)) stp 4752 fs/nfsd/nfs4state.c return nfs4_get_vfs_file(rqstp, fp, cur_fh, stp, open); stp 4758 fs/nfsd/nfs4state.c set_deny(open->op_share_deny, stp); stp 4769 fs/nfsd/nfs4state.c reset_union_bmap_deny(old_deny_bmap, stp); stp 4913 fs/nfsd/nfs4state.c struct nfs4_ol_stateid *stp) stp 4916 fs/nfsd/nfs4state.c struct nfs4_openowner *oo = openowner(stp->st_stateowner); stp 4917 fs/nfsd/nfs4state.c struct nfs4_client *clp = stp->st_stid.sc_client; stp 4956 fs/nfsd/nfs4state.c dp = nfs4_set_delegation(clp, fh, stp->st_stid.sc_file, stp->st_clnt_odstate); stp 5005 fs/nfsd/nfs4state.c struct nfs4_ol_stateid *stp = NULL; stp 5020 fs/nfsd/nfs4state.c stp = nfsd4_find_and_lock_existing_open(fp, open); stp 5028 fs/nfsd/nfs4state.c if (!stp) { stp 5029 fs/nfsd/nfs4state.c stp = init_open_stateid(fp, open); stp 5042 fs/nfsd/nfs4state.c status = nfs4_upgrade_open(rqstp, fp, current_fh, stp, open); stp 5044 fs/nfsd/nfs4state.c mutex_unlock(&stp->st_mutex); stp 5048 fs/nfsd/nfs4state.c status = nfs4_get_vfs_file(rqstp, fp, current_fh, stp, open); stp 5050 fs/nfsd/nfs4state.c stp->st_stid.sc_type = NFS4_CLOSED_STID; stp 5051 fs/nfsd/nfs4state.c release_open_stateid(stp); stp 5052 fs/nfsd/nfs4state.c mutex_unlock(&stp->st_mutex); stp 5056 fs/nfsd/nfs4state.c stp->st_clnt_odstate = find_or_hash_clnt_odstate(fp, stp 5058 fs/nfsd/nfs4state.c if (stp->st_clnt_odstate == open->op_odstate) stp 5062 fs/nfsd/nfs4state.c nfs4_inc_and_copy_stateid(&open->op_stateid, &stp->st_stid); stp 5063 fs/nfsd/nfs4state.c mutex_unlock(&stp->st_mutex); stp 5077 fs/nfsd/nfs4state.c nfs4_open_delegation(current_fh, open, stp); stp 5082 fs/nfsd/nfs4state.c STATEID_VAL(&stp->st_stid.sc_stateid)); stp 5104 fs/nfsd/nfs4state.c if (stp) stp 5105 fs/nfsd/nfs4state.c nfs4_put_stid(&stp->st_stid); stp 5215 fs/nfsd/nfs4state.c struct nfs4_ol_stateid *stp; stp 5283 fs/nfsd/nfs4state.c stp = oo->oo_last_closed_stid; stp 5286 fs/nfsd/nfs4state.c nfs4_put_stid(&stp->st_stid); stp 5345 fs/nfsd/nfs4state.c static inline __be32 nfs4_check_fh(struct svc_fh *fhp, struct nfs4_stid *stp) stp 5347 fs/nfsd/nfs4state.c if (!fh_match(&fhp->fh_handle, &stp->sc_file->fi_fhandle)) stp 5353 fs/nfsd/nfs4state.c access_permit_read(struct nfs4_ol_stateid *stp) stp 5355 fs/nfsd/nfs4state.c return test_access(NFS4_SHARE_ACCESS_READ, stp) || stp 5356 fs/nfsd/nfs4state.c test_access(NFS4_SHARE_ACCESS_BOTH, stp) || stp 5357 fs/nfsd/nfs4state.c test_access(NFS4_SHARE_ACCESS_WRITE, stp); stp 5361 fs/nfsd/nfs4state.c access_permit_write(struct nfs4_ol_stateid *stp) stp 5363 fs/nfsd/nfs4state.c return test_access(NFS4_SHARE_ACCESS_WRITE, stp) || stp 5364 fs/nfsd/nfs4state.c test_access(NFS4_SHARE_ACCESS_BOTH, stp); stp 5368 fs/nfsd/nfs4state.c __be32 nfs4_check_openmode(struct nfs4_ol_stateid *stp, int flags) stp 5373 fs/nfsd/nfs4state.c if (stp->st_openstp) stp 5374 fs/nfsd/nfs4state.c stp = stp->st_openstp; stp 5375 fs/nfsd/nfs4state.c if ((flags & WR_STATE) && !access_permit_write(stp)) stp 5377 fs/nfsd/nfs4state.c if ((flags & RD_STATE) && !access_permit_read(stp)) stp 5687 fs/nfsd/nfs4state.c struct nfs4_ol_stateid *stp = openlockstateid(s); stp 5690 fs/nfsd/nfs4state.c ret = nfsd4_lock_ol_stateid(stp); stp 5699 fs/nfsd/nfs4state.c if (check_for_locks(stp->st_stid.sc_file, stp 5700 fs/nfsd/nfs4state.c lockowner(stp->st_stateowner))) stp 5703 fs/nfsd/nfs4state.c release_lock_stateid(stp); stp 5707 fs/nfsd/nfs4state.c mutex_unlock(&stp->st_mutex); stp 5769 fs/nfsd/nfs4state.c static __be32 nfs4_seqid_op_checks(struct nfsd4_compound_state *cstate, stateid_t *stateid, u32 seqid, struct nfs4_ol_stateid *stp) stp 5772 fs/nfsd/nfs4state.c struct nfs4_stateowner *sop = stp->st_stateowner; stp 5778 fs/nfsd/nfs4state.c status = nfsd4_lock_ol_stateid(stp); stp 5781 fs/nfsd/nfs4state.c status = check_stateid_generation(stateid, &stp->st_stid.sc_stateid, nfsd4_has_session(cstate)); stp 5783 fs/nfsd/nfs4state.c status = nfs4_check_fh(current_fh, &stp->st_stid); stp 5785 fs/nfsd/nfs4state.c mutex_unlock(&stp->st_mutex); stp 5800 fs/nfsd/nfs4state.c struct nfs4_ol_stateid *stp = NULL; stp 5809 fs/nfsd/nfs4state.c stp = openlockstateid(s); stp 5810 fs/nfsd/nfs4state.c nfsd4_cstate_assign_replay(cstate, stp->st_stateowner); stp 5812 fs/nfsd/nfs4state.c status = nfs4_seqid_op_checks(cstate, stateid, seqid, stp); stp 5814 fs/nfsd/nfs4state.c *stpp = stp; stp 5816 fs/nfsd/nfs4state.c nfs4_put_stid(&stp->st_stid); stp 5825 fs/nfsd/nfs4state.c struct nfs4_ol_stateid *stp; stp 5828 fs/nfsd/nfs4state.c NFS4_OPEN_STID, &stp, nn); stp 5831 fs/nfsd/nfs4state.c oo = openowner(stp->st_stateowner); stp 5833 fs/nfsd/nfs4state.c mutex_unlock(&stp->st_mutex); stp 5834 fs/nfsd/nfs4state.c nfs4_put_stid(&stp->st_stid); stp 5837 fs/nfsd/nfs4state.c *stpp = stp; stp 5848 fs/nfsd/nfs4state.c struct nfs4_ol_stateid *stp; stp 5860 fs/nfsd/nfs4state.c NFS4_OPEN_STID, &stp, nn); stp 5863 fs/nfsd/nfs4state.c oo = openowner(stp->st_stateowner); stp 5866 fs/nfsd/nfs4state.c mutex_unlock(&stp->st_mutex); stp 5870 fs/nfsd/nfs4state.c nfs4_inc_and_copy_stateid(&oc->oc_resp_stateid, &stp->st_stid); stp 5871 fs/nfsd/nfs4state.c mutex_unlock(&stp->st_mutex); stp 5873 fs/nfsd/nfs4state.c __func__, oc->oc_seqid, STATEID_VAL(&stp->st_stid.sc_stateid)); stp 5878 fs/nfsd/nfs4state.c nfs4_put_stid(&stp->st_stid); stp 5884 fs/nfsd/nfs4state.c static inline void nfs4_stateid_downgrade_bit(struct nfs4_ol_stateid *stp, u32 access) stp 5886 fs/nfsd/nfs4state.c if (!test_access(access, stp)) stp 5888 fs/nfsd/nfs4state.c nfs4_file_put_access(stp->st_stid.sc_file, access); stp 5889 fs/nfsd/nfs4state.c clear_access(access, stp); stp 5892 fs/nfsd/nfs4state.c static inline void nfs4_stateid_downgrade(struct nfs4_ol_stateid *stp, u32 to_access) stp 5896 fs/nfsd/nfs4state.c nfs4_stateid_downgrade_bit(stp, NFS4_SHARE_ACCESS_WRITE); stp 5897 fs/nfsd/nfs4state.c nfs4_stateid_downgrade_bit(stp, NFS4_SHARE_ACCESS_BOTH); stp 5900 fs/nfsd/nfs4state.c nfs4_stateid_downgrade_bit(stp, NFS4_SHARE_ACCESS_READ); stp 5901 fs/nfsd/nfs4state.c nfs4_stateid_downgrade_bit(stp, NFS4_SHARE_ACCESS_BOTH); stp 5916 fs/nfsd/nfs4state.c struct nfs4_ol_stateid *stp; stp 5928 fs/nfsd/nfs4state.c &od->od_stateid, &stp, nn); stp 5932 fs/nfsd/nfs4state.c if (!test_access(od->od_share_access, stp)) { stp 5934 fs/nfsd/nfs4state.c stp->st_access_bmap, od->od_share_access); stp 5937 fs/nfsd/nfs4state.c if (!test_deny(od->od_share_deny, stp)) { stp 5939 fs/nfsd/nfs4state.c stp->st_deny_bmap, od->od_share_deny); stp 5942 fs/nfsd/nfs4state.c nfs4_stateid_downgrade(stp, od->od_share_access); stp 5943 fs/nfsd/nfs4state.c reset_union_bmap_deny(od->od_share_deny, stp); stp 5944 fs/nfsd/nfs4state.c nfs4_inc_and_copy_stateid(&od->od_stateid, &stp->st_stid); stp 5947 fs/nfsd/nfs4state.c mutex_unlock(&stp->st_mutex); stp 5948 fs/nfsd/nfs4state.c nfs4_put_stid(&stp->st_stid); stp 5985 fs/nfsd/nfs4state.c struct nfs4_ol_stateid *stp; stp 5995 fs/nfsd/nfs4state.c &stp, nn); stp 6000 fs/nfsd/nfs4state.c stp->st_stid.sc_type = NFS4_CLOSED_STID; stp 6008 fs/nfsd/nfs4state.c nfs4_inc_and_copy_stateid(&close->cl_stateid, &stp->st_stid); stp 6010 fs/nfsd/nfs4state.c nfsd4_close_open_stateid(stp); stp 6011 fs/nfsd/nfs4state.c mutex_unlock(&stp->st_mutex); stp 6023 fs/nfsd/nfs4state.c nfs4_put_stid(&stp->st_stid); stp 6271 fs/nfsd/nfs4state.c init_lock_stateid(struct nfs4_ol_stateid *stp, struct nfs4_lockowner *lo, stp 6278 fs/nfsd/nfs4state.c mutex_init(&stp->st_mutex); stp 6279 fs/nfsd/nfs4state.c mutex_lock_nested(&stp->st_mutex, OPEN_STATEID_MUTEX); stp 6287 fs/nfsd/nfs4state.c refcount_inc(&stp->st_stid.sc_count); stp 6288 fs/nfsd/nfs4state.c stp->st_stid.sc_type = NFS4_LOCK_STID; stp 6289 fs/nfsd/nfs4state.c stp->st_stateowner = nfs4_get_stateowner(&lo->lo_owner); stp 6291 fs/nfsd/nfs4state.c stp->st_stid.sc_file = fp; stp 6292 fs/nfsd/nfs4state.c stp->st_access_bmap = 0; stp 6293 fs/nfsd/nfs4state.c stp->st_deny_bmap = open_stp->st_deny_bmap; stp 6294 fs/nfsd/nfs4state.c stp->st_openstp = open_stp; stp 6295 fs/nfsd/nfs4state.c list_add(&stp->st_locks, &open_stp->st_locks); stp 6296 fs/nfsd/nfs4state.c list_add(&stp->st_perstateowner, &lo->lo_owner.so_stateids); stp 6297 fs/nfsd/nfs4state.c list_add(&stp->st_perfile, &fp->fi_stateids); stp 6307 fs/nfsd/nfs4state.c mutex_unlock(&stp->st_mutex); stp 6308 fs/nfsd/nfs4state.c stp = retstp; stp 6310 fs/nfsd/nfs4state.c return stp; stp 6724 fs/nfsd/nfs4state.c struct nfs4_ol_stateid *stp; stp 6740 fs/nfsd/nfs4state.c &stp, nn); stp 6743 fs/nfsd/nfs4state.c nf = find_any_file(stp->st_stid.sc_file); stp 6756 fs/nfsd/nfs4state.c file_lock->fl_owner = (fl_owner_t)lockowner(nfs4_get_stateowner(stp->st_stateowner)); stp 6772 fs/nfsd/nfs4state.c nfs4_inc_and_copy_stateid(&locku->lu_stateid, &stp->st_stid); stp 6776 fs/nfsd/nfs4state.c mutex_unlock(&stp->st_mutex); stp 6777 fs/nfsd/nfs4state.c nfs4_put_stid(&stp->st_stid); stp 6835 fs/nfsd/nfs4state.c struct nfs4_ol_stateid *stp; stp 6861 fs/nfsd/nfs4state.c list_for_each_entry(stp, &sop->so_stateids, st_perstateowner) { stp 6862 fs/nfsd/nfs4state.c if (check_for_locks(stp->st_stid.sc_file, lo)) { stp 6879 fs/nfsd/nfs4state.c stp = list_first_entry(&lo->lo_owner.so_stateids, stp 6882 fs/nfsd/nfs4state.c WARN_ON(!unhash_lock_stateid(stp)); stp 6883 fs/nfsd/nfs4state.c put_ol_stateid_locked(stp, &reaplist); stp 7137 fs/nfsd/nfs4state.c struct nfs4_ol_stateid *stp, *st_next; stp 7143 fs/nfsd/nfs4state.c list_for_each_entry_safe(stp, st_next, stp 7146 fs/nfsd/nfs4state.c &stp->st_locks, st_locks) { stp 7210 fs/nfsd/nfs4state.c struct nfs4_ol_stateid *stp, *next; stp 7212 fs/nfsd/nfs4state.c list_for_each_entry_safe(stp, next, reaplist, st_locks) { stp 7213 fs/nfsd/nfs4state.c list_del_init(&stp->st_locks); stp 7214 fs/nfsd/nfs4state.c clp = stp->st_stid.sc_client; stp 7215 fs/nfsd/nfs4state.c nfs4_put_stid(&stp->st_stid); stp 133 fs/nfsd/trace.h TP_PROTO(stateid_t *stp), stp 134 fs/nfsd/trace.h TP_ARGS(stp), stp 142 fs/nfsd/trace.h __entry->cl_boot = stp->si_opaque.so_clid.cl_boot; stp 143 fs/nfsd/trace.h __entry->cl_id = stp->si_opaque.so_clid.cl_id; stp 144 fs/nfsd/trace.h __entry->si_id = stp->si_opaque.so_id; stp 145 fs/nfsd/trace.h __entry->si_generation = stp->si_generation; stp 156 fs/nfsd/trace.h TP_PROTO(stateid_t *stp), \ stp 157 fs/nfsd/trace.h TP_ARGS(stp)) stp 541 fs/xfs/libxfs/xfs_defer.c struct xfs_trans *stp) stp 543 fs/xfs/libxfs/xfs_defer.c list_splice_init(&stp->t_dfops, &dtp->t_dfops); stp 551 fs/xfs/libxfs/xfs_defer.c dtp->t_flags |= (stp->t_flags & XFS_TRANS_LOWMODE); stp 553 fs/xfs/libxfs/xfs_defer.c xfs_defer_reset(stp); stp 42 fs/xfs/libxfs/xfs_defer.h void xfs_defer_move(struct xfs_trans *dtp, struct xfs_trans *stp); stp 126 include/linux/mtd/nand.h #define NAND_ECCREQ(str, stp) { .strength = (str), .step_size = (stp) } stp 341 kernel/torture.c struct shuffle_task *stp; stp 345 kernel/torture.c stp = kmalloc(sizeof(*stp), GFP_KERNEL); stp 346 kernel/torture.c if (WARN_ON_ONCE(stp == NULL)) stp 348 kernel/torture.c stp->st_t = tp; stp 350 kernel/torture.c list_add(&stp->st_l, &shuffle_task_list); stp 360 kernel/torture.c struct shuffle_task *stp; stp 364 kernel/torture.c list_for_each_entry_safe(stp, p, &shuffle_task_list, st_l) { stp 365 kernel/torture.c list_del(&stp->st_l); stp 366 kernel/torture.c kfree(stp); stp 377 kernel/torture.c struct shuffle_task *stp; stp 396 kernel/torture.c list_for_each_entry(stp, &shuffle_task_list, st_l) stp 397 kernel/torture.c set_cpus_allowed_ptr(stp->st_t, shuffle_tmp_mask); stp 3605 net/xfrm/xfrm_policy.c struct xfrm_tmpl *stp[XFRM_MAX_DEPTH]; stp 3629 net/xfrm/xfrm_policy.c xfrm_tmpl_sort(stp, tpp, xfrm_nr, family); stp 3630 net/xfrm/xfrm_policy.c tpp = stp;