Home
last modified time | relevance | path

Searched refs:tfh (Results 1 - 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/drivers/misc/sgi-gru/
H A Dgruhandles.c156 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 Dgrufault.c313 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 Dgruhandles.h34 /* 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 Dgrukdump.c40 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 Dgruhandles.c156 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 Dgrufault.c313 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 Dgruhandles.h34 /* 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 Dgrukdump.c40 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 Dnf_conntrack_tftp.c45 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 Dnf_conntrack_tftp.c45 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 Dxdr3.h69 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 Dxdr.h51 struct svc_fh tfh; member
63 struct svc_fh tfh; member
H A Dnfs3proc.c398 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 Dnfsproc.c440 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 Dnfsfh.c199 __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 Dnfs3xdr.c543 || !(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 Dnfsxdr.c335 || !(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 Dxdr3.h68 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 Dxdr.h50 struct svc_fh tfh; member
57 struct svc_fh tfh; member
H A Dnfsproc.c434 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 Dnfs3proc.c520 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 Dnfs3xdr.c666 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 Dnfsxdr.c362 svcxdr_decode_diropargs(xdr, &args->tfh, in nfssvc_decode_renameargs()
372 svcxdr_decode_diropargs(xdr, &args->tfh, in nfssvc_decode_linkargs()

Completed in 18 milliseconds