Searched refs:subsys (Results 1 - 25 of 82) sorted by relevance

1234

/linux-master/drivers/soc/samsung/
H A Dexynos5422-asv.c391 struct exynos_asv_subsys *subsys; local
397 subsys = &asv->subsys[EXYNOS_ASV_SUBSYS_ID_ARM];
399 subsys->base_volt = 1000000;
402 subsys->offset_volt_h = __asv_offset_voltage(value);
405 subsys->offset_volt_l = __asv_offset_voltage(value);
408 subsys = &asv->subsys[EXYNOS_ASV_SUBSYS_ID_KFC];
410 subsys->base_volt = 1000000;
413 subsys
419 exynos5422_asv_opp_get_voltage(const struct exynos_asv_subsys *subsys, int level, unsigned int volt) argument
455 struct exynos_asv_subsys *subsys; local
[all...]
H A Dexynos-asv.h40 struct exynos_asv_subsys subsys[2]; member in struct:exynos_asv
59 static inline u32 exynos_asv_opp_get_voltage(const struct exynos_asv_subsys *subsys, argument
62 return __asv_get_table_entry(&subsys->table, level, group + 1);
65 static inline u32 exynos_asv_opp_get_frequency(const struct exynos_asv_subsys *subsys, argument
68 return __asv_get_table_entry(&subsys->table, level, 0);
H A Dexynos-asv.c28 struct exynos_asv_subsys *subsys = NULL; local
33 for (i = 0; i < ARRAY_SIZE(asv->subsys); i++) {
35 asv->subsys[i].cpu_dt_compat)) {
36 subsys = &asv->subsys[i];
40 if (!subsys)
43 for (i = 0; i < subsys->table.num_rows; i++) {
47 opp_freq = exynos_asv_opp_get_frequency(subsys, i);
58 new_volt = asv->opp_get_voltage(subsys, i, volt);
152 for (i = 0; i < ARRAY_SIZE(asv->subsys);
[all...]
/linux-master/tools/testing/selftests/cgroup/
H A Dtest_stress.sh4 ./with_stress.sh -s subsys -s fork ${OUTPUT:-.}/test_core
/linux-master/tools/lib/api/fs/
H A Dcgroup.c12 char subsys[32]; member in struct:cgroupfs_cache_entry
19 int cgroupfs_find_mountpoint(char *buf, size_t maxlen, const char *subsys) argument
27 if (cached && !strcmp(cached->subsys, subsys)) {
80 p = strstr(p, subsys);
85 if (!strchr(" ,", p[-1]) || !strchr(" ,", p[strlen(subsys)]))
98 strncpy(cached->subsys, subsys, sizeof(cached->subsys) - 1);
H A Dfs.h43 int cgroupfs_find_mountpoint(char *buf, size_t maxlen, const char *subsys);
/linux-master/include/net/
H A Ddropreason.h45 void drop_reasons_register_subsys(enum skb_drop_reason_subsys subsys,
47 void drop_reasons_unregister_subsys(enum skb_drop_reason_subsys subsys);
/linux-master/include/uapi/linux/
H A Dkcov.h56 static inline __u64 kcov_remote_handle(__u64 subsys, __u64 inst) argument
58 if (subsys & ~KCOV_SUBSYSTEM_MASK || inst & ~KCOV_INSTANCE_MASK)
60 return subsys | inst;
/linux-master/drivers/nvme/target/
H A Dconfigfs.c484 struct nvmet_subsys *subsys = ns->subsys; local
488 mutex_lock(&subsys->lock);
504 mutex_unlock(&subsys->lock);
508 mutex_unlock(&subsys->lock);
531 mutex_lock(&ns->subsys->lock);
548 mutex_unlock(&ns->subsys->lock);
565 struct nvmet_subsys *subsys = ns->subsys; local
568 mutex_lock(&subsys
593 struct nvmet_subsys *subsys = ns->subsys; local
777 struct nvmet_subsys *subsys = namespaces_to_subsys(&group->cg_item); local
819 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); local
827 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); local
860 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); local
868 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); local
893 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); local
912 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); local
931 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); local
955 nvmet_add_passthru_group(struct nvmet_subsys *subsys) argument
965 nvmet_add_passthru_group(struct nvmet_subsys *subsys) argument
975 struct nvmet_subsys *subsys; local
1018 struct nvmet_subsys *subsys = to_subsys(target); local
1053 struct nvmet_subsys *subsys = to_subsys(parent->ci_parent); local
1095 struct nvmet_subsys *subsys = to_subsys(parent->ci_parent); local
1135 struct nvmet_subsys *subsys = to_subsys(item); local
1164 struct nvmet_subsys *subsys = to_subsys(item); local
1178 nvmet_subsys_attr_version_store_locked(struct nvmet_subsys *subsys, const char *page, size_t count) argument
1213 struct nvmet_subsys *subsys = to_subsys(item); local
1235 struct nvmet_subsys *subsys = to_subsys(item); local
1242 nvmet_subsys_attr_serial_store_locked(struct nvmet_subsys *subsys, const char *page, size_t count) argument
1274 struct nvmet_subsys *subsys = to_subsys(item); local
1350 struct nvmet_subsys *subsys = to_subsys(item); local
1355 nvmet_subsys_attr_model_store_locked(struct nvmet_subsys *subsys, const char *page, size_t count) argument
1393 struct nvmet_subsys *subsys = to_subsys(item); local
1409 struct nvmet_subsys *subsys = to_subsys(item); local
1414 nvmet_subsys_attr_ieee_oui_store_locked(struct nvmet_subsys *subsys, const char *page, size_t count) argument
1441 struct nvmet_subsys *subsys = to_subsys(item); local
1457 struct nvmet_subsys *subsys = to_subsys(item); local
1462 nvmet_subsys_attr_firmware_store_locked(struct nvmet_subsys *subsys, const char *page, size_t count) argument
1503 struct nvmet_subsys *subsys = to_subsys(item); local
1526 struct nvmet_subsys *subsys = to_subsys(item); local
1547 struct nvmet_subsys *subsys = to_subsys(item); local
1590 struct nvmet_subsys *subsys = to_subsys(item); local
1609 struct nvmet_subsys *subsys; local
[all...]
H A Dcore.c123 static u32 nvmet_max_nsid(struct nvmet_subsys *subsys) argument
129 xa_for_each(&subsys->namespaces, idx, cur)
241 void nvmet_ns_changed(struct nvmet_subsys *subsys, u32 nsid) argument
245 lockdep_assert_held(&subsys->lock);
247 list_for_each_entry(ctrl, &subsys->ctrls, subsys_entry) {
257 void nvmet_send_ana_event(struct nvmet_subsys *subsys, argument
262 mutex_lock(&subsys->lock);
263 list_for_each_entry(ctrl, &subsys->ctrls, subsys_entry) {
271 mutex_unlock(&subsys->lock);
280 nvmet_send_ana_event(p->subsys, por
307 nvmet_port_del_ctrls(struct nvmet_port *port, struct nvmet_subsys *subsys) argument
566 struct nvmet_subsys *subsys = ns->subsys; local
632 struct nvmet_subsys *subsys = ns->subsys; local
683 nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid) argument
1252 struct nvmet_subsys *subsys; local
1310 nvmet_host_allowed(struct nvmet_subsys *subsys, const char *hostnqn) argument
1374 struct nvmet_subsys *subsys; local
1489 struct nvmet_subsys *subsys = ctrl->subsys; local
1567 struct nvmet_subsys *subsys; local
1636 struct nvmet_subsys *subsys = local
1650 nvmet_subsys_del_ctrls(struct nvmet_subsys *subsys) argument
1660 nvmet_subsys_put(struct nvmet_subsys *subsys) argument
[all...]
H A Dpassthru.c29 if (!nvme_multi_css(ctrl->subsys->passthru_ctrl))
42 if (!ctrl->subsys->clear_ids)
83 struct nvme_ctrl *pctrl = ctrl->subsys->passthru_ctrl;
98 id->ver = cpu_to_le32(ctrl->subsys->ver);
202 if (req->sq->ctrl->subsys->clear_ids) {
573 int nvmet_passthru_ctrl_enable(struct nvmet_subsys *subsys) argument
580 mutex_lock(&subsys->lock);
581 if (!subsys->passthru_ctrl_path)
583 if (subsys->passthru_ctrl)
586 if (subsys
635 __nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys) argument
646 nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys) argument
653 nvmet_passthru_subsys_free(struct nvmet_subsys *subsys) argument
[all...]
H A Ddiscovery.c29 struct nvmet_subsys *subsys)
38 if (subsys && !nvmet_host_allowed(subsys, ctrl->hostnqn))
51 struct nvmet_subsys *subsys,
66 void nvmet_subsys_disc_changed(struct nvmet_subsys *subsys, argument
77 if (s->subsys != subsys)
79 __nvmet_subsys_disc_changed(port, subsys, host);
152 if (!nvmet_host_allowed(p->subsys, ctrl->hostnqn))
217 if (!nvmet_host_allowed(p->subsys, ctr
28 nvmet_port_disc_changed(struct nvmet_port *port, struct nvmet_subsys *subsys) argument
50 __nvmet_subsys_disc_changed(struct nvmet_port *port, struct nvmet_subsys *subsys, struct nvmet_host *host) argument
[all...]
H A Dnvmet.h74 struct nvmet_subsys *subsys; member in struct:nvmet_ns
195 struct nvmet_subsys *subsys; member in struct:nvmet_ctrl
336 struct nvmet_subsys *subsys; member in struct:nvmet_subsys_link
504 void nvmet_subsys_put(struct nvmet_subsys *subsys);
505 void nvmet_subsys_del_ctrls(struct nvmet_subsys *subsys);
511 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid);
514 void nvmet_send_ana_event(struct nvmet_subsys *subsys,
522 struct nvmet_subsys *subsys);
541 struct nvmet_subsys *subsys);
542 void nvmet_subsys_disc_changed(struct nvmet_subsys *subsys,
629 nvmet_is_disc_subsys(struct nvmet_subsys *subsys) argument
640 nvmet_is_passthru_subsys(struct nvmet_subsys *subsys) argument
645 nvmet_passthru_subsys_free(struct nvmet_subsys *subsys) argument
648 nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys) argument
659 nvmet_is_passthru_subsys(struct nvmet_subsys *subsys) argument
[all...]
H A Dadmin-cmd.c113 xa_for_each(&ctrl->subsys->namespaces, idx, ns) {
262 xa_for_each(&ctrl->subsys->namespaces, idx, ns)
353 struct nvmet_subsys *subsys = ctrl->subsys; local
358 if (!subsys->subsys_discovered) {
359 mutex_lock(&subsys->lock);
360 subsys->subsys_discovered = true;
361 mutex_unlock(&subsys->lock);
374 memcpy(id->sn, ctrl->subsys->serial, NVMET_SN_MAX_SIZE);
375 memcpy_and_pad(id->mn, sizeof(id->mn), subsys
762 struct nvmet_subsys *subsys = nvmet_req_subsys(req); local
821 struct nvmet_subsys *subsys = nvmet_req_subsys(req); local
865 struct nvmet_subsys *subsys = nvmet_req_subsys(req); local
895 struct nvmet_subsys *subsys = nvmet_req_subsys(req); local
[all...]
/linux-master/drivers/most/
H A Dconfigfs.c415 struct configfs_subsystem subsys; member in struct:most_common
418 static struct most_common *to_most_common(struct configfs_subsystem *subsys) argument
420 return container_of(subsys, struct most_common, subsys);
481 .subsys = {
492 .subsys = {
503 .subsys = {
590 struct configfs_subsystem subsys; member in struct:most_sound
600 struct most_sound, subsys);
624 struct most_sound, subsys);
[all...]
/linux-master/samples/configfs/
H A Dconfigfs_sample.c32 struct configfs_subsystem subsys; member in struct:childless
40 struct childless, subsys);
100 .subsys = {
324 &childless_subsys.subsys,
332 struct configfs_subsystem *subsys; local
336 subsys = example_subsys[i];
338 config_group_init(&subsys->su_group);
339 mutex_init(&subsys->su_mutex);
340 ret = configfs_register_subsystem(subsys);
343 ret, subsys
[all...]
/linux-master/include/linux/netfilter/
H A Dnfnetlink.h62 static inline u16 nfnl_msg_type(u8 subsys, u8 msg_type) argument
64 return subsys << 8 | msg_type;
105 #define MODULE_ALIAS_NFNL_SUBSYS(subsys) \
106 MODULE_ALIAS("nfnetlink-subsys-" __stringify(subsys))
/linux-master/include/linux/soc/mediatek/
H A Dmtk-cmdq.h20 u8 subsys; member in struct:cmdq_client_reg
80 * @subsys: the CMDQ sub system code
86 int cmdq_pkt_write(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value);
91 * @subsys: the CMDQ sub system code
98 int cmdq_pkt_write_mask(struct cmdq_pkt *pkt, u8 subsys,
122 * Support write value to physical address without subsys. Use CMDQ_ADDR_HIGH()
140 * Support write value to physical address without subsys. Use CMDQ_ADDR_HIGH()
211 * @subsys: the CMDQ sub system code
217 int cmdq_pkt_poll(struct cmdq_pkt *pkt, u8 subsys,
227 * @subsys
304 cmdq_pkt_write(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value) argument
309 cmdq_pkt_write_mask(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value, u32 mask) argument
360 cmdq_pkt_poll(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value) argument
366 cmdq_pkt_poll_mask(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value, u32 mask) argument
[all...]
/linux-master/scripts/
H A Dget_feat.pl104 my $subsys = "";
105 $subsys = $2 if ( m,.*($prefix)/([^/]+).*,);
107 if (length($subsys) > $max_size_subsys) {
108 $max_size_subsys = length($subsys);
189 parse_error($file, $ln, "Subsystem not found", "") if (!$subsys);
199 $data{$name}->{subsys} = $subsys;
245 ($data{$a}->{subsys} cmp $data{$b}->{subsys}) ||
251 printf "%-${max_size_subsys}s ", $data{$name}->{subsys};
[all...]
/linux-master/drivers/soc/mediatek/
H A Dmtk-cmdq-helper.c34 u8 subsys; member in union:cmdq_instruction::__anon2185
65 client_reg->subsys = (u8)spec.args[0];
179 int cmdq_pkt_write(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value) argument
186 inst.subsys = subsys;
192 int cmdq_pkt_write_mask(struct cmdq_pkt *pkt, u8 subsys, argument
208 err = cmdq_pkt_write(pkt, subsys, offset_mask, value);
348 int cmdq_pkt_poll(struct cmdq_pkt *pkt, u8 subsys, argument
357 inst.subsys = subsys;
364 cmdq_pkt_poll_mask(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value, u32 mask) argument
[all...]
/linux-master/drivers/base/
H A Dclass.c58 sp = container_of_const(kset, struct subsys_private, subsys);
138 error = sysfs_create_file_ns(&sp->subsys.kobj, &attr->attr, ns);
153 sysfs_remove_file_ns(&sp->subsys.kobj, &attr->attr, ns);
194 __mutex_init(&cp->mutex, "subsys mutex", key);
195 error = kobject_set_name(&cp->subsys.kobj, "%s", cls->name);
199 cp->subsys.kobj.kset = class_kset;
200 cp->subsys.kobj.ktype = &class_ktype;
203 error = kset_register(&cp->subsys);
207 error = sysfs_create_groups(&cp->subsys.kobj, cls->class_groups);
209 kobject_del(&cp->subsys
[all...]
H A Dbase.h18 * @subsys - the struct kset that defines this subsystem
43 struct kset subsys; member in struct:subsys_private
61 #define to_subsys_private(obj) container_of_const(obj, struct subsys_private, subsys.kobj)
66 kset_get(&sp->subsys);
73 kset_put(&sp->subsys);
H A Dbus.c76 sp = container_of_const(kset, struct subsys_private, subsys);
187 error = sysfs_create_file(&sp->subsys.kobj, &attr->attr);
201 sysfs_remove_file(&sp->subsys.kobj, &attr->attr);
501 error = sysfs_create_link(&dev->kobj, &sp->subsys.kobj, "subsystem");
820 ret = kobject_synth_uevent(&sp->subsys.kobj, buf, count);
859 bus_kobj = &priv->subsys.kobj;
868 retval = kset_register(&priv->subsys);
891 __mutex_init(&priv->mutex, "subsys mutex", key);
915 kset_unregister(&priv->subsys);
941 bus_kobj = &sp->subsys
1197 subsys_register(const struct bus_type *subsys, const struct attribute_group **groups, struct kobject *parent_of_root) argument
1267 subsys_system_register(const struct bus_type *subsys, const struct attribute_group **groups) argument
1285 subsys_virtual_register(const struct bus_type *subsys, const struct attribute_group **groups) argument
[all...]
/linux-master/fs/configfs/
H A Ddir.c39 * subsys->su_mutex is held.
722 * subsys->su_mutex is held.
780 struct configfs_subsystem *subsys = NULL; /* gcc is a turd */ local
785 subsys = parent_group->cg_subsys;
787 subsys = to_configfs_subsystem(group);
790 group->cg_subsys = subsys;
1108 int configfs_depend_item(struct configfs_subsystem *subsys, argument
1113 struct config_item *s_item = &subsys->su_group.cg_item;
1137 /* Ok, now we can trust subsys/s_item */
1183 * determine if we should lock root and check subsys o
1262 struct configfs_subsystem *subsys; local
1442 struct configfs_subsystem *subsys; local
1726 struct configfs_subsystem *subsys = parent_group->cg_subsys; local
1770 struct configfs_subsystem *subsys = group->cg_subsys; local
1844 configfs_register_subsystem(struct configfs_subsystem *subsys) argument
1904 configfs_unregister_subsystem(struct configfs_subsystem *subsys) argument
[all...]
/linux-master/drivers/nvme/host/
H A Dmultipath.c48 void nvme_mpath_default_iopolicy(struct nvme_subsystem *subsys) argument
50 subsys->iopolicy = iopolicy;
53 void nvme_mpath_unfreeze(struct nvme_subsystem *subsys) argument
57 lockdep_assert_held(&subsys->lock);
58 list_for_each_entry(h, &subsys->nsheads, entry)
63 void nvme_mpath_wait_freeze(struct nvme_subsystem *subsys) argument
67 lockdep_assert_held(&subsys->lock);
68 list_for_each_entry(h, &subsys->nsheads, entry)
73 void nvme_mpath_start_freeze(struct nvme_subsystem *subsys) argument
77 lockdep_assert_held(&subsys
794 struct nvme_subsystem *subsys = local
804 struct nvme_subsystem *subsys = local
[all...]

Completed in 293 milliseconds

1234