/kernel/linux/linux-5.10/drivers/misc/sgi-gru/ |
H A D | gruhandles.c | 156 int tfh_write_only(struct gru_tlb_fault_handle *tfh, in tfh_write_only() argument 161 tfh->fillasid = asid; in tfh_write_only() 162 tfh->fillvaddr = vaddr; in tfh_write_only() 163 tfh->pfn = paddr >> GRU_PADDR_SHIFT; in tfh_write_only() 164 tfh->gaa = gaa; in tfh_write_only() 165 tfh->dirty = dirty; in tfh_write_only() 166 tfh->pagesize = pagesize; in tfh_write_only() 167 tfh->opc = TFHOP_WRITE_ONLY; in tfh_write_only() 168 start_instruction(tfh); in tfh_write_only() 169 return wait_instruction_complete(tfh, tfhop_write_onl in tfh_write_only() 172 tfh_write_restart(struct gru_tlb_fault_handle *tfh, unsigned long paddr, int gaa, unsigned long vaddr, int asid, int dirty, int pagesize) tfh_write_restart() argument 187 tfh_user_polling_mode(struct gru_tlb_fault_handle *tfh) tfh_user_polling_mode() argument 193 tfh_exception(struct gru_tlb_fault_handle *tfh) tfh_exception() argument [all...] |
H A D | grufault.c | 313 struct gru_tlb_fault_handle *tfh, in gru_preload_tlb() 333 if (ret || tfh_write_only(tfh, gpa, GAA_RAM, vaddr, asid, write, in gru_preload_tlb() 337 "%s: gid %d, gts 0x%p, tfh 0x%p, vaddr 0x%lx, asid 0x%x, rw %d, ps %d, gpa 0x%lx\n", in gru_preload_tlb() 338 atomic ? "atomic" : "non-atomic", gru->gs_gid, gts, tfh, in gru_preload_tlb() 357 struct gru_tlb_fault_handle *tfh, in gru_try_dropin() 376 cbe = gru_tfh_to_cbe(tfh); in gru_try_dropin() 385 if (tfh->status != TFHSTATUS_EXCEPTION) { in gru_try_dropin() 386 gru_flush_cache(tfh); in gru_try_dropin() 388 if (tfh->status != TFHSTATUS_EXCEPTION) in gru_try_dropin() 392 if (tfh in gru_try_dropin() 309 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 355 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 524 struct gru_tlb_fault_handle *tfh = NULL; gru_intr() local 613 gru_user_dropin(struct gru_thread_state *gts, struct gru_tlb_fault_handle *tfh, void *cb) gru_user_dropin() argument 639 struct gru_tlb_fault_handle *tfh; gru_handle_user_call_os() local [all...] |
H A D | gruhandles.h | 34 /* Bytes per handle & handle stride. Code assumes all cb, tfh, cbe handles 155 struct gru_tlb_fault_handle *tfh) in gru_tfh_to_cbe() 159 cbe = (unsigned long)tfh - GRU_TFH_BASE + GRU_CBE_BASE; in gru_tfh_to_cbe() 510 int tfh_write_only(struct gru_tlb_fault_handle *tfh, unsigned long paddr, 512 void tfh_write_restart(struct gru_tlb_fault_handle *tfh, unsigned long paddr, 514 void tfh_user_polling_mode(struct gru_tlb_fault_handle *tfh); 515 void tfh_exception(struct gru_tlb_fault_handle *tfh); 154 gru_tfh_to_cbe( struct gru_tlb_fault_handle *tfh) gru_tfh_to_cbe() argument
|
H A D | grukdump.c | 40 void *cb, *cbe, *tfh, *gseg; in gru_dump_context_data() local 46 tfh = grubase + GRU_TFH_BASE; in gru_dump_context_data() 53 if (gru_user_copy_handle(&ubuf, tfh + i * GRU_HANDLE_STRIDE)) in gru_dump_context_data()
|
/kernel/linux/linux-6.6/drivers/misc/sgi-gru/ |
H A D | gruhandles.c | 156 int tfh_write_only(struct gru_tlb_fault_handle *tfh, in tfh_write_only() argument 161 tfh->fillasid = asid; in tfh_write_only() 162 tfh->fillvaddr = vaddr; in tfh_write_only() 163 tfh->pfn = paddr >> GRU_PADDR_SHIFT; in tfh_write_only() 164 tfh->gaa = gaa; in tfh_write_only() 165 tfh->dirty = dirty; in tfh_write_only() 166 tfh->pagesize = pagesize; in tfh_write_only() 167 tfh->opc = TFHOP_WRITE_ONLY; in tfh_write_only() 168 start_instruction(tfh); in tfh_write_only() 169 return wait_instruction_complete(tfh, tfhop_write_onl in tfh_write_only() 172 tfh_write_restart(struct gru_tlb_fault_handle *tfh, unsigned long paddr, int gaa, unsigned long vaddr, int asid, int dirty, int pagesize) tfh_write_restart() argument 187 tfh_user_polling_mode(struct gru_tlb_fault_handle *tfh) tfh_user_polling_mode() argument 193 tfh_exception(struct gru_tlb_fault_handle *tfh) tfh_exception() argument [all...] |
H A D | grufault.c | 313 struct gru_tlb_fault_handle *tfh, in gru_preload_tlb() 333 if (ret || tfh_write_only(tfh, gpa, GAA_RAM, vaddr, asid, write, in gru_preload_tlb() 337 "%s: gid %d, gts 0x%p, tfh 0x%p, vaddr 0x%lx, asid 0x%x, rw %d, ps %d, gpa 0x%lx\n", in gru_preload_tlb() 338 atomic ? "atomic" : "non-atomic", gru->gs_gid, gts, tfh, in gru_preload_tlb() 357 struct gru_tlb_fault_handle *tfh, in gru_try_dropin() 376 cbe = gru_tfh_to_cbe(tfh); in gru_try_dropin() 385 if (tfh->status != TFHSTATUS_EXCEPTION) { in gru_try_dropin() 386 gru_flush_cache(tfh); in gru_try_dropin() 388 if (tfh->status != TFHSTATUS_EXCEPTION) in gru_try_dropin() 392 if (tfh in gru_try_dropin() 309 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 355 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 524 struct gru_tlb_fault_handle *tfh = NULL; gru_intr() local 613 gru_user_dropin(struct gru_thread_state *gts, struct gru_tlb_fault_handle *tfh, void *cb) gru_user_dropin() argument 639 struct gru_tlb_fault_handle *tfh; gru_handle_user_call_os() local [all...] |
H A D | gruhandles.h | 34 /* Bytes per handle & handle stride. Code assumes all cb, tfh, cbe handles 155 struct gru_tlb_fault_handle *tfh) in gru_tfh_to_cbe() 159 cbe = (unsigned long)tfh - GRU_TFH_BASE + GRU_CBE_BASE; in gru_tfh_to_cbe() 510 int tfh_write_only(struct gru_tlb_fault_handle *tfh, unsigned long paddr, 512 void tfh_write_restart(struct gru_tlb_fault_handle *tfh, unsigned long paddr, 514 void tfh_user_polling_mode(struct gru_tlb_fault_handle *tfh); 515 void tfh_exception(struct gru_tlb_fault_handle *tfh); 154 gru_tfh_to_cbe( struct gru_tlb_fault_handle *tfh) gru_tfh_to_cbe() argument
|
H A D | grukdump.c | 40 void *cb, *cbe, *tfh, *gseg; in gru_dump_context_data() local 46 tfh = grubase + GRU_TFH_BASE; in gru_dump_context_data() 53 if (gru_user_copy_handle(&ubuf, tfh + i * GRU_HANDLE_STRIDE)) in gru_dump_context_data()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nf_conntrack_tftp.c | 45 const struct tftphdr *tfh; in tftp_help() local 52 tfh = skb_header_pointer(skb, protoff + sizeof(struct udphdr), in tftp_help() 54 if (tfh == NULL) in tftp_help() 57 switch (ntohs(tfh->opcode)) { in tftp_help()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_conntrack_tftp.c | 45 const struct tftphdr *tfh; in tftp_help() local 52 tfh = skb_header_pointer(skb, protoff + sizeof(struct udphdr), in tftp_help() 54 if (tfh == NULL) in tftp_help() 57 switch (ntohs(tfh->opcode)) { in tftp_help()
|
/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | xdr3.h | 69 struct svc_fh tfh; member 81 struct svc_fh tfh; member 168 struct svc_fh tfh; member 173 struct svc_fh tfh; member
|
H A D | xdr.h | 51 struct svc_fh tfh; member 63 struct svc_fh tfh; member
|
H A D | nfs3proc.c | 398 SVCFH_fmt(&argp->tfh), in nfsd3_proc_rename() 403 fh_copy(&resp->tfh, &argp->tfh); in nfsd3_proc_rename() 405 &resp->tfh, argp->tname, argp->tlen); in nfsd3_proc_rename() 418 SVCFH_fmt(&argp->tfh), in nfsd3_proc_link() 423 fh_copy(&resp->tfh, &argp->tfh); in nfsd3_proc_link() 424 resp->status = nfsd_link(rqstp, &resp->tfh, argp->tname, argp->tlen, in nfsd3_proc_link()
|
H A D | nfsproc.c | 440 SVCFH_fmt(&argp->tfh), argp->tlen, argp->tname); in nfsd_proc_rename() 443 &argp->tfh, argp->tname, argp->tlen); in nfsd_proc_rename() 445 fh_put(&argp->tfh); in nfsd_proc_rename() 458 SVCFH_fmt(&argp->tfh), in nfsd_proc_link() 462 resp->status = nfsd_link(rqstp, &argp->tfh, argp->tname, argp->tlen, in nfsd_proc_link() 465 fh_put(&argp->tfh); in nfsd_proc_link()
|
H A D | nfsfh.c | 199 __u32 tfh[2]; in nfsd_set_fh_dentry() local 208 mk_fsid(FSID_DEV, tfh, xdev, xino, 0, NULL); in nfsd_set_fh_dentry() 209 exp = rqst_exp_find(rqstp, FSID_DEV, tfh); in nfsd_set_fh_dentry()
|
H A D | nfs3xdr.c | 543 || !(p = decode_fh(p, &args->tfh)) in nfs3svc_decode_renameargs() 569 || !(p = decode_fh(p, &args->tfh)) in nfs3svc_decode_linkargs() 795 p = encode_wcc_data(rqstp, p, &resp->tfh); in nfs3svc_encode_renameres() 807 p = encode_wcc_data(rqstp, p, &resp->tfh); in nfs3svc_encode_linkres()
|
H A D | nfsxdr.c | 335 || !(p = decode_fh(p, &args->tfh)) in nfssvc_decode_renameargs() 361 || !(p = decode_fh(p, &args->tfh)) in nfssvc_decode_linkargs()
|
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | xdr3.h | 68 struct svc_fh tfh; member 75 struct svc_fh tfh; member 162 struct svc_fh tfh; member 167 struct svc_fh tfh; member
|
H A D | xdr.h | 50 struct svc_fh tfh; member 57 struct svc_fh tfh; member
|
H A D | nfsproc.c | 434 SVCFH_fmt(&argp->tfh), argp->tlen, argp->tname); in nfsd_proc_rename() 437 &argp->tfh, argp->tname, argp->tlen); in nfsd_proc_rename() 439 fh_put(&argp->tfh); in nfsd_proc_rename() 452 SVCFH_fmt(&argp->tfh), in nfsd_proc_link() 456 resp->status = nfsd_link(rqstp, &argp->tfh, argp->tname, argp->tlen, in nfsd_proc_link() 459 fh_put(&argp->tfh); in nfsd_proc_link()
|
H A D | nfs3proc.c | 520 SVCFH_fmt(&argp->tfh), in nfsd3_proc_rename() 525 fh_copy(&resp->tfh, &argp->tfh); in nfsd3_proc_rename() 527 &resp->tfh, argp->tname, argp->tlen); in nfsd3_proc_rename() 540 SVCFH_fmt(&argp->tfh), in nfsd3_proc_link() 545 fh_copy(&resp->tfh, &argp->tfh); in nfsd3_proc_link() 546 resp->status = nfsd_link(rqstp, &resp->tfh, argp->tname, argp->tlen, in nfsd3_proc_link()
|
H A D | nfs3xdr.c | 666 svcxdr_decode_diropargs3(xdr, &args->tfh, in nfs3svc_decode_renameargs() 676 svcxdr_decode_diropargs3(xdr, &args->tfh, in nfs3svc_decode_linkargs() 937 svcxdr_encode_wcc_data(rqstp, xdr, &resp->tfh); in nfs3svc_encode_renameres() 948 svcxdr_encode_wcc_data(rqstp, xdr, &resp->tfh); in nfs3svc_encode_linkres()
|
H A D | nfsxdr.c | 362 svcxdr_decode_diropargs(xdr, &args->tfh, in nfssvc_decode_renameargs() 372 svcxdr_decode_diropargs(xdr, &args->tfh, in nfssvc_decode_linkargs()
|