Home
last modified time | relevance | path

Searched full:helper (Results 1 – 25 of 1789) sorted by relevance

12345678910>>...72

/freebsd/sys/dev/mmc/
H A Dmmc_fdt_helpers.c48 mmc_fdt_parse(device_t dev, phandle_t node, struct mmc_helper *helper, in mmc_fdt_parse() argument
57 helper->props = mmc_helper.props; in mmc_fdt_parse()
64 &helper->vmmc_supply) == 0) { in mmc_fdt_parse()
69 &helper->vqmmc_supply) == 0) { in mmc_fdt_parse()
74 if (helper->vqmmc_supply != NULL) { in mmc_fdt_parse()
75 if (regulator_check_voltage(helper->vqmmc_supply, 1200000) == 0) in mmc_fdt_parse()
81 if (regulator_check_voltage(helper->vqmmc_supply, 1800000) == 0) in mmc_fdt_parse()
91 if (regulator_check_voltage(helper->vqmmc_supply, 3300000) == 0) in mmc_fdt_parse()
101 helper->mmc_pwrseq = OF_device_from_xref(pwrseq_xref); in mmc_fdt_parse()
112 struct mmc_helper *helper = arg; in cd_intr() local
[all …]
H A Dmmc_helpers.c87 mmc_parse(device_t dev, struct mmc_helper *helper, struct mmc_host *host) in mmc_parse() argument
111 helper->props |= MMC_PROP_BROKEN_CD; in mmc_parse()
113 helper->props |= MMC_PROP_NON_REMOVABLE; in mmc_parse()
115 helper->props |= MMC_PROP_WP_INVERTED; in mmc_parse()
117 helper->props |= MMC_PROP_CD_INVERTED; in mmc_parse()
119 helper->props |= MMC_PROP_NO_SDIO; in mmc_parse()
121 helper->props |= MMC_PROP_NO_SD; in mmc_parse()
123 helper->props |= MMC_PROP_NO_MMC; in mmc_parse()
125 if (!(helper->props & MMC_PROP_NO_SD)) in mmc_parse()
128 if (!(helper->props & MMC_PROP_NO_MMC)) in mmc_parse()
H A Dmmc_fdt_helpers.h42 int mmc_fdt_parse(device_t dev, phandle_t node, struct mmc_helper *helper, struct mmc_host *host);
43 int mmc_fdt_gpio_setup(device_t dev, phandle_t node, struct mmc_helper *helper, mmc_fdt_cd_handler …
44 void mmc_fdt_gpio_teardown(struct mmc_helper *helper);
45 bool mmc_fdt_gpio_get_present(struct mmc_helper *helper);
46 bool mmc_fdt_gpio_get_readonly(struct mmc_helper *helper);
47 void mmc_fdt_set_power(struct mmc_helper *helper, enum mmc_power_mode power_mode);
/freebsd/crypto/openssh/
H A Dssh-pkcs11-client.c59 * Maintain a list of ssh-pkcs11-helper subprocesses. These may be looked up
62 struct helper { struct
72 static struct helper **helpers; argument
75 static struct helper *
90 static struct helper *
107 static struct helper *
125 helper_free(struct helper *helper) in helper_free() argument
130 if (helper == NULL) in helper_free()
132 if (helper->path == NULL || helper->ec_meth == NULL || in helper_free()
133 helper->rsa_meth == NULL) in helper_free()
[all …]
H A Dssh-sk-client.c52 char *helper, *verbosity = NULL; in start_helper() local
58 helper = getenv("SSH_SK_HELPER"); in start_helper()
59 if (helper == NULL || strlen(helper) == 0) in start_helper()
60 helper = _PATH_SSH_SK_HELPER; in start_helper()
61 if (access(helper, X_OK) != 0) { in start_helper()
63 error_f("helper \"%s\" unusable: %s", helper, strerror(errno)); in start_helper()
71 /* Start helper */ in start_helper()
95 debug_f("starting %s %s", helper, in start_helper()
97 execlp(helper, helper, verbosity, (char *)NULL); in start_helper()
130 error_f("helper exited abnormally"); in reap_helper()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/GlobalISel/
H A DCombine.td207 [{ return Helper.matchCombineCopy(*${mi}); }]),
208 (apply [{ Helper.applyCombineCopy(*${mi}); }])>;
229 …[{ return !isGuaranteedNotToBePoison(${src}.getReg(), MRI) && Helper.matchFreezeOfSingleMaybePoiso…
230 (apply [{ Helper.applyBuildFn(*${root}, ${matchinfo}); }])>;
235 [{ return Helper.matchCombineExtendingLoads(*${root}, ${matchinfo}); }]),
236 (apply [{ Helper.applyCombineExtendingLoads(*${root}, ${matchinfo}); }])>;
241 [{ return Helper.matchCombineLoadWithAndMask(*${root}, ${matchinfo}); }]),
242 (apply [{ Helper.applyBuildFn(*${root}, ${matchinfo}); }])>;
248 [{ return Helper.matchSextTruncSextLoad(*${d}); }]),
249 (apply [{ Helper.applySextTruncSextLoad(*${d}); }])>;
[all …]
/freebsd/contrib/atf/atf-sh/
H A Dmisc_helpers.sh27 # Helper tests for "t_atf_check".
33 atf_set "descr" "Helper test case for the t_atf_check test program"
43 atf_set "descr" "Helper test case for the t_atf_check test program"
55 atf_set "descr" "Helper test case for the t_atf_check test program"
68 atf_set "descr" "Helper test case for the t_atf_check test program"
81 atf_set "descr" "Helper test case for the t_atf_check test program"
91 atf_set "descr" "Helper test case for the t_atf_check test program"
101 atf_set "descr" "Helper test case for the t_atf_check test program"
111 atf_set "descr" "Helper test case for the t_atf_check test program"
121 atf_set "descr" "Helper test case for the t_atf_check test program"
[all …]
/freebsd/sys/kern/
H A Dkern_khelp.c54 RW_SYSINIT(khelplistlock, &khelp_list_lock, "helper list lock");
56 static TAILQ_HEAD(helper_head, helper) helpers = TAILQ_HEAD_INITIALIZER(helpers);
59 static inline void khelp_remove_osd(struct helper *h, struct osd *hosd);
69 khelp_register_helper(struct helper *h) in khelp_register_helper()
71 struct helper *tmph; in khelp_register_helper()
118 khelp_deregister_helper(struct helper *h) in khelp_deregister_helper()
120 struct helper *tmph; in khelp_deregister_helper()
150 struct helper *h; in khelp_init_osd()
160 /* If helper is correct class and needs to store OSD... */ in khelp_init_osd()
187 struct helper *h; in khelp_destroy_osd()
[all …]
H A Dkern_hhook.c55 struct helper *hhk_helper;
60 static MALLOC_DEFINE(M_HHOOK, "hhook", "Helper hooks are linked off hhook_head lists");
90 * Run all helper hook functions for a given hook point.
127 * Register a new helper hook function with a helper hook point.
154 /* The helper hook function is already registered. */ in hhook_add_hook()
172 * Register a helper hook function with a helper hook point (including all
181 * helper hook point being hooked and bumps the refcount on each (all done with
242 * Remove a helper hook function from a helper hook point.
268 * Remove a helper hook function from a helper hook point (including all
288 * Register a new helper hook point.
[all …]
/freebsd/contrib/kyua/bootstrap/
H A Dplain_helpers.cpp86 /// Mapping of the name of a helper to its implementation.
87 struct helper { struct
88 /// The name of the helper, as will be provided by the user on the CLI.
91 /// A pointer to the function implementing the helper.
96 /// NULL-terminated table mapping helper names to their implementations.
97 static const helper helpers[] = {
110 /// The caller must select a helper to execute by defining the HELPER
111 /// environment variable to the name of the desired helper. Think of this main
112 /// method as a subprogram dispatcher, to avoid having many individual helper
115 /// \todo Maybe we should really have individual helper binaries. It would
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount_014_neg.ksh22 # Verify zfs mount helper failure on known bad parameters
31 helper="mount.zfs -o zfsutil"
41 log_note "Verify zfs mount helper failure on known bad parameters"
50 log_mustnot ${helper},abc $vdev $mntpoint
53 log_mustnot $helper $NONEXISTFSNAME $mntpoint
56 log_mustnot $helper $fs $NONEXISTFSNAME
57 log_mustnot $helper $fs /dev/null
60 log_mustnot $helper /dev/null $mntpoint
64 log_mustnot $helper
65 log_mustnot $helper $vdev
[all …]
H A Dzfs_mount_013_pos.ksh22 # Verify zfs mount helper functions for both devices and pools.
29 typeset -r helper="mount.zfs -o zfsutil"
43 log_note "Verify zfs mount helper functions for both devices and pools"
49 log_must $helper $fs $mntpoint
53 log_note "Verify mount(8) does not canonicalize before calling helper"
57 # The env flag directs zfs to exec /bin/mount, which then calls helper
75 log_must $helper -f $fs $mntpoint
79 log_must ${helper},ro -v $fs $mntpoint
84 log_must ${helper},abc -s ${vdevs[0]} $mntpoint
89 log_must $helper ${vdevs[0]} $mntpoint
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Remarks/
H A DBitstreamRemarkParser.cpp290 static Error advanceToMetaBlock(BitstreamParserHelper &Helper) { in advanceToMetaBlock() argument
291 Expected<std::array<char, 4>> MagicNumber = Helper.parseMagic(); in advanceToMetaBlock()
297 if (Error E = Helper.parseBlockInfoBlock()) in advanceToMetaBlock()
299 Expected<bool> isMetaBlock = Helper.isMetaBlock(); in advanceToMetaBlock()
313 BitstreamParserHelper Helper(Buf); in createBitstreamParserFromMeta() local
314 Expected<std::array<char, 4>> MagicNumber = Helper.parseMagic(); in createBitstreamParserFromMeta()
370 BitstreamMetaParserHelper &Helper) { in processCommonMeta() argument
371 if (std::optional<uint64_t> Version = Helper.ContainerVersion) in processCommonMeta()
378 if (std::optional<uint8_t> Type = Helper.ContainerType) { in processCommonMeta()
474 BitstreamMetaParserHelper &Helper) { in processStandaloneMeta() argument
[all …]
/freebsd/contrib/atf/test-programs/
H A Dsh_helpers.sh27 # Helper tests for "t_cleanup".
33 atf_set "descr" "Helper test case for the t_cleanup test program"
49 atf_set "descr" "Helper test case for the t_cleanup test program"
66 atf_set "descr" "Helper test case for the t_cleanup test program"
83 atf_set "descr" "Helper test case for the t_cleanup test program"
97 atf_set "descr" "Helper test case for the t_cleanup test program"
111 # Helper tests for "t_config".
117 atf_set "descr" "Helper test case for the t_config test program"
129 atf_set "descr" "Helper test case for the t_config test program"
139 atf_set "descr" "Helper test case for the t_config test program"
[all …]
H A Dc_helpers.c68 * Helper tests for "t_cleanup".
74 atf_tc_set_md_var(tc, "descr", "Helper test case for the t_cleanup test " in ATF_TC_HEAD()
90 atf_tc_set_md_var(tc, "descr", "Helper test case for the t_cleanup test " in ATF_TC_HEAD()
107 atf_tc_set_md_var(tc, "descr", "Helper test case for the t_cleanup test " in ATF_TC_HEAD()
124 atf_tc_set_md_var(tc, "descr", "Helper test case for the t_cleanup test " in ATF_TC_HEAD()
155 atf_tc_set_md_var(tc, "descr", "Helper test case for the t_cleanup test " in ATF_TC_HEAD()
176 * Helper tests for "t_config".
182 atf_tc_set_md_var(tc, "descr", "Helper test case for the t_config test " in ATF_TC_HEAD()
193 atf_tc_set_md_var(tc, "descr", "Helper test case for the t_config test " in ATF_TC_HEAD()
205 atf_tc_set_md_var(tc, "descr", "Helper test case for the t_config test " in ATF_TC_HEAD()
[all …]
H A Dcpp_helpers.cpp40 // Helper tests for "t_config".
46 set_md_var("descr", "Helper test case for the t_config test program"); in ATF_TEST_CASE_HEAD()
56 set_md_var("descr", "Helper test case for the t_config test program"); in ATF_TEST_CASE_HEAD()
66 set_md_var("descr", "Helper test case for the t_config test program"); in ATF_TEST_CASE_HEAD()
76 set_md_var("descr", "Helper test case for the t_config test program"); in ATF_TEST_CASE_HEAD()
84 // Helper tests for "t_expect".
224 // Helper tests for "t_meta_data".
241 // Helper tests for "t_srcdir".
247 set_md_var("descr", "Helper test case for the t_srcdir test program"); in ATF_TEST_CASE_HEAD()
257 // Helper tests for "t_result".
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64LegalizerInfo.h30 bool legalizeCustom(LegalizerHelper &Helper, MachineInstr &MI,
33 bool legalizeIntrinsic(LegalizerHelper &Helper,
50 LegalizerHelper &Helper) const;
52 LegalizerHelper &Helper) const;
58 LegalizerHelper &Helper) const;
60 LegalizerHelper &Helper) const;
62 LegalizerHelper &Helper) const;
63 bool legalizeCTTZ(MachineInstr &MI, LegalizerHelper &Helper) const;
64 bool legalizeMemOps(MachineInstr &MI, LegalizerHelper &Helper) const;
66 LegalizerHelper &Helper) const;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64LowerHomogeneousPrologEpilog.cpp39 "frame-helper-size-threshold", cl::init(2), cl::Hidden,
41 "helper (default = 2)"));
63 /// Lower a HOM_Prolog pseudo instruction into a helper call
68 /// Lower a HOM_Epilog pseudo instruction into a helper call
129 /// Return a frame helper name with the given CSRs and the helper type.
130 /// For instance, a prolog helper that saves x19 and x20 is named as
159 /// Create a Function for the unique frame helper with the given name.
283 /// Return a unique function if a helper can be formed with the given Regs
310 /// @param Regs callee save regs that the helper will handle
311 /// @param Type frame helper type
[all …]
/freebsd/sys/dev/ofw/
H A Dofw_bus_subr.h73 /* Generic implementation of ofw_bus_if.m methods and helper routines */
83 /* Helper method to report interesting OF properties in pnpinfo */
107 /* Helper to get device status property */
112 /* Helper to get node's interrupt parent */
115 /* Helper routine for checking compat prop */
121 * Helper routine to search a list of compat properties. The table is
130 /* Helper routine for checking existence of a prop */
133 /* Helper to search for a child with a given compat prop */
136 /* Helper to search for a child with a given name */
139 /* Helper routine to find a device_t child matching a given phandle_t */
[all …]
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddrti.c42 * In Solaris 10 GA, the only mechanism for communicating helper information
43 * is through the DTrace helper pseudo-device node in /devices; there is
44 * no /dev link. Because of this, USDT providers and helper actions don't
51 * helper initialization takes place:
54 * DTRACE_DOF_INIT_DISABLE disable helper loading
55 * DTRACE_DOF_INIT_DEVNAME set the path to the helper node
58 static const char *devnamep = "/dev/dtrace/helper";
60 static const char *olddevname = "/devices/pseudo/dtrace@0:helper";
64 static int gen; /* DOF helper generation */
173 dbg_printf(1, "failed to open helper device %s", devnamep); in dtrace_dof_init()
[all …]
/freebsd/sys/dev/drm2/
H A Ddrm_crtc_helper.h27 * The DRM mode setting helper functions are common code for drivers to use if
42 * drm_crtc_helper_funcs - helper operations for CRTCs
46 * The helper operations are called by the mid-layer CRTC helper.
81 * drm_encoder_helper_funcs - helper operations for encoders
85 * The helper operations are called by the mid-layer CRTC helper.
109 * drm_connector_helper_funcs - helper operations for connectors
113 * The helper operations are called by the mid-layer CRTC helper.
/freebsd/sys/sys/
H A Dhhook.h40 * A KPI modelled on the pfil framework for instantiating helper hook points
65 /* Helper hook types. */
71 struct helper;
74 /* Signature for helper hook functions. */
79 * Information required to add/remove a helper hook function to/from a helper
84 struct helper *hook_helper;
136 * one helper hook function is registered for the specified helper hook point.
/freebsd/tests/sys/netlink/
H A Dtest_rtnl_iface.py31 msg = NetlinkIflaMessage(self.helper, NlRtMsgType.RTM_GETLINK.value)
50 msg = NetlinkIflaMessage(self.helper, NlRtMsgType.RTM_GETLINK.value)
62 msg = NetlinkIflaMessage(self.helper, NlRtMsgType.RTM_GETLINK.value)
76 msg = NetlinkIflaMessage(self.helper, NlRtMsgType.RTM_NEWLINK.value)
100 msg = NetlinkIflaMessage(self.helper, NlRtMsgType.RTM_NEWLINK.value)
134 msg = NetlinkIflaMessage(self.helper, NlRtMsgType.RTM_NEWLINK.value)
164 msg = NetlinkIflaMessage(self.helper, NlRtMsgType.RTM_NEWLINK.value)
182 msg = NetlinkIflaMessage(self.helper, NlRtMsgType.RTM_NEWLINK.value)
204 msg = NetlinkIflaMessage(self.helper, NlRtMsgType.RTM_NEWLINK.value)
225 msg = NetlinkIflaMessage(self.helper, NlRtMsgType.RTM_DELLINK.value)
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Remarks/
H A DBitstreamRemarkSerializer.h134 /// The helper to emit bitstream.
135 BitstreamRemarkSerializerHelper Helper; member
166 /// The actual helper, that can point to \p TmpHelper or to an external helper
168 BitstreamRemarkSerializerHelper *Helper = nullptr; member
178 : MetaSerializer(OS), TmpHelper(std::nullopt), Helper(nullptr), in MetaSerializer()
181 Helper = &*TmpHelper; in MetaSerializer()
184 /// Create a new meta serializer based on a previously built \p Helper.
186 raw_ostream &OS, BitstreamRemarkSerializerHelper &Helper,
189 : MetaSerializer(OS), TmpHelper(std::nullopt), Helper(&Helper), in MetaSerializer()
/freebsd/tests/atf_python/sys/netlink/
H A Dmessage.py36 def __init__(self, helper, nlmsg_type): argument
40 self.helper = helper
42 nlmsg_type=self.nlmsg_type, nlmsg_seq=helper.get_seq(), nlmsg_pid=helper.pid
97 return self.helper.get_bitmask_str(NlmBaseFlags, flags)
124 def from_bytes(cls, helper, data): argument
127 self = cls(helper, hdr.nlmsg_type)
157 def from_bytes(cls, helper, data): argument
160 self = cls(helper, hdr.nlmsg_type)

12345678910>>...72