/linux-4.1.27/drivers/misc/sgi-gru/ |
H A D | gruhandles.c | 168 int tfh_write_only(struct gru_tlb_fault_handle *tfh, tfh_write_only() argument 173 tfh->fillasid = asid; tfh_write_only() 174 tfh->fillvaddr = vaddr; tfh_write_only() 175 tfh->pfn = paddr >> GRU_PADDR_SHIFT; tfh_write_only() 176 tfh->gaa = gaa; tfh_write_only() 177 tfh->dirty = dirty; tfh_write_only() 178 tfh->pagesize = pagesize; tfh_write_only() 179 tfh->opc = TFHOP_WRITE_ONLY; tfh_write_only() 180 start_instruction(tfh); tfh_write_only() 181 return wait_instruction_complete(tfh, tfhop_write_only); tfh_write_only() 184 void tfh_write_restart(struct gru_tlb_fault_handle *tfh, tfh_write_restart() argument 189 tfh->fillasid = asid; tfh_write_restart() 190 tfh->fillvaddr = vaddr; tfh_write_restart() 191 tfh->pfn = paddr >> GRU_PADDR_SHIFT; tfh_write_restart() 192 tfh->gaa = gaa; tfh_write_restart() 193 tfh->dirty = dirty; tfh_write_restart() 194 tfh->pagesize = pagesize; tfh_write_restart() 195 tfh->opc = TFHOP_WRITE_RESTART; tfh_write_restart() 196 start_instruction(tfh); tfh_write_restart() 199 void tfh_restart(struct gru_tlb_fault_handle *tfh) tfh_restart() argument 201 tfh->opc = TFHOP_RESTART; tfh_restart() 202 start_instruction(tfh); tfh_restart() 205 void tfh_user_polling_mode(struct gru_tlb_fault_handle *tfh) tfh_user_polling_mode() argument 207 tfh->opc = TFHOP_USER_POLLING_MODE; tfh_user_polling_mode() 208 start_instruction(tfh); tfh_user_polling_mode() 211 void tfh_exception(struct gru_tlb_fault_handle *tfh) tfh_exception() argument 213 tfh->opc = TFHOP_EXCEPTION; tfh_exception() 214 start_instruction(tfh); tfh_exception()
|
H A D | grufault.c | 322 struct gru_tlb_fault_handle *tfh, gru_preload_tlb() 342 if (ret || tfh_write_only(tfh, gpa, GAA_RAM, vaddr, asid, write, gru_preload_tlb() 346 "%s: gid %d, gts 0x%p, tfh 0x%p, vaddr 0x%lx, asid 0x%x, rw %d, ps %d, gpa 0x%lx\n", gru_preload_tlb() 347 atomic ? "atomic" : "non-atomic", gru->gs_gid, gts, tfh, gru_preload_tlb() 366 struct gru_tlb_fault_handle *tfh, gru_try_dropin() 385 cbe = gru_tfh_to_cbe(tfh); gru_try_dropin() 394 if (tfh->status != TFHSTATUS_EXCEPTION) { gru_try_dropin() 395 gru_flush_cache(tfh); gru_try_dropin() 397 if (tfh->status != TFHSTATUS_EXCEPTION) gru_try_dropin() 401 if (tfh->state == TFHSTATE_IDLE) gru_try_dropin() 403 if (tfh->state == TFHSTATE_MISS_FMM && cbk) gru_try_dropin() 406 write = (tfh->cause & TFHCAUSE_TLB_MOD) != 0; gru_try_dropin() 407 vaddr = tfh->missvaddr; gru_try_dropin() 408 asid = tfh->missasid; gru_try_dropin() 409 indexway = tfh->indexway; gru_try_dropin() 437 gru_preload_tlb(gru, gts, atomic, vaddr, asid, write, tlb_preload_count, tfh, cbe); gru_try_dropin() 443 tfh_write_restart(tfh, gpa, GAA_RAM, vaddr, asid, write, gru_try_dropin() 446 "%s: gid %d, gts 0x%p, tfh 0x%p, vaddr 0x%lx, asid 0x%x, indexway 0x%x," gru_try_dropin() 448 atomic ? "atomic" : "non-atomic", gru->gs_gid, gts, tfh, vaddr, asid, gru_try_dropin() 456 gru_dbg(grudev, "FAILED no_asid tfh: 0x%p, vaddr 0x%lx\n", tfh, vaddr); gru_try_dropin() 458 tfh_user_polling_mode(tfh); gru_try_dropin() 460 gru_flush_cache(tfh); gru_try_dropin() 466 tfh_user_polling_mode(tfh); gru_try_dropin() 469 gru_dbg(grudev, "FAILED upm tfh: 0x%p, vaddr 0x%lx\n", tfh, vaddr); gru_try_dropin() 474 gru_flush_cache(tfh); gru_try_dropin() 477 gru_dbg(grudev, "FAILED fmm tfh: 0x%p, state %d\n", tfh, tfh->state); gru_try_dropin() 482 gru_flush_cache(tfh); gru_try_dropin() 487 gru_dbg(grudev, "FAILED non-exception tfh: 0x%p, status %d, state %d\n", gru_try_dropin() 488 tfh, tfh->status, tfh->state); gru_try_dropin() 493 gru_flush_cache(tfh); gru_try_dropin() 498 gru_dbg(grudev, "FAILED idle tfh: 0x%p, state %d\n", tfh, tfh->state); gru_try_dropin() 503 tfh_exception(tfh); gru_try_dropin() 506 gru_dbg(grudev, "FAILED inval tfh: 0x%p, vaddr 0x%lx\n", tfh, vaddr); gru_try_dropin() 512 tfh_user_polling_mode(tfh); gru_try_dropin() 514 gru_flush_cache(tfh); gru_try_dropin() 517 gru_dbg(grudev, "FAILED range active: tfh 0x%p, vaddr 0x%lx\n", gru_try_dropin() 518 tfh, vaddr); gru_try_dropin() 533 struct gru_tlb_fault_handle *tfh = NULL; gru_intr() local 563 tfh = get_tfh_by_index(gru, cbrnum); for_each_cbr_in_tfm() 564 prefetchw(tfh); /* Helps on hdw, required for emulator */ for_each_cbr_in_tfm() 572 ctxnum = tfh->ctxnum; for_each_cbr_in_tfm() 588 gru_try_dropin(gru, gts, tfh, NULL); for_each_cbr_in_tfm() 591 tfh_user_polling_mode(tfh); for_each_cbr_in_tfm() 623 struct gru_tlb_fault_handle *tfh, gru_user_dropin() 633 prefetchw(tfh); /* Helps on hdw, required for emulator */ gru_user_dropin() 634 ret = gru_try_dropin(gts->ts_gru, gts, tfh, cb); gru_user_dropin() 648 struct gru_tlb_fault_handle *tfh; gru_handle_user_call_os() local 681 tfh = get_tfh_by_index(gts->ts_gru, cbrnum); gru_handle_user_call_os() 684 ret = gru_user_dropin(gts, tfh, cbk); gru_handle_user_call_os() 318 gru_preload_tlb(struct gru_state *gru, struct gru_thread_state *gts, int atomic, unsigned long fault_vaddr, int asid, int write, unsigned char tlb_preload_count, struct gru_tlb_fault_handle *tfh, struct gru_control_block_extended *cbe) gru_preload_tlb() argument 364 gru_try_dropin(struct gru_state *gru, struct gru_thread_state *gts, struct gru_tlb_fault_handle *tfh, struct gru_instruction_bits *cbk) gru_try_dropin() argument 622 gru_user_dropin(struct gru_thread_state *gts, struct gru_tlb_fault_handle *tfh, void *cb) gru_user_dropin() argument
|
H A D | gruhandles.h | 47 /* Bytes per handle & handle stride. Code assumes all cb, tfh, cbe handles 168 struct gru_tlb_fault_handle *tfh) gru_tfh_to_cbe() 172 cbe = (unsigned long)tfh - GRU_TFH_BASE + GRU_CBE_BASE; gru_tfh_to_cbe() 523 int tfh_write_only(struct gru_tlb_fault_handle *tfh, unsigned long paddr, 525 void tfh_write_restart(struct gru_tlb_fault_handle *tfh, unsigned long paddr, 527 void tfh_restart(struct gru_tlb_fault_handle *tfh); 528 void tfh_user_polling_mode(struct gru_tlb_fault_handle *tfh); 529 void tfh_exception(struct gru_tlb_fault_handle *tfh); 167 gru_tfh_to_cbe( struct gru_tlb_fault_handle *tfh) gru_tfh_to_cbe() argument
|
H A D | grukdump.c | 50 void *cb, *cbe, *tfh, *gseg; gru_dump_context_data() local 56 tfh = grubase + GRU_TFH_BASE; gru_dump_context_data() 63 if (gru_user_copy_handle(&ubuf, tfh + i * GRU_HANDLE_STRIDE)) gru_dump_context_data()
|
/linux-4.1.27/net/netfilter/ |
H A D | nf_conntrack_tftp.c | 43 const struct tftphdr *tfh; tftp_help() local 50 tfh = skb_header_pointer(skb, protoff + sizeof(struct udphdr), tftp_help() 52 if (tfh == NULL) tftp_help() 55 switch (ntohs(tfh->opcode)) { tftp_help()
|
/linux-4.1.27/fs/nfsd/ |
H A D | xdr.h | 50 struct svc_fh tfh; member in struct:nfsd_renameargs 62 struct svc_fh tfh; member in struct:nfsd_linkargs
|
H A D | xdr3.h | 68 struct svc_fh tfh; member in struct:nfsd3_renameargs 80 struct svc_fh tfh; member in struct:nfsd3_linkargs 165 struct svc_fh tfh; member in struct:nfsd3_renameres 170 struct svc_fh tfh; member in struct:nfsd3_linkres
|
H A D | nfs3proc.c | 373 SVCFH_fmt(&argp->tfh), nfsd3_proc_rename() 378 fh_copy(&resp->tfh, &argp->tfh); nfsd3_proc_rename() 380 &resp->tfh, argp->tname, argp->tlen); nfsd3_proc_rename() 393 SVCFH_fmt(&argp->tfh), nfsd3_proc_link() 398 fh_copy(&resp->tfh, &argp->tfh); nfsd3_proc_link() 399 nfserr = nfsd_link(rqstp, &resp->tfh, argp->tname, argp->tlen, nfsd3_proc_link()
|
H A D | nfsproc.c | 364 SVCFH_fmt(&argp->tfh), argp->tlen, argp->tname); nfsd_proc_rename() 367 &argp->tfh, argp->tname, argp->tlen); nfsd_proc_rename() 369 fh_put(&argp->tfh); nfsd_proc_rename() 382 SVCFH_fmt(&argp->tfh), nfsd_proc_link() 386 nfserr = nfsd_link(rqstp, &argp->tfh, argp->tname, argp->tlen, nfsd_proc_link() 389 fh_put(&argp->tfh); nfsd_proc_link()
|
H A D | nfsfh.c | 181 __u32 tfh[2]; nfsd_set_fh_dentry() local 190 mk_fsid(FSID_DEV, tfh, xdev, xino, 0, NULL); nfsd_set_fh_dentry() 191 exp = rqst_exp_find(rqstp, FSID_DEV, tfh); nfsd_set_fh_dentry()
|
H A D | nfsxdr.c | 350 || !(p = decode_fh(p, &args->tfh)) nfssvc_decode_renameargs() 373 || !(p = decode_fh(p, &args->tfh)) nfssvc_decode_linkargs()
|
H A D | nfs3xdr.c | 525 || !(p = decode_fh(p, &args->tfh)) nfs3svc_decode_renameargs() 549 || !(p = decode_fh(p, &args->tfh)) nfs3svc_decode_linkargs() 753 p = encode_wcc_data(rqstp, p, &resp->tfh); nfs3svc_encode_renameres() 763 p = encode_wcc_data(rqstp, p, &resp->tfh); nfs3svc_encode_linkres()
|
/linux-4.1.27/drivers/usb/misc/ |
H A D | cypress_cy7c63.c | 4 * Copyright (c) 2006-2007 Oliver Bock (bock@tfh-berlin.de) 37 #define DRIVER_AUTHOR "Oliver Bock (bock@tfh-berlin.de)"
|