Home
last modified time | relevance | path

Searched refs:item (Results 1 – 25 of 1252) sorted by relevance

12345678910>>...51

/OK3568_Linux_fs/kernel/include/linux/
H A Dvmstat.h64 static inline void __count_vm_event(enum vm_event_item item) in __count_vm_event() argument
66 raw_cpu_inc(vm_event_states.event[item]); in __count_vm_event()
69 static inline void count_vm_event(enum vm_event_item item) in count_vm_event() argument
71 this_cpu_inc(vm_event_states.event[item]); in count_vm_event()
74 static inline void __count_vm_events(enum vm_event_item item, long delta) in __count_vm_events() argument
76 raw_cpu_add(vm_event_states.event[item], delta); in __count_vm_events()
79 static inline void count_vm_events(enum vm_event_item item, long delta) in count_vm_events() argument
81 this_cpu_add(vm_event_states.event[item], delta); in count_vm_events()
91 static inline void count_vm_event(enum vm_event_item item) in count_vm_event() argument
94 static inline void count_vm_events(enum vm_event_item item, long delta) in count_vm_events() argument
[all …]
/OK3568_Linux_fs/kernel/fs/configfs/
H A Ditem.c36 static void config_item_init(struct config_item *item) in config_item_init() argument
38 kref_init(&item->ci_kref); in config_item_init()
39 INIT_LIST_HEAD(&item->ci_entry); in config_item_init()
51 int config_item_set_name(struct config_item *item, const char *fmt, ...) in config_item_set_name() argument
62 need = vsnprintf(item->ci_namebuf, limit, fmt, args); in config_item_set_name()
65 name = item->ci_namebuf; in config_item_set_name()
75 if (item->ci_name && item->ci_name != item->ci_namebuf) in config_item_set_name()
76 kfree(item->ci_name); in config_item_set_name()
79 item->ci_name = name; in config_item_set_name()
84 void config_item_init_type_name(struct config_item *item, in config_item_init_type_name() argument
[all …]
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/allwinner/browser/
H A Dsettings.ui16 <item row="2" column="0" >
25 </item>
26 <item row="1" column="0" >
44 <item row="0" column="0" >
53 </item>
54 <item row="0" column="1" colspan="2" >
56 </item>
57 <item row="1" column="1" >
63 </item>
64 <item row="1" column="2" >
[all …]
H A Dcookiesexceptions.ui16 <item>
22 <item row="0" column="0" >
24 <item>
30 </item>
31 <item>
33 </item>
35 </item>
36 <item row="1" column="0" >
38 <item>
50 </item>
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/declarativemaps/
H A Dqdeclarativegeomapitemview.cpp169 QQuickItem *item = qobject_cast<QQuickItem *>(m_delegateModel->object(index, m_incubationMode)); in createdItem() local
170 if (item) in createdItem()
171 addDelegateToMap(item, index, true); in createdItem()
359 QQmlInstanceModel::ReleaseFlags QDeclarativeGeoMapItemView::disposeDelegate(QQuickItem *item) in disposeDelegate() argument
361 disconnect(item, 0, this, 0); in disposeDelegate()
362 removeDelegateFromMap(item); in disposeDelegate()
363 item->setParentItem(nullptr); // Needed because in disposeDelegate()
364item->setParent(nullptr); // m_delegateModel->release(item) does not destroy the item most o… in disposeDelegate()
365 QQmlInstanceModel::ReleaseFlags releaseStatus = m_delegateModel->release(item); in disposeDelegate()
372 QQuickItem *item = m_instantiatedItems.takeAt(index); in removeDelegateFromMap() local
[all …]
/OK3568_Linux_fs/external/rk_pcba_test/cJSON/
H A DcJSON.c96 static const char *parse_number(cJSON *item,const char *num) in parse_number() argument
111 item->valuedouble=n; in parse_number()
112 item->valueint=(int)n; in parse_number()
113 item->type=cJSON_Number; in parse_number()
118 static char *print_number(cJSON *item) in print_number() argument
121 double d=item->valuedouble; in print_number()
122 if (fabs(((double)item->valueint)-d)<=DBL_EPSILON && d<=INT_MAX && d>=INT_MIN) in print_number()
125 if (str) sprintf(str,"%d",item->valueint); in print_number()
155 static const char *parse_string(cJSON *item,const char *str) in parse_string() argument
209 item->valuestring=out; in parse_string()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/radix-tree/
H A Dtest.c11 struct item *
17 struct item *
28 struct item *item_create(unsigned long index, unsigned int order) in item_create()
30 struct item *ret = malloc(sizeof(*ret)); in item_create()
39 struct item *item = item_create(index, 0); in item_insert() local
40 int err = radix_tree_insert(root, item->index, item); in item_insert()
42 free(item); in item_insert()
46 void item_sanity(struct item *item, unsigned long index) in item_sanity() argument
49 assert(!radix_tree_is_internal_node(item)); in item_sanity()
50 assert(item->order < BITS_PER_LONG); in item_sanity()
[all …]
/OK3568_Linux_fs/app/lvgl_demo/cJSON/
H A DcJSON.c99 CJSON_PUBLIC(char *) cJSON_GetStringValue(const cJSON * const item) in cJSON_GetStringValue() argument
101 if (!cJSON_IsString(item)) in cJSON_GetStringValue()
106 return item->valuestring; in cJSON_GetStringValue()
109 CJSON_PUBLIC(double) cJSON_GetNumberValue(const cJSON * const item) in cJSON_GetNumberValue() argument
111 if (!cJSON_IsNumber(item)) in cJSON_GetNumberValue()
116 return item->valuedouble; in cJSON_GetNumberValue()
253 CJSON_PUBLIC(void) cJSON_Delete(cJSON *item) in cJSON_Delete() argument
256 while (item != NULL) in cJSON_Delete()
258 next = item->next; in cJSON_Delete()
259 if (!(item->type & cJSON_IsReference) && (item->child != NULL)) in cJSON_Delete()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/iq_parser_v2/j2s/
H A DcJSON.cpp101 CJSON_PUBLIC(char *) cJSON_GetStringValue(const cJSON * const item) in cJSON_GetStringValue() argument
103 if (!cJSON_IsString(item)) in cJSON_GetStringValue()
108 return item->valuestring; in cJSON_GetStringValue()
111 CJSON_PUBLIC(double) cJSON_GetNumberValue(const cJSON * const item) in cJSON_GetNumberValue() argument
113 if (!cJSON_IsNumber(item)) in cJSON_GetNumberValue()
118 return item->valuedouble; in cJSON_GetNumberValue()
255 CJSON_PUBLIC(void) cJSON_Delete(cJSON *item) in cJSON_Delete() argument
258 while (item != NULL) in cJSON_Delete()
260 next = item->next; in cJSON_Delete()
261 if (!(item->type & cJSON_IsReference) && (item->child != NULL)) in cJSON_Delete()
[all …]
/OK3568_Linux_fs/kernel/drivers/target/
H A Dtarget_core_stat.c44 static struct se_device *to_stat_dev(struct config_item *item) in to_stat_dev() argument
46 struct se_dev_stat_grps *sgrps = container_of(to_config_group(item), in to_stat_dev()
51 static ssize_t target_stat_inst_show(struct config_item *item, char *page) in target_stat_inst_show() argument
53 struct se_hba *hba = to_stat_dev(item)->se_hba; in target_stat_inst_show()
58 static ssize_t target_stat_indx_show(struct config_item *item, char *page) in target_stat_indx_show() argument
60 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->dev_index); in target_stat_indx_show()
63 static ssize_t target_stat_role_show(struct config_item *item, char *page) in target_stat_role_show() argument
68 static ssize_t target_stat_ports_show(struct config_item *item, char *page) in target_stat_ports_show() argument
70 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->export_count); in target_stat_ports_show()
94 static struct se_device *to_stat_tgt_dev(struct config_item *item) in to_stat_tgt_dev() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/st/cw1200/
H A Dqueue.c69 struct cw1200_queue_item *item, *tmp; in cw1200_queue_post_gc() local
71 list_for_each_entry_safe(item, tmp, gc_list, head) { in cw1200_queue_post_gc()
72 list_del(&item->head); in cw1200_queue_post_gc()
73 stats->skb_dtor(stats->priv, item->skb, &item->txpriv); in cw1200_queue_post_gc()
74 kfree(item); in cw1200_queue_post_gc()
79 struct cw1200_queue_item *item) in cw1200_queue_register_post_gc() argument
82 gc_item = kmemdup(item, sizeof(struct cw1200_queue_item), in cw1200_queue_register_post_gc()
93 struct cw1200_queue_item *item = NULL, *tmp; in __cw1200_queue_gc() local
96 list_for_each_entry_safe(item, tmp, &queue->queue, head) { in __cw1200_queue_gc()
97 if (jiffies - item->queue_timestamp < queue->ttl) in __cw1200_queue_gc()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A Ditem.h26 __mlxsw_item_offset(const struct mlxsw_item *item, unsigned short index, in __mlxsw_item_offset() argument
29 BUG_ON(index && !item->step); in __mlxsw_item_offset()
30 if (item->offset % typesize != 0 || in __mlxsw_item_offset()
31 item->step % typesize != 0 || in __mlxsw_item_offset()
32 item->in_step_offset % typesize != 0) { in __mlxsw_item_offset()
34 item->name, item->offset, item->step, in __mlxsw_item_offset()
35 item->in_step_offset, typesize); in __mlxsw_item_offset()
39 return ((item->offset + item->step * index + item->in_step_offset) / in __mlxsw_item_offset()
44 const struct mlxsw_item *item, in __mlxsw_item_get8() argument
47 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u8)); in __mlxsw_item_get8()
[all …]
/OK3568_Linux_fs/kernel/drivers/target/iscsi/
H A Discsi_target_stat.c44 static struct iscsi_tiqn *iscsi_instance_tiqn(struct config_item *item) in iscsi_instance_tiqn() argument
46 struct iscsi_wwn_stat_grps *igrps = container_of(to_config_group(item), in iscsi_instance_tiqn()
51 static ssize_t iscsi_stat_instance_inst_show(struct config_item *item, in iscsi_stat_instance_inst_show() argument
55 iscsi_instance_tiqn(item)->tiqn_index); in iscsi_stat_instance_inst_show()
58 static ssize_t iscsi_stat_instance_min_ver_show(struct config_item *item, in iscsi_stat_instance_min_ver_show() argument
64 static ssize_t iscsi_stat_instance_max_ver_show(struct config_item *item, in iscsi_stat_instance_max_ver_show() argument
70 static ssize_t iscsi_stat_instance_portals_show(struct config_item *item, in iscsi_stat_instance_portals_show() argument
74 iscsi_instance_tiqn(item)->tiqn_num_tpg_nps); in iscsi_stat_instance_portals_show()
77 static ssize_t iscsi_stat_instance_nodes_show(struct config_item *item, in iscsi_stat_instance_nodes_show() argument
83 static ssize_t iscsi_stat_instance_sessions_show(struct config_item *item, in iscsi_stat_instance_sessions_show() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/input/rmi4/
H A Drmi_f12.c65 const struct rmi_register_desc_item *item; in rmi_f12_read_sensor_tuning() local
77 item = rmi_get_register_desc_item(&f12->control_reg_desc, 8); in rmi_f12_read_sensor_tuning()
78 if (!item) { in rmi_f12_read_sensor_tuning()
86 if (item->reg_size > sizeof(buf)) { in rmi_f12_read_sensor_tuning()
89 sizeof(buf), item->reg_size); in rmi_f12_read_sensor_tuning()
94 item->reg_size); in rmi_f12_read_sensor_tuning()
99 if (rmi_register_desc_has_subpacket(item, 0)) { in rmi_f12_read_sensor_tuning()
108 if (rmi_register_desc_has_subpacket(item, 1)) { in rmi_f12_read_sensor_tuning()
114 if (rmi_register_desc_has_subpacket(item, 2)) { in rmi_f12_read_sensor_tuning()
125 if (rmi_register_desc_has_subpacket(item, 3)) { in rmi_f12_read_sensor_tuning()
[all …]
/OK3568_Linux_fs/external/xserver/test/
H A Dlist.c241 struct foo *item; in test_nt_list_append() local
243 for (item = foo, i = 1; i <= 10; i++, item++) { in test_nt_list_append()
244 item->a = i; in test_nt_list_append()
245 item->b = i * 2; in test_nt_list_append()
246 nt_list_init(item, next); in test_nt_list_append()
248 if (item != foo) in test_nt_list_append()
249 nt_list_append(item, foo, struct foo, next); in test_nt_list_append()
253 for (item = foo, i = 1; i <= 10; i++, item = nt_list_next(item, next)) { in test_nt_list_append()
254 assert(item->a == i); in test_nt_list_append()
255 assert(item->b == i * 2); in test_nt_list_append()
[all …]
/OK3568_Linux_fs/u-boot/common/
H A Dmenu.c58 struct menu_item *item; in menu_items_iter() local
62 item = list_entry(pos, struct menu_item, list); in menu_items_iter()
64 ret = callback(m, item, extra); in menu_items_iter()
79 struct menu_item *item, in menu_item_print() argument
83 puts(item->key); in menu_item_print()
86 m->item_data_print(item->data); in menu_item_print()
97 struct menu_item *item, in menu_item_destroy() argument
100 if (item->key) in menu_item_destroy()
101 free(item->key); in menu_item_destroy()
103 free(item); in menu_item_destroy()
[all …]
/OK3568_Linux_fs/external/security/librkcrypto/third_party/libdrm/include/
H A Dutil_double_list.h47 static inline void list_inithead(struct list_head *item) in list_inithead() argument
49 item->prev = item; in list_inithead()
50 item->next = item; in list_inithead()
53 static inline void list_add(struct list_head *item, struct list_head *list) in list_add() argument
55 item->prev = list; in list_add()
56 item->next = list->next; in list_add()
57 list->next->prev = item; in list_add()
58 list->next = item; in list_add()
61 static inline void list_addtail(struct list_head *item, struct list_head *list) in list_addtail() argument
63 item->next = list; in list_addtail()
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/
H A Dtaskdata.py206 def add_build_target(self, fn, item): argument
211 if item in self.build_targets:
212 if fn in self.build_targets[item]:
214 self.build_targets[item].append(fn)
216 self.build_targets[item] = [fn]
225 def add_runtime_target(self, fn, item): argument
230 if item in self.run_targets:
231 if fn in self.run_targets[item]:
233 self.run_targets[item].append(fn)
235 self.run_targets[item] = [fn]
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/utils/
H A Dtestexport.py91 …tive_rpm_file_list = [item for item in os.listdir(native_rpm_dir) if re.search("nativesdk-" + para…
95 …for item in native_rpm_file_list:# will copy all versions of package. Used version will be selecte…
96 bb.plain("Copying native package file: %s" % item)
97 …sh.copy(os.path.join(rpm_deploy_dir, native_rpm_dir, item), os.path.join(d.getVar("TEST_EXPORT_DIR…
104 …target_rpm_file_list = [item for item in os.listdir(arch_rpm_dir) if re.search(param_list[0] + "-(…
110 …for item in target_rpm_file_list: # copying all related rpm packages. "Intuition" reasons, someone…
111 bb.plain("Copying target specific packaged file: %s" % item)
112 sh.copy(os.path.join(arch_rpm_dir, item), packaged_bin_dir)
116 for item in target_rpm_file_list:
117 if re.match(".*-{}-.*\.rpm".format(param_list[1]), item):
[all …]
/OK3568_Linux_fs/kernel/fs/nfs/
H A Ddns_resolve.c107 struct nfs_dns_ent *item; in nfs_dns_ent_free_rcu() local
109 item = container_of(head, struct nfs_dns_ent, rcu_head); in nfs_dns_ent_free_rcu()
110 kfree(item->hostname); in nfs_dns_ent_free_rcu()
111 kfree(item); in nfs_dns_ent_free_rcu()
116 struct nfs_dns_ent *item; in nfs_dns_ent_put() local
118 item = container_of(ref, struct nfs_dns_ent, h.ref); in nfs_dns_ent_put()
119 call_rcu(&item->rcu_head, nfs_dns_ent_free_rcu); in nfs_dns_ent_put()
124 struct nfs_dns_ent *item = kmalloc(sizeof(*item), GFP_KERNEL); in nfs_dns_ent_alloc() local
126 if (item != NULL) { in nfs_dns_ent_alloc()
127 item->hostname = NULL; in nfs_dns_ent_alloc()
[all …]
/OK3568_Linux_fs/kernel/drivers/most/
H A Dconfigfs.c18 struct config_item item; member
90 static struct mdev_link *to_mdev_link(struct config_item *item) in to_mdev_link() argument
92 return container_of(item, struct mdev_link, item); in to_mdev_link()
113 static ssize_t mdev_link_create_link_store(struct config_item *item, in mdev_link_create_link_store() argument
116 struct mdev_link *mdev_link = to_mdev_link(item); in mdev_link_create_link_store()
135 static ssize_t mdev_link_destroy_link_store(struct config_item *item, in mdev_link_destroy_link_store() argument
138 struct mdev_link *mdev_link = to_mdev_link(item); in mdev_link_destroy_link_store()
160 static ssize_t mdev_link_direction_show(struct config_item *item, char *page) in mdev_link_direction_show() argument
162 return snprintf(page, PAGE_SIZE, "%s\n", to_mdev_link(item)->direction); in mdev_link_direction_show()
165 static ssize_t mdev_link_direction_store(struct config_item *item, in mdev_link_direction_store() argument
[all …]
/OK3568_Linux_fs/external/security/librkcrypto/test/
H A Dtest_otp_key_crypto.c145 static int test_otp_key_item_virt(uint32_t key_id, const struct test_otp_key_item *item) in test_otp_key_item_virt() argument
155 plain = malloc(item->data_len); in test_otp_key_item_virt()
157 printf("plain malloc %uByte error!\n", item->data_len); in test_otp_key_item_virt()
162 cipher_soft = malloc(item->data_len); in test_otp_key_item_virt()
164 printf("cipher_soft malloc %uByte error!\n", item->data_len); in test_otp_key_item_virt()
169 cipher_hard = malloc(item->data_len); in test_otp_key_item_virt()
171 printf("cipher_hard malloc %uByte error!\n", item->data_len); in test_otp_key_item_virt()
194 test_get_rng(cipher_cfg.iv, item->iv_len); in test_otp_key_item_virt()
196 test_get_rng(plain, item->data_len); in test_otp_key_item_virt()
198 memset(cipher_soft, 0x00, item->data_len); in test_otp_key_item_virt()
[all …]
/OK3568_Linux_fs/external/xserver/hw/xquartz/xpr/
H A Dx-hash.c108 x_list *node, *item, *next; in hash_table_split() local
132 item = node->data; in hash_table_split()
134 b = hash_table_hash_key(h, ITEM_KEY(item)) % new_size; in hash_table_split()
175 x_list *node, *item; in X_PFX() local
183 item = node->data; in X_PFX()
184 hash_table_destroy_item(h, ITEM_KEY(item), ITEM_VALUE(item)); in X_PFX()
185 ITEM_FREE(item); in X_PFX()
205 x_list *node, *item; in hash_table_modify() local
213 item = node->data; in hash_table_modify()
215 if (hash_table_compare_keys(h, ITEM_KEY(item), k)) { in hash_table_modify()
[all …]
/OK3568_Linux_fs/kernel/drivers/platform/mellanox/
H A Dmlxreg-hotplug.c160 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()
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->capability) { in mlxreg_hotplug_attr_init()
209 ret = regmap_read(priv->regmap, item->capability, in mlxreg_hotplug_attr_init()
[all …]
/OK3568_Linux_fs/kernel/drivers/nvme/target/
H A Dconfigfs.c56 static ssize_t nvmet_addr_adrfam_show(struct config_item *item, char *page) in nvmet_addr_adrfam_show() argument
58 u8 adrfam = to_nvmet_port(item)->disc_addr.adrfam; in nvmet_addr_adrfam_show()
69 static ssize_t nvmet_addr_adrfam_store(struct config_item *item, in nvmet_addr_adrfam_store() argument
72 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_adrfam_store()
93 static ssize_t nvmet_addr_portid_show(struct config_item *item, in nvmet_addr_portid_show() argument
96 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_portid_show()
102 static ssize_t nvmet_addr_portid_store(struct config_item *item, in nvmet_addr_portid_store() argument
105 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_portid_store()
122 static ssize_t nvmet_addr_traddr_show(struct config_item *item, in nvmet_addr_traddr_show() argument
125 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_traddr_show()
[all …]

12345678910>>...51