Home
last modified time | relevance | path

Searched refs:zt (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/tools/testing/selftests/arm64/signal/testcases/
Dzt_regs.c31 struct zt_context *zt; in zt_regs_run() local
48 zt = (struct zt_context *)head; in zt_regs_run()
49 if (zt->nregs == 0) { in zt_regs_run()
55 head->size, zt->nregs); in zt_regs_run()
58 zeros = malloc(ZT_SIG_REGS_SIZE(zt->nregs)); in zt_regs_run()
60 fprintf(stderr, "Out of memory, nregs=%u\n", zt->nregs); in zt_regs_run()
63 memset(zeros, 0, ZT_SIG_REGS_SIZE(zt->nregs)); in zt_regs_run()
65 if (memcmp(zeros, (char *)zt + ZT_SIG_REGS_OFFSET, in zt_regs_run()
66 ZT_SIG_REGS_SIZE(zt->nregs)) != 0) { in zt_regs_run()
Dtestcases.c111 bool validate_zt_context(struct zt_context *zt, char **err) in validate_zt_context() argument
113 if (!zt || !err) in validate_zt_context()
117 if (zt->nregs == 0) { in validate_zt_context()
123 if (zt->head.size != ZT_SIG_CONTEXT_SIZE(zt->nregs)) { in validate_zt_context()
140 struct zt_context *zt = NULL; in validate_reserved() local
209 zt = (struct zt_context *)head; in validate_reserved()
270 if (!validate_zt_context(zt, err)) in validate_reserved()
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/flower/
Dconntrack.c814 struct nfp_fl_ct_zone_entry *zt = m_entry->zt; in nfp_fl_ct_add_offload() local
818 struct nfp_flower_priv *priv = zt->priv; in nfp_fl_ct_add_offload()
1175 static int nfp_ct_do_nft_merge(struct nfp_fl_ct_zone_entry *zt, in nfp_ct_do_nft_merge() argument
1217 nft_m_entry = get_hashentry(&zt->nft_merge_tb, in nfp_ct_do_nft_merge()
1230 nft_m_entry->zt = zt; in nfp_ct_do_nft_merge()
1243 err = rhashtable_insert_fast(&zt->nft_merge_tb, &nft_m_entry->hash_node, in nfp_ct_do_nft_merge()
1248 zt->nft_merge_count++; in nfp_ct_do_nft_merge()
1261 nfp_fl_ct_del_offload(zt->priv->app, nft_m_entry->tc_flower_cookie, in nfp_ct_do_nft_merge()
1270 static int nfp_ct_do_tc_merge(struct nfp_fl_ct_zone_entry *zt, in nfp_ct_do_tc_merge() argument
1300 m_entry = get_hashentry(&zt->tc_merge_tb, &new_cookie, in nfp_ct_do_tc_merge()
[all …]
Dmetadata.c607 static void nfp_zone_table_entry_destroy(struct nfp_fl_ct_zone_entry *zt) in nfp_zone_table_entry_destroy() argument
609 if (!zt) in nfp_zone_table_entry_destroy()
612 if (!list_empty(&zt->pre_ct_list)) { in nfp_zone_table_entry_destroy()
613 struct rhashtable *m_table = &zt->priv->ct_map_table; in nfp_zone_table_entry_destroy()
618 list_for_each_entry_safe(entry, tmp, &zt->pre_ct_list, in nfp_zone_table_entry_destroy()
631 if (!list_empty(&zt->post_ct_list)) { in nfp_zone_table_entry_destroy()
632 struct rhashtable *m_table = &zt->priv->ct_map_table; in nfp_zone_table_entry_destroy()
637 list_for_each_entry_safe(entry, tmp, &zt->post_ct_list, in nfp_zone_table_entry_destroy()
650 if (zt->nft) { in nfp_zone_table_entry_destroy()
651 nf_flow_table_offload_del_cb(zt->nft, in nfp_zone_table_entry_destroy()
[all …]
Dconntrack.h136 struct nfp_fl_ct_zone_entry *zt; member
163 struct nfp_fl_ct_zone_entry *zt; member
187 struct nfp_fl_ct_zone_entry *zt; member
/linux-6.6.21/tools/testing/selftests/arm64/fp/
Dzt-ptrace.c100 static int get_zt(pid_t pid, char zt[ZT_SIG_REG_BYTES]) in get_zt()
104 iov.iov_base = zt; in get_zt()
110 static int set_zt(pid_t pid, const char zt[ZT_SIG_REG_BYTES]) in set_zt()
114 iov.iov_base = (void *)zt; in set_zt()
123 char zt[ZT_SIG_REG_BYTES]; in ptrace_za_disabled_read_zt() local
139 ret = get_zt(child, zt); in ptrace_za_disabled_read_zt()
145 for (i = 0; i < ARRAY_SIZE(zt); i++) { in ptrace_za_disabled_read_zt()
146 if (zt[i]) { in ptrace_za_disabled_read_zt()
147 ksft_print_msg("zt[%d]: 0x%x != 0\n", i, zt[i]); in ptrace_za_disabled_read_zt()
193 char zt[ZT_SIG_REG_BYTES]; in ptrace_enable_za_via_zt() local
[all …]
DMakefile17 zt-ptrace \
18 zt-test \
46 $(OUTPUT)/zt-ptrace: zt-ptrace.c
47 $(OUTPUT)/zt-test: zt-test.S $(OUTPUT)/asm-utils.o
D.gitignore15 zt-ptrace
16 zt-test
Dsve-test.S24 .macro _sve_ldr_v zt, xn
25 ldr z\zt, [x\xn]
28 .macro _sve_str_v zt, xn
29 str z\zt, [x\xn]
/linux-6.6.21/drivers/isdn/hardware/mISDN/
Dhfc_pci.h171 struct zt { struct
182 struct zt za[MAX_D_FRAMES + 1]; argument
187 struct zt za[MAX_B_FRAMES + 1]; /* only range 0x0..0x1F allowed */
Dhfcpci.c398 struct zt *zp; in hfcpci_empty_bfifo()
460 struct zt *zp; in receive_dmsg()
605 struct zt *zp; in main_rec_hfcpci()
/linux-6.6.21/arch/arm64/include/asm/
Dfpsimd.h122 extern void sme_save_state(void *state, int zt);
123 extern void sme_load_state(void const *state, int zt);
/linux-6.6.21/arch/arm64/kernel/
Dsignal.c183 struct zt_context __user *zt; member
539 if (__copy_from_user(&nregs, &(user->zt->nregs), sizeof(nregs))) in restore_zt_context()
556 (char __user const *)user->zt + in restore_zt_context()
592 user->zt = NULL; in parse_user_sigframe()
680 if (user->zt) in parse_user_sigframe()
683 user->zt = (struct zt_context __user *)head; in parse_user_sigframe()
812 if (err == 0 && system_supports_sme2() && user.zt) in restore_sigframe()
/linux-6.6.21/drivers/nvme/host/
Dzns.c157 if ((entry->zt & 0xf) != NVME_ZONE_TYPE_SEQWRITE_REQ) { in nvme_zone_parse_entry()
159 entry->zt); in nvme_zone_parse_entry()
/linux-6.6.21/mm/
Dmemory_hotplug.c1817 enum zone_type zt; in node_states_check_changes_offline() local
1830 for (zt = 0; zt <= ZONE_NORMAL; zt++) in node_states_check_changes_offline()
1831 present_pages += pgdat->node_zones[zt].present_pages; in node_states_check_changes_offline()
/linux-6.6.21/fs/ubifs/
Dtnc.c1483 struct ubifs_zbranch zbr, *zt; in ubifs_tnc_locate() local
1495 zt = &znode->zbranch[n]; in ubifs_tnc_locate()
1497 *lnum = zt->lnum; in ubifs_tnc_locate()
1498 *offs = zt->offs; in ubifs_tnc_locate()
1505 err = tnc_read_hashed_node(c, zt, node); in ubifs_tnc_locate()
1509 err = ubifs_tnc_read_node(c, zt, node); in ubifs_tnc_locate()
/linux-6.6.21/drivers/nvme/target/
Dzns.c240 zdesc.zt = z->type; in nvmet_bdev_report_zone_cb()
/linux-6.6.21/include/linux/
Dnvme.h681 __u8 zt; member