/linux-4.19.296/include/linux/ |
D | vmstat.h | 55 static inline void __count_vm_event(enum vm_event_item item) in __count_vm_event() argument 57 raw_cpu_inc(vm_event_states.event[item]); in __count_vm_event() 60 static inline void count_vm_event(enum vm_event_item item) in count_vm_event() argument 62 this_cpu_inc(vm_event_states.event[item]); in count_vm_event() 65 static inline void __count_vm_events(enum vm_event_item item, long delta) in __count_vm_events() argument 67 raw_cpu_add(vm_event_states.event[item], delta); in __count_vm_events() 70 static inline void count_vm_events(enum vm_event_item item, long delta) in count_vm_events() argument 72 this_cpu_add(vm_event_states.event[item], delta); in count_vm_events() 82 static inline void count_vm_event(enum vm_event_item item) in count_vm_event() argument 85 static inline void count_vm_events(enum vm_event_item item, long delta) in count_vm_events() argument [all …]
|
/linux-4.19.296/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 76 need = vsnprintf(item->ci_namebuf, limit, fmt, args); in config_item_set_name() 79 name = item->ci_namebuf; in config_item_set_name() 89 if (item->ci_name && item->ci_name != item->ci_namebuf) in config_item_set_name() 90 kfree(item->ci_name); in config_item_set_name() 93 item->ci_name = name; in config_item_set_name() 98 void config_item_init_type_name(struct config_item *item, in config_item_init_type_name() argument [all …]
|
D | dir.c | 312 static int configfs_create_dir(struct config_item *item, struct dentry *dentry, in configfs_create_dir() argument 319 BUG_ON(!item); in configfs_create_dir() 325 error = configfs_make_dirent(p->d_fsdata, dentry, item, mode, in configfs_create_dir() 335 item->ci_dentry = dentry; in configfs_create_dir() 440 static void configfs_remove_dir(struct config_item * item) in configfs_remove_dir() argument 442 struct dentry * dentry = dget(item->ci_dentry); in configfs_remove_dir() 593 static void detach_attrs(struct config_item * item) in detach_attrs() argument 595 struct dentry * dentry = dget(item->ci_dentry); in detach_attrs() 622 static int populate_attrs(struct config_item *item) in populate_attrs() argument 624 const 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() 92 sl->sl_target = config_item_get(item); in create_link() 101 config_item_put(item); in create_link() [all …]
|
/linux-4.19.296/include/trace/ |
D | trace_events.h | 84 #define __field(type, item) type item; argument 87 #define __field_ext(type, item, filter_type) type item; argument 90 #define __field_struct(type, item) type item; argument 93 #define __field_struct_ext(type, item, filter_type) type item; argument 96 #define __array(type, item, len) type item[len]; argument 99 #define __dynamic_array(type, item, len) u32 __data_loc_##item; argument 102 #define __string(item, src) __dynamic_array(char, item, -1) argument 105 #define __bitmask(item, nr_bits) __dynamic_array(char, item, -1) argument 179 #define __field(type, item) argument 182 #define __field_ext(type, item, filter_type) argument [all …]
|
/linux-4.19.296/fs/nfs/ |
D | dns_resolve.c | 106 struct nfs_dns_ent *item; in nfs_dns_ent_put() local 108 item = container_of(ref, struct nfs_dns_ent, h.ref); in nfs_dns_ent_put() 109 kfree(item->hostname); in nfs_dns_ent_put() 110 kfree(item); in nfs_dns_ent_put() 115 struct nfs_dns_ent *item = kmalloc(sizeof(*item), GFP_KERNEL); in nfs_dns_ent_alloc() local 117 if (item != NULL) { in nfs_dns_ent_alloc() 118 item->hostname = NULL; in nfs_dns_ent_alloc() 119 item->namelen = 0; in nfs_dns_ent_alloc() 120 item->addrlen = 0; in nfs_dns_ent_alloc() 121 return &item->h; in nfs_dns_ent_alloc() [all …]
|
/linux-4.19.296/lib/ |
D | parman.c | 45 struct parman_item *item); 47 struct parman_item *item); 127 struct parman_item *item, unsigned long to_index, in __parman_prio_move() argument 130 parman->ops->move(parman->priv, item->index, to_index, count); in __parman_prio_move() 136 struct parman_item *item; in parman_prio_shift_down() local 141 item = parman_prio_first_item(prio); in parman_prio_shift_down() 143 __parman_prio_move(parman, prio, item, to_index, 1); in parman_prio_shift_down() 144 list_move_tail(&item->list, &prio->item_list); in parman_prio_shift_down() 145 item->index = to_index; in parman_prio_shift_down() 151 struct parman_item *item; in parman_prio_shift_up() local [all …]
|
D | test_parman.c | 193 struct test_parman_item *item = &test_parman->items[i]; in test_parman_items_init() local 198 item->prio = &test_parman->prios[prio_index]; in test_parman_items_init() 207 struct test_parman_item *item = &test_parman->items[i]; in test_parman_items_fini() local 209 if (!item->used) in test_parman_items_fini() 212 &item->prio->parman_prio, in test_parman_items_fini() 213 &item->parman_item); in test_parman_items_fini() 275 struct test_parman_item *item = &test_parman->items[item_index]; in test_parman_run() local 280 if (!item->used) { in test_parman_run() 282 &item->prio->parman_prio, in test_parman_run() 283 &item->parman_item); in test_parman_run() [all …]
|
/linux-4.19.296/fs/ocfs2/cluster/ |
D | nodemanager.c | 159 static struct o2nm_cluster *to_o2nm_cluster(struct config_item *item) in to_o2nm_cluster() argument 161 return item ? in to_o2nm_cluster() 162 container_of(to_config_group(item), struct o2nm_cluster, in to_o2nm_cluster() 167 static struct o2nm_node *to_o2nm_node(struct config_item *item) in to_o2nm_node() argument 169 return item ? container_of(item, struct o2nm_node, nd_item) : NULL; in to_o2nm_node() 172 static void o2nm_node_release(struct config_item *item) in o2nm_node_release() argument 174 struct o2nm_node *node = to_o2nm_node(item); in o2nm_node_release() 178 static ssize_t o2nm_node_num_show(struct config_item *item, char *page) in o2nm_node_num_show() argument 180 return sprintf(page, "%d\n", to_o2nm_node(item)->nd_num); in o2nm_node_num_show() 199 static ssize_t o2nm_node_num_store(struct config_item *item, const char *page, in o2nm_node_num_store() argument [all …]
|
/linux-4.19.296/fs/btrfs/ |
D | root-tree.c | 21 struct btrfs_root_item *item) in btrfs_read_root_item() argument 28 read_extent_buffer(eb, item, btrfs_item_ptr_offset(eb, slot), in btrfs_read_root_item() 29 min_t(int, len, (int)sizeof(*item))); in btrfs_read_root_item() 30 if (len < sizeof(*item)) in btrfs_read_root_item() 32 if (!need_reset && btrfs_root_generation(item) in btrfs_read_root_item() 33 != btrfs_root_generation_v2(item)) { in btrfs_read_root_item() 34 if (btrfs_root_generation_v2(item) != 0) { in btrfs_read_root_item() 41 memset(&item->generation_v2, 0, in btrfs_read_root_item() 42 sizeof(*item) - offsetof(struct btrfs_root_item, in btrfs_read_root_item() 46 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 refcount_set(&item->refs, 1); in btrfs_alloc_delayed_item() 326 return item; in btrfs_alloc_delayed_item() 405 struct btrfs_delayed_item *item; in __btrfs_add_delayed_item() local [all …]
|
D | file-item.c | 36 struct btrfs_file_extent_item *item; in btrfs_insert_file_extent() local 50 sizeof(*item)); in btrfs_insert_file_extent() 55 item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_insert_file_extent() 57 btrfs_set_file_extent_disk_bytenr(leaf, item, disk_offset); in btrfs_insert_file_extent() 58 btrfs_set_file_extent_disk_num_bytes(leaf, item, disk_num_bytes); in btrfs_insert_file_extent() 59 btrfs_set_file_extent_offset(leaf, item, offset); in btrfs_insert_file_extent() 60 btrfs_set_file_extent_num_bytes(leaf, item, num_bytes); in btrfs_insert_file_extent() 61 btrfs_set_file_extent_ram_bytes(leaf, item, ram_bytes); in btrfs_insert_file_extent() 62 btrfs_set_file_extent_generation(leaf, item, trans->transid); in btrfs_insert_file_extent() 63 btrfs_set_file_extent_type(leaf, item, BTRFS_FILE_EXTENT_REG); in btrfs_insert_file_extent() [all …]
|
/linux-4.19.296/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.19.296/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 …]
|
/linux-4.19.296/drivers/pci/endpoint/ |
D | pci-ep-cfs.c | 35 static inline struct pci_epf_group *to_pci_epf_group(struct config_item *item) in to_pci_epf_group() argument 37 return container_of(to_config_group(item), struct pci_epf_group, group); in to_pci_epf_group() 40 static inline struct pci_epc_group *to_pci_epc_group(struct config_item *item) in to_pci_epc_group() argument 42 return container_of(to_config_group(item), struct pci_epc_group, group); in to_pci_epc_group() 45 static ssize_t pci_epc_start_store(struct config_item *item, const char *page, in pci_epc_start_store() argument 51 struct pci_epc_group *epc_group = to_pci_epc_group(item); in pci_epc_start_store() 75 static ssize_t pci_epc_start_show(struct config_item *item, char *page) in pci_epc_start_show() argument 78 to_pci_epc_group(item)->start); in pci_epc_start_show() 211 static ssize_t pci_epf_##_name##_show(struct config_item *item, char *page) \ 213 struct pci_epf *epf = to_pci_epf_group(item)->epf; \ [all …]
|
/linux-4.19.296/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 …]
|
/linux-4.19.296/fs/dlm/ |
D | config.c | 111 static ssize_t cluster_cluster_name_show(struct config_item *item, char *buf) in cluster_cluster_name_show() argument 113 struct dlm_cluster *cl = config_item_to_cluster(item); in cluster_cluster_name_show() 117 static ssize_t cluster_cluster_name_store(struct config_item *item, in cluster_cluster_name_store() argument 120 struct dlm_cluster *cl = config_item_to_cluster(item); in cluster_cluster_name_store() 153 static ssize_t cluster_##name##_store(struct config_item *item, \ 156 struct dlm_cluster *cl = config_item_to_cluster(item); \ 160 static ssize_t cluster_##name##_show(struct config_item *item, char *buf) \ 162 struct dlm_cluster *cl = config_item_to_cluster(item); \ 232 struct config_item item; member 245 struct config_item item; member [all …]
|
/linux-4.19.296/fs/btrfs/tests/ |
D | extent-buffer-tests.c | 18 struct btrfs_item *item; in test_btrfs_split_item() local 65 item = btrfs_item_nr(0); in test_btrfs_split_item() 94 item = btrfs_item_nr(0); in test_btrfs_split_item() 95 if (btrfs_item_size(eb, item) != strlen(split1)) { in test_btrfs_split_item() 119 item = btrfs_item_nr(1); in test_btrfs_split_item() 120 if (btrfs_item_size(eb, item) != strlen(split2)) { in test_btrfs_split_item() 151 item = btrfs_item_nr(0); in test_btrfs_split_item() 152 if (btrfs_item_size(eb, item) != strlen(split3)) { in test_btrfs_split_item() 175 item = btrfs_item_nr(1); in test_btrfs_split_item() 176 if (btrfs_item_size(eb, item) != strlen(split4)) { in test_btrfs_split_item() [all …]
|
/linux-4.19.296/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.19.296/fs/xfs/ |
D | xfs_log_recover.c | 1928 xlog_recover_item_t *item, *n; in xlog_recover_reorder_trans() local 1937 list_for_each_entry_safe(item, n, &sort_list, ri_list) { in xlog_recover_reorder_trans() 1938 xfs_buf_log_format_t *buf_f = item->ri_buf[0].i_addr; in xlog_recover_reorder_trans() 1940 switch (ITEM_TYPE(item)) { in xlog_recover_reorder_trans() 1942 list_move_tail(&item->ri_list, &buffer_list); in xlog_recover_reorder_trans() 1947 trans, item, pass); in xlog_recover_reorder_trans() 1948 list_move(&item->ri_list, &cancel_list); in xlog_recover_reorder_trans() 1952 list_move(&item->ri_list, &inode_buffer_list); in xlog_recover_reorder_trans() 1955 list_move_tail(&item->ri_list, &buffer_list); in xlog_recover_reorder_trans() 1969 trans, item, pass); in xlog_recover_reorder_trans() [all …]
|
D | xfs_filestream.c | 118 struct xfs_fstrm_item *item = in xfs_fstrm_free_func() local 121 xfs_filestream_put_ag(mp, item->ag); in xfs_fstrm_free_func() 122 trace_xfs_filestream_free(mp, mru->key, item->ag); in xfs_fstrm_free_func() 124 kmem_free(item); in xfs_fstrm_free_func() 140 struct xfs_fstrm_item *item; in xfs_filestream_pick_ag() local 253 item = kmem_alloc(sizeof(*item), KM_MAYFAIL); in xfs_filestream_pick_ag() 254 if (!item) in xfs_filestream_pick_ag() 257 item->ag = *agp; in xfs_filestream_pick_ag() 259 err = xfs_mru_cache_insert(mp->m_filestream, ip->i_ino, &item->mru); in xfs_filestream_pick_ag() 269 kmem_free(item); in xfs_filestream_pick_ag() [all …]
|
/linux-4.19.296/drivers/hid/ |
D | hid-core.c | 346 static u32 item_udata(struct hid_item *item) in item_udata() argument 348 switch (item->size) { in item_udata() 349 case 1: return item->data.u8; in item_udata() 350 case 2: return item->data.u16; in item_udata() 351 case 4: return item->data.u32; in item_udata() 356 static s32 item_sdata(struct hid_item *item) in item_sdata() argument 358 switch (item->size) { in item_sdata() 359 case 1: return item->data.s8; in item_sdata() 360 case 2: return item->data.s16; in item_sdata() 361 case 4: return item->data.s32; in item_sdata() [all …]
|
/linux-4.19.296/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 …]
|
/linux-4.19.296/drivers/misc/lkdtm/ |
D | bugs.c | 199 struct lkdtm_list item; in lkdtm_CORRUPT_LIST_DEL() local 203 list_add(&item.node, &test_head); in lkdtm_CORRUPT_LIST_DEL() 206 list_del(&item.node); in lkdtm_CORRUPT_LIST_DEL() 209 list_add(&item.node, &test_head); in lkdtm_CORRUPT_LIST_DEL() 212 item.node.next = redirection; in lkdtm_CORRUPT_LIST_DEL() 213 list_del(&item.node); in lkdtm_CORRUPT_LIST_DEL()
|
/linux-4.19.296/include/linux/usb/ |
D | gadget_configfs.h | 11 static ssize_t __struct##_##__name##_store(struct config_item *item, \ 14 struct __struct *gs = to_##__struct(item); \ 24 static ssize_t __struct##_##__name##_show(struct config_item *item, char *page) \ 26 struct __struct *gs = to_##__struct(item); \ 87 struct config_item *item) \ 89 config_item_put(item); \
|