/linux-4.4.14/fs/configfs/ |
D | item.c | 50 static void config_item_init(struct config_item *item) in config_item_init() argument 52 kref_init(&item->ci_kref); in config_item_init() 53 INIT_LIST_HEAD(&item->ci_entry); in config_item_init() 65 int config_item_set_name(struct config_item *item, const char *fmt, ...) in config_item_set_name() argument 77 need = vsnprintf(item->ci_namebuf, limit, fmt, args); in config_item_set_name() 80 name = item->ci_namebuf; in config_item_set_name() 104 if (item->ci_name && item->ci_name != item->ci_namebuf) in config_item_set_name() 105 kfree(item->ci_name); in config_item_set_name() 108 item->ci_name = name; in config_item_set_name() 114 void config_item_init_type_name(struct config_item *item, in config_item_init_type_name() argument [all …]
|
D | dir.c | 272 static int configfs_create_dir(struct config_item *item, struct dentry *dentry) in configfs_create_dir() argument 278 BUG_ON(!item); in configfs_create_dir() 284 error = configfs_make_dirent(p->d_fsdata, dentry, item, mode, in configfs_create_dir() 293 item->ci_dentry = dentry; in configfs_create_dir() 397 static void configfs_remove_dir(struct config_item * item) in configfs_remove_dir() argument 399 struct dentry * dentry = dget(item->ci_dentry); in configfs_remove_dir() 553 static void detach_attrs(struct config_item * item) in detach_attrs() argument 555 struct dentry * dentry = dget(item->ci_dentry); in detach_attrs() 582 static int populate_attrs(struct config_item *item) in populate_attrs() argument 584 struct config_item_type *t = item->ci_type; in populate_attrs() [all …]
|
D | symlink.c | 38 static int item_depth(struct config_item * item) in item_depth() argument 40 struct config_item * p = item; in item_depth() 46 static int item_path_length(struct config_item * item) in item_path_length() argument 48 struct config_item * p = item; in item_path_length() 57 static void fill_item_path(struct config_item * item, char * buffer, int length) in fill_item_path() argument 62 for (p = item; p && !configfs_is_root(p); p = p->ci_parent) { in fill_item_path() 73 struct config_item *item, in create_link() argument 76 struct configfs_dirent *target_sd = item->ci_dentry->d_fsdata; in create_link() 86 sl->sl_target = config_item_get(item); in create_link() 90 config_item_put(item); in create_link() [all …]
|
D | file.c | 67 struct config_item * item = to_item(dentry->d_parent); in fill_read_buffer() local 76 count = attr->show(item, buffer->page); in fill_read_buffer() 173 struct config_item * item = to_item(dentry->d_parent); in flush_write_buffer() local 175 return attr->store(item, buffer->page, count); in flush_write_buffer() 214 struct config_item *item = configfs_get_config_item(file->f_path.dentry->d_parent); in check_perm() local 220 if (!item || !attr) in check_perm() 229 if (item->ci_type) in check_perm() 230 ops = item->ci_type->ct_item_ops; in check_perm() 275 if (error && item) in check_perm() 276 config_item_put(item); in check_perm() [all …]
|
D | configfs_internal.h | 69 extern int configfs_is_root(struct config_item *item); 124 struct config_item * item = NULL; in configfs_get_config_item() local 131 item = config_item_get(sl->sl_target); in configfs_get_config_item() 133 item = config_item_get(sd->s_element); in configfs_get_config_item() 137 return item; in configfs_get_config_item()
|
D | mount.c | 56 int configfs_is_root(struct config_item *item) in configfs_is_root() argument 58 return item == &configfs_root_group.cg_item; in configfs_is_root()
|
D | Makefile | 7 configfs-objs := inode.o file.o dir.o symlink.o mount.o item.o
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_global.c | 49 struct drm_global_item *item = &glob[i]; in drm_global_init() local 50 mutex_init(&item->mutex); in drm_global_init() 51 item->object = NULL; in drm_global_init() 52 item->refcount = 0; in drm_global_init() 60 struct drm_global_item *item = &glob[i]; in drm_global_release() local 61 BUG_ON(item->object != NULL); in drm_global_release() 62 BUG_ON(item->refcount != 0); in drm_global_release() 69 struct drm_global_item *item = &glob[ref->global_type]; in drm_global_item_ref() local 71 mutex_lock(&item->mutex); in drm_global_item_ref() 72 if (item->refcount == 0) { in drm_global_item_ref() [all …]
|
D | drm_hashtab.c | 109 int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item) in drm_ht_insert_item() argument 115 unsigned long key = item->key; in drm_ht_insert_item() 128 hlist_add_behind_rcu(&item->head, parent); in drm_ht_insert_item() 130 hlist_add_head_rcu(&item->head, h_list); in drm_ht_insert_item() 140 int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item, in drm_ht_just_insert_please() argument 151 item->key = (unshifted_key << shift) + add; in drm_ht_just_insert_please() 152 ret = drm_ht_insert_item(ht, item); in drm_ht_just_insert_please() 166 struct drm_hash_item **item) in drm_ht_find_item() argument 174 *item = hlist_entry(list, struct drm_hash_item, head); in drm_ht_find_item() 191 int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item) in drm_ht_remove_item() argument [all …]
|
/linux-4.4.14/include/linux/ |
D | vmstat.h | 34 static inline void __count_vm_event(enum vm_event_item item) in __count_vm_event() argument 36 raw_cpu_inc(vm_event_states.event[item]); in __count_vm_event() 39 static inline void count_vm_event(enum vm_event_item item) in count_vm_event() argument 41 this_cpu_inc(vm_event_states.event[item]); in count_vm_event() 44 static inline void __count_vm_events(enum vm_event_item item, long delta) in __count_vm_events() argument 46 raw_cpu_add(vm_event_states.event[item], delta); in __count_vm_events() 49 static inline void count_vm_events(enum vm_event_item item, long delta) in count_vm_events() argument 51 this_cpu_add(vm_event_states.event[item], delta); in count_vm_events() 61 static inline void count_vm_event(enum vm_event_item item) in count_vm_event() argument 64 static inline void count_vm_events(enum vm_event_item item, long delta) in count_vm_events() argument [all …]
|
D | backing-dev.h | 58 enum wb_stat_item item, s64 amount) in __add_wb_stat() argument 60 __percpu_counter_add(&wb->stat[item], amount, WB_STAT_BATCH); in __add_wb_stat() 64 enum wb_stat_item item) in __inc_wb_stat() argument 66 __add_wb_stat(wb, item, 1); in __inc_wb_stat() 69 static inline void inc_wb_stat(struct bdi_writeback *wb, enum wb_stat_item item) in inc_wb_stat() argument 74 __inc_wb_stat(wb, item); in inc_wb_stat() 79 enum wb_stat_item item) in __dec_wb_stat() argument 81 __add_wb_stat(wb, item, -1); in __dec_wb_stat() 84 static inline void dec_wb_stat(struct bdi_writeback *wb, enum wb_stat_item item) in dec_wb_stat() argument 89 __dec_wb_stat(wb, item); in dec_wb_stat() [all …]
|
D | configfs.h | 70 static inline char *config_item_name(struct config_item * item) in config_item_name() argument 72 return item->ci_name; in config_item_name() 75 extern void config_item_init_type_name(struct config_item *item, 105 static inline struct config_group *to_config_group(struct config_item *item) in to_config_group() argument 107 return item ? container_of(item,struct config_group,cg_item) : NULL; in to_config_group() 180 int (*commit_item)(struct config_item *item); 181 void (*disconnect_notify)(struct config_group *group, struct config_item *item); 182 void (*drop_item)(struct config_group *group, struct config_item *item);
|
D | list_lru.h | 83 bool list_lru_add(struct list_lru *lru, struct list_head *item); 96 bool list_lru_del(struct list_lru *lru, struct list_head *item); 129 void list_lru_isolate(struct list_lru_one *list, struct list_head *item); 130 void list_lru_isolate_move(struct list_lru_one *list, struct list_head *item, 133 typedef enum lru_status (*list_lru_walk_cb)(struct list_head *item,
|
D | radix-tree.h | 257 static inline void radix_tree_replace_slot(void **pslot, void *item) in radix_tree_replace_slot() argument 259 BUG_ON(radix_tree_is_indirect_ptr(item)); in radix_tree_replace_slot() 260 rcu_assign_pointer(*pslot, item); in radix_tree_replace_slot() 302 unsigned long radix_tree_locate_item(struct radix_tree_root *root, void *item);
|
/linux-4.4.14/drivers/net/wireless/cw1200/ |
D | queue.c | 72 struct cw1200_queue_item *item, *tmp; in cw1200_queue_post_gc() local 74 list_for_each_entry_safe(item, tmp, gc_list, head) { in cw1200_queue_post_gc() 75 list_del(&item->head); in cw1200_queue_post_gc() 76 stats->skb_dtor(stats->priv, item->skb, &item->txpriv); in cw1200_queue_post_gc() 77 kfree(item); in cw1200_queue_post_gc() 82 struct cw1200_queue_item *item) in cw1200_queue_register_post_gc() argument 88 memcpy(gc_item, item, sizeof(struct cw1200_queue_item)); in cw1200_queue_register_post_gc() 97 struct cw1200_queue_item *item = NULL, *tmp; in __cw1200_queue_gc() local 100 list_for_each_entry_safe(item, tmp, &queue->queue, head) { in __cw1200_queue_gc() 101 if (jiffies - item->queue_timestamp < queue->ttl) in __cw1200_queue_gc() [all …]
|
/linux-4.4.14/drivers/target/iscsi/ |
D | iscsi_target_stat.c | 52 static struct iscsi_tiqn *iscsi_instance_tiqn(struct config_item *item) in iscsi_instance_tiqn() argument 54 struct iscsi_wwn_stat_grps *igrps = container_of(to_config_group(item), in iscsi_instance_tiqn() 59 static ssize_t iscsi_stat_instance_inst_show(struct config_item *item, in iscsi_stat_instance_inst_show() argument 63 iscsi_instance_tiqn(item)->tiqn_index); in iscsi_stat_instance_inst_show() 66 static ssize_t iscsi_stat_instance_min_ver_show(struct config_item *item, in iscsi_stat_instance_min_ver_show() argument 72 static ssize_t iscsi_stat_instance_max_ver_show(struct config_item *item, in iscsi_stat_instance_max_ver_show() argument 78 static ssize_t iscsi_stat_instance_portals_show(struct config_item *item, in iscsi_stat_instance_portals_show() argument 82 iscsi_instance_tiqn(item)->tiqn_num_tpg_nps); in iscsi_stat_instance_portals_show() 85 static ssize_t iscsi_stat_instance_nodes_show(struct config_item *item, in iscsi_stat_instance_nodes_show() argument 91 static ssize_t iscsi_stat_instance_sessions_show(struct config_item *item, in iscsi_stat_instance_sessions_show() argument [all …]
|
D | iscsi_target_configfs.c | 41 static inline struct iscsi_tpg_np *to_iscsi_tpg_np(struct config_item *item) in to_iscsi_tpg_np() argument 43 return container_of(to_tpg_np(item), struct iscsi_tpg_np, se_tpg_np); in to_iscsi_tpg_np() 46 static ssize_t lio_target_np_sctp_show(struct config_item *item, char *page) in lio_target_np_sctp_show() argument 48 struct iscsi_tpg_np *tpg_np = to_iscsi_tpg_np(item); in lio_target_np_sctp_show() 61 static ssize_t lio_target_np_sctp_store(struct config_item *item, in lio_target_np_sctp_store() argument 64 struct iscsi_tpg_np *tpg_np = to_iscsi_tpg_np(item); in lio_target_np_sctp_store() 114 static ssize_t lio_target_np_iser_show(struct config_item *item, char *page) in lio_target_np_iser_show() argument 116 struct iscsi_tpg_np *tpg_np = to_iscsi_tpg_np(item); in lio_target_np_iser_show() 129 static ssize_t lio_target_np_iser_store(struct config_item *item, in lio_target_np_iser_store() argument 132 struct iscsi_tpg_np *tpg_np = to_iscsi_tpg_np(item); in lio_target_np_iser_store() [all …]
|
/linux-4.4.14/drivers/target/ |
D | target_core_stat.c | 57 static struct se_device *to_stat_dev(struct config_item *item) in to_stat_dev() argument 59 struct se_dev_stat_grps *sgrps = container_of(to_config_group(item), in to_stat_dev() 64 static ssize_t target_stat_inst_show(struct config_item *item, char *page) in target_stat_inst_show() argument 66 struct se_hba *hba = to_stat_dev(item)->se_hba; in target_stat_inst_show() 71 static ssize_t target_stat_indx_show(struct config_item *item, char *page) in target_stat_indx_show() argument 73 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->dev_index); in target_stat_indx_show() 76 static ssize_t target_stat_role_show(struct config_item *item, char *page) in target_stat_role_show() argument 81 static ssize_t target_stat_ports_show(struct config_item *item, char *page) in target_stat_ports_show() argument 83 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->export_count); in target_stat_ports_show() 107 static struct se_device *to_stat_tgt_dev(struct config_item *item) in to_stat_tgt_dev() argument [all …]
|
D | target_core_configfs.c | 84 item_to_hba(struct config_item *item) in item_to_hba() argument 86 return container_of(to_config_group(item), struct se_hba, hba_group); in item_to_hba() 92 static ssize_t target_core_item_version_show(struct config_item *item, in target_core_item_version_show() argument 215 struct config_item *item) in target_core_deregister_fabric() argument 218 to_config_group(item), struct target_fabric_configfs, tf_group); in target_core_deregister_fabric() 224 " tf list\n", config_item_name(item)); in target_core_deregister_fabric() 231 " %s\n", config_item_name(item)); in target_core_deregister_fabric() 239 config_item_put(item); in target_core_deregister_fabric() 273 int target_depend_item(struct config_item *item) in target_depend_item() argument 275 return configfs_depend_item(&target_core_fabrics, item); in target_depend_item() [all …]
|
D | target_core_fabric_configfs.c | 153 static struct se_lun_acl *item_to_lun_acl(struct config_item *item) in item_to_lun_acl() argument 155 return container_of(to_config_group(item), struct se_lun_acl, in item_to_lun_acl() 160 struct config_item *item, char *page) in target_fabric_mappedlun_write_protect_show() argument 162 struct se_lun_acl *lacl = item_to_lun_acl(item); in target_fabric_mappedlun_write_protect_show() 179 struct config_item *item, const char *page, size_t count) in target_fabric_mappedlun_write_protect_store() argument 181 struct se_lun_acl *lacl = item_to_lun_acl(item); in target_fabric_mappedlun_write_protect_store() 215 static void target_fabric_mappedlun_release(struct config_item *item) in target_fabric_mappedlun_release() argument 217 struct se_lun_acl *lacl = container_of(to_config_group(item), in target_fabric_mappedlun_release() 246 struct config_item *item) in target_core_mappedlun_stat_rmdir() argument 356 struct config_item *item) in target_fabric_drop_mappedlun() argument [all …]
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/ |
D | item.h | 58 __mlxsw_item_offset(struct mlxsw_item *item, unsigned short index, in __mlxsw_item_offset() argument 61 BUG_ON(index && !item->step); in __mlxsw_item_offset() 62 if (item->offset % typesize != 0 || in __mlxsw_item_offset() 63 item->step % typesize != 0 || in __mlxsw_item_offset() 64 item->in_step_offset % typesize != 0) { in __mlxsw_item_offset() 66 item->name, item->offset, item->step, in __mlxsw_item_offset() 67 item->in_step_offset, typesize); in __mlxsw_item_offset() 71 return ((item->offset + item->step * index + item->in_step_offset) / in __mlxsw_item_offset() 75 static inline u16 __mlxsw_item_get16(char *buf, struct mlxsw_item *item, in __mlxsw_item_get16() argument 78 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u16)); in __mlxsw_item_get16() [all …]
|
/linux-4.4.14/kernel/trace/ |
D | trace_export.c | 31 #define __field_struct(type, item) argument 34 #define __field(type, item) type item; argument 37 #define __field_desc(type, container, item) type item; argument 40 #define __array(type, item, size) type item[size]; argument 43 #define __array_desc(type, container, item, size) type item[size]; argument 46 #define __dynamic_array(type, item) type item[]; argument 75 #define __field(type, item) \ argument 76 ret = trace_define_field(event_call, #type, #item, \ 77 offsetof(typeof(field), item), \ 78 sizeof(field.item), \ [all …]
|
D | trace.h | 47 #define __field(type, item) type item; argument 50 #define __field_struct(type, item) __field(type, item) argument 53 #define __field_desc(type, container, item) argument 56 #define __array(type, item, size) type item[size]; argument 59 #define __array_desc(type, container, item, size) argument 62 #define __dynamic_array(type, item) type item[]; argument
|
D | trace_probe.h | 54 #define DEFINE_FIELD(type, item, name, is_signed) \ argument 57 offsetof(typeof(field), item), \ 58 sizeof(field.item), is_signed, \
|
/linux-4.4.14/include/trace/ |
D | trace_events.h | 70 #define __field(type, item) type item; argument 73 #define __field_ext(type, item, filter_type) type item; argument 76 #define __field_struct(type, item) type item; argument 79 #define __field_struct_ext(type, item, filter_type) type item; argument 82 #define __array(type, item, len) type item[len]; argument 85 #define __dynamic_array(type, item, len) u32 __data_loc_##item; argument 88 #define __string(item, src) __dynamic_array(char, item, -1) argument 91 #define __bitmask(item, nr_bits) __dynamic_array(char, item, -1) argument 156 #define __field(type, item) argument 159 #define __field_ext(type, item, filter_type) argument [all …]
|
/linux-4.4.14/samples/configfs/ |
D | configfs_sample.c | 55 static inline struct childless *to_childless(struct config_item *item) in to_childless() argument 57 return item ? container_of(to_configfs_subsystem(to_config_group(item)), in to_childless() 61 static ssize_t childless_showme_show(struct config_item *item, char *page) in childless_showme_show() argument 63 struct childless *childless = to_childless(item); in childless_showme_show() 72 static ssize_t childless_storeme_show(struct config_item *item, char *page) in childless_storeme_show() argument 74 return sprintf(page, "%d\n", to_childless(item)->storeme); in childless_storeme_show() 77 static ssize_t childless_storeme_store(struct config_item *item, in childless_storeme_store() argument 80 struct childless *childless = to_childless(item); in childless_storeme_store() 96 static ssize_t childless_description_show(struct config_item *item, char *page) in childless_description_show() argument 147 struct config_item item; member [all …]
|
/linux-4.4.14/fs/nfs/ |
D | dns_resolve.c | 105 struct nfs_dns_ent *item; in nfs_dns_ent_put() local 107 item = container_of(ref, struct nfs_dns_ent, h.ref); in nfs_dns_ent_put() 108 kfree(item->hostname); in nfs_dns_ent_put() 109 kfree(item); in nfs_dns_ent_put() 114 struct nfs_dns_ent *item = kmalloc(sizeof(*item), GFP_KERNEL); in nfs_dns_ent_alloc() local 116 if (item != NULL) { in nfs_dns_ent_alloc() 117 item->hostname = NULL; in nfs_dns_ent_alloc() 118 item->namelen = 0; in nfs_dns_ent_alloc() 119 item->addrlen = 0; in nfs_dns_ent_alloc() 120 return &item->h; in nfs_dns_ent_alloc() [all …]
|
/linux-4.4.14/drivers/net/ |
D | netconsole.c | 111 struct config_item item; member 142 if (config_item_name(&nt->item)) in netconsole_target_get() 143 config_item_get(&nt->item); in netconsole_target_get() 148 if (config_item_name(&nt->item)) in netconsole_target_put() 149 config_item_put(&nt->item); in netconsole_target_put() 247 static struct netconsole_target *to_target(struct config_item *item) in to_target() argument 249 return item ? in to_target() 250 container_of(item, struct netconsole_target, item) : in to_target() 258 static ssize_t enabled_show(struct config_item *item, char *buf) in enabled_show() argument 260 return snprintf(buf, PAGE_SIZE, "%d\n", to_target(item)->enabled); in enabled_show() [all …]
|
/linux-4.4.14/fs/ocfs2/cluster/ |
D | nodemanager.c | 156 static struct o2nm_cluster *to_o2nm_cluster(struct config_item *item) in to_o2nm_cluster() argument 158 return item ? in to_o2nm_cluster() 159 container_of(to_config_group(item), struct o2nm_cluster, in to_o2nm_cluster() 164 static struct o2nm_node *to_o2nm_node(struct config_item *item) in to_o2nm_node() argument 166 return item ? container_of(item, struct o2nm_node, nd_item) : NULL; in to_o2nm_node() 169 static void o2nm_node_release(struct config_item *item) in o2nm_node_release() argument 171 struct o2nm_node *node = to_o2nm_node(item); in o2nm_node_release() 175 static ssize_t o2nm_node_num_show(struct config_item *item, char *page) in o2nm_node_num_show() argument 177 return sprintf(page, "%d\n", to_o2nm_node(item)->nd_num); in o2nm_node_num_show() 193 static ssize_t o2nm_node_num_store(struct config_item *item, const char *page, in o2nm_node_num_store() argument [all …]
|
D | heartbeat.c | 1409 static struct o2hb_region *to_o2hb_region(struct config_item *item) in to_o2hb_region() argument 1411 return item ? container_of(item, struct o2hb_region, hr_item) : NULL; in to_o2hb_region() 1417 static void o2hb_region_release(struct config_item *item) in o2hb_region_release() argument 1421 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_release() 1483 static ssize_t o2hb_region_block_bytes_show(struct config_item *item, in o2hb_region_block_bytes_show() argument 1486 return sprintf(page, "%u\n", to_o2hb_region(item)->hr_block_bytes); in o2hb_region_block_bytes_show() 1489 static ssize_t o2hb_region_block_bytes_store(struct config_item *item, in o2hb_region_block_bytes_store() argument 1493 struct o2hb_region *reg = to_o2hb_region(item); in o2hb_region_block_bytes_store() 1512 static ssize_t o2hb_region_start_block_show(struct config_item *item, in o2hb_region_start_block_show() argument 1515 return sprintf(page, "%llu\n", to_o2hb_region(item)->hr_start_block); in o2hb_region_start_block_show() [all …]
|
D | nodemanager.h | 83 int o2nm_depend_item(struct config_item *item); 84 void o2nm_undepend_item(struct config_item *item);
|
/linux-4.4.14/scripts/kconfig/ |
D | qconf.cc | 276 item = i; in show() 277 if (sym_get_string_value(item->menu->sym)) in show() 278 setText(QString::fromLocal8Bit(sym_get_string_value(item->menu->sym))); in show() 292 sym_set_string_value(item->menu->sym, text().toLatin1()); in keyPressEvent() 293 parent()->updateList(item); in keyPressEvent() 388 ConfigItem* item = (ConfigItem*)menu->data; in findConfigItem() local 390 for (; item; item = item->nextItem) { in findConfigItem() 391 if (this == item->listView()) in findConfigItem() 395 return item; in findConfigItem() 406 ConfigItem* item = (ConfigItem*)selectedItems().first(); in updateSelection() local [all …]
|
D | qconf.h | 66 void updateList(ConfigItem *item); 67 void setValue(ConfigItem* item, tristate val); 68 void changeValue(ConfigItem* item); 205 ConfigItem *item; 214 static void updateList(ConfigItem* item);
|
/linux-4.4.14/drivers/usb/gadget/ |
D | configfs.c | 67 static inline struct gadget_info *to_gadget_info(struct config_item *item) in to_gadget_info() argument 69 return container_of(to_config_group(item), struct gadget_info, group); in to_gadget_info() 82 static inline struct config_usb_cfg *to_config_usb_cfg(struct config_item *item) in to_config_usb_cfg() argument 84 return container_of(to_config_group(item), struct config_usb_cfg, in to_config_usb_cfg() 132 static ssize_t gadget_dev_desc_##__name##_show(struct config_item *item, \ 136 to_gadget_info(item)->cdev.desc.__name); \ 140 static ssize_t gadget_dev_desc_##__name##_show(struct config_item *item, \ 144 le16_to_cpup(&to_gadget_info(item)->cdev.desc.__name)); \ 149 static ssize_t gadget_dev_desc_##_name##_store(struct config_item *item, \ 157 to_gadget_info(item)->cdev.desc._name = val; \ [all …]
|
D | configfs.h | 6 void unregister_gadget_item(struct config_item *item); 14 static inline struct usb_os_desc *to_usb_os_desc(struct config_item *item) in to_usb_os_desc() argument 16 return container_of(to_config_group(item), struct usb_os_desc, group); in to_usb_os_desc()
|
/linux-4.4.14/drivers/hwtracing/stm/ |
D | policy.c | 63 static inline struct stp_policy *to_stp_policy(struct config_item *item) in to_stp_policy() argument 65 return item ? in to_stp_policy() 66 container_of(to_config_group(item), struct stp_policy, group) : in to_stp_policy() 71 to_stp_policy_node(struct config_item *item) in to_stp_policy_node() argument 73 return item ? in to_stp_policy_node() 74 container_of(to_config_group(item), struct stp_policy_node, in to_stp_policy_node() 80 stp_policy_node_masters_show(struct config_item *item, char *page) in stp_policy_node_masters_show() argument 82 struct stp_policy_node *policy_node = to_stp_policy_node(item); in stp_policy_node_masters_show() 92 stp_policy_node_masters_store(struct config_item *item, const char *page, in stp_policy_node_masters_store() argument 95 struct stp_policy_node *policy_node = to_stp_policy_node(item); in stp_policy_node_masters_store() [all …]
|
/linux-4.4.14/drivers/usb/gadget/function/ |
D | u_ether_configfs.h | 20 static void _f_##_attr_release(struct config_item *item) \ 22 struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \ 32 static ssize_t _f_##_opts_dev_addr_show(struct config_item *item, \ 35 struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \ 45 static ssize_t _f_##_opts_dev_addr_store(struct config_item *item, \ 48 struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \ 67 static ssize_t _f_##_opts_host_addr_show(struct config_item *item, \ 70 struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \ 80 static ssize_t _f_##_opts_host_addr_store(struct config_item *item, \ 83 struct f_##_f_##_opts *opts = to_f_##_f_##_opts(item); \ [all …]
|
D | uvc_configfs.c | 37 static inline struct f_uvc_opts *to_f_uvc_opts(struct config_item *item); 43 struct config_item item; member 48 static struct uvcg_control_header *to_uvcg_control_header(struct config_item *item) in to_uvcg_control_header() argument 50 return container_of(item, struct uvcg_control_header, item); in to_uvcg_control_header() 55 struct config_item *item, char *page) \ 57 struct uvcg_control_header *ch = to_uvcg_control_header(item); \ 60 struct mutex *su_mutex = &ch->item.ci_group->cg_subsys->su_mutex;\ 65 opts_item = ch->item.ci_parent->ci_parent->ci_parent; \ 77 uvcg_control_header_##cname##_store(struct config_item *item, \ 80 struct uvcg_control_header *ch = to_uvcg_control_header(item); \ [all …]
|
D | f_sourcesink.c | 886 static inline struct f_ss_opts *to_f_ss_opts(struct config_item *item) in to_f_ss_opts() argument 888 return container_of(to_config_group(item), struct f_ss_opts, in to_f_ss_opts() 892 static void ss_attr_release(struct config_item *item) in ss_attr_release() argument 894 struct f_ss_opts *ss_opts = to_f_ss_opts(item); in ss_attr_release() 903 static ssize_t f_ss_opts_pattern_show(struct config_item *item, char *page) in f_ss_opts_pattern_show() argument 905 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_pattern_show() 915 static ssize_t f_ss_opts_pattern_store(struct config_item *item, in f_ss_opts_pattern_store() argument 918 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_pattern_store() 946 static ssize_t f_ss_opts_isoc_interval_show(struct config_item *item, char *page) in f_ss_opts_isoc_interval_show() argument 948 struct f_ss_opts *opts = to_f_ss_opts(item); in f_ss_opts_isoc_interval_show() [all …]
|
D | f_loopback.c | 462 static inline struct f_lb_opts *to_f_lb_opts(struct config_item *item) in to_f_lb_opts() argument 464 return container_of(to_config_group(item), struct f_lb_opts, in to_f_lb_opts() 468 static void lb_attr_release(struct config_item *item) in lb_attr_release() argument 470 struct f_lb_opts *lb_opts = to_f_lb_opts(item); in lb_attr_release() 479 static ssize_t f_lb_opts_qlen_show(struct config_item *item, char *page) in f_lb_opts_qlen_show() argument 481 struct f_lb_opts *opts = to_f_lb_opts(item); in f_lb_opts_qlen_show() 491 static ssize_t f_lb_opts_qlen_store(struct config_item *item, in f_lb_opts_qlen_store() argument 494 struct f_lb_opts *opts = to_f_lb_opts(item); in f_lb_opts_qlen_store() 517 static ssize_t f_lb_opts_bulk_buflen_show(struct config_item *item, char *page) in f_lb_opts_bulk_buflen_show() argument 519 struct f_lb_opts *opts = to_f_lb_opts(item); in f_lb_opts_bulk_buflen_show() [all …]
|
D | f_serial.c | 255 static inline struct f_serial_opts *to_f_serial_opts(struct config_item *item) in to_f_serial_opts() argument 257 return container_of(to_config_group(item), struct f_serial_opts, in to_f_serial_opts() 261 static void serial_attr_release(struct config_item *item) in serial_attr_release() argument 263 struct f_serial_opts *opts = to_f_serial_opts(item); in serial_attr_release() 272 static ssize_t f_serial_port_num_show(struct config_item *item, char *page) in f_serial_port_num_show() argument 274 return sprintf(page, "%u\n", to_f_serial_opts(item)->port_num); in f_serial_port_num_show()
|
D | f_mass_storage.c | 3126 static inline struct fsg_lun_opts *to_fsg_lun_opts(struct config_item *item) in to_fsg_lun_opts() argument 3128 return container_of(to_config_group(item), struct fsg_lun_opts, group); in to_fsg_lun_opts() 3131 static inline struct fsg_opts *to_fsg_opts(struct config_item *item) in to_fsg_opts() argument 3133 return container_of(to_config_group(item), struct fsg_opts, in to_fsg_opts() 3137 static void fsg_lun_attr_release(struct config_item *item) in fsg_lun_attr_release() argument 3141 lun_opts = to_fsg_lun_opts(item); in fsg_lun_attr_release() 3149 static ssize_t fsg_lun_opts_file_show(struct config_item *item, char *page) in fsg_lun_opts_file_show() argument 3151 struct fsg_lun_opts *opts = to_fsg_lun_opts(item); in fsg_lun_opts_file_show() 3157 static ssize_t fsg_lun_opts_file_store(struct config_item *item, in fsg_lun_opts_file_store() argument 3160 struct fsg_lun_opts *opts = to_fsg_lun_opts(item); in fsg_lun_opts_file_store() [all …]
|
D | f_obex.c | 384 static inline struct f_serial_opts *to_f_serial_opts(struct config_item *item) in to_f_serial_opts() argument 386 return container_of(to_config_group(item), struct f_serial_opts, in to_f_serial_opts() 390 static void obex_attr_release(struct config_item *item) in obex_attr_release() argument 392 struct f_serial_opts *opts = to_f_serial_opts(item); in obex_attr_release() 401 static ssize_t f_obex_port_num_show(struct config_item *item, char *page) in f_obex_port_num_show() argument 403 return sprintf(page, "%u\n", to_f_serial_opts(item)->port_num); in f_obex_port_num_show()
|
D | f_uac1.c | 766 static inline struct f_uac1_opts *to_f_uac1_opts(struct config_item *item) in to_f_uac1_opts() argument 768 return container_of(to_config_group(item), struct f_uac1_opts, in to_f_uac1_opts() 772 static void f_uac1_attr_release(struct config_item *item) in f_uac1_attr_release() argument 774 struct f_uac1_opts *opts = to_f_uac1_opts(item); in f_uac1_attr_release() 784 static ssize_t f_uac1_opts_##name##_show(struct config_item *item, \ 787 struct f_uac1_opts *opts = to_f_uac1_opts(item); \ 797 static ssize_t f_uac1_opts_##name##_store(struct config_item *item, \ 800 struct f_uac1_opts *opts = to_f_uac1_opts(item); \ 829 static ssize_t f_uac1_opts_##name##_show(struct config_item *item, \ 832 struct f_uac1_opts *opts = to_f_uac1_opts(item); \ [all …]
|
D | f_hid.c | 702 static inline struct f_hid_opts *to_f_hid_opts(struct config_item *item) in to_f_hid_opts() argument 704 return container_of(to_config_group(item), struct f_hid_opts, in to_f_hid_opts() 708 static void hid_attr_release(struct config_item *item) in hid_attr_release() argument 710 struct f_hid_opts *opts = to_f_hid_opts(item); in hid_attr_release() 720 static ssize_t f_hid_opts_##name##_show(struct config_item *item, char *page)\ 722 struct f_hid_opts *opts = to_f_hid_opts(item); \ 732 static ssize_t f_hid_opts_##name##_store(struct config_item *item, \ 735 struct f_hid_opts *opts = to_f_hid_opts(item); \ 767 static ssize_t f_hid_opts_report_desc_show(struct config_item *item, char *page) in f_hid_opts_report_desc_show() argument 769 struct f_hid_opts *opts = to_f_hid_opts(item); in f_hid_opts_report_desc_show() [all …]
|
D | f_midi.c | 900 static inline struct f_midi_opts *to_f_midi_opts(struct config_item *item) in to_f_midi_opts() argument 902 return container_of(to_config_group(item), struct f_midi_opts, in to_f_midi_opts() 906 static void midi_attr_release(struct config_item *item) in midi_attr_release() argument 908 struct f_midi_opts *opts = to_f_midi_opts(item); in midi_attr_release() 918 static ssize_t f_midi_opts_##name##_show(struct config_item *item, char *page) \ 920 struct f_midi_opts *opts = to_f_midi_opts(item); \ 930 static ssize_t f_midi_opts_##name##_store(struct config_item *item, \ 933 struct f_midi_opts *opts = to_f_midi_opts(item); \ 967 static ssize_t f_midi_opts_id_show(struct config_item *item, char *page) in f_midi_opts_id_show() argument 969 struct f_midi_opts *opts = to_f_midi_opts(item); in f_midi_opts_id_show() [all …]
|
D | f_printer.c | 1143 *to_f_printer_opts(struct config_item *item) in to_f_printer_opts() argument 1145 return container_of(to_config_group(item), struct f_printer_opts, in to_f_printer_opts() 1149 static void printer_attr_release(struct config_item *item) in printer_attr_release() argument 1151 struct f_printer_opts *opts = to_f_printer_opts(item); in printer_attr_release() 1160 static ssize_t f_printer_opts_pnp_string_show(struct config_item *item, in f_printer_opts_pnp_string_show() argument 1163 struct f_printer_opts *opts = to_f_printer_opts(item); in f_printer_opts_pnp_string_show() 1173 static ssize_t f_printer_opts_pnp_string_store(struct config_item *item, in f_printer_opts_pnp_string_store() argument 1176 struct f_printer_opts *opts = to_f_printer_opts(item); in f_printer_opts_pnp_string_store() 1191 static ssize_t f_printer_opts_q_len_show(struct config_item *item, in f_printer_opts_q_len_show() argument 1194 struct f_printer_opts *opts = to_f_printer_opts(item); in f_printer_opts_q_len_show() [all …]
|
D | f_phonet.c | 580 static inline struct f_phonet_opts *to_f_phonet_opts(struct config_item *item) in to_f_phonet_opts() argument 582 return container_of(to_config_group(item), struct f_phonet_opts, in to_f_phonet_opts() 586 static void phonet_attr_release(struct config_item *item) in phonet_attr_release() argument 588 struct f_phonet_opts *opts = to_f_phonet_opts(item); in phonet_attr_release() 597 static ssize_t f_phonet_ifname_show(struct config_item *item, char *page) in f_phonet_ifname_show() argument 599 return gether_get_ifname(to_f_phonet_opts(item)->net, page, PAGE_SIZE); in f_phonet_ifname_show()
|
D | f_acm.c | 758 static inline struct f_serial_opts *to_f_serial_opts(struct config_item *item) in to_f_serial_opts() argument 760 return container_of(to_config_group(item), struct f_serial_opts, in to_f_serial_opts() 764 static void acm_attr_release(struct config_item *item) in acm_attr_release() argument 766 struct f_serial_opts *opts = to_f_serial_opts(item); in acm_attr_release() 775 static ssize_t f_acm_port_num_show(struct config_item *item, char *page) in f_acm_port_num_show() argument 777 return sprintf(page, "%u\n", to_f_serial_opts(item)->port_num); in f_acm_port_num_show()
|
/linux-4.4.14/fs/btrfs/ |
D | root-tree.c | 34 struct btrfs_root_item *item) in btrfs_read_root_item() argument 41 read_extent_buffer(eb, item, btrfs_item_ptr_offset(eb, slot), in btrfs_read_root_item() 42 min_t(int, len, (int)sizeof(*item))); in btrfs_read_root_item() 43 if (len < sizeof(*item)) in btrfs_read_root_item() 45 if (!need_reset && btrfs_root_generation(item) in btrfs_read_root_item() 46 != btrfs_root_generation_v2(item)) { in btrfs_read_root_item() 47 if (btrfs_root_generation_v2(item) != 0) { in btrfs_read_root_item() 59 memset(&item->generation_v2, 0, in btrfs_read_root_item() 60 sizeof(*item) - offsetof(struct btrfs_root_item, in btrfs_read_root_item() 64 memcpy(item->uuid, uuid.b, BTRFS_UUID_SIZE); in btrfs_read_root_item() [all …]
|
D | delayed-inode.c | 317 struct btrfs_delayed_item *item; in btrfs_alloc_delayed_item() local 318 item = kmalloc(sizeof(*item) + data_len, GFP_NOFS); in btrfs_alloc_delayed_item() 319 if (item) { in btrfs_alloc_delayed_item() 320 item->data_len = data_len; in btrfs_alloc_delayed_item() 321 item->ins_or_del = 0; in btrfs_alloc_delayed_item() 322 item->bytes_reserved = 0; in btrfs_alloc_delayed_item() 323 item->delayed_node = NULL; in btrfs_alloc_delayed_item() 324 atomic_set(&item->refs, 1); in btrfs_alloc_delayed_item() 326 return item; in btrfs_alloc_delayed_item() 394 struct btrfs_delayed_item *item; in __btrfs_lookup_delayed_insertion_item() local [all …]
|
D | file-item.c | 48 struct btrfs_file_extent_item *item; in btrfs_insert_file_extent() local 62 sizeof(*item)); in btrfs_insert_file_extent() 67 item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_insert_file_extent() 69 btrfs_set_file_extent_disk_bytenr(leaf, item, disk_offset); in btrfs_insert_file_extent() 70 btrfs_set_file_extent_disk_num_bytes(leaf, item, disk_num_bytes); in btrfs_insert_file_extent() 71 btrfs_set_file_extent_offset(leaf, item, offset); in btrfs_insert_file_extent() 72 btrfs_set_file_extent_num_bytes(leaf, item, num_bytes); in btrfs_insert_file_extent() 73 btrfs_set_file_extent_ram_bytes(leaf, item, ram_bytes); in btrfs_insert_file_extent() 74 btrfs_set_file_extent_generation(leaf, item, trans->transid); in btrfs_insert_file_extent() 75 btrfs_set_file_extent_type(leaf, item, BTRFS_FILE_EXTENT_REG); in btrfs_insert_file_extent() [all …]
|
D | Makefile | 4 btrfs-y += super.o ctree.o extent-tree.o print-tree.o root-tree.o dir-item.o \ 5 file-item.o inode-item.o inode-map.o disk-io.o \
|
D | tree-log.c | 406 struct btrfs_inode_item *item; in overwrite_item() local 410 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in overwrite_item() 412 nbytes = btrfs_inode_nbytes(path->nodes[0], item); in overwrite_item() 413 item = btrfs_item_ptr(eb, slot, in overwrite_item() 415 btrfs_set_inode_nbytes(eb, item, nbytes); in overwrite_item() 422 mode = btrfs_inode_mode(eb, item); in overwrite_item() 424 btrfs_set_inode_size(eb, item, 0); in overwrite_item() 427 struct btrfs_inode_item *item; in overwrite_item() local 434 item = btrfs_item_ptr(eb, slot, struct btrfs_inode_item); in overwrite_item() 435 btrfs_set_inode_nbytes(eb, item, 0); in overwrite_item() [all …]
|
D | ctree.c | 3608 struct btrfs_item *item; in __push_leaf_right() local 3627 item = btrfs_item_nr(i); in __push_leaf_right() 3642 this_item_size = btrfs_item_size(left, item); in __push_leaf_right() 3643 if (this_item_size + sizeof(*item) + push_space > free_space) in __push_leaf_right() 3647 push_space += this_item_size + sizeof(*item); in __push_leaf_right() 3691 item = btrfs_item_nr(i); in __push_leaf_right() 3692 push_space -= btrfs_token_item_size(right, item, &token); in __push_leaf_right() 3693 btrfs_set_token_item_offset(right, item, push_space, &token); in __push_leaf_right() 3830 struct btrfs_item *item; in __push_leaf_left() local 3846 item = btrfs_item_nr(i); in __push_leaf_left() [all …]
|
D | print-tree.c | 176 struct btrfs_item *item; in btrfs_print_leaf() local 196 item = btrfs_item_nr(i); in btrfs_print_leaf() 202 btrfs_item_offset(l, item), btrfs_item_size(l, item)); in btrfs_print_leaf()
|
D | dir-item.c | 43 struct btrfs_item *item; in insert_with_overflow() local 57 item = btrfs_item_nr(path->slots[0]); in insert_with_overflow() 59 BUG_ON(data_size > btrfs_item_size(leaf, item)); in insert_with_overflow() 60 ptr += btrfs_item_size(leaf, item) - data_size; in insert_with_overflow()
|
D | inode-item.c | 282 struct btrfs_item *item; in btrfs_insert_inode_extref() local 307 item = btrfs_item_nr(path->slots[0]); in btrfs_insert_inode_extref() 309 ptr += btrfs_item_size(leaf, item) - ins_len; in btrfs_insert_inode_extref()
|
D | xattr.c | 183 struct btrfs_item *item; in do_setxattr() local 210 item = btrfs_item_nr(slot); in do_setxattr() 212 ptr += btrfs_item_size(leaf, item) - data_size; in do_setxattr()
|
D | ctree.h | 1315 struct btrfs_block_group_item item; member 2581 struct btrfs_tree_block_info *item, in btrfs_tree_block_key() argument 2584 read_eb_member(eb, item, struct btrfs_tree_block_info, key, key); in btrfs_tree_block_key() 2588 struct btrfs_tree_block_info *item, in btrfs_set_tree_block_key() argument 2591 write_eb_member(eb, item, struct btrfs_tree_block_info, key, key); in btrfs_set_tree_block_key() 2710 struct btrfs_item *item) in btrfs_item_end() argument 2712 return btrfs_item_offset(eb, item) + btrfs_item_size(eb, item); in btrfs_item_end() 2733 struct btrfs_item *item = btrfs_item_nr(nr); in btrfs_item_key() local 2734 read_eb_member(eb, item, struct btrfs_item, key, disk_key); in btrfs_item_key() 2740 struct btrfs_item *item = btrfs_item_nr(nr); in btrfs_set_item_key() local [all …]
|
/linux-4.4.14/drivers/misc/ |
D | spear13xx_pcie_gadget.c | 224 static struct pcie_gadget_target *to_target(struct config_item *item) in to_target() argument 226 return item ? in to_target() 227 container_of(to_configfs_subsystem(to_config_group(item)), in to_target() 231 static ssize_t pcie_gadget_link_show(struct config_item *item, char *buf) in pcie_gadget_link_show() argument 233 struct pcie_app_reg __iomem *app_reg = to_target(item)->va_app_base; in pcie_gadget_link_show() 241 static ssize_t pcie_gadget_link_store(struct config_item *item, in pcie_gadget_link_store() argument 244 struct pcie_app_reg __iomem *app_reg = to_target(item)->va_app_base; in pcie_gadget_link_store() 258 static ssize_t pcie_gadget_int_type_show(struct config_item *item, char *buf) in pcie_gadget_int_type_show() argument 260 return sprintf(buf, "%s", to_target(item)->int_type); in pcie_gadget_int_type_show() 263 static ssize_t pcie_gadget_int_type_store(struct config_item *item, in pcie_gadget_int_type_store() argument [all …]
|
/linux-4.4.14/drivers/infiniband/core/ |
D | umem_odp.c | 44 static void ib_umem_notifier_start_account(struct ib_umem *item) in ib_umem_notifier_start_account() argument 46 mutex_lock(&item->odp_data->umem_mutex); in ib_umem_notifier_start_account() 50 if (item->odp_data->mn_counters_active) { in ib_umem_notifier_start_account() 51 int notifiers_count = item->odp_data->notifiers_count++; in ib_umem_notifier_start_account() 57 reinit_completion(&item->odp_data->notifier_completion); in ib_umem_notifier_start_account() 59 mutex_unlock(&item->odp_data->umem_mutex); in ib_umem_notifier_start_account() 62 static void ib_umem_notifier_end_account(struct ib_umem *item) in ib_umem_notifier_end_account() argument 64 mutex_lock(&item->odp_data->umem_mutex); in ib_umem_notifier_end_account() 68 if (item->odp_data->mn_counters_active) { in ib_umem_notifier_end_account() 74 ++item->odp_data->notifiers_seq; in ib_umem_notifier_end_account() [all …]
|
/linux-4.4.14/drivers/misc/mic/scif/ |
D | scif_rma_list.c | 32 struct list_head *item; in scif_insert_tcw() local 43 list_for_each(item, head) { in scif_insert_tcw() 44 curr = list_entry(item, struct scif_window, list); in scif_insert_tcw() 61 struct list_head *item; in scif_insert_window() local 64 list_for_each(item, head) { in scif_insert_window() 65 curr = list_entry(item, struct scif_window, list); in scif_insert_window() 87 struct list_head *item, *temp, *head = req->head; in scif_query_tcw() local 105 list_for_each_safe(item, temp, head) { in scif_query_tcw() 106 window = list_entry(item, struct scif_window, list); in scif_query_tcw() 146 struct list_head *item; in scif_query_window() local [all …]
|
D | scif_mmap.c | 77 struct list_head *item; in __scif_zap_mmaps() local 83 list_for_each(item, &ep->rma_info.vma_list) { in __scif_zap_mmaps() 84 info = list_entry(item, struct scif_vma_info, list); in __scif_zap_mmaps() 102 struct list_head *item; in _scif_zap_mmaps() local 105 list_for_each(item, head) { in _scif_zap_mmaps() 106 ep = list_entry(item, struct scif_endpt, list); in _scif_zap_mmaps() 156 struct list_head *item; in scif_cleanup_rma_for_zombies() local 159 list_for_each(item, &scif_info.zombie) { in scif_cleanup_rma_for_zombies() 160 ep = list_entry(item, struct scif_endpt, list); in scif_cleanup_rma_for_zombies() 190 struct list_head *item; in scif_delete_vma() local [all …]
|
D | scif_debugfs.c | 98 struct list_head *item; in scif_display_all_windows() local 101 list_for_each(item, head) { in scif_display_all_windows() 102 window = list_entry(item, struct scif_window, list); in scif_display_all_windows()
|
D | scif_dma.c | 126 struct list_head *item, *tmp; in __scif_rma_destroy_tcw() local 134 list_for_each_safe(item, tmp, &mmn->tc_reg_list) { in __scif_rma_destroy_tcw() 135 window = list_entry(item, struct scif_window, list); in __scif_rma_destroy_tcw() 160 struct list_head *item, *tmp; in scif_rma_destroy_tcw_ep() local 163 list_for_each_safe(item, tmp, &ep->rma_info.mmn_list) { in scif_rma_destroy_tcw_ep() 164 mmn = list_entry(item, struct scif_mmu_notif, list); in scif_rma_destroy_tcw_ep() 171 struct list_head *item, *tmp; in __scif_rma_destroy_tcw_ep() local 175 list_for_each_safe(item, tmp, &ep->rma_info.mmn_list) { in __scif_rma_destroy_tcw_ep() 176 mmn = list_entry(item, struct scif_mmu_notif, list); in __scif_rma_destroy_tcw_ep() 253 struct list_head *item, *tmp; in scif_ep_unregister_mmu_notifier() local [all …]
|
/linux-4.4.14/arch/arm/mach-s3c24xx/ |
D | mach-vr1000.c | 56 #define VA_C5(item) ((unsigned long)(item) + BAST_VAM_CS5) argument 57 #define VA_C4(item) ((unsigned long)(item) + BAST_VAM_CS4) argument 58 #define VA_C3(item) ((unsigned long)(item) + BAST_VAM_CS3) argument 59 #define VA_C2(item) ((unsigned long)(item) + BAST_VAM_CS2) argument 63 #define PA_CS2(item) (__phys_to_pfn((item) + S3C2410_CS2)) argument 64 #define PA_CS3(item) (__phys_to_pfn((item) + S3C2410_CS3)) argument 65 #define PA_CS4(item) (__phys_to_pfn((item) + S3C2410_CS4)) argument 66 #define PA_CS5(item) (__phys_to_pfn((item) + S3C2410_CS5)) argument
|
D | mach-bast.c | 67 #define VA_C5(item) ((unsigned long)(item) + BAST_VAM_CS5) argument 68 #define VA_C4(item) ((unsigned long)(item) + BAST_VAM_CS4) argument 69 #define VA_C3(item) ((unsigned long)(item) + BAST_VAM_CS3) argument 70 #define VA_C2(item) ((unsigned long)(item) + BAST_VAM_CS2) argument 74 #define PA_CS2(item) (__phys_to_pfn((item) + S3C2410_CS2)) argument 75 #define PA_CS3(item) (__phys_to_pfn((item) + S3C2410_CS3)) argument 76 #define PA_CS4(item) (__phys_to_pfn((item) + S3C2410_CS4)) argument 77 #define PA_CS5(item) (__phys_to_pfn((item) + S3C2410_CS5)) argument
|
/linux-4.4.14/net/ceph/crush/ |
D | mapper.c | 377 int item, int x) in is_out() argument 379 if (item >= weight_max) in is_out() 381 if (weight[item] >= 0x10000) in is_out() 383 if (weight[item] == 0) in is_out() 385 if ((crush_hash32_2(CRUSH_HASH_RJENKINS1, x, item) & 0xffff) in is_out() 386 < weight[item]) in is_out() 431 int item = 0; in crush_choose_firstn() local 467 item = bucket_perm_choose(in, x, r); in crush_choose_firstn() 469 item = crush_bucket_choose(in, x, r); in crush_choose_firstn() 470 if (item >= map->max_devices) { in crush_choose_firstn() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
D | pinger.c | 132 struct timeout_item *item; in pinger_check_timeout() local 137 list_for_each_entry(item, &timeout_list, ti_chain) { in pinger_check_timeout() 138 int ti_timeout = item->ti_timeout; in pinger_check_timeout() 235 struct timeout_item *item; in ptlrpc_pinger_main() local 239 list_for_each_entry(item, &timeout_list, ti_chain) { in ptlrpc_pinger_main() 240 item->ti_cb(item, item->ti_cb_data); in ptlrpc_pinger_main() 430 struct timeout_item *item, *tmp; in ptlrpc_pinger_register_timeout() local 434 list_for_each_entry(item, &timeout_list, ti_chain) in ptlrpc_pinger_register_timeout() 435 if (item->ti_event == event) in ptlrpc_pinger_register_timeout() 438 item = ptlrpc_new_timeout(time, event, cb, data); in ptlrpc_pinger_register_timeout() [all …]
|
/linux-4.4.14/fs/ocfs2/ |
D | uptodate.c | 149 struct ocfs2_meta_cache_item *item; in ocfs2_purge_copied_metadata_tree() local 152 item = rb_entry(node, struct ocfs2_meta_cache_item, c_node); in ocfs2_purge_copied_metadata_tree() 155 (unsigned long long) item->c_block); in ocfs2_purge_copied_metadata_tree() 157 rb_erase(&item->c_node, root); in ocfs2_purge_copied_metadata_tree() 158 kmem_cache_free(ocfs2_uptodate_cachep, item); in ocfs2_purge_copied_metadata_tree() 208 sector_t item) in ocfs2_search_cache_array() argument 213 if (item == ci->ci_cache.ci_array[i]) in ocfs2_search_cache_array() 227 struct ocfs2_meta_cache_item *item = NULL; in ocfs2_search_cache_tree() local 230 item = rb_entry(n, struct ocfs2_meta_cache_item, c_node); in ocfs2_search_cache_tree() 232 if (block < item->c_block) in ocfs2_search_cache_tree() [all …]
|
D | journal.c | 1230 struct ocfs2_la_recovery_item *item, *n; in ocfs2_complete_recovery() local 1242 list_for_each_entry_safe(item, n, &tmp_la_list, lri_list) { in ocfs2_complete_recovery() 1243 list_del_init(&item->lri_list); in ocfs2_complete_recovery() 1247 la_dinode = item->lri_la_dinode; in ocfs2_complete_recovery() 1248 tl_dinode = item->lri_tl_dinode; in ocfs2_complete_recovery() 1249 qrec = item->lri_qrec; in ocfs2_complete_recovery() 1250 orphan_reco_type = item->lri_orphan_reco_type; in ocfs2_complete_recovery() 1252 trace_ocfs2_complete_recovery_slot(item->lri_slot, in ocfs2_complete_recovery() 1275 ret = ocfs2_recover_orphans(osb, item->lri_slot, in ocfs2_complete_recovery() 1282 item->lri_slot); in ocfs2_complete_recovery() [all …]
|
/linux-4.4.14/fs/xfs/ |
D | xfs_log_recover.c | 1499 xlog_recover_item_t *item, *n; in xlog_recover_reorder_trans() local 1508 list_for_each_entry_safe(item, n, &sort_list, ri_list) { in xlog_recover_reorder_trans() 1509 xfs_buf_log_format_t *buf_f = item->ri_buf[0].i_addr; in xlog_recover_reorder_trans() 1511 switch (ITEM_TYPE(item)) { in xlog_recover_reorder_trans() 1513 list_move_tail(&item->ri_list, &buffer_list); in xlog_recover_reorder_trans() 1518 trans, item, pass); in xlog_recover_reorder_trans() 1519 list_move(&item->ri_list, &cancel_list); in xlog_recover_reorder_trans() 1523 list_move(&item->ri_list, &inode_buffer_list); in xlog_recover_reorder_trans() 1526 list_move_tail(&item->ri_list, &buffer_list); in xlog_recover_reorder_trans() 1534 trans, item, pass); in xlog_recover_reorder_trans() [all …]
|
D | xfs_filestream.c | 125 struct xfs_fstrm_item *item = in xfs_fstrm_free_func() local 128 xfs_filestream_put_ag(item->ip->i_mount, item->ag); in xfs_fstrm_free_func() 130 trace_xfs_filestream_free(item->ip, item->ag); in xfs_fstrm_free_func() 132 kmem_free(item); in xfs_fstrm_free_func() 148 struct xfs_fstrm_item *item; in xfs_filestream_pick_ag() local 260 item = kmem_alloc(sizeof(*item), KM_MAYFAIL); in xfs_filestream_pick_ag() 261 if (!item) in xfs_filestream_pick_ag() 264 item->ag = *agp; in xfs_filestream_pick_ag() 265 item->ip = ip; in xfs_filestream_pick_ag() 267 err = xfs_mru_cache_insert(mp->m_filestream, ip->i_ino, &item->mru); in xfs_filestream_pick_ag() [all …]
|
D | xfs_trans_ail.c | 147 cur->item = NULL; in xfs_trans_ail_cursor_init() 160 struct xfs_log_item *lip = cur->item; in xfs_trans_ail_cursor_next() 165 cur->item = xfs_ail_next(ailp, lip); in xfs_trans_ail_cursor_next() 177 cur->item = NULL; in xfs_trans_ail_cursor_done() 197 if (cur->item == lip) in xfs_trans_ail_cursor_clear() 198 cur->item = (struct xfs_log_item *) in xfs_trans_ail_cursor_clear() 199 ((uintptr_t)cur->item | 1); in xfs_trans_ail_cursor_clear() 232 cur->item = xfs_ail_next(ailp, lip); in xfs_trans_ail_cursor_first() 263 cur->item = __xfs_trans_ail_cursor_last(ailp, lsn); in xfs_trans_ail_cursor_last() 264 return cur->item; in xfs_trans_ail_cursor_last() [all …]
|
D | xfs_log_cil.c | 515 struct xfs_log_item *item; in xlog_cil_push() local 517 item = list_first_entry(&cil->xc_cil, in xlog_cil_push() 519 list_del_init(&item->li_cil); in xlog_cil_push() 521 ctx->lv_chain = item->li_lv; in xlog_cil_push() 523 lv->lv_next = item->li_lv; in xlog_cil_push() 524 lv = item->li_lv; in xlog_cil_push() 525 item->li_lv = NULL; in xlog_cil_push()
|
/linux-4.4.14/fs/dlm/ |
D | config.c | 106 static ssize_t cluster_cluster_name_show(struct config_item *item, char *buf) in cluster_cluster_name_show() argument 108 struct dlm_cluster *cl = config_item_to_cluster(item); in cluster_cluster_name_show() 112 static ssize_t cluster_cluster_name_store(struct config_item *item, in cluster_cluster_name_store() argument 115 struct dlm_cluster *cl = config_item_to_cluster(item); in cluster_cluster_name_store() 148 static ssize_t cluster_##name##_store(struct config_item *item, \ 151 struct dlm_cluster *cl = config_item_to_cluster(item); \ 155 static ssize_t cluster_##name##_show(struct config_item *item, char *buf) \ 157 struct dlm_cluster *cl = config_item_to_cluster(item); \ 224 struct config_item item; member 237 struct config_item item; member [all …]
|
/linux-4.4.14/fs/btrfs/tests/ |
D | extent-buffer-tests.c | 30 struct btrfs_item *item; in test_btrfs_split_item() local 70 item = btrfs_item_nr(0); in test_btrfs_split_item() 99 item = btrfs_item_nr(0); in test_btrfs_split_item() 100 if (btrfs_item_size(eb, item) != strlen(split1)) { in test_btrfs_split_item() 124 item = btrfs_item_nr(1); in test_btrfs_split_item() 125 if (btrfs_item_size(eb, item) != strlen(split2)) { in test_btrfs_split_item() 156 item = btrfs_item_nr(0); in test_btrfs_split_item() 157 if (btrfs_item_size(eb, item) != strlen(split3)) { in test_btrfs_split_item() 180 item = btrfs_item_nr(1); in test_btrfs_split_item() 181 if (btrfs_item_size(eb, item) != strlen(split4)) { in test_btrfs_split_item() [all …]
|
D | qgroup-tests.c | 38 struct btrfs_extent_item *item; in insert_normal_tree_ref() local 44 u32 size = sizeof(*item) + sizeof(*iref) + sizeof(*block_info); in insert_normal_tree_ref() 68 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item); in insert_normal_tree_ref() 69 btrfs_set_extent_refs(leaf, item, 1); in insert_normal_tree_ref() 70 btrfs_set_extent_generation(leaf, item, 1); in insert_normal_tree_ref() 71 btrfs_set_extent_flags(leaf, item, BTRFS_EXTENT_FLAG_TREE_BLOCK); in insert_normal_tree_ref() 72 block_info = (struct btrfs_tree_block_info *)(item + 1); in insert_normal_tree_ref() 91 struct btrfs_extent_item *item; in add_tree_ref() local 117 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in add_tree_ref() 119 refs = btrfs_extent_refs(path->nodes[0], item); in add_tree_ref() [all …]
|
/linux-4.4.14/drivers/clk/mmp/ |
D | clk-mix.c | 115 struct mmp_clk_mix_clk_table *item; in _filter_clk_table() local 122 item = &table[i]; in _filter_clk_table() 123 parent = clk_hw_get_parent_by_index(hw, item->parent_index); in _filter_clk_table() 125 if (parent_rate % item->rate) { in _filter_clk_table() 126 item->valid = 0; in _filter_clk_table() 128 item->divisor = parent_rate / item->rate; in _filter_clk_table() 129 item->valid = 1; in _filter_clk_table() 208 struct mmp_clk_mix_clk_table *item; in mmp_clk_mix_determine_rate() local 224 item = &mix->table[i]; in mmp_clk_mix_determine_rate() 225 if (item->valid == 0) in mmp_clk_mix_determine_rate() [all …]
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
D | opal-prd.c | 164 struct opal_prd_msg_queue_item *item; in opal_prd_read() local 170 if (count < sizeof(item->msg)) in opal_prd_read() 176 item = NULL; in opal_prd_read() 182 item = list_first_entry(&opal_prd_msg_queue, in opal_prd_read() 184 list_del(&item->list); in opal_prd_read() 188 if (item) in opal_prd_read() 200 size = be16_to_cpu(item->msg.size); in opal_prd_read() 206 rc = copy_to_user(buf, &item->msg, size); in opal_prd_read() 212 kfree(item); in opal_prd_read() 219 list_add(&item->list, &opal_prd_msg_queue); in opal_prd_read() [all …]
|
/linux-4.4.14/drivers/gpu/drm/sis/ |
D | sis_mm.c | 88 struct sis_memblock *item; in sis_drm_alloc() local 102 item = kzalloc(sizeof(*item), GFP_KERNEL); in sis_drm_alloc() 103 if (!item) { in sis_drm_alloc() 111 &item->mm_node, in sis_drm_alloc() 114 offset = item->mm_node.start; in sis_drm_alloc() 117 item->req.size = mem->size; in sis_drm_alloc() 118 sis_malloc(&item->req); in sis_drm_alloc() 119 if (item->req.size == 0) in sis_drm_alloc() 121 offset = item->req.offset; in sis_drm_alloc() 124 &item->mm_node, in sis_drm_alloc() [all …]
|
/linux-4.4.14/drivers/soc/qcom/ |
D | smem.c | 207 __le16 item; member 294 unsigned item, in qcom_smem_alloc_private() argument 315 if (le16_to_cpu(hdr->item) == item) in qcom_smem_alloc_private() 329 hdr->item = cpu_to_le16(item); in qcom_smem_alloc_private() 346 unsigned item, in qcom_smem_alloc_global() argument 352 if (WARN_ON(item >= SMEM_ITEM_COUNT)) in qcom_smem_alloc_global() 356 entry = &header->toc[item]; in qcom_smem_alloc_global() 390 int qcom_smem_alloc(unsigned host, unsigned item, size_t size) in qcom_smem_alloc() argument 398 if (item < SMEM_ITEM_LAST_FIXED) { in qcom_smem_alloc() 400 "Rejecting allocation of static entry %d\n", item); in qcom_smem_alloc() [all …]
|
/linux-4.4.14/drivers/gpu/drm/via/ |
D | via_mm.c | 115 struct via_memblock *item; in via_mem_alloc() local 133 item = kzalloc(sizeof(*item), GFP_KERNEL); in via_mem_alloc() 134 if (!item) { in via_mem_alloc() 142 &item->mm_node, in via_mem_alloc() 146 &item->mm_node, in via_mem_alloc() 151 retval = idr_alloc(&dev_priv->object_idr, item, 1, 0, GFP_KERNEL); in via_mem_alloc() 156 list_add(&item->owner_list, &file_priv->obj_list); in via_mem_alloc() 161 ((item->mm_node.start) << VIA_MM_ALIGN_SHIFT); in via_mem_alloc() 167 drm_mm_remove_node(&item->mm_node); in via_mem_alloc() 169 kfree(item); in via_mem_alloc()
|
/linux-4.4.14/Documentation/filesystems/configfs/ |
D | configfs.txt | 46 These are modules that register their item types with configfs as 51 An item is created via mkdir(2). The item's attributes will also 64 When an item needs to be destroyed, remove it with rmdir(2). An 65 item cannot be destroyed if any other item has a link to it (via 156 Usually a subsystem wants the item to display and/or store attributes, 192 When a config_item wants an attribute to appear as a file in the item's 195 config_item_type->ct_attrs. When the item appears in configfs, the 208 child item. 224 that item means that a group can behave as an item in its own right. 234 int (*commit_item)(struct config_item *item); [all …]
|
/linux-4.4.14/mm/ |
D | list_lru.c | 109 bool list_lru_add(struct list_lru *lru, struct list_head *item) in list_lru_add() argument 111 int nid = page_to_nid(virt_to_page(item)); in list_lru_add() 116 if (list_empty(item)) { in list_lru_add() 117 l = list_lru_from_kmem(nlru, item); in list_lru_add() 118 list_add_tail(item, &l->list); in list_lru_add() 128 bool list_lru_del(struct list_lru *lru, struct list_head *item) in list_lru_del() argument 130 int nid = page_to_nid(virt_to_page(item)); in list_lru_del() 135 if (!list_empty(item)) { in list_lru_del() 136 l = list_lru_from_kmem(nlru, item); in list_lru_del() 137 list_del_init(item); in list_lru_del() [all …]
|
D | vmstat.c | 221 void __mod_zone_page_state(struct zone *zone, enum zone_stat_item item, in __mod_zone_page_state() argument 225 s8 __percpu *p = pcp->vm_stat_diff + item; in __mod_zone_page_state() 234 zone_page_state_add(x, zone, item); in __mod_zone_page_state() 264 void __inc_zone_state(struct zone *zone, enum zone_stat_item item) in __inc_zone_state() argument 267 s8 __percpu *p = pcp->vm_stat_diff + item; in __inc_zone_state() 275 zone_page_state_add(v + overstep, zone, item); in __inc_zone_state() 280 void __inc_zone_page_state(struct page *page, enum zone_stat_item item) in __inc_zone_page_state() argument 282 __inc_zone_state(page_zone(page), item); in __inc_zone_page_state() 286 void __dec_zone_state(struct zone *zone, enum zone_stat_item item) in __dec_zone_state() argument 289 s8 __percpu *p = pcp->vm_stat_diff + item; in __dec_zone_state() [all …]
|
D | workingset.c | 304 static enum lru_status shadow_lru_isolate(struct list_head *item, in shadow_lru_isolate() argument 326 node = container_of(item, struct radix_tree_node, private_list); in shadow_lru_isolate() 336 list_lru_isolate(lru, item); in shadow_lru_isolate()
|
D | compaction.c | 23 static inline void count_compact_event(enum vm_event_item item) in count_compact_event() argument 25 count_vm_event(item); in count_compact_event() 28 static inline void count_compact_events(enum vm_event_item item, long delta) in count_compact_events() argument 30 count_vm_events(item, delta); in count_compact_events() 33 #define count_compact_event(item) do { } while (0) argument 34 #define count_compact_events(item, delta) do { } while (0) argument
|
/linux-4.4.14/net/tipc/ |
D | name_distr.c | 119 struct distr_item *item; in tipc_named_publish() local 133 item = (struct distr_item *)msg_data(buf_msg(buf)); in tipc_named_publish() 134 publ_to_item(item, publ); in tipc_named_publish() 144 struct distr_item *item; in tipc_named_withdraw() local 157 item = (struct distr_item *)msg_data(buf_msg(buf)); in tipc_named_withdraw() 158 publ_to_item(item, publ); in tipc_named_withdraw() 173 struct distr_item *item = NULL; in named_distribute() local 187 item = (struct distr_item *)msg_data(buf_msg(skb)); in named_distribute() 191 publ_to_item(item, publ); in named_distribute() 192 item++; in named_distribute() [all …]
|
/linux-4.4.14/fs/logfs/ |
D | segment.c | 188 struct object_alias_item *item; in btree_write_alias() local 191 list_for_each_entry(item, &block->item_list, list) { in btree_write_alias() 193 block->level, item->child_no, item->val); in btree_write_alias() 211 struct object_alias_item *item; in logfs_load_object_aliases() local 219 item = mempool_alloc(super->s_alias_pool, GFP_NOFS); in logfs_load_object_aliases() 220 if (!item) in logfs_load_object_aliases() 222 memset(item, 0, sizeof(*item)); in logfs_load_object_aliases() 225 item->val = oa[i].val; in logfs_load_object_aliases() 226 item->child_no = be16_to_cpu(oa[i].child_no); in logfs_load_object_aliases() 233 ino, bix, level, item->child_no, in logfs_load_object_aliases() [all …]
|
/linux-4.4.14/fs/nfsd/ |
D | nfs4idmap.c | 265 idtoname_lookup(struct cache_detail *cd, struct ent *item) in idtoname_lookup() argument 267 struct cache_head *ch = sunrpc_cache_lookup(cd, &item->h, in idtoname_lookup() 268 idtoname_hash(item)); in idtoname_lookup() 423 nametoid_lookup(struct cache_detail *cd, struct ent *item) in nametoid_lookup() argument 425 struct cache_head *ch = sunrpc_cache_lookup(cd, &item->h, in nametoid_lookup() 426 nametoid_hash(item)); in nametoid_lookup() 493 struct ent *key, struct cache_detail *detail, struct ent **item) in idmap_lookup() argument 497 *item = lookup_fn(detail, key); in idmap_lookup() 498 if (!*item) in idmap_lookup() 501 ret = cache_check(detail, &(*item)->h, &rqstp->rq_chandle); in idmap_lookup() [all …]
|
D | export.c | 206 struct svc_expkey *item = container_of(citem, struct svc_expkey, h); in expkey_init() local 208 kref_get(&item->ek_client->ref); in expkey_init() 209 new->ek_client = item->ek_client; in expkey_init() 210 new->ek_fsidtype = item->ek_fsidtype; in expkey_init() 212 memcpy(new->ek_fsid, item->ek_fsid, sizeof(new->ek_fsid)); in expkey_init() 219 struct svc_expkey *item = container_of(citem, struct svc_expkey, h); in expkey_update() local 221 new->ek_path = item->ek_path; in expkey_update() 222 path_get(&item->ek_path); in expkey_update() 249 svc_expkey_hash(struct svc_expkey *item) in svc_expkey_hash() argument 251 int hash = item->ek_fsidtype; in svc_expkey_hash() [all …]
|
/linux-4.4.14/include/target/ |
D | target_core_base.h | 569 static inline struct se_node_acl *acl_to_nacl(struct config_item *item) in acl_to_nacl() argument 571 return container_of(to_config_group(item), struct se_node_acl, in acl_to_nacl() 575 static inline struct se_node_acl *attrib_to_nacl(struct config_item *item) in attrib_to_nacl() argument 577 return container_of(to_config_group(item), struct se_node_acl, in attrib_to_nacl() 581 static inline struct se_node_acl *auth_to_nacl(struct config_item *item) in auth_to_nacl() argument 583 return container_of(to_config_group(item), struct se_node_acl, in auth_to_nacl() 587 static inline struct se_node_acl *param_to_nacl(struct config_item *item) in param_to_nacl() argument 589 return container_of(to_config_group(item), struct se_node_acl, in param_to_nacl() 593 static inline struct se_node_acl *fabric_stat_to_nacl(struct config_item *item) in fabric_stat_to_nacl() argument 595 return container_of(to_config_group(item), struct se_node_acl, in fabric_stat_to_nacl() [all …]
|
D | target_core_fabric.h | 108 int target_depend_item(struct config_item *item); 109 void target_undepend_item(struct config_item *item);
|
/linux-4.4.14/include/rdma/ |
D | ib_umem_odp.h | 111 typedef int (*umem_call_back)(struct ib_umem *item, u64 start, u64 end, 125 static inline int ib_umem_mmu_notifier_retry(struct ib_umem *item, in ib_umem_mmu_notifier_retry() argument 138 if (!item->odp_data->mn_counters_active) in ib_umem_mmu_notifier_retry() 141 if (unlikely(item->odp_data->notifiers_count)) in ib_umem_mmu_notifier_retry() 143 if (item->odp_data->notifiers_seq != mmu_seq) in ib_umem_mmu_notifier_retry()
|
/linux-4.4.14/include/linux/usb/ |
D | gadget_configfs.h | 10 static ssize_t __struct##_##__name##_store(struct config_item *item, \ 13 struct __struct *gs = to_##__struct(item); \ 23 static ssize_t __struct##_##__name##_show(struct config_item *item, char *page) \ 25 struct __struct *gs = to_##__struct(item); \ 86 struct config_item *item) \ 88 config_item_put(item); \
|
/linux-4.4.14/drivers/edac/ |
D | edac_pci.c | 98 struct list_head *item; in find_edac_pci_by_dev() local 102 list_for_each(item, &edac_pci_list) { in find_edac_pci_by_dev() 103 pci = list_entry(item, struct edac_pci_ctl_info, link); in find_edac_pci_by_dev() 122 struct list_head *item, *insert_before; in add_edac_pci_to_global_list() local 135 list_for_each(item, &edac_pci_list) { in add_edac_pci_to_global_list() 136 rover = list_entry(item, struct edac_pci_ctl_info, link); in add_edac_pci_to_global_list() 142 insert_before = item; in add_edac_pci_to_global_list() 195 struct list_head *item; 199 list_for_each(item, &edac_pci_list) { 200 pci = list_entry(item, struct edac_pci_ctl_info, link);
|
D | edac_device.c | 271 struct list_head *item; in find_edac_device_by_dev() local 275 list_for_each(item, &edac_device_list) { in find_edac_device_by_dev() 276 edac_dev = list_entry(item, struct edac_device_ctl_info, link); in find_edac_device_by_dev() 298 struct list_head *item, *insert_before; in add_edac_dev_to_global_list() local 309 list_for_each(item, &edac_device_list) { in add_edac_dev_to_global_list() 310 rover = list_entry(item, struct edac_device_ctl_info, link); in add_edac_dev_to_global_list() 316 insert_before = item; in add_edac_dev_to_global_list()
|
D | edac_mc.c | 496 struct list_head *item; in find_mci_by_dev() local 500 list_for_each(item, &mc_devices) { in find_mci_by_dev() 501 mci = list_entry(item, struct mem_ctl_info, link); in find_mci_by_dev() 604 struct list_head *item; in edac_mc_reset_delay_period() local 608 list_for_each(item, &mc_devices) { in edac_mc_reset_delay_period() 609 mci = list_entry(item, struct mem_ctl_info, link); in edac_mc_reset_delay_period() 629 struct list_head *item, *insert_before; in add_mc_to_global_list() local 638 list_for_each(item, &mc_devices) { in add_mc_to_global_list() 639 p = list_entry(item, struct mem_ctl_info, link); in add_mc_to_global_list() 645 insert_before = item; in add_mc_to_global_list() [all …]
|
/linux-4.4.14/drivers/hid/ |
D | hid-core.c | 296 static u32 item_udata(struct hid_item *item) in item_udata() argument 298 switch (item->size) { in item_udata() 299 case 1: return item->data.u8; in item_udata() 300 case 2: return item->data.u16; in item_udata() 301 case 4: return item->data.u32; in item_udata() 306 static s32 item_sdata(struct hid_item *item) in item_sdata() argument 308 switch (item->size) { in item_sdata() 309 case 1: return item->data.s8; in item_sdata() 310 case 2: return item->data.s16; in item_sdata() 311 case 4: return item->data.s32; in item_sdata() [all …]
|
/linux-4.4.14/include/drm/ |
D | drm_hashtab.h | 53 extern int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item); 54 extern int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item, 57 …ern int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item); 61 extern int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item);
|
/linux-4.4.14/fs/reiserfs/ |
D | item_ops.c | 44 static void sd_print_item(struct item_head *ih, char *item) in sd_print_item() argument 48 struct stat_data_v1 *sd = (struct stat_data_v1 *)item; in sd_print_item() 55 struct stat_data *sd = (struct stat_data *)item; in sd_print_item() 63 static void sd_check_item(struct item_head *ih, char *item) in sd_check_item() argument 142 static void direct_print_item(struct item_head *ih, char *item) in direct_print_item() argument 149 printk("%c", item[j++]); in direct_print_item() 153 static void direct_check_item(struct item_head *ih, char *item) in direct_check_item() argument 268 static void indirect_print_item(struct item_head *ih, char *item) in indirect_print_item() argument 275 unp = (__le32 *) item; in indirect_print_item() 291 static void indirect_check_item(struct item_head *ih, char *item) in indirect_check_item() argument [all …]
|
D | lbalance.c | 1075 char *item; in leaf_cut_entries() local 1095 item = bh->b_data + ih_location(ih); in leaf_cut_entries() 1108 prev_record = item + prev_record_offset; in leaf_cut_entries() 1131 prev_record, item + ih_item_len(ih) - prev_record); in leaf_cut_entries() 1322 char *item; in leaf_paste_entries() local 1343 item = bh->b_data + ih_location(ih); in leaf_paste_entries() 1350 item + in leaf_paste_entries() 1370 item + (ih_item_len(ih) - paste_size) - insert_point); in leaf_paste_entries() 1392 item)); in leaf_paste_entries()
|
/linux-4.4.14/Documentation/filesystems/nfs/ |
D | rpc-cache.txt | 55 This is called when the last reference to an item is 73 contents of a cache. This should show one item, 77 Format a request to be send to user-space for an item 86 cache_parse should parse this, find the item in the 87 cache with sunrpc_cache_lookup, and update the item 99 to the cache_head in a sample item with the 'key' fields filled in. 104 The item returned is typically passed to cache_check which will check 113 done when the found cache item is not uptodate, but the is reason to 115 item does become valid, the deferred copy of the request will be 120 sunrpc_cache_update to set the content for the item. A second item is [all …]
|
/linux-4.4.14/Documentation/filesystems/ |
D | xfs-delayed-logging-design.txt | 162 existing log item dirty region tracking) is that when it comes to writing the 177 Put simply, the current logging code formats the changes to each item into an 178 vector array that points to the changed regions in the item. The log write code 180 transaction commit while the item is locked in the transaction. Instead of 187 that does not require us to lock the item to access. This formatting and 190 without needing to lock the owning item. 230 are in the item, so we'd need a new encapsulation method for regions in the log 249 log item is the natural place to store this vector and buffer, and also makes sense 253 The log item is already used to track the log items that have been written to 262 Essentially, this shows that an item that is in the AIL can still be modified [all …]
|
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/ |
D | bmi.h | 226 #define ath6kl_bmi_write_hi32(ar, item, val) \ argument 231 addr = ath6kl_get_hi_item_addr(ar, HI_ITEM(item)); \ 236 #define ath6kl_bmi_read_hi32(ar, item, val) \ argument 243 addr = ath6kl_get_hi_item_addr(ar, HI_ITEM(item)); \
|
D | target.h | 302 #define HI_ITEM(item) offsetof(struct host_interest, item) argument
|
/linux-4.4.14/include/linux/netfilter/ |
D | nf_conntrack_h323_types.h | 246 OpenLogicalChannel item[30]; member 292 OpenLogicalChannel item[30]; member 314 OpenLogicalChannel item[30]; member 342 OpenLogicalChannel item[30]; member 385 OpenLogicalChannel item[30]; member 418 OpenLogicalChannel item[30]; member 598 MultimediaSystemControlMessage item[4]; member 664 TransportAddress item[10]; member 669 TransportAddress item[10]; member 706 TransportAddress item[10]; member [all …]
|
/linux-4.4.14/drivers/xen/ |
D | grant-table.c | 877 static void __gnttab_unmap_refs_async(struct gntab_unmap_queue_data* item); 890 static void __gnttab_unmap_refs_async(struct gntab_unmap_queue_data* item) in __gnttab_unmap_refs_async() argument 895 for (pc = 0; pc < item->count; pc++) { in __gnttab_unmap_refs_async() 896 if (page_count(item->pages[pc]) > 1) { in __gnttab_unmap_refs_async() 897 unsigned long delay = GNTTAB_UNMAP_REFS_DELAY * (item->age + 1); in __gnttab_unmap_refs_async() 898 schedule_delayed_work(&item->gnttab_work, in __gnttab_unmap_refs_async() 904 ret = gnttab_unmap_refs(item->unmap_ops, item->kunmap_ops, in __gnttab_unmap_refs_async() 905 item->pages, item->count); in __gnttab_unmap_refs_async() 906 item->done(ret, item); in __gnttab_unmap_refs_async() 909 void gnttab_unmap_refs_async(struct gntab_unmap_queue_data* item) in gnttab_unmap_refs_async() argument [all …]
|
/linux-4.4.14/net/sunrpc/auth_gss/ |
D | svcauth_gss.c | 82 static struct rsi *rsi_lookup(struct cache_detail *cd, struct rsi *item); 99 static inline int rsi_hash(struct rsi *item) in rsi_hash() argument 101 return hash_mem(item->in_handle.data, item->in_handle.len, RSI_HASHBITS) in rsi_hash() 102 ^ hash_mem(item->in_token.data, item->in_token.len, RSI_HASHBITS); in rsi_hash() 107 struct rsi *item = container_of(a, struct rsi, h); in rsi_match() local 109 return netobj_equal(&item->in_handle, &tmp->in_handle) && in rsi_match() 110 netobj_equal(&item->in_token, &tmp->in_token); in rsi_match() 130 struct rsi *item = container_of(citem, struct rsi, h); in rsi_init() local 136 new->in_handle.len = item->in_handle.len; in rsi_init() 137 item->in_handle.len = 0; in rsi_init() [all …]
|
/linux-4.4.14/sound/drivers/pcsp/ |
D | pcsp_mixer.c | 51 if (uinfo->value.enumerated.item > chip->max_treble) in pcsp_treble_info() 52 uinfo->value.enumerated.item = chip->max_treble; in pcsp_treble_info() 54 (unsigned long)PCSP_CALC_RATE(uinfo->value.enumerated.item)); in pcsp_treble_info() 62 ucontrol->value.enumerated.item[0] = chip->treble; in pcsp_treble_get() 71 int treble = ucontrol->value.enumerated.item[0]; in pcsp_treble_put()
|
/linux-4.4.14/net/sunrpc/ |
D | svcauth_unix.c | 98 struct cache_head *item = container_of(kref, struct cache_head, ref); in ip_map_put() local 99 struct ip_map *im = container_of(item, struct ip_map,h); in ip_map_put() 101 if (test_bit(CACHE_VALID, &item->flags) && in ip_map_put() 102 !test_bit(CACHE_NEGATIVE, &item->flags)) in ip_map_put() 121 struct ip_map *item = container_of(citem, struct ip_map, h); in ip_map_init() local 123 strcpy(new->m_class, item->m_class); in ip_map_init() 124 new->m_addr = item->m_addr; in ip_map_init() 129 struct ip_map *item = container_of(citem, struct ip_map, h); in update() local 131 kref_get(&item->m_client->h.ref); in update() 132 new->m_client = item->m_client; in update() [all …]
|
D | cache.c | 41 static bool cache_defer_req(struct cache_req *req, struct cache_head *item); 42 static void cache_revisit_request(struct cache_head *item); 526 #define DFR_HASH(item) ((((long)item)>>4 ^ (((long)item)>>13)) % DFR_HASHSIZE) argument 544 static void __hash_deferred_req(struct cache_deferred_req *dreq, struct cache_head *item) in __hash_deferred_req() argument 546 int hash = DFR_HASH(item); in __hash_deferred_req() 553 struct cache_head *item, in setup_deferral() argument 557 dreq->item = item; in setup_deferral() 561 __hash_deferred_req(dreq, item); in setup_deferral() 584 static void cache_wait_req(struct cache_req *req, struct cache_head *item) in cache_wait_req() argument 592 setup_deferral(dreq, item, 0); in cache_wait_req() [all …]
|
/linux-4.4.14/include/net/netfilter/ |
D | nf_conntrack_ecache.h | 67 int (*fcn)(unsigned int events, struct nf_ct_event *item); 114 struct nf_ct_event item = { in nf_conntrack_eventmask_report() local 125 ret = notify->fcn(eventmask | missed, &item); in nf_conntrack_eventmask_report() 167 int (*fcn)(unsigned int events, struct nf_exp_event *item); 195 struct nf_exp_event item = { in nf_ct_expect_event_report() local 200 notify->fcn(1 << event, &item); in nf_ct_expect_event_report()
|
/linux-4.4.14/drivers/target/tcm_fc/ |
D | tfc_conf.c | 132 static ssize_t ft_nacl_port_name_show(struct config_item *item, char *page) in ft_nacl_port_name_show() argument 134 struct se_node_acl *se_nacl = acl_to_nacl(item); in ft_nacl_port_name_show() 141 static ssize_t ft_nacl_port_name_store(struct config_item *item, in ft_nacl_port_name_store() argument 144 struct se_node_acl *se_nacl = acl_to_nacl(item); in ft_nacl_port_name_store() 151 static ssize_t ft_nacl_node_name_show(struct config_item *item, in ft_nacl_node_name_show() argument 154 struct se_node_acl *se_nacl = acl_to_nacl(item); in ft_nacl_node_name_show() 161 static ssize_t ft_nacl_node_name_store(struct config_item *item, in ft_nacl_node_name_store() argument 164 struct se_node_acl *se_nacl = acl_to_nacl(item); in ft_nacl_node_name_store() 383 static ssize_t ft_wwn_version_show(struct config_item *item, char *page) in ft_wwn_version_show() argument
|
/linux-4.4.14/sound/pci/ac97/ |
D | ac97_patch.c | 96 ucontrol->value.enumerated.item[0] = ac97->indep_surround; in ac97_surround_jack_mode_get() 103 unsigned char indep = !!ucontrol->value.enumerated.item[0]; in ac97_surround_jack_mode_put() 125 ucontrol->value.enumerated.item[0] = ac97->channel_mode; in ac97_channel_mode_get() 132 unsigned char mode = ucontrol->value.enumerated.item[0]; in ac97_channel_mode_put() 250 ucontrol->value.enumerated.item[0] = val; in snd_ac97_ymf7x3_get_speaker() 260 if (ucontrol->value.enumerated.item[0] > 2) in snd_ac97_ymf7x3_put_speaker() 262 val = (ucontrol->value.enumerated.item[0] + 1) << 10; in snd_ac97_ymf7x3_put_speaker() 292 ucontrol->value.enumerated.item[0] = (val >> 1) & 1; in snd_ac97_ymf7x3_spdif_source_get() 302 if (ucontrol->value.enumerated.item[0] > 1) in snd_ac97_ymf7x3_spdif_source_put() 304 val = ucontrol->value.enumerated.item[0] << 1; in snd_ac97_ymf7x3_spdif_source_put() [all …]
|
/linux-4.4.14/block/partitions/ |
D | ldm.c | 606 struct list_head *item; in ldm_get_disk_objid() local 610 list_for_each (item, &ldb->v_disk) { in ldm_get_disk_objid() 611 struct vblk *v = list_entry (item, struct vblk, list); in ldm_get_disk_objid() 639 struct list_head *item; in ldm_create_data_partitions() local 656 list_for_each (item, &ldb->v_part) { in ldm_create_data_partitions() 657 vb = list_entry (item, struct vblk, list); in ldm_create_data_partitions() 1237 struct list_head *item; in ldm_ldmdb_add() local 1270 list_for_each (item, &ldb->v_part) { in ldm_ldmdb_add() 1271 struct vblk *v = list_entry (item, struct vblk, list); in ldm_ldmdb_add() 1299 struct list_head *item; in ldm_frag_add() local [all …]
|
/linux-4.4.14/Documentation/ |
D | circular-buffers.txt | 44 (2) A 'tail' index - the point at which the consumer finds the next item in 167 /* insert one item into the buffer */ 168 struct item *item = buffer[head]; 170 produce_item(item); 182 This will instruct the CPU that the contents of the new item must be written 209 /* extract one item from the buffer */ 210 struct item *item = buffer[tail]; 212 consume_item(item); 222 the new item, and then it shall make sure the CPU has finished reading the item 223 before it writes the new tail pointer, which will erase the item.
|
D | workqueue.txt | 24 When such an asynchronous execution context is needed, a work item 31 there is no work item left on the workqueue the worker becomes idle. 32 When a new work item gets queued, the worker begins executing again. 77 abstraction, the work item, is introduced. 79 A work item is a simple struct that holds a pointer to the function 82 item pointing to that function and queue that work item on a 102 workqueue they are putting the work item on. These flags include 107 When a work item is queued to a workqueue, the target worker-pool is 110 unless specifically overridden, a work item of a bound workqueue will 163 forward progress guarantee, flush and work item attributes. @flags [all …]
|
D | svga.txt | 29 0..35 - Menu item number (when you have used the menu to view the list of 30 modes available on your adapter, you can specify the menu item you want 66 "0 0F00 80x25" means that the first menu item (the menu items are numbered 70 <flashing-cursor-here> encourages you to enter the item number or mode ID 87 is able to do more), you can enter "scan" instead of item number / mode ID. The 108 0x0000 to 0x00ff - menu item references. 0x0000 is the first item. Don't use
|
/linux-4.4.14/drivers/media/pci/cx18/ |
D | cx18-alsa-pcm.c | 156 struct cx18_open_id item; in snd_cx18_pcm_capture_open() local 163 item.cx = cx; in snd_cx18_pcm_capture_open() 164 item.type = s->type; in snd_cx18_pcm_capture_open() 165 item.open_id = cx->open_id++; in snd_cx18_pcm_capture_open() 168 if (cx18_claim_stream(&item, item.type)) { in snd_cx18_pcm_capture_open()
|
D | cx18-fileops.c | 799 struct cx18_open_id *item; in cx18_serialized_open() local 804 item = kzalloc(sizeof(struct cx18_open_id), GFP_KERNEL); in cx18_serialized_open() 805 if (NULL == item) { in cx18_serialized_open() 809 v4l2_fh_init(&item->fh, &s->video_dev); in cx18_serialized_open() 811 item->cx = cx; in cx18_serialized_open() 812 item->type = s->type; in cx18_serialized_open() 814 item->open_id = cx->open_id++; in cx18_serialized_open() 815 filp->private_data = &item->fh; in cx18_serialized_open() 816 v4l2_fh_add(&item->fh); in cx18_serialized_open() 818 if (item->type == CX18_ENC_STREAM_TYPE_RAD && in cx18_serialized_open() [all …]
|
/linux-4.4.14/include/linux/soc/qcom/ |
D | smem.h | 6 int qcom_smem_alloc(unsigned host, unsigned item, size_t size); 7 void *qcom_smem_get(unsigned host, unsigned item, size_t *size);
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
D | bmi.h | 205 #define ath10k_bmi_read32(ar, item, val) \ argument 211 addr = host_interest_item_address(HI_ITEM(item)); \ 218 #define ath10k_bmi_write32(ar, item, val) \ argument 224 address = host_interest_item_address(HI_ITEM(item)); \
|
D | targaddrs.h | 210 #define HI_ITEM(item) offsetof(struct host_interest, item) argument
|
/linux-4.4.14/sound/isa/sb/ |
D | sb_mixer.c | 203 ucontrol->value.enumerated.item[0] = 0; in snd_dt019x_input_sw_get() 206 ucontrol->value.enumerated.item[0] = 1; in snd_dt019x_input_sw_get() 209 ucontrol->value.enumerated.item[0] = 2; in snd_dt019x_input_sw_get() 212 ucontrol->value.enumerated.item[0] = 4; in snd_dt019x_input_sw_get() 222 ucontrol->value.enumerated.item[0] = 4; in snd_dt019x_input_sw_get() 235 if (ucontrol->value.enumerated.item[0] > 4) in snd_dt019x_input_sw_put() 237 switch (ucontrol->value.enumerated.item[0]) { in snd_dt019x_input_sw_put() 293 ucontrol->value.enumerated.item[0] = oval; in snd_als4k_mono_capture_route_get() 305 if (ucontrol->value.enumerated.item[0] > 2) in snd_als4k_mono_capture_route_put() 311 | (ucontrol->value.enumerated.item[0] << 6); in snd_als4k_mono_capture_route_put() [all …]
|
/linux-4.4.14/sound/soc/ |
D | soc-ops.c | 69 unsigned int val, item; in snd_soc_get_enum_double() local 77 item = snd_soc_enum_val_to_item(e, val); in snd_soc_get_enum_double() 78 ucontrol->value.enumerated.item[0] = item; in snd_soc_get_enum_double() 81 item = snd_soc_enum_val_to_item(e, val); in snd_soc_get_enum_double() 82 ucontrol->value.enumerated.item[1] = item; in snd_soc_get_enum_double() 103 unsigned int *item = ucontrol->value.enumerated.item; in snd_soc_put_enum_double() local 107 if (item[0] >= e->items) in snd_soc_put_enum_double() 109 val = snd_soc_enum_item_to_val(e, item[0]) << e->shift_l; in snd_soc_put_enum_double() 112 if (item[1] >= e->items) in snd_soc_put_enum_double() 114 val |= snd_soc_enum_item_to_val(e, item[1]) << e->shift_r; in snd_soc_put_enum_double() [all …]
|
/linux-4.4.14/fs/ocfs2/dlm/ |
D | dlmrecovery.c | 91 static void dlm_request_all_locks_worker(struct dlm_work_item *item, 93 static void dlm_mig_lockres_worker(struct dlm_work_item *item, void *data); 157 struct dlm_work_item *item, *next; in dlm_dispatch_work() local 165 list_for_each_entry(item, &tmp_list, list) { in dlm_dispatch_work() 170 list_for_each_entry_safe(item, next, &tmp_list, list) { in dlm_dispatch_work() 171 workfunc = item->func; in dlm_dispatch_work() 172 list_del_init(&item->list); in dlm_dispatch_work() 176 BUG_ON(item->dlm != dlm); in dlm_dispatch_work() 180 workfunc(item, item->data); in dlm_dispatch_work() 183 kfree(item); in dlm_dispatch_work() [all …]
|
D | dlmmaster.c | 64 static void dlm_assert_master_worker(struct dlm_work_item *item, void *data); 68 static void dlm_deref_lockres_worker(struct dlm_work_item *item, void *data); 2091 struct dlm_work_item *item; in dlm_dispatch_assert_master() local 2092 item = kzalloc(sizeof(*item), GFP_ATOMIC); in dlm_dispatch_assert_master() 2093 if (!item) in dlm_dispatch_assert_master() 2098 dlm_init_work_item(dlm, item, dlm_assert_master_worker, NULL); in dlm_dispatch_assert_master() 2099 item->u.am.lockres = res; /* already have a ref */ in dlm_dispatch_assert_master() 2101 item->u.am.ignore_higher = ignore_higher; in dlm_dispatch_assert_master() 2102 item->u.am.request_from = request_from; in dlm_dispatch_assert_master() 2103 item->u.am.flags = flags; in dlm_dispatch_assert_master() [all …]
|
/linux-4.4.14/drivers/media/pci/ivtv/ |
D | ivtv-alsa-pcm.c | 157 struct ivtv_open_id item; in snd_ivtv_pcm_capture_open() local 170 v4l2_fh_init(&item.fh, &s->vdev); in snd_ivtv_pcm_capture_open() 171 item.itv = itv; in snd_ivtv_pcm_capture_open() 172 item.type = s->type; in snd_ivtv_pcm_capture_open() 175 if (ivtv_claim_stream(&item, item.type)) { in snd_ivtv_pcm_capture_open()
|
D | ivtv-fileops.c | 948 struct ivtv_open_id *item; local 993 item = kzalloc(sizeof(struct ivtv_open_id), GFP_KERNEL); 994 if (NULL == item) { 998 v4l2_fh_init(&item->fh, &s->vdev); 999 item->itv = itv; 1000 item->type = s->type; 1002 filp->private_data = &item->fh; 1003 v4l2_fh_add(&item->fh); 1005 if (item->type == IVTV_ENC_STREAM_TYPE_RAD && 1011 v4l2_fh_del(&item->fh); [all …]
|
/linux-4.4.14/drivers/scsi/ |
D | ips.c | 783 ips_copp_wait_item_t *item; in ips_eh_abort() local 804 item = ha->copp_waitlist.head; in ips_eh_abort() 805 while ((item) && (item->scsi_cmd != SC)) in ips_eh_abort() 806 item = item->next; in ips_eh_abort() 808 if (item) { in ips_eh_abort() 810 ips_removeq_copp(&ha->copp_waitlist, item); in ips_eh_abort() 843 ips_copp_wait_item_t *item; in __ips_eh_reset() local 869 item = ha->copp_waitlist.head; in __ips_eh_reset() 870 while ((item) && (item->scsi_cmd != SC)) in __ips_eh_reset() 871 item = item->next; in __ips_eh_reset() [all …]
|
/linux-4.4.14/drivers/staging/wlan-ng/ |
D | prism2mgmt.c | 374 hfa384x_HScanResultSub_t *item = NULL; in prism2mgmt_scan_results() local 402 item = &(hw->scanresults->info.hscanresult.result[req->bssindex.data]); in prism2mgmt_scan_results() 406 req->signal.data = le16_to_cpu(item->sl); in prism2mgmt_scan_results() 407 req->noise.data = le16_to_cpu(item->anl); in prism2mgmt_scan_results() 412 memcpy(req->bssid.data.data, item->bssid, WLAN_BSSID_LEN); in prism2mgmt_scan_results() 416 req->ssid.data.len = le16_to_cpu(item->ssid.len); in prism2mgmt_scan_results() 418 memcpy(req->ssid.data.data, item->ssid.data, req->ssid.data.len); in prism2mgmt_scan_results() 422 if (item->supprates[count] == 0) in prism2mgmt_scan_results() 428 item->supprates[(N)-1])) { \ in prism2mgmt_scan_results() 429 req->basicrate ## N .data = item->supprates[(N)-1]; \ in prism2mgmt_scan_results() [all …]
|
/linux-4.4.14/net/netfilter/ |
D | nf_conntrack_ecache.c | 124 struct nf_ct_event item; in nf_ct_deliver_cached_events() local 149 item.ct = ct; in nf_ct_deliver_cached_events() 150 item.portid = 0; in nf_ct_deliver_cached_events() 151 item.report = 0; in nf_ct_deliver_cached_events() 153 ret = notify->fcn(events | missed, &item); in nf_ct_deliver_cached_events()
|
D | nf_conntrack_h323_main.c | 920 &setup->fastStart.item[i]); in process_setup() 953 &callproc->fastStart.item[i]); in process_callproceeding() 985 &connect->fastStart.item[i]); in process_connect() 1017 &alert->fastStart.item[i]); in process_alerting() 1058 &facility->fastStart.item[i]); in process_facility() 1090 &progress->fastStart.item[i]); in process_progress() 1149 &pdu->h245Control.item[i]); in process_q931() 1422 rrq->callSignalAddress.item, in process_rrq() 1431 rrq->rasAddress.item, in process_rrq() 1464 rcf->callSignalAddress.item, in process_rcf() [all …]
|
/linux-4.4.14/scripts/basic/ |
D | fixdep.c | 141 struct item { struct 142 struct item *next; argument 149 static struct item *hashtab[HASHSZ]; argument 166 struct item *aux; in is_defined_config() 181 struct item *aux = malloc(sizeof(*aux) + len); in define_config()
|
/linux-4.4.14/sound/pci/oxygen/ |
D | xonar_dg_mixer.c | 76 value->value.enumerated.item[0] = data->output_sel; in output_select_get() 86 unsigned int new = value->value.enumerated.item[0]; in output_select_put() 296 value->value.enumerated.item[0] = data->input_sel; in input_sel_get() 309 if (value->value.enumerated.item[0] > 3) in input_sel_put() 313 changed = value->value.enumerated.item[0] != data->input_sel; in input_sel_put() 315 data->input_sel = value->value.enumerated.item[0]; in input_sel_put() 342 value->value.enumerated.item[0] = in hpf_get() 356 if (value->value.enumerated.item[0]) in hpf_put()
|
D | xonar_pcm179x.c | 741 value->value.enumerated.item[0] = in rolloff_get() 759 if (!value->value.enumerated.item[0]) in rolloff_put() 807 value->value.enumerated.item[0] = 0; in st_output_switch_get() 809 value->value.enumerated.item[0] = 1; in st_output_switch_get() 811 value->value.enumerated.item[0] = 2; in st_output_switch_get() 826 switch (value->value.enumerated.item[0]) { in st_output_switch_put() 862 value->value.enumerated.item[0] = 0; in st_hp_volume_offset_get() 864 value->value.enumerated.item[0] = 1; in st_hp_volume_offset_get() 866 value->value.enumerated.item[0] = 2; in st_hp_volume_offset_get() 868 value->value.enumerated.item[0] = 3; in st_hp_volume_offset_get() [all …]
|
D | oxygen.c | 454 value->value.enumerated.item[0] = in rolloff_get() 470 if (value->value.enumerated.item[0]) in rolloff_put() 505 value->value.enumerated.item[0] = in hpf_get() 519 if (value->value.enumerated.item[0]) in hpf_put() 557 value->value.enumerated.item[0] = in meridian_dig_source_get() 568 value->value.enumerated.item[0] = in claro_dig_source_get() 584 if (value->value.enumerated.item[0] == 0) in meridian_dig_source_put() 605 if (value->value.enumerated.item[0]) in claro_dig_source_put()
|
D | xonar_wm87x6.c | 673 value->value.enumerated.item[0] = ctl->private_value & 0xf; in wm8776_field_enum_get() 687 return wm8776_field_set(ctl, value->value.enumerated.item[0]); in wm8776_field_enum_put() 872 value->value.enumerated.item[0] = 0; in wm8776_level_control_get() 875 value->value.enumerated.item[0] = 1; in wm8776_level_control_get() 877 value->value.enumerated.item[0] = 2; in wm8776_level_control_get() 905 if (value->value.enumerated.item[0] >= 3) in wm8776_level_control_put() 908 changed = value->value.enumerated.item[0] != ctl->private_value; in wm8776_level_control_put() 910 ctl->private_value = value->value.enumerated.item[0]; in wm8776_level_control_put() 913 switch (value->value.enumerated.item[0]) { in wm8776_level_control_put() 956 value->value.enumerated.item[0] = in hpf_get() [all …]
|
/linux-4.4.14/tools/testing/ktest/ |
D | ktest.pl | 3059 foreach my $item (keys %a) { 3060 if (defined($b{$item}) && $b{$item} ne $a{$item}) { 3061 $ret{$item} = $b{$item}; 3078 foreach my $item (keys %b) { 3079 if (!defined($a{$item})) { 3080 $ret{$item} = $b{$item}; 3100 foreach my $item (keys %b) { 3101 if (!defined($a{$item})) { 3104 if ($a{$item} ne $b{$item}) { 3109 foreach my $item (keys %a) { [all …]
|
/linux-4.4.14/drivers/platform/x86/ |
D | sony-laptop.c | 974 struct sony_nc_value *item = in sony_nc_sysfs_show() local 977 if (!*item->acpiget) in sony_nc_sysfs_show() 980 ret = sony_nc_int_call(sony_nc_acpi_handle, *item->acpiget, NULL, in sony_nc_sysfs_show() 985 if (item->validate) in sony_nc_sysfs_show() 986 value = item->validate(SNC_VALIDATE_OUT, value); in sony_nc_sysfs_show() 997 struct sony_nc_value *item = in sony_nc_sysfs_store() local 1000 if (!item->acpiset) in sony_nc_sysfs_store() 1009 if (item->validate) in sony_nc_sysfs_store() 1010 value = item->validate(SNC_VALIDATE_IN, value); in sony_nc_sysfs_store() 1015 ret = sony_nc_int_call(sony_nc_acpi_handle, *item->acpiset, in sony_nc_sysfs_store() [all …]
|
/linux-4.4.14/drivers/target/loopback/ |
D | tcm_loop.c | 765 struct config_item *item, char *page) in tcm_loop_tpg_attrib_fabric_prot_type_show() argument 767 struct se_portal_group *se_tpg = attrib_to_tpg(item); in tcm_loop_tpg_attrib_fabric_prot_type_show() 775 struct config_item *item, const char *page, size_t count) in tcm_loop_tpg_attrib_fabric_prot_type_store() argument 777 struct se_portal_group *se_tpg = attrib_to_tpg(item); in tcm_loop_tpg_attrib_fabric_prot_type_store() 894 static ssize_t tcm_loop_tpg_nexus_show(struct config_item *item, char *page) in tcm_loop_tpg_nexus_show() argument 896 struct se_portal_group *se_tpg = to_tpg(item); in tcm_loop_tpg_nexus_show() 912 static ssize_t tcm_loop_tpg_nexus_store(struct config_item *item, in tcm_loop_tpg_nexus_store() argument 915 struct se_portal_group *se_tpg = to_tpg(item); in tcm_loop_tpg_nexus_store() 990 static ssize_t tcm_loop_tpg_transport_status_show(struct config_item *item, in tcm_loop_tpg_transport_status_show() argument 993 struct se_portal_group *se_tpg = to_tpg(item); in tcm_loop_tpg_transport_status_show() [all …]
|
/linux-4.4.14/sound/soc/intel/haswell/ |
D | sst-haswell-ipc.c | 1434 int ret, item; in sst_hsw_dx_set_state() local 1448 for (item = 0; item < dx->entries_no; item++) { in sst_hsw_dx_set_state() 1451 item, dx->mem_info[item].offset, in sst_hsw_dx_set_state() 1452 dx->mem_info[item].size, in sst_hsw_dx_set_state() 1453 dx->mem_info[item].source); in sst_hsw_dx_set_state() 1506 u32 item, offset, size; in sst_hsw_dx_state_dump() local 1530 for (item = 0; item < hsw->dx.entries_no; item++) { in sst_hsw_dx_state_dump() 1531 if (hsw->dx.mem_info[item].source == SST_HSW_DX_TYPE_MEMORY_DUMP in sst_hsw_dx_state_dump() 1532 && hsw->dx.mem_info[item].offset > DSP_DRAM_ADDR_OFFSET in sst_hsw_dx_state_dump() 1533 && hsw->dx.mem_info[item].offset < in sst_hsw_dx_state_dump() [all …]
|
/linux-4.4.14/Documentation/cdrom/ |
D | cdrom-standard.tex | 38 \item 41 \item 44 \item 200 \item[$cdrom_device_ops$] 205 \item[$cdrom_device_info$] 350 \item[0] Open for reading data, as done by {\tt {mount()}} (2), or the 352 \item[1] Open for $ioctl$ commands, as done by audio-CD playing 403 \item[0] Close tray 404 \item[1] Open tray 416 \item[0] Unlock door, manual opening is allowed [all …]
|
/linux-4.4.14/sound/drivers/ |
D | dummy.c | 835 value->value.enumerated.item[0] = dummy->iobox; in snd_dummy_iobox_get() 845 if (value->value.enumerated.item[0] > 1) in snd_dummy_iobox_put() 848 changed = value->value.enumerated.item[0] != dummy->iobox; in snd_dummy_iobox_put() 850 dummy->iobox = value->value.enumerated.item[0]; in snd_dummy_iobox_put() 962 #define FIELD_ENTRY(item, fmt) { \ argument 963 .name = #item, \ 965 .offset = offsetof(struct snd_pcm_hardware, item), \ 966 .size = sizeof(dummy_pcm_hardware.item) } 1011 char item[20]; in dummy_proc_write() local 1016 ptr = snd_info_get_str(item, line, sizeof(item)); in dummy_proc_write() [all …]
|
/linux-4.4.14/lib/ |
D | radix-tree.c | 449 unsigned long index, void *item) in radix_tree_insert() argument 455 BUG_ON(radix_tree_is_indirect_ptr(item)); in radix_tree_insert() 462 rcu_assign_pointer(*slot, item); in radix_tree_insert() 1161 static unsigned long __locate(struct radix_tree_node *slot, void *item, in __locate() argument 1192 if (slot->slots[i] == item) { in __locate() 1212 unsigned long radix_tree_locate_item(struct radix_tree_root *root, void *item) in radix_tree_locate_item() argument 1224 if (node == item) in radix_tree_locate_item() 1237 cur_index = __locate(node, item, cur_index, &found_index); in radix_tree_locate_item() 1245 unsigned long radix_tree_locate_item(struct radix_tree_root *root, void *item) in radix_tree_locate_item() argument 1377 unsigned long index, void *item) in radix_tree_delete_item() argument [all …]
|
/linux-4.4.14/arch/x86/boot/compressed/ |
D | aslr.c | 115 static bool mem_contains(struct mem_vector *region, struct mem_vector *item) in mem_contains() argument 118 if (item->start < region->start) in mem_contains() 121 if (item->start + item->size > region->start + region->size) in mem_contains()
|
/linux-4.4.14/drivers/net/team/ |
D | team_mode_loadbalance.c | 151 const struct lb_select_tx_port *item; in lb_select_tx_port_get_name() local 153 item = &lb_select_tx_port_list[i]; in lb_select_tx_port_get_name() 154 if (item->func == func) in lb_select_tx_port_get_name() 155 return item->name; in lb_select_tx_port_get_name() 165 const struct lb_select_tx_port *item; in lb_select_tx_port_get_func() local 167 item = &lb_select_tx_port_list[i]; in lb_select_tx_port_get_func() 168 if (!strcmp(item->name, name)) in lb_select_tx_port_get_func() 169 return item->func; in lb_select_tx_port_get_func()
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
D | tcm_qla2xxx.c | 731 struct config_item *item, char *page) \ 733 struct se_portal_group *se_tpg = attrib_to_tpg(item); \ 741 struct config_item *item, const char *page, size_t count) \ 743 struct se_portal_group *se_tpg = attrib_to_tpg(item); \ 785 static ssize_t tcm_qla2xxx_tpg_enable_show(struct config_item *item, in tcm_qla2xxx_tpg_enable_show() argument 788 struct se_portal_group *se_tpg = to_tpg(item); in tcm_qla2xxx_tpg_enable_show() 824 static ssize_t tcm_qla2xxx_tpg_enable_store(struct config_item *item, in tcm_qla2xxx_tpg_enable_store() argument 827 struct se_portal_group *se_tpg = to_tpg(item); in tcm_qla2xxx_tpg_enable_store() 867 static ssize_t tcm_qla2xxx_tpg_dynamic_sessions_show(struct config_item *item, in tcm_qla2xxx_tpg_dynamic_sessions_show() argument 870 return target_show_dynamic_sessions(to_tpg(item), page); in tcm_qla2xxx_tpg_dynamic_sessions_show() [all …]
|
/linux-4.4.14/tools/lib/traceevent/ |
D | event-parse.c | 163 struct cmdline_list *item; in cmdline_init() local 176 item = cmdlist; in cmdline_init() 178 free(item); in cmdline_init() 298 struct cmdline_list *item; in pevent_register_comm() local 303 item = malloc(sizeof(*item)); in pevent_register_comm() 304 if (!item) in pevent_register_comm() 308 item->comm = strdup(comm); in pevent_register_comm() 310 item->comm = strdup("<...>"); in pevent_register_comm() 311 if (!item->comm) { in pevent_register_comm() 312 free(item); in pevent_register_comm() [all …]
|
/linux-4.4.14/sound/pci/asihpi/ |
D | asihpi.c | 1725 ucontrol->value.enumerated.item[0] = 0; in snd_asihpi_aesebu_format_get() 1730 ucontrol->value.enumerated.item[0] = 1; in snd_asihpi_aesebu_format_get() 1732 ucontrol->value.enumerated.item[0] = 2; in snd_asihpi_aesebu_format_get() 1746 if (ucontrol->value.enumerated.item[0] == 1) in snd_asihpi_aesebu_format_put() 1748 if (ucontrol->value.enumerated.item[0] == 2) in snd_asihpi_aesebu_format_put() 1958 ucontrol->value.enumerated.item[0] = -1; in snd_asihpi_tuner_band_get() 1961 ucontrol->value.enumerated.item[0] = idx; in snd_asihpi_tuner_band_get() 1983 idx = ucontrol->value.enumerated.item[0]; in snd_asihpi_tuner_band_put() 2217 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in snd_asihpi_mux_info() 2218 uinfo->value.enumerated.item = in snd_asihpi_mux_info() [all …]
|
/linux-4.4.14/fs/jffs2/ |
D | summary.c | 63 static int jffs2_sum_add_mem(struct jffs2_summary *s, union jffs2_sum_mem *item) in jffs2_sum_add_mem() argument 66 s->sum_list_head = (union jffs2_sum_mem *) item; in jffs2_sum_add_mem() 68 s->sum_list_tail->u.next = (union jffs2_sum_mem *) item; in jffs2_sum_add_mem() 69 s->sum_list_tail = (union jffs2_sum_mem *) item; in jffs2_sum_add_mem() 71 switch (je16_to_cpu(item->u.nodetype)) { in jffs2_sum_add_mem() 76 je32_to_cpu(item->i.inode)); in jffs2_sum_add_mem() 79 s->sum_size += JFFS2_SUMMARY_DIRENT_SIZE(item->d.nsize); in jffs2_sum_add_mem() 82 je32_to_cpu(item->d.ino)); in jffs2_sum_add_mem() 89 je32_to_cpu(item->x.xid), je32_to_cpu(item->x.version)); in jffs2_sum_add_mem() 99 je16_to_cpu(item->u.nodetype)); in jffs2_sum_add_mem()
|
/linux-4.4.14/Documentation/RCU/ |
D | rcu.txt | 6 item being destroyed, and one that actually carries out the destruction. 8 must be long enough that any readers accessing the item being deleted have 10 from a linked list would first remove the item from the list, wait for 34 read-side critical sections. So, if we remove an item from a 37 safely free up that item.
|
/linux-4.4.14/sound/usb/line6/ |
D | toneport.c | 203 if (uinfo->value.enumerated.item >= size) in snd_toneport_source_info() 204 uinfo->value.enumerated.item = size - 1; in snd_toneport_source_info() 207 toneport_source_info[uinfo->value.enumerated.item].name); in snd_toneport_source_info() 219 ucontrol->value.enumerated.item[0] = toneport->source; in snd_toneport_source_get() 232 source = ucontrol->value.enumerated.item[0]; in snd_toneport_source_put()
|
/linux-4.4.14/sound/pci/hda/ |
D | hda_auto_parser.c | 128 struct auto_pin_cfg_item *item, in can_be_headset_mic() argument 133 if (item->type != AUTO_PIN_MIC) in can_be_headset_mic() 136 if (item->is_headset_mic || item->is_headphone_mic) in can_be_headset_mic() 139 def_conf = snd_hda_codec_get_pincfg(codec, item->pin); in can_be_headset_mic() 483 const struct auto_pin_cfg_item *item, in hda_get_input_pin_label() argument 496 if (item && item->is_headset_mic) in hda_get_input_pin_label() 498 if (item && item->is_headphone_mic) in hda_get_input_pin_label()
|
D | hda_proc.c | 66 struct hda_nid_item *items = array->list, *item; in print_nid_array() local 69 item = &items[i]; in print_nid_array() 70 if (item->nid == nid) { in print_nid_array() 71 kctl = item->kctl; in print_nid_array() 74 kctl->id.name, kctl->id.index + item->index, in print_nid_array() 76 if (item->flags & HDA_NID_ITEM_AMP) in print_nid_array()
|
/linux-4.4.14/drivers/target/sbp/ |
D | sbp_target.c | 2112 static ssize_t sbp_wwn_version_show(struct config_item *item, char *page) in sbp_wwn_version_show() argument 2124 static ssize_t sbp_tpg_directory_id_show(struct config_item *item, char *page) in sbp_tpg_directory_id_show() argument 2126 struct se_portal_group *se_tpg = to_tpg(item); in sbp_tpg_directory_id_show() 2136 static ssize_t sbp_tpg_directory_id_store(struct config_item *item, in sbp_tpg_directory_id_store() argument 2139 struct se_portal_group *se_tpg = to_tpg(item); in sbp_tpg_directory_id_store() 2163 static ssize_t sbp_tpg_enable_show(struct config_item *item, char *page) in sbp_tpg_enable_show() argument 2165 struct se_portal_group *se_tpg = to_tpg(item); in sbp_tpg_enable_show() 2171 static ssize_t sbp_tpg_enable_store(struct config_item *item, in sbp_tpg_enable_store() argument 2174 struct se_portal_group *se_tpg = to_tpg(item); in sbp_tpg_enable_store() 2223 static ssize_t sbp_tpg_attrib_mgt_orb_timeout_show(struct config_item *item, in sbp_tpg_attrib_mgt_orb_timeout_show() argument [all …]
|
/linux-4.4.14/sound/isa/msnd/ |
D | msnd_pinnacle_mixer.c | 72 ucontrol->value.enumerated.item[0] = 0; in snd_msndmix_get_mux() 75 ucontrol->value.enumerated.item[0] = 1; in snd_msndmix_get_mux() 78 ucontrol->value.enumerated.item[0] = 2; in snd_msndmix_get_mux() 123 return snd_msndmix_set_mux(msnd, ucontrol->value.enumerated.item[0]); in snd_msndmix_put_mux()
|
/linux-4.4.14/sound/pci/rme9652/ |
D | hdsp.c | 1692 ucontrol->value.enumerated.item[0] = hdsp_spdif_in(hdsp); in snd_hdsp_get_spdif_in() 1704 val = ucontrol->value.enumerated.item[0] % ((hdsp->io_type == H9632) ? 4 : 3); in snd_hdsp_put_spdif_in() 1798 ucontrol->value.enumerated.item[0] = 0; in snd_hdsp_get_spdif_sample_rate() 1801 ucontrol->value.enumerated.item[0] = 1; in snd_hdsp_get_spdif_sample_rate() 1804 ucontrol->value.enumerated.item[0] = 2; in snd_hdsp_get_spdif_sample_rate() 1807 ucontrol->value.enumerated.item[0] = 3; in snd_hdsp_get_spdif_sample_rate() 1810 ucontrol->value.enumerated.item[0] = 4; in snd_hdsp_get_spdif_sample_rate() 1813 ucontrol->value.enumerated.item[0] = 5; in snd_hdsp_get_spdif_sample_rate() 1816 ucontrol->value.enumerated.item[0] = 7; in snd_hdsp_get_spdif_sample_rate() 1819 ucontrol->value.enumerated.item[0] = 8; in snd_hdsp_get_spdif_sample_rate() [all …]
|
D | hdspm.c | 2427 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate() 2431 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate() 2435 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate() 2439 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate() 2448 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate() 2452 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate() 2456 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate() 2460 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate() 2470 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate() 2474 ucontrol->value.enumerated.item[0] = in snd_hdspm_get_autosync_sample_rate() [all …]
|
/linux-4.4.14/drivers/media/usb/ttusb-dec/ |
D | ttusb_dec.c | 519 struct list_head *item; in ttusb_dec_process_filter() local 527 for (item = dec->filter_info_list.next; item != &dec->filter_info_list; in ttusb_dec_process_filter() 528 item = item->next) { in ttusb_dec_process_filter() 529 finfo = list_entry(item, struct filter_info, filter_info_list); in ttusb_dec_process_filter() 731 struct list_head *item; in ttusb_dec_process_urb_frame_list() local 737 if ((item = dec->urb_frame_list.next) != &dec->urb_frame_list) { in ttusb_dec_process_urb_frame_list() 738 frame = list_entry(item, struct urb_frame, in ttusb_dec_process_urb_frame_list() 1571 struct list_head *item; in ttusb_dec_exit_tasklet() local 1576 while ((item = dec->urb_frame_list.next) != &dec->urb_frame_list) { in ttusb_dec_exit_tasklet() 1577 frame = list_entry(item, struct urb_frame, urb_frame_list); in ttusb_dec_exit_tasklet() [all …]
|
/linux-4.4.14/drivers/infiniband/hw/mlx5/ |
D | cq.c | 379 struct ib_sig_err *item) in get_sig_err_item() argument 388 item->err_type = IB_SIG_BAD_GUARD; in get_sig_err_item() 389 item->expected = be32_to_cpu(cqe->expected_trans_sig) >> 16; in get_sig_err_item() 390 item->actual = be32_to_cpu(cqe->actual_trans_sig) >> 16; in get_sig_err_item() 393 item->err_type = IB_SIG_BAD_REFTAG; in get_sig_err_item() 394 item->expected = be32_to_cpu(cqe->expected_reftag); in get_sig_err_item() 395 item->actual = be32_to_cpu(cqe->actual_reftag); in get_sig_err_item() 398 item->err_type = IB_SIG_BAD_APPTAG; in get_sig_err_item() 399 item->expected = be32_to_cpu(cqe->expected_trans_sig) & 0xffff; in get_sig_err_item() 400 item->actual = be32_to_cpu(cqe->actual_trans_sig) & 0xffff; in get_sig_err_item() [all …]
|
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs_ioctl.h | 92 struct list_head item; member 98 /* .item = */ LIST_HEAD_INIT(ident.item), \
|
/linux-4.4.14/sound/firewire/bebob/ |
D | bebob_maudio.c | 372 uval->value.enumerated.item[0] = params->clk_src; in special_clk_ctl_get() 382 id = uval->value.enumerated.item[0]; in special_clk_ctl_put() 476 uval->value.enumerated.item[0] = val; in special_dig_in_iface_ctl_get() 489 id = uval->value.enumerated.item[0]; in special_dig_in_iface_ctl_set() 550 uval->value.enumerated.item[0] = params->dig_out_fmt; in special_dig_out_iface_ctl_get() 562 id = uval->value.enumerated.item[0]; in special_dig_out_iface_ctl_set()
|
/linux-4.4.14/sound/pci/emu10k1/ |
D | emumixer.c | 415 ucontrol->value.enumerated.item[0] = emu->emu1010.output_source[channel]; in snd_emu1010_output_source_get() 426 val = ucontrol->value.enumerated.item[0]; in snd_emu1010_output_source_put() 459 ucontrol->value.enumerated.item[0] = emu->emu1010.input_source[channel]; in snd_emu1010_input_source_get() 470 val = ucontrol->value.enumerated.item[0]; in snd_emu1010_input_source_put() 702 ucontrol->value.enumerated.item[0] = emu->emu1010.internal_clock; in snd_emu1010_internal_clock_get() 713 val = ucontrol->value.enumerated.item[0] ; in snd_emu1010_internal_clock_put() 824 ucontrol->value.enumerated.item[0] = emu->emu1010.optical_out; in snd_emu1010_optical_out_get() 836 val = ucontrol->value.enumerated.item[0]; in snd_emu1010_optical_out_put() 875 ucontrol->value.enumerated.item[0] = emu->emu1010.optical_in; in snd_emu1010_optical_in_get() 887 val = ucontrol->value.enumerated.item[0]; in snd_emu1010_optical_in_put() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/ |
D | module.c | 219 if (!list_empty(&hand->item)) in libcfs_register_ioctl() 222 list_add_tail(&hand->item, &ioctl_list); in libcfs_register_ioctl() 234 if (list_empty(&hand->item)) in libcfs_deregister_ioctl() 237 list_del_init(&hand->item); in libcfs_deregister_ioctl() 282 list_for_each_entry(hand, &ioctl_list, item) { in libcfs_ioctl_int()
|
/linux-4.4.14/sound/aoa/soundbus/i2sbus/ |
D | control.c | 69 list_add(&i2sdev->item, &c->list); in i2sbus_control_add_dev() 78 list_del(&i2sdev->item); in i2sbus_control_remove_dev()
|
D | core.c | 367 list_for_each_entry_safe(i2sdev, tmp, &control->list, item) in i2sbus_remove() 381 list_for_each_entry(i2sdev, &control->list, item) { in i2sbus_suspend() 409 list_for_each_entry(i2sdev, &control->list, item) { in i2sbus_resume()
|
/linux-4.4.14/drivers/gpu/drm/msm/hdmi/ |
D | hdmi.c | 327 #define HDMI_CFG(item, entry) \ argument 328 .item ## _names = item ##_names_ ## entry, \ 329 .item ## _cnt = ARRAY_SIZE(item ## _names_ ## entry)
|
/linux-4.4.14/arch/x86/kernel/ |
D | alternative.c | 522 struct smp_alt_module *item; in alternatives_smp_module_del() local 525 list_for_each_entry(item, &smp_alt_modules, next) { in alternatives_smp_module_del() 526 if (mod != item->mod) in alternatives_smp_module_del() 528 list_del(&item->next); in alternatives_smp_module_del() 529 kfree(item); in alternatives_smp_module_del()
|
/linux-4.4.14/sound/drivers/vx/ |
D | vx_mixer.c | 491 ucontrol->value.enumerated.item[0] = chip->audio_source_target; in vx_audio_src_get() 500 if (ucontrol->value.enumerated.item[0] > 2) in vx_audio_src_put() 503 if (ucontrol->value.enumerated.item[0] > 1) in vx_audio_src_put() 507 if (chip->audio_source_target != ucontrol->value.enumerated.item[0]) { in vx_audio_src_put() 508 chip->audio_source_target = ucontrol->value.enumerated.item[0]; in vx_audio_src_put() 540 ucontrol->value.enumerated.item[0] = chip->clock_mode; in vx_clock_mode_get() 548 if (ucontrol->value.enumerated.item[0] > 2) in vx_clock_mode_put() 551 if (chip->clock_mode != ucontrol->value.enumerated.item[0]) { in vx_clock_mode_put() 552 chip->clock_mode = ucontrol->value.enumerated.item[0]; in vx_clock_mode_put()
|
/linux-4.4.14/drivers/net/fddi/ |
D | defxx.c | 1340 bp->cmd_req_virt->char_set.item[0].item_code = PI_ITEM_K_FLUSH_TIME; in dfx_adap_init() 1341 bp->cmd_req_virt->char_set.item[0].value = 3; /* 3 seconds */ in dfx_adap_init() 1342 bp->cmd_req_virt->char_set.item[0].item_index = 0; in dfx_adap_init() 1343 bp->cmd_req_virt->char_set.item[1].item_code = PI_ITEM_K_EOL; in dfx_adap_init() 1353 bp->cmd_req_virt->snmp_set.item[0].item_code = PI_ITEM_K_FDX_ENB_DIS; in dfx_adap_init() 1354 bp->cmd_req_virt->snmp_set.item[0].value = bp->full_duplex_enb; in dfx_adap_init() 1355 bp->cmd_req_virt->snmp_set.item[0].item_index = 0; in dfx_adap_init() 1356 bp->cmd_req_virt->snmp_set.item[1].item_code = PI_ITEM_K_MAC_T_REQ; in dfx_adap_init() 1357 bp->cmd_req_virt->snmp_set.item[1].value = bp->req_ttrt; in dfx_adap_init() 1358 bp->cmd_req_virt->snmp_set.item[1].item_index = 0; in dfx_adap_init() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_lib.c | 61 struct obd_import_conn *imp_conn = NULL, *item; in import_set_conn() local 84 list_for_each_entry(item, &imp->imp_conn_list, oic_item) { in import_set_conn() 85 if (obd_uuid_equals(uuid, &item->oic_uuid)) { in import_set_conn() 87 list_del(&item->oic_item); in import_set_conn() 88 list_add(&item->oic_item, in import_set_conn() 90 item->oic_last_attempt = 0; in import_set_conn()
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | configfs-usb-gadget-phonet | 6 This item contains just one readonly attribute: ifname.
|
D | configfs-usb-gadget-acm | 6 This item contains just one readonly attribute: port_num.
|
D | configfs-usb-gadget-obex | 6 This item contains just one readonly attribute: port_num.
|
D | configfs-usb-gadget-serial | 6 This item contains just one readonly attribute: port_num.
|
/linux-4.4.14/sound/isa/ |
D | cmi8328.c | 195 int array_find(int array[], int item) in array_find() argument 200 if (array[i] == item) in array_find() 206 int array_find_l(long array[], long item) in array_find_l() argument 211 if (array[i] == item) in array_find_l()
|
/linux-4.4.14/sound/core/ |
D | control.c | 1057 unsigned int item; in snd_ctl_elem_user_enum_info() local 1060 item = uinfo->value.enumerated.item; in snd_ctl_elem_user_enum_info() 1066 item = min(item, uinfo->value.enumerated.items - 1); in snd_ctl_elem_user_enum_info() 1067 uinfo->value.enumerated.item = item; in snd_ctl_elem_user_enum_info() 1070 for (; item > 0; --item) in snd_ctl_elem_user_enum_info() 1885 if (info->value.enumerated.item >= items) in snd_ctl_enum_info() 1886 info->value.enumerated.item = items - 1; in snd_ctl_enum_info() 1887 WARN(strlen(names[info->value.enumerated.item]) >= sizeof(info->value.enumerated.name), in snd_ctl_enum_info() 1889 names[info->value.enumerated.item]); in snd_ctl_enum_info() 1891 names[info->value.enumerated.item], in snd_ctl_enum_info()
|
/linux-4.4.14/sound/soc/codecs/ |
D | wm8958-dsp2.c | 462 int value = ucontrol->value.enumerated.item[0]; in wm8958_put_mbc_enum() 484 ucontrol->value.enumerated.item[0] = wm8994->mbc_cfg; in wm8958_get_mbc_enum() 552 int value = ucontrol->value.enumerated.item[0]; in wm8958_put_vss_enum() 574 ucontrol->value.enumerated.item[0] = wm8994->vss_cfg; in wm8958_get_vss_enum() 585 int value = ucontrol->value.enumerated.item[0]; in wm8958_put_vss_hpf_enum() 607 ucontrol->value.enumerated.item[0] = wm8994->vss_hpf_cfg; in wm8958_get_vss_hpf_enum() 752 int value = ucontrol->value.enumerated.item[0]; in wm8958_put_enh_eq_enum() 774 ucontrol->value.enumerated.item[0] = wm8994->enh_eq_cfg; in wm8958_get_enh_eq_enum()
|
D | adau17x1.c | 166 if (ucontrol->value.enumerated.item[0] >= e->items) in adau17x1_dsp_mux_enum_put() 169 switch (ucontrol->value.enumerated.item[0]) { in adau17x1_dsp_mux_enum_put() 193 ucontrol->value.enumerated.item[0], e, &update); in adau17x1_dsp_mux_enum_put() 220 ucontrol->value.enumerated.item[0] = val; in adau17x1_dsp_mux_enum_get()
|
/linux-4.4.14/sound/pci/ice1712/ |
D | ice1712.c | 1837 ucontrol->value.enumerated.item[0] = 13; in snd_ice1712_pro_internal_clock_get() 1844 ucontrol->value.enumerated.item[0] = val; in snd_ice1712_pro_internal_clock_get() 1863 if (ucontrol->value.enumerated.item[0] == 13) { in snd_ice1712_pro_internal_clock_put() 1925 ucontrol->value.enumerated.item[0] = val; in snd_ice1712_pro_internal_clock_default_get() 2049 ucontrol->value.enumerated.item[0] = 11; in snd_ice1712_pro_route_analog_get() 2051 ucontrol->value.enumerated.item[0] = (cval & 7) + 1; in snd_ice1712_pro_route_analog_get() 2053 ucontrol->value.enumerated.item[0] = ((cval >> 3) & 1) + 9; in snd_ice1712_pro_route_analog_get() 2055 ucontrol->value.enumerated.item[0] = 0; in snd_ice1712_pro_route_analog_get() 2068 if (ucontrol->value.enumerated.item[0] >= 11) in snd_ice1712_pro_route_analog_put() 2070 else if (ucontrol->value.enumerated.item[0] >= 9) in snd_ice1712_pro_route_analog_put() [all …]
|
D | ice1724.c | 1866 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in snd_vt1724_pro_internal_clock_info() 1867 uinfo->value.enumerated.item = uinfo->value.enumerated.items - 1; in snd_vt1724_pro_internal_clock_info() 1868 if (uinfo->value.enumerated.item >= hw_rates_count) in snd_vt1724_pro_internal_clock_info() 1872 uinfo->value.enumerated.item - hw_rates_count]); in snd_vt1724_pro_internal_clock_info() 1876 ice->hw_rates->list[uinfo->value.enumerated.item]); in snd_vt1724_pro_internal_clock_info() 1888 ucontrol->value.enumerated.item[0] = ice->hw_rates->count + in snd_vt1724_pro_internal_clock_get() 1892 ucontrol->value.enumerated.item[0] = 0; in snd_vt1724_pro_internal_clock_get() 1895 ucontrol->value.enumerated.item[0] = i; in snd_vt1724_pro_internal_clock_get() 1929 unsigned int item = ucontrol->value.enumerated.item[0]; in snd_vt1724_pro_internal_clock_put() local 1932 if (item > first_ext_clock + ice->ext_clock_count - 1) in snd_vt1724_pro_internal_clock_put() [all …]
|
D | maya44.c | 375 ucontrol->value.enumerated.item[0] = sel; in maya_rec_src_get() 383 int sel = ucontrol->value.enumerated.item[0]; in maya_rec_src_put() 421 ucontrol->value.enumerated.item[0] = in maya_pb_route_get() 432 ucontrol->value.enumerated.item[0], in maya_pb_route_put()
|
D | prodigy192.c | 298 ucontrol->value.enumerated.item[0] = (val >> 7) & 0x1; in stac9460_mic_sw_get() 309 new = (ucontrol->value.enumerated.item[0] << 7 & 0x80) | (old & ~0x80); in stac9460_mic_sw_put() 572 ucontrol->value.enumerated.item[0] = (val & AK4114_IPS0) ? 1 : 0; in ak4114_input_sw_get() 585 itemvalue = (ucontrol->value.enumerated.item[0]) ? 0xff : 0x00; in ak4114_input_sw_put()
|
D | ews.c | 592 ucontrol->value.enumerated.item[0] = snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA) & mask ? 1 : 0; in snd_ice1712_ewx_io_sense_get() 605 nval = ucontrol->value.enumerated.item[0] ? mask : 0; in snd_ice1712_ewx_io_sense_put() 650 …ucontrol->value.enumerated.item[0] = data & ICE1712_EWS88MT_OUTPUT_SENSE ? 1 : 0; /* high = -10dBV… in snd_ice1712_ews88mt_output_sense_get() 666 …ndata = (data & ~ICE1712_EWS88MT_OUTPUT_SENSE) | (ucontrol->value.enumerated.item[0] ? ICE1712_EWS… in snd_ice1712_ews88mt_output_sense_put() 692 ucontrol->value.enumerated.item[0] = data & (1 << channel) ? 0 : 1; in snd_ice1712_ews88mt_input_sense_get() 712 ndata = (data & ~(1 << channel)) | (ucontrol->value.enumerated.item[0] ? 0 : (1 << channel)); in snd_ice1712_ews88mt_input_sense_put()
|
D | aureon.c | 216 ucontrol->value.enumerated.item[0] = spec->pca9554_out; in aureon_universe_inmux_get() 228 nval = ucontrol->value.enumerated.item[0]; in aureon_universe_inmux_put() 1116 ucontrol->value.enumerated.item[0] = val & 7; in wm_adc_mux_get() 1117 ucontrol->value.enumerated.item[1] = (val >> 4) & 7; in wm_adc_mux_get() 1131 nval |= ucontrol->value.enumerated.item[0] & 7; in wm_adc_mux_put() 1132 nval |= (ucontrol->value.enumerated.item[1] & 7) << 4; in wm_adc_mux_put() 1167 ucontrol->value.enumerated.item[0] = spec->cs8415_mux; in aureon_cs8415_mux_get() 1182 nval |= ucontrol->value.enumerated.item[0] & 7; in aureon_cs8415_mux_put() 1187 spec->cs8415_mux = ucontrol->value.enumerated.item[0]; in aureon_cs8415_mux_put() 1379 ucontrol->value.enumerated.item[0] = (wm_get(ice, WM_MASTER) & 0x8) == 0x8; in aureon_oversampling_get() [all …]
|
/linux-4.4.14/drivers/net/ethernet/neterion/vxge/ |
D | vxge-config.c | 1117 list_del(&((struct __vxge_hw_blockpool_entry *)p)->item); in __vxge_hw_blockpool_destroy() 1123 list_del(&((struct __vxge_hw_blockpool_entry *)p)->item); in __vxge_hw_blockpool_destroy() 1170 list_add(&entry->item, &blockpool->free_entry_list); in __vxge_hw_blockpool_create() 1199 item); in __vxge_hw_blockpool_create() 1206 list_del(&entry->item); in __vxge_hw_blockpool_create() 1212 list_add(&entry->item, in __vxge_hw_blockpool_create() 2037 void *item) in __vxge_hw_ring_item_dma_addr() argument 2045 memblock_idx = __vxge_hw_ring_block_memblock_idx(item); in __vxge_hw_ring_item_dma_addr() 2054 dma_item_offset = (u8 *)item - (u8 *)memblock; in __vxge_hw_ring_item_dma_addr() 2099 void *item = mempoolh->items_arr[index]; in __vxge_hw_ring_mempool_item_alloc() local [all …]
|
/linux-4.4.14/sound/pci/ca0106/ |
D | ca0106_mixer.c | 200 ucontrol->value.enumerated.item[0] = emu->capture_source; in snd_ca0106_capture_source_get() 211 val = ucontrol->value.enumerated.item[0] ; in snd_ca0106_capture_source_put() 237 ucontrol->value.enumerated.item[0] = emu->i2c_capture_source; in snd_ca0106_i2c_capture_source_get() 251 source_id = ucontrol->value.enumerated.item[0] ; in snd_ca0106_i2c_capture_source_put() 282 ucontrol->value.enumerated.item[0] = emu->capture_mic_line_in; in snd_ca0106_capture_mic_line_in_get() 293 val = ucontrol->value.enumerated.item[0] ; in snd_ca0106_capture_mic_line_in_put()
|
/linux-4.4.14/include/xen/ |
D | grant_table.h | 204 void gnttab_unmap_refs_async(struct gntab_unmap_queue_data* item); 205 int gnttab_unmap_refs_sync(struct gntab_unmap_queue_data *item);
|
/linux-4.4.14/sound/soc/omap/ |
D | ams-delta.c | 111 if (ucontrol->value.enumerated.item[0] >= control->items) in ams_delta_set_audio_mode() 117 pins = ams_delta_audio_mode_pins[ucontrol->value.enumerated.item[0]]; in ams_delta_set_audio_mode() 199 ucontrol->value.enumerated.item[0] = mode; in ams_delta_get_audio_mode()
|
/linux-4.4.14/sound/pci/pcxhr/ |
D | pcxhr_mixer.c | 670 ucontrol->value.enumerated.item[0] = chip->audio_capture_source; in pcxhr_audio_src_get() 685 if (ucontrol->value.enumerated.item[0] >= i) in pcxhr_audio_src_put() 688 if (chip->audio_capture_source != ucontrol->value.enumerated.item[0]) { in pcxhr_audio_src_put() 689 chip->audio_capture_source = ucontrol->value.enumerated.item[0]; in pcxhr_audio_src_put() 759 ucontrol->value.enumerated.item[0] = mgr->use_clock_type; in pcxhr_clock_type_get() 774 if (ucontrol->value.enumerated.item[0] >= clock_items) in pcxhr_clock_type_put() 777 if (mgr->use_clock_type != ucontrol->value.enumerated.item[0]) { in pcxhr_clock_type_put() 779 mgr->use_clock_type = ucontrol->value.enumerated.item[0]; in pcxhr_clock_type_put()
|
/linux-4.4.14/scripts/kconfig/lxdialog/ |
D | menubox.c | 66 static void do_print_item(WINDOW * win, const char *item, int line_y, in do_print_item() argument 72 strncpy(menu_item, item, menu_width - item_x); in do_print_item() 88 wattrset(win, selected ? dlg.item_selected.atr : dlg.item.atr); in do_print_item()
|
/linux-4.4.14/sound/usb/ |
D | mixer_scarlett.c | 389 if (uinfo->value.enumerated.item >= items) in scarlett_ctl_enum_dynamic_info() 390 uinfo->value.enumerated.item = items - 1; in scarlett_ctl_enum_dynamic_info() 393 scarlett_generate_name(uinfo->value.enumerated.item, in scarlett_ctl_enum_dynamic_info() 423 ucontrol->value.enumerated.item[0] = val; in scarlett_ctl_enum_get() 476 ucontrol->value.enumerated.item[0] = clamp((int)buf[0], 0, 1); in scarlett_ctl_meter_get()
|
/linux-4.4.14/sound/isa/ad1816a/ |
D | ad1816a_lib.c | 746 ucontrol->value.enumerated.item[0] = (val >> 12) & 7; in snd_ad1816a_get_mux() 747 ucontrol->value.enumerated.item[1] = (val >> 4) & 7; in snd_ad1816a_get_mux() 758 if (ucontrol->value.enumerated.item[0] > 6 || in snd_ad1816a_put_mux() 759 ucontrol->value.enumerated.item[1] > 6) in snd_ad1816a_put_mux() 761 val = (ucontrol->value.enumerated.item[0] << 12) | in snd_ad1816a_put_mux() 762 (ucontrol->value.enumerated.item[1] << 4); in snd_ad1816a_put_mux()
|
/linux-4.4.14/drivers/net/wireless/orinoco/ |
D | orinoco_usb.c | 607 struct list_head *item; in ezusb_request_in_callback() local 609 list_for_each(item, &upriv->req_active) { in ezusb_request_in_callback() 613 c = list_entry(item, struct request_context, list); in ezusb_request_in_callback() 1448 struct list_head *item; in ezusb_delete() local 1463 list_for_each_safe(item, tmp_item, &upriv->req_active) { in ezusb_delete() 1467 ctx = list_entry(item, struct request_context, list); in ezusb_delete() 1488 list_for_each_safe(item, tmp_item, &upriv->req_pending) in ezusb_delete() 1489 ezusb_ctx_complete(list_entry(item, in ezusb_delete()
|
/linux-4.4.14/sound/pci/ |
D | rme96.c | 1935 ucontrol->value.enumerated.item[0] = snd_rme96_getinputtype(rme96); in snd_rme96_get_inputtype_control() 1948 if (ucontrol->value.enumerated.item[0] == RME96_INPUT_ANALOG) { in snd_rme96_get_inputtype_control() 1949 ucontrol->value.enumerated.item[0] = RME96_INPUT_XLR; in snd_rme96_get_inputtype_control() 1960 if (ucontrol->value.enumerated.item[0] >= items) { in snd_rme96_get_inputtype_control() 1961 ucontrol->value.enumerated.item[0] = items - 1; in snd_rme96_get_inputtype_control() 1993 val = ucontrol->value.enumerated.item[0] % items; in snd_rme96_put_inputtype_control() 2022 ucontrol->value.enumerated.item[0] = snd_rme96_getclockmode(rme96); in snd_rme96_get_clockmode_control() 2033 val = ucontrol->value.enumerated.item[0] % 3; in snd_rme96_put_clockmode_control() 2056 ucontrol->value.enumerated.item[0] = snd_rme96_getattenuation(rme96); in snd_rme96_get_attenuation_control() 2067 val = ucontrol->value.enumerated.item[0] % 4; in snd_rme96_put_attenuation_control() [all …]
|
D | azt3328.c | 1068 ucontrol->value.enumerated.item[0] = (val >> 8) & (reg.enum_c - 1); in snd_azf3328_get_mixer_enum() 1069 ucontrol->value.enumerated.item[1] = (val >> 0) & (reg.enum_c - 1); in snd_azf3328_get_mixer_enum() 1071 ucontrol->value.enumerated.item[0] = (val >> reg.lchan_shift) & (reg.enum_c - 1); in snd_azf3328_get_mixer_enum() 1075 reg.reg, val, ucontrol->value.enumerated.item[0], ucontrol->value.enumerated.item[1], in snd_azf3328_get_mixer_enum() 1092 if (ucontrol->value.enumerated.item[0] > reg.enum_c - 1U || in snd_azf3328_put_mixer_enum() 1093 ucontrol->value.enumerated.item[1] > reg.enum_c - 1U) in snd_azf3328_put_mixer_enum() 1095 val = (ucontrol->value.enumerated.item[0] << 8) | in snd_azf3328_put_mixer_enum() 1096 (ucontrol->value.enumerated.item[1] << 0); in snd_azf3328_put_mixer_enum() 1098 if (ucontrol->value.enumerated.item[0] > reg.enum_c - 1U) in snd_azf3328_put_mixer_enum() 1101 val |= (ucontrol->value.enumerated.item[0] << reg.lchan_shift); in snd_azf3328_put_mixer_enum()
|