/kernel/linux/linux-6.6/drivers/nvme/target/ |
H A D | configfs.c | 63 static ssize_t nvmet_addr_adrfam_show(struct config_item *item, char *page) in nvmet_addr_adrfam_show() argument 65 u8 adrfam = to_nvmet_port(item)->disc_addr.adrfam; in nvmet_addr_adrfam_show() 77 static ssize_t nvmet_addr_adrfam_store(struct config_item *item, in nvmet_addr_adrfam_store() argument 80 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_adrfam_store() 101 static ssize_t nvmet_addr_portid_show(struct config_item *item, in nvmet_addr_portid_show() argument 104 __le16 portid = to_nvmet_port(item)->disc_addr.portid; in nvmet_addr_portid_show() 109 static ssize_t nvmet_addr_portid_store(struct config_item *item, in nvmet_addr_portid_store() argument 112 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_portid_store() 129 static ssize_t nvmet_addr_traddr_show(struct config_item *item, in nvmet_addr_traddr_show() argument 132 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_traddr_show() 137 nvmet_addr_traddr_store(struct config_item *item, const char *page, size_t count) nvmet_addr_traddr_store() argument 163 nvmet_addr_treq_show(struct config_item *item, char *page) nvmet_addr_treq_show() argument 178 nvmet_addr_treq_store(struct config_item *item, const char *page, size_t count) nvmet_addr_treq_store() argument 204 nvmet_addr_trsvcid_show(struct config_item *item, char *page) nvmet_addr_trsvcid_show() argument 212 nvmet_addr_trsvcid_store(struct config_item *item, const char *page, size_t count) nvmet_addr_trsvcid_store() argument 231 nvmet_param_inline_data_size_show(struct config_item *item, char *page) nvmet_param_inline_data_size_show() argument 239 nvmet_param_inline_data_size_store(struct config_item *item, const char *page, size_t count) nvmet_param_inline_data_size_store() argument 258 nvmet_param_pi_enable_show(struct config_item *item, char *page) nvmet_param_pi_enable_show() argument 266 nvmet_param_pi_enable_store(struct config_item *item, const char *page, size_t count) nvmet_param_pi_enable_store() argument 285 nvmet_addr_trtype_show(struct config_item *item, char *page) nvmet_addr_trtype_show() argument 307 nvmet_addr_trtype_store(struct config_item *item, const char *page, size_t count) nvmet_addr_trtype_store() argument 337 nvmet_ns_device_path_show(struct config_item *item, char *page) nvmet_ns_device_path_show() argument 342 nvmet_ns_device_path_store(struct config_item *item, const char *page, size_t count) nvmet_ns_device_path_store() argument 377 nvmet_ns_p2pmem_show(struct config_item *item, char *page) nvmet_ns_p2pmem_show() argument 384 nvmet_ns_p2pmem_store(struct config_item *item, const char *page, size_t count) nvmet_ns_p2pmem_store() argument 418 nvmet_ns_device_uuid_show(struct config_item *item, char *page) nvmet_ns_device_uuid_show() argument 423 nvmet_ns_device_uuid_store(struct config_item *item, const char *page, size_t count) nvmet_ns_device_uuid_store() argument 446 nvmet_ns_device_nguid_show(struct config_item *item, char *page) nvmet_ns_device_nguid_show() argument 451 nvmet_ns_device_nguid_store(struct config_item *item, const char *page, size_t count) nvmet_ns_device_nguid_store() argument 492 nvmet_ns_ana_grpid_show(struct config_item *item, char *page) nvmet_ns_ana_grpid_show() argument 497 nvmet_ns_ana_grpid_store(struct config_item *item, const char *page, size_t count) nvmet_ns_ana_grpid_store() argument 526 nvmet_ns_enable_show(struct config_item *item, char *page) nvmet_ns_enable_show() argument 531 nvmet_ns_enable_store(struct config_item *item, const char *page, size_t count) nvmet_ns_enable_store() argument 551 nvmet_ns_buffered_io_show(struct config_item *item, char *page) nvmet_ns_buffered_io_show() argument 556 nvmet_ns_buffered_io_store(struct config_item *item, const char *page, size_t count) nvmet_ns_buffered_io_store() argument 579 nvmet_ns_revalidate_size_store(struct config_item *item, const char *page, size_t count) nvmet_ns_revalidate_size_store() argument 619 nvmet_ns_release(struct config_item *item) nvmet_ns_release() argument 678 nvmet_passthru_device_path_show(struct config_item *item, char *page) nvmet_passthru_device_path_show() argument 686 nvmet_passthru_device_path_store(struct config_item *item, const char *page, size_t count) nvmet_passthru_device_path_store() argument 719 nvmet_passthru_enable_show(struct config_item *item, char *page) nvmet_passthru_enable_show() argument 727 nvmet_passthru_enable_store(struct config_item *item, const char *page, size_t count) nvmet_passthru_enable_store() argument 746 nvmet_passthru_admin_timeout_show(struct config_item *item, char *page) nvmet_passthru_admin_timeout_show() argument 752 nvmet_passthru_admin_timeout_store(struct config_item *item, const char *page, size_t count) nvmet_passthru_admin_timeout_store() argument 765 nvmet_passthru_io_timeout_show(struct config_item *item, char *page) nvmet_passthru_io_timeout_show() argument 771 nvmet_passthru_io_timeout_store(struct config_item *item, const char *page, size_t count) nvmet_passthru_io_timeout_store() argument 784 nvmet_passthru_clear_ids_show(struct config_item *item, char *page) nvmet_passthru_clear_ids_show() argument 790 nvmet_passthru_clear_ids_store(struct config_item *item, const char *page, size_t count) nvmet_passthru_clear_ids_store() argument 987 nvmet_subsys_attr_allow_any_host_show(struct config_item *item, char *page) nvmet_subsys_attr_allow_any_host_show() argument 994 nvmet_subsys_attr_allow_any_host_store(struct config_item *item, const char *page, size_t count) nvmet_subsys_attr_allow_any_host_store() argument 1023 nvmet_subsys_attr_version_show(struct config_item *item, char *page) nvmet_subsys_attr_version_show() argument 1072 nvmet_subsys_attr_version_store(struct config_item *item, const char *page, size_t count) nvmet_subsys_attr_version_store() argument 1094 nvmet_subsys_attr_serial_show(struct config_item *item, char *page) nvmet_subsys_attr_serial_show() argument 1133 nvmet_subsys_attr_serial_store(struct config_item *item, const char *page, size_t count) nvmet_subsys_attr_serial_store() argument 1149 nvmet_subsys_attr_cntlid_min_show(struct config_item *item, char *page) nvmet_subsys_attr_cntlid_min_show() argument 1155 nvmet_subsys_attr_cntlid_min_store(struct config_item *item, const char *page, size_t cnt) nvmet_subsys_attr_cntlid_min_store() argument 1179 nvmet_subsys_attr_cntlid_max_show(struct config_item *item, char *page) nvmet_subsys_attr_cntlid_max_show() argument 1185 nvmet_subsys_attr_cntlid_max_store(struct config_item *item, const char *page, size_t cnt) nvmet_subsys_attr_cntlid_max_store() argument 1209 nvmet_subsys_attr_model_show(struct config_item *item, char *page) nvmet_subsys_attr_model_show() argument 1252 nvmet_subsys_attr_model_store(struct config_item *item, const char *page, size_t count) nvmet_subsys_attr_model_store() argument 1268 nvmet_subsys_attr_ieee_oui_show(struct config_item *item, char *page) nvmet_subsys_attr_ieee_oui_show() argument 1300 nvmet_subsys_attr_ieee_oui_store(struct config_item *item, const char *page, size_t count) nvmet_subsys_attr_ieee_oui_store() argument 1316 nvmet_subsys_attr_firmware_show(struct config_item *item, char *page) nvmet_subsys_attr_firmware_show() argument 1362 nvmet_subsys_attr_firmware_store(struct config_item *item, const char *page, size_t count) nvmet_subsys_attr_firmware_store() argument 1379 nvmet_subsys_attr_pi_enable_show(struct config_item *item, char *page) nvmet_subsys_attr_pi_enable_show() argument 1385 nvmet_subsys_attr_pi_enable_store(struct config_item *item, const char *page, size_t count) nvmet_subsys_attr_pi_enable_store() argument 1400 nvmet_subsys_attr_qid_max_show(struct config_item *item, char *page) nvmet_subsys_attr_qid_max_show() argument 1406 nvmet_subsys_attr_qid_max_store(struct config_item *item, const char *page, size_t cnt) nvmet_subsys_attr_qid_max_store() argument 1450 nvmet_subsys_release(struct config_item *item) nvmet_subsys_release() argument 1507 nvmet_referral_enable_show(struct config_item *item, char *page) nvmet_referral_enable_show() argument 1513 nvmet_referral_enable_store(struct config_item *item, const char *page, size_t count) nvmet_referral_enable_store() argument 1550 nvmet_referral_notify(struct config_group *group, struct config_item *item) nvmet_referral_notify() argument 1559 nvmet_referral_release(struct config_item *item) nvmet_referral_release() argument 1609 nvmet_ana_group_ana_state_show(struct config_item *item, char *page) nvmet_ana_group_ana_state_show() argument 1624 nvmet_ana_group_ana_state_store(struct config_item *item, const char *page, size_t count) nvmet_ana_group_ana_state_store() argument 1655 nvmet_ana_group_release(struct config_item *item) nvmet_ana_group_release() argument 1729 nvmet_port_release(struct config_item *item) nvmet_port_release() argument 1840 nvmet_host_dhchap_key_show(struct config_item *item, char *page) nvmet_host_dhchap_key_show() argument 1850 nvmet_host_dhchap_key_store(struct config_item *item, const char *page, size_t count) nvmet_host_dhchap_key_store() argument 1867 nvmet_host_dhchap_ctrl_key_show(struct config_item *item, char *page) nvmet_host_dhchap_ctrl_key_show() argument 1877 nvmet_host_dhchap_ctrl_key_store(struct config_item *item, const char *page, size_t count) nvmet_host_dhchap_ctrl_key_store() argument 1894 nvmet_host_dhchap_hash_show(struct config_item *item, char *page) nvmet_host_dhchap_hash_show() argument 1903 nvmet_host_dhchap_hash_store(struct config_item *item, const char *page, size_t count) nvmet_host_dhchap_hash_store() argument 1920 nvmet_host_dhchap_dhgroup_show(struct config_item *item, char *page) nvmet_host_dhchap_dhgroup_show() argument 1929 nvmet_host_dhchap_dhgroup_store(struct config_item *item, const char *page, size_t count) nvmet_host_dhchap_dhgroup_store() argument 1959 nvmet_host_release(struct config_item *item) nvmet_host_release() argument [all...] |
/third_party/vk-gl-cts/scripts/khr_util/ |
H A D | registry.py | 91 def append(self, item): 92 keys = self.getkeys(item) 94 self[key] = item 95 self.items.append(item) 98 for item in items: 99 self.append(item) 107 def getkeys(self, item): 113 def __setitem__(self, key, item): 116 self.duplicateKey(key, item) 118 self.index[key] = item [all...] |
/third_party/jerryscript/jerry-core/ext/ |
H A D | tracker.c | 46 void RefInfoResetFn(IStorageItem* item) in RefInfoResetFn() argument 48 RefInfoItem* ref_item = (RefInfoItem*)item; in RefInfoResetFn() 72 IStorageItem* item = (IStorageItem*)storage->data[key]; in StoragePut() local 76 new_item->next = item; in StoragePut() 91 IStorageItem* item = (IStorageItem*)storage->data[key]; in StorageReset() local 93 while (item != NULL) { in StorageReset() 94 IStorageItem* next = item->next; in StorageReset() 95 reset_fn(item); in StorageReset() 96 item = next; in StorageReset() 115 RefInfoItem* item in CreateRefInfoItem() local 168 RefInfoItem* item = (RefInfoItem*)storage->data[i]; DumpTracker() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/ |
H A D | peers.cpp | 424 QStandardItem *item = new QStandardItem(*laptop_icon, name); in add_station() local 425 if (item) { in add_station() 432 QStandardItem *item; in add_station() local 433 item = model.itemFromIndex(lst[i]); in add_station() 434 if (item == NULL) in add_station() 436 int type = item->data(peer_role_type).toInt(); in add_station() 444 item->setData(lines[0], peer_role_address); in add_station() 445 item->setData(PEER_TYPE_ASSOCIATED_STATION, in add_station() 447 item->setData(info, peer_role_details); in add_station() 448 item in add_station() 539 QStandardItem *item = find_addr(addr); add_p2p_group_client() local 617 QStandardItem *item = new QStandardItem(*ap_icon, name); add_bss() local 690 QStandardItem *item = new QStandardItem(*group_icon, name); add_persistent() local 800 QStandardItem *item = model.itemFromIndex(lst[i]); find_addr_type() local 836 QStandardItem *item = find_addr(addr); event_notify() local 868 QStandardItem *item = find_addr(addr); event_notify() local 886 QStandardItem *item = model.itemFromIndex(lst[i]); event_notify() local 920 QStandardItem *item = find_addr(addr); event_notify() local 969 QStandardItem *item = new QStandardItem(*group_icon, ssid); event_notify() local 1013 QStandardItem *item = find_addr_type(addr, PEER_TYPE_P2P); event_notify() local 1035 QStandardItem *item = find_addr_type(addr, PEER_TYPE_P2P); event_notify() local 1077 QStandardItem *item; event_notify() local 1157 QStandardItem *item = model.itemFromIndex(lst[i]); event_notify() local 1208 QStandardItem *item; event_notify() local 1263 QStandardItem *item = find_addr(addr); event_notify() local 1575 QStandardItem *item = model.itemFromIndex(lst[i]); remove_enrollee_uuid() local 1877 QStandardItem *item = model.itemFromIndex(lst[i]); enable_persistent() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/ |
H A D | peers.cpp | 424 QStandardItem *item = new QStandardItem(*laptop_icon, name); in add_station() local 425 if (item) { in add_station() 432 QStandardItem *item; in add_station() local 433 item = model.itemFromIndex(lst[i]); in add_station() 434 if (item == NULL) in add_station() 436 int type = item->data(peer_role_type).toInt(); in add_station() 444 item->setData(lines[0], peer_role_address); in add_station() 445 item->setData(PEER_TYPE_ASSOCIATED_STATION, in add_station() 447 item->setData(info, peer_role_details); in add_station() 448 item in add_station() 541 QStandardItem *item = find_addr(addr); add_p2p_group_client() local 619 QStandardItem *item = new QStandardItem(*ap_icon, name); add_bss() local 692 QStandardItem *item = new QStandardItem(*group_icon, name); add_persistent() local 802 QStandardItem *item = model.itemFromIndex(lst[i]); find_addr_type() local 838 QStandardItem *item = find_addr(addr); event_notify() local 870 QStandardItem *item = find_addr(addr); event_notify() local 888 QStandardItem *item = model.itemFromIndex(lst[i]); event_notify() local 922 QStandardItem *item = find_addr(addr); event_notify() local 971 QStandardItem *item = new QStandardItem(*group_icon, ssid); event_notify() local 1015 QStandardItem *item = find_addr_type(addr, PEER_TYPE_P2P); event_notify() local 1037 QStandardItem *item = find_addr_type(addr, PEER_TYPE_P2P); event_notify() local 1079 QStandardItem *item; event_notify() local 1159 QStandardItem *item = model.itemFromIndex(lst[i]); event_notify() local 1210 QStandardItem *item; event_notify() local 1265 QStandardItem *item = find_addr(addr); event_notify() local 1577 QStandardItem *item = model.itemFromIndex(lst[i]); remove_enrollee_uuid() local 1879 QStandardItem *item = model.itemFromIndex(lst[i]); enable_persistent() local [all...] |
/kernel/linux/linux-5.10/samples/configfs/ |
H A D | configfs_sample.c | 39 static inline struct childless *to_childless(struct config_item *item) in to_childless() argument 41 return container_of(to_configfs_subsystem(to_config_group(item)), in to_childless() 45 static ssize_t childless_showme_show(struct config_item *item, char *page) in childless_showme_show() argument 47 struct childless *childless = to_childless(item); in childless_showme_show() 56 static ssize_t childless_storeme_show(struct config_item *item, char *page) in childless_storeme_show() argument 58 return sprintf(page, "%d\n", to_childless(item)->storeme); in childless_storeme_show() 61 static ssize_t childless_storeme_store(struct config_item *item, in childless_storeme_store() argument 64 struct childless *childless = to_childless(item); in childless_storeme_store() 74 static ssize_t childless_description_show(struct config_item *item, char *page) in childless_description_show() argument 124 struct config_item item; member 128 to_simple_child(struct config_item *item) to_simple_child() argument 133 simple_child_storeme_show(struct config_item *item, char *page) simple_child_storeme_show() argument 138 simple_child_storeme_store(struct config_item *item, const char *page, size_t count) simple_child_storeme_store() argument 158 simple_child_release(struct config_item *item) simple_child_release() argument 177 to_simple_children(struct config_item *item) to_simple_children() argument 198 simple_children_description_show(struct config_item *item, char *page) simple_children_description_show() argument 215 simple_children_release(struct config_item *item) simple_children_release() argument 276 group_children_description_show(struct config_item *item, char *page) group_children_description_show() argument [all...] |
/kernel/liteos_a/kernel/include/ |
H A D | los_list.h | 412 * @param item [IN] Current node's pointer to the next node. 421 #define LOS_DL_LIST_ENTRY(item, type, member) \ 422 ((type *)(VOID *)((CHAR *)(item) - LOS_OFF_SET_OF(type, member))) 435 * @param item [IN] Pointer to the structure that contains the doubly linked list that is to be traversed. 445 #define LOS_DL_LIST_FOR_EACH_ENTRY(item, list, type, member) \ 446 for (item = LOS_DL_LIST_ENTRY((list)->pstNext, type, member); \ 447 &(item)->member != (list); \ 448 item = LOS_DL_LIST_ENTRY((item)->member.pstNext, type, member)) 461 * @param item [I [all...] |
/kernel/linux/linux-6.6/samples/configfs/ |
H A D | configfs_sample.c | 37 static inline struct childless *to_childless(struct config_item *item) in to_childless() argument 39 return container_of(to_configfs_subsystem(to_config_group(item)), in to_childless() 43 static ssize_t childless_showme_show(struct config_item *item, char *page) in childless_showme_show() argument 45 struct childless *childless = to_childless(item); in childless_showme_show() 54 static ssize_t childless_storeme_show(struct config_item *item, char *page) in childless_storeme_show() argument 56 return sprintf(page, "%d\n", to_childless(item)->storeme); in childless_storeme_show() 59 static ssize_t childless_storeme_store(struct config_item *item, in childless_storeme_store() argument 62 struct childless *childless = to_childless(item); in childless_storeme_store() 72 static ssize_t childless_description_show(struct config_item *item, char *page) in childless_description_show() argument 122 struct config_item item; member 126 to_simple_child(struct config_item *item) to_simple_child() argument 131 simple_child_storeme_show(struct config_item *item, char *page) simple_child_storeme_show() argument 136 simple_child_storeme_store(struct config_item *item, const char *page, size_t count) simple_child_storeme_store() argument 156 simple_child_release(struct config_item *item) simple_child_release() argument 175 to_simple_children(struct config_item *item) to_simple_children() argument 196 simple_children_description_show(struct config_item *item, char *page) simple_children_description_show() argument 213 simple_children_release(struct config_item *item) simple_children_release() argument 274 group_children_description_show(struct config_item *item, char *page) group_children_description_show() argument [all...] |
/kernel/linux/linux-5.10/drivers/platform/mellanox/ |
H A D | mlxreg-hotplug.c | 160 struct mlxreg_core_item *item; in mlxreg_hotplug_attr_show() local 166 item = pdata->items + nr; in mlxreg_hotplug_attr_show() 167 data = item->data + index; in mlxreg_hotplug_attr_show() 173 if (item->health) { in mlxreg_hotplug_attr_show() 176 /* Bit = 0 : functional if item->inversed is true. */ in mlxreg_hotplug_attr_show() 177 if (item->inversed) in mlxreg_hotplug_attr_show() 192 struct mlxreg_core_item *item; in mlxreg_hotplug_attr_init() local 199 item = pdata->items; in mlxreg_hotplug_attr_init() 202 for (i = 0; i < pdata->counter; i++, item++) { in mlxreg_hotplug_attr_init() 203 if (item in mlxreg_hotplug_attr_init() 278 mlxreg_hotplug_work_helper(struct mlxreg_hotplug_priv_data *priv, struct mlxreg_core_item *item) mlxreg_hotplug_work_helper() argument 347 mlxreg_hotplug_health_work_helper(struct mlxreg_hotplug_priv_data *priv, struct mlxreg_core_item *item) mlxreg_hotplug_health_work_helper() argument 450 struct mlxreg_core_item *item; mlxreg_hotplug_work_handler() local 529 struct mlxreg_core_item *item; mlxreg_hotplug_set_irq() local 602 struct mlxreg_core_item *item; mlxreg_hotplug_unset_irq() local [all...] |
/third_party/node/deps/npm/node_modules/columnify/ |
H A D | columnify.js | 61 items.forEach(function (item) { 62 for (var columnName in item) { 86 items = items.map(function (item) { 90 result[columnName] = item[columnName] != null ? item[columnName] : ''; 107 items = items.map(function (item, index) { 109 item[columnName] = column.dataTransform(item[columnName], col, index); 122 return item; 145 column.width = items.map(function (item) { [all...] |
H A D | index.js | 55 items.forEach(function(item) { 56 for (let columnName in item) { 80 items = items.map(item => { 84 result[columnName] = item[columnName] != null ? item[columnName] : '' 101 items = items.map((item, index) => { 103 item[columnName] = column.dataTransform(item[columnName], col, index) 112 return item 136 .map(item [all...] |
/third_party/python/Tools/scripts/ |
H A D | stable_abi.py | 61 def add(self, item): 62 if item.name in self.contents: 65 raise ValueError(f'duplicate ABI item {item.name}') 66 self.contents[item.name] = item 81 for name, item in sorted(self.contents.items()): 82 if item.kind not in kinds: 84 if item.abi_only and not include_abi_only: 87 and item [all...] |
/drivers/interface/camera/metadata/src/ |
H A D | camera_metadata_operator.cpp | 45 int32_t GetCameraMetadataItemType(uint32_t item, uint32_t *dataType) in GetCameraMetadataItemType() argument 47 return CameraMetadata::GetCameraMetadataItemType(item, dataType); in GetCameraMetadataItemType() 50 const char *GetCameraMetadataItemName(uint32_t item) in GetCameraMetadataItemName() argument 52 return CameraMetadata::GetCameraMetadataItemName(item); in GetCameraMetadataItemName() 60 int AddCameraMetadataItem(common_metadata_header_t *dst, uint32_t item, const void *data, size_t dataCount) in AddCameraMetadataItem() argument 62 return CameraMetadata::AddCameraMetadataItem(dst, item, data, dataCount); in AddCameraMetadataItem() 65 int GetCameraMetadataItem(const common_metadata_header_t *src, uint32_t index, camera_metadata_item_t *item) in GetCameraMetadataItem() argument 67 return CameraMetadata::GetCameraMetadataItem(src, index, item); in GetCameraMetadataItem() 70 int FindCameraMetadataItemIndex(const common_metadata_header_t *src, uint32_t item, uint32_t *idx) in FindCameraMetadataItemIndex() argument 72 return CameraMetadata::FindCameraMetadataItemIndex(src, item, id in FindCameraMetadataItemIndex() 75 FindCameraMetadataItem(const common_metadata_header_t *src, uint32_t item, camera_metadata_item_t *metadataItem) FindCameraMetadataItem() argument 80 IsCameraMetadataItemExist(const common_metadata_header_t *src, uint32_t item) IsCameraMetadataItemExist() argument 85 MetadataExpandItemMem(common_metadata_header_t *dst, camera_metadata_item_entry_t *item, size_t oldItemSize) MetadataExpandItemMem() argument 97 UpdateCameraMetadataItem(common_metadata_header_t *dst, uint32_t item, const void *data, uint32_t dataCount, camera_metadata_item_t *updatedItem) UpdateCameraMetadataItem() argument 108 DeleteCameraMetadataItem(common_metadata_header_t *dst, uint32_t item) DeleteCameraMetadataItem() argument 138 MetadataItemDump(const common_metadata_header_t *metadataHeader, uint32_t item) MetadataItemDump() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ |
H A D | netconsole.c | 79 * @item: Links us into the configfs subsystem hierarchy. 99 struct config_item item; member 130 if (config_item_name(&nt->item)) in netconsole_target_get() 131 config_item_get(&nt->item); in netconsole_target_get() 136 if (config_item_name(&nt->item)) in netconsole_target_put() 137 config_item_put(&nt->item); in netconsole_target_put() 235 static struct netconsole_target *to_target(struct config_item *item) in to_target() argument 237 return item ? in to_target() 238 container_of(item, struct netconsole_target, item) in to_target() 246 enabled_show(struct config_item *item, char *buf) enabled_show() argument 251 extended_show(struct config_item *item, char *buf) extended_show() argument 256 dev_name_show(struct config_item *item, char *buf) dev_name_show() argument 261 local_port_show(struct config_item *item, char *buf) local_port_show() argument 266 remote_port_show(struct config_item *item, char *buf) remote_port_show() argument 271 local_ip_show(struct config_item *item, char *buf) local_ip_show() argument 281 remote_ip_show(struct config_item *item, char *buf) remote_ip_show() argument 291 local_mac_show(struct config_item *item, char *buf) local_mac_show() argument 299 remote_mac_show(struct config_item *item, char *buf) remote_mac_show() argument 311 enabled_store(struct config_item *item, const char *buf, size_t count) enabled_store() argument 370 extended_store(struct config_item *item, const char *buf, size_t count) extended_store() argument 402 dev_name_store(struct config_item *item, const char *buf, size_t count) dev_name_store() argument 427 local_port_store(struct config_item *item, const char *buf, size_t count) local_port_store() argument 450 remote_port_store(struct config_item *item, const char *buf, size_t count) remote_port_store() argument 473 local_ip_store(struct config_item *item, const char *buf, size_t count) local_ip_store() argument 509 remote_ip_store(struct config_item *item, const char *buf, size_t count) remote_ip_store() argument 545 remote_mac_store(struct config_item *item, const char *buf, size_t count) remote_mac_store() argument 598 netconsole_target_release(struct config_item *item) netconsole_target_release() argument 648 drop_netconsole_target(struct config_group *group, struct config_item *item) drop_netconsole_target() argument [all...] |
/kernel/linux/linux-5.10/include/trace/ |
H A D | trace_events.h | 10 * <type> <item>; 15 * The <type> <item> is created by the __field(type, item) macro or 17 * We simply do "type item;", and that will create the fields 85 #define __field(type, item) type item; 88 #define __field_ext(type, item, filter_type) type item; 91 #define __field_struct(type, item) type item; [all...] |
/kernel/linux/linux-5.10/tools/testing/radix-tree/ |
H A D | multiorder.c | 19 struct item *item = item_create(index, order); in item_insert_order() local 23 xas_store(&xas, item); in item_insert_order() 30 free(item); in item_insert_order() 37 struct item *item; in multiorder_iteration() local 57 xas_for_each(&xas, item, ULONG_MAX) { in multiorder_iteration() 64 assert(!radix_tree_is_internal_node(item)); in multiorder_iteration() 65 assert((item->index | mask) == (index[i] | mask)); in multiorder_iteration() 66 assert(item in multiorder_iteration() 77 struct item *item; multiorder_tagged_iteration() local 183 struct item *item; iterator_func() local [all...] |
/third_party/rust/crates/clap/clap_derive/src/derives/ |
H A D | value_enum.rs | 16 use crate::item::{Item, Kind, Name}; 24 let item = Item::from_value_enum(input, name)?; in derive_value_enum() 27 let item = in derive_value_enum() 28 Item::from_value_enum_variant(variant, item.casing(), item.env_casing())?; in derive_value_enum() 29 variants.push((variant, item)); in derive_value_enum() 31 gen_for_enum(&item, ident, &variants) in derive_value_enum() 38 item: &Item, in gen_for_enum() 42 if !matches!(&*item.kind(), Kind::Value) { in gen_for_enum() 43 abort! { item in gen_for_enum() [all...] |
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | trace_export.c | 37 #define __field_struct(type, item) 40 #define __field(type, item) type item; 43 #define __field_fn(type, item) type item; 46 #define __field_desc(type, container, item) type item; 49 #define __field_packed(type, container, item) type item; 52 #define __array(type, item, siz [all...] |
/third_party/nghttp2/lib/ |
H A D | nghttp2_outbound_item.c | 30 void nghttp2_outbound_item_init(nghttp2_outbound_item *item) { in nghttp2_outbound_item_init() argument 31 item->cycle = 0; in nghttp2_outbound_item_init() 32 item->qnext = NULL; in nghttp2_outbound_item_init() 33 item->queued = 0; in nghttp2_outbound_item_init() 35 memset(&item->aux_data, 0, sizeof(nghttp2_aux_data)); in nghttp2_outbound_item_init() 38 void nghttp2_outbound_item_free(nghttp2_outbound_item *item, nghttp2_mem *mem) { in nghttp2_outbound_item_free() argument 41 if (item == NULL) { in nghttp2_outbound_item_free() 45 frame = &item->frame; in nghttp2_outbound_item_free() 78 aux_data = &item->aux_data.ext; in nghttp2_outbound_item_free() 109 nghttp2_outbound_item *item) { in nghttp2_outbound_queue_push() 108 nghttp2_outbound_queue_push(nghttp2_outbound_queue *q, nghttp2_outbound_item *item) nghttp2_outbound_queue_push() argument 119 nghttp2_outbound_item *item; nghttp2_outbound_queue_pop() local [all...] |
/third_party/node/deps/nghttp2/lib/ |
H A D | nghttp2_outbound_item.c | 30 void nghttp2_outbound_item_init(nghttp2_outbound_item *item) { in nghttp2_outbound_item_init() argument 31 item->cycle = 0; in nghttp2_outbound_item_init() 32 item->qnext = NULL; in nghttp2_outbound_item_init() 33 item->queued = 0; in nghttp2_outbound_item_init() 35 memset(&item->aux_data, 0, sizeof(nghttp2_aux_data)); in nghttp2_outbound_item_init() 38 void nghttp2_outbound_item_free(nghttp2_outbound_item *item, nghttp2_mem *mem) { in nghttp2_outbound_item_free() argument 41 if (item == NULL) { in nghttp2_outbound_item_free() 45 frame = &item->frame; in nghttp2_outbound_item_free() 78 aux_data = &item->aux_data.ext; in nghttp2_outbound_item_free() 109 nghttp2_outbound_item *item) { in nghttp2_outbound_queue_push() 108 nghttp2_outbound_queue_push(nghttp2_outbound_queue *q, nghttp2_outbound_item *item) nghttp2_outbound_queue_push() argument 119 nghttp2_outbound_item *item; nghttp2_outbound_queue_pop() local [all...] |
/third_party/icu/tools/unicodetools/com/ibm/rbm/ |
H A D | Bundle.java | 177 BundleItem item = null; in removeUntranslatedItemsByGroup() 178 item = (BundleItem)iter.next(); in removeUntranslatedItemsByGroup() 179 if (item != null && item.getParentGroup().getName().equals(groupName)) { in removeUntranslatedItemsByGroup() 180 removeUntranslatedItem(item.getKey()); in removeUntranslatedItemsByGroup() 189 * Checks to see if an item of the given key name exists in the set of untranslated items. If 196 BundleItem item = (BundleItem)iter.next(); in removeUntranslatedItem() 197 if (item.getKey().equals(name)) { in removeUntranslatedItem() 198 untranslatedItems.remove(item); in removeUntranslatedItem() 248 BundleItem item in removeGroup() 281 addUntranslatedItem(BundleItem item) addUntranslatedItem() argument 394 addBundleItem(BundleItem item) addBundleItem() argument [all...] |
/third_party/node/test/parallel/ |
H A D | test-stream-map.js | 68 for await (const item of stream) { 69 assert.strictEqual(item, 2); 88 for await (const item of stream) { 89 assert.strictEqual(item, result.shift()); 109 for await (const item of stream) { 110 assert.strictEqual(item, result.shift()); 168 for await (const item of stream) { 169 assert.fail('should not reach here, got ' + item); 182 const stream = Readable.from([1, 2]).map(async (item, { signal }) => { 183 await setTimeout(10 - item, { signa [all...] |
/kernel/linux/linux-5.10/fs/ocfs2/cluster/ |
H A D | nodemanager.c | 145 static struct o2nm_cluster *to_o2nm_cluster(struct config_item *item) in to_o2nm_cluster() argument 147 return item ? in to_o2nm_cluster() 148 container_of(to_config_group(item), struct o2nm_cluster, in to_o2nm_cluster() 153 static struct o2nm_node *to_o2nm_node(struct config_item *item) in to_o2nm_node() argument 155 return item ? container_of(item, struct o2nm_node, nd_item) : NULL; in to_o2nm_node() 158 static void o2nm_node_release(struct config_item *item) in o2nm_node_release() argument 160 struct o2nm_node *node = to_o2nm_node(item); in o2nm_node_release() 164 static ssize_t o2nm_node_num_show(struct config_item *item, char *page) in o2nm_node_num_show() argument 166 return sprintf(page, "%d\n", to_o2nm_node(item) in o2nm_node_num_show() 185 o2nm_node_num_store(struct config_item *item, const char *page, size_t count) o2nm_node_num_store() argument 235 o2nm_node_ipv4_port_show(struct config_item *item, char *page) o2nm_node_ipv4_port_show() argument 240 o2nm_node_ipv4_port_store(struct config_item *item, const char *page, size_t count) o2nm_node_ipv4_port_store() argument 263 o2nm_node_ipv4_address_show(struct config_item *item, char *page) o2nm_node_ipv4_address_show() argument 268 o2nm_node_ipv4_address_store(struct config_item *item, const char *page, size_t count) o2nm_node_ipv4_address_store() argument 319 o2nm_node_local_show(struct config_item *item, char *page) o2nm_node_local_show() argument 324 o2nm_node_local_store(struct config_item *item, const char *page, size_t count) o2nm_node_local_store() argument 446 o2nm_cluster_idle_timeout_ms_show(struct config_item *item, char *page) o2nm_cluster_idle_timeout_ms_show() argument 452 o2nm_cluster_idle_timeout_ms_store(struct config_item *item, const char *page, size_t count) o2nm_cluster_idle_timeout_ms_store() argument 482 o2nm_cluster_keepalive_delay_ms_show( struct config_item *item, char *page) o2nm_cluster_keepalive_delay_ms_show() argument 489 o2nm_cluster_keepalive_delay_ms_store( struct config_item *item, const char *page, size_t count) o2nm_cluster_keepalive_delay_ms_store() argument 519 o2nm_cluster_reconnect_delay_ms_show( struct config_item *item, char *page) o2nm_cluster_reconnect_delay_ms_show() argument 526 o2nm_cluster_reconnect_delay_ms_store( struct config_item *item, const char *page, size_t count) o2nm_cluster_reconnect_delay_ms_store() argument 533 o2nm_cluster_fence_method_show( struct config_item *item, char *page) o2nm_cluster_fence_method_show() argument 545 o2nm_cluster_fence_method_store( struct config_item *item, const char *page, size_t count) o2nm_cluster_fence_method_store() argument 604 o2nm_node_group_drop_item(struct config_group *group, struct config_item *item) o2nm_node_group_drop_item() argument 654 o2nm_cluster_release(struct config_item *item) o2nm_cluster_release() argument 734 o2nm_cluster_group_drop_item(struct config_group *group, struct config_item *item) o2nm_cluster_group_drop_item() argument 776 o2nm_depend_item(struct config_item *item) o2nm_depend_item() argument 781 o2nm_undepend_item(struct config_item *item) o2nm_undepend_item() argument [all...] |
/kernel/linux/linux-6.6/fs/ocfs2/cluster/ |
H A D | nodemanager.c | 143 static struct o2nm_cluster *to_o2nm_cluster(struct config_item *item) in to_o2nm_cluster() argument 145 return item ? in to_o2nm_cluster() 146 container_of(to_config_group(item), struct o2nm_cluster, in to_o2nm_cluster() 151 static struct o2nm_node *to_o2nm_node(struct config_item *item) in to_o2nm_node() argument 153 return item ? container_of(item, struct o2nm_node, nd_item) : NULL; in to_o2nm_node() 156 static void o2nm_node_release(struct config_item *item) in o2nm_node_release() argument 158 struct o2nm_node *node = to_o2nm_node(item); in o2nm_node_release() 162 static ssize_t o2nm_node_num_show(struct config_item *item, char *page) in o2nm_node_num_show() argument 164 return sprintf(page, "%d\n", to_o2nm_node(item) in o2nm_node_num_show() 183 o2nm_node_num_store(struct config_item *item, const char *page, size_t count) o2nm_node_num_store() argument 233 o2nm_node_ipv4_port_show(struct config_item *item, char *page) o2nm_node_ipv4_port_show() argument 238 o2nm_node_ipv4_port_store(struct config_item *item, const char *page, size_t count) o2nm_node_ipv4_port_store() argument 261 o2nm_node_ipv4_address_show(struct config_item *item, char *page) o2nm_node_ipv4_address_show() argument 266 o2nm_node_ipv4_address_store(struct config_item *item, const char *page, size_t count) o2nm_node_ipv4_address_store() argument 317 o2nm_node_local_show(struct config_item *item, char *page) o2nm_node_local_show() argument 322 o2nm_node_local_store(struct config_item *item, const char *page, size_t count) o2nm_node_local_store() argument 444 o2nm_cluster_idle_timeout_ms_show(struct config_item *item, char *page) o2nm_cluster_idle_timeout_ms_show() argument 450 o2nm_cluster_idle_timeout_ms_store(struct config_item *item, const char *page, size_t count) o2nm_cluster_idle_timeout_ms_store() argument 480 o2nm_cluster_keepalive_delay_ms_show( struct config_item *item, char *page) o2nm_cluster_keepalive_delay_ms_show() argument 487 o2nm_cluster_keepalive_delay_ms_store( struct config_item *item, const char *page, size_t count) o2nm_cluster_keepalive_delay_ms_store() argument 517 o2nm_cluster_reconnect_delay_ms_show( struct config_item *item, char *page) o2nm_cluster_reconnect_delay_ms_show() argument 524 o2nm_cluster_reconnect_delay_ms_store( struct config_item *item, const char *page, size_t count) o2nm_cluster_reconnect_delay_ms_store() argument 531 o2nm_cluster_fence_method_show( struct config_item *item, char *page) o2nm_cluster_fence_method_show() argument 543 o2nm_cluster_fence_method_store( struct config_item *item, const char *page, size_t count) o2nm_cluster_fence_method_store() argument 602 o2nm_node_group_drop_item(struct config_group *group, struct config_item *item) o2nm_node_group_drop_item() argument 652 o2nm_cluster_release(struct config_item *item) o2nm_cluster_release() argument 732 o2nm_cluster_group_drop_item(struct config_group *group, struct config_item *item) o2nm_cluster_group_drop_item() argument 774 o2nm_depend_item(struct config_item *item) o2nm_depend_item() argument 779 o2nm_undepend_item(struct config_item *item) o2nm_undepend_item() argument [all...] |
/third_party/rust/crates/cxx/gen/build/src/syntax/ |
H A D | file.rs | 96 let item = input.parse()?; in parse() 97 match item { in parse() 98 RustItem::Struct(mut item) => { in parse() 99 item.attrs.splice(..0, attrs); in parse() 100 Ok(Item::Struct(item)) in parse() 102 RustItem::Enum(mut item) => { in parse() 103 item.attrs.splice(..0, attrs); in parse() 104 Ok(Item::Enum(item)) in parse() 106 RustItem::ForeignMod(mut item) => { in parse() 107 item in parse() [all...] |