/linux-master/drivers/soc/samsung/ |
H A D | exynos5422-asv.c | 391 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 D | exynos-asv.h | 40 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 D | exynos-asv.c | 29 struct exynos_asv_subsys *subsys = NULL; local 34 for (i = 0; i < ARRAY_SIZE(asv->subsys); i++) { 36 asv->subsys[i].cpu_dt_compat)) { 37 subsys = &asv->subsys[i]; 41 if (!subsys) 44 for (i = 0; i < subsys->table.num_rows; i++) { 48 opp_freq = exynos_asv_opp_get_frequency(subsys, i); 59 new_volt = asv->opp_get_voltage(subsys, i, volt); 160 for (i = 0; i < ARRAY_SIZE(asv->subsys); [all...] |
/linux-master/tools/testing/selftests/cgroup/ |
H A D | test_stress.sh | 4 ./with_stress.sh -s subsys -s fork ${OUTPUT:-.}/test_core
|
/linux-master/tools/lib/api/fs/ |
H A D | cgroup.c | 12 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 D | fs.h | 43 int cgroupfs_find_mountpoint(char *buf, size_t maxlen, const char *subsys);
|
/linux-master/include/net/ |
H A D | dropreason.h | 45 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 D | kcov.h | 56 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 D | core.c | 123 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 440 struct nvmet_subsys *subsys = nvmet_req_subsys(req); local 569 struct nvmet_subsys *subsys = ns->subsys; local 635 struct nvmet_subsys *subsys = ns->subsys; local 686 nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid) argument 1255 struct nvmet_subsys *subsys; local 1313 nvmet_host_allowed(struct nvmet_subsys *subsys, const char *hostnqn) argument 1377 struct nvmet_subsys *subsys; local 1492 struct nvmet_subsys *subsys = ctrl->subsys; local 1570 struct nvmet_subsys *subsys; local 1639 struct nvmet_subsys *subsys = local 1653 nvmet_subsys_del_ctrls(struct nvmet_subsys *subsys) argument 1663 nvmet_subsys_put(struct nvmet_subsys *subsys) argument [all...] |
H A D | configfs.c | 484 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 757 nvmet_subsys_nsid_exists(struct nvmet_subsys *subsys, u32 nsid) argument 789 struct nvmet_subsys *subsys = namespaces_to_subsys(&group->cg_item); local 831 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); local 839 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); local 872 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); local 880 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); local 905 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); local 924 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); local 943 struct nvmet_subsys *subsys = to_subsys(item->ci_parent); local 967 nvmet_add_passthru_group(struct nvmet_subsys *subsys) argument 977 nvmet_add_passthru_group(struct nvmet_subsys *subsys) argument 987 struct nvmet_subsys *subsys; local 1030 struct nvmet_subsys *subsys = to_subsys(target); local 1065 struct nvmet_subsys *subsys = to_subsys(parent->ci_parent); local 1107 struct nvmet_subsys *subsys = to_subsys(parent->ci_parent); local 1147 struct nvmet_subsys *subsys = to_subsys(item); local 1176 struct nvmet_subsys *subsys = to_subsys(item); local 1190 nvmet_subsys_attr_version_store_locked(struct nvmet_subsys *subsys, const char *page, size_t count) argument 1225 struct nvmet_subsys *subsys = to_subsys(item); local 1247 struct nvmet_subsys *subsys = to_subsys(item); local 1254 nvmet_subsys_attr_serial_store_locked(struct nvmet_subsys *subsys, const char *page, size_t count) argument 1286 struct nvmet_subsys *subsys = to_subsys(item); local 1362 struct nvmet_subsys *subsys = to_subsys(item); local 1367 nvmet_subsys_attr_model_store_locked(struct nvmet_subsys *subsys, const char *page, size_t count) argument 1405 struct nvmet_subsys *subsys = to_subsys(item); local 1421 struct nvmet_subsys *subsys = to_subsys(item); local 1426 nvmet_subsys_attr_ieee_oui_store_locked(struct nvmet_subsys *subsys, const char *page, size_t count) argument 1453 struct nvmet_subsys *subsys = to_subsys(item); local 1469 struct nvmet_subsys *subsys = to_subsys(item); local 1474 nvmet_subsys_attr_firmware_store_locked(struct nvmet_subsys *subsys, const char *page, size_t count) argument 1515 struct nvmet_subsys *subsys = to_subsys(item); local 1538 struct nvmet_subsys *subsys = to_subsys(item); local 1559 struct nvmet_subsys *subsys = to_subsys(item); local 1602 struct nvmet_subsys *subsys = to_subsys(item); local 1621 struct nvmet_subsys *subsys; local [all...] |
H A D | passthru.c | 29 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 D | nvmet.h | 74 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, 630 nvmet_is_disc_subsys(struct nvmet_subsys *subsys) argument 641 nvmet_is_passthru_subsys(struct nvmet_subsys *subsys) argument 646 nvmet_passthru_subsys_free(struct nvmet_subsys *subsys) argument 649 nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys) argument 660 nvmet_is_passthru_subsys(struct nvmet_subsys *subsys) argument [all...] |
H A D | discovery.c | 29 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 D | admin-cmd.c | 113 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 D | configfs.c | 415 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 D | configfs_sample.c | 32 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 D | nfnetlink.h | 62 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 D | mtk-cmdq.h | 29 u8 subsys; member in struct:cmdq_client_reg 91 * @subsys: the CMDQ sub system code 97 int cmdq_pkt_write(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value); 102 * @subsys: the CMDQ sub system code 109 int cmdq_pkt_write_mask(struct cmdq_pkt *pkt, u8 subsys, 133 * Support write value to physical address without subsys. Use CMDQ_ADDR_HIGH() 151 * Support write value to physical address without subsys. Use CMDQ_ADDR_HIGH() 249 * @subsys: the CMDQ sub system code 255 int cmdq_pkt_poll(struct cmdq_pkt *pkt, u8 subsys, 265 * @subsys 382 cmdq_pkt_write(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value) argument 387 cmdq_pkt_write_mask(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value, u32 mask) argument 438 cmdq_pkt_poll(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value) argument 444 cmdq_pkt_poll_mask(struct cmdq_pkt *pkt, u8 subsys, u16 offset, u32 value, u32 mask) argument [all...] |
/linux-master/drivers/nvme/host/ |
H A D | core.c | 133 static void nvme_put_subsystem(struct nvme_subsystem *subsys); 650 ida_free(&head->subsys->ns_ida, head->instance); 652 nvme_put_subsystem(head->subsys); 1164 mutex_lock(&ctrl->subsys->lock); 1165 nvme_mpath_start_freeze(ctrl->subsys); 1166 nvme_mpath_wait_freeze(ctrl->subsys); 1179 nvme_mpath_unfreeze(ctrl->subsys); 1180 mutex_unlock(&ctrl->subsys->lock); 1964 atomic_bs = (1 + ns->ctrl->subsys->awupf) * bs; 2737 static void nvme_init_subnqn(struct nvme_subsystem *subsys, struc argument 2771 struct nvme_subsystem *subsys = local 2781 struct nvme_subsystem *subsys = local 2793 nvme_put_subsystem(struct nvme_subsystem *subsys) argument 2800 struct nvme_subsystem *subsys; local 2831 nvme_validate_cntlid(struct nvme_subsystem *subsys, struct nvme_ctrl *ctrl, struct nvme_id_ctrl *id) argument 2864 struct nvme_subsystem *subsys, *found; local 3409 nvme_subsys_check_duplicate_ids(struct nvme_subsystem *subsys, struct nvme_ns_ids *ids) argument 4573 struct nvme_subsystem *subsys = ctrl->subsys; local [all...] |
H A D | multipath.c | 48 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 795 struct nvme_subsystem *subsys = local 805 struct nvme_subsystem *subsys = local [all...] |
/linux-master/scripts/ |
H A D | get_feat.pl | 104 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/base/ |
H A D | class.c | 58 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 D | base.h | 18 * @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 D | bus.c | 76 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"); 827 ret = kobject_synth_uevent(&sp->subsys.kobj, buf, count); 866 bus_kobj = &priv->subsys.kobj; 875 retval = kset_register(&priv->subsys); 898 __mutex_init(&priv->mutex, "subsys mutex", key); 922 kset_unregister(&priv->subsys); 948 bus_kobj = &sp->subsys 1204 subsys_register(const struct bus_type *subsys, const struct attribute_group **groups, struct kobject *parent_of_root) argument 1274 subsys_system_register(const struct bus_type *subsys, const struct attribute_group **groups) argument 1292 subsys_virtual_register(const struct bus_type *subsys, const struct attribute_group **groups) argument [all...] |
/linux-master/fs/configfs/ |
H A D | dir.c | 39 * 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...] |