/linux-master/drivers/md/ |
H A D | dm-delay.c | 153 static void delay_dtr(struct dm_target *ti) argument 155 struct delay_c *dc = ti->private; 161 dm_put_device(ti, dc->read.dev); 163 dm_put_device(ti, dc->write.dev); 165 dm_put_device(ti, dc->flush.dev); 174 static int delay_class_ctr(struct dm_target *ti, struct delay_class *c, char **argv) argument 181 ti->error = "Invalid device sector"; 187 ti->error = "Invalid delay"; 191 ret = dm_get_device(ti, argv[0], dm_table_get_mode(ti 208 delay_ctr(struct dm_target *ti, unsigned int argc, char **argv) argument 329 delay_presuspend(struct dm_target *ti) argument 342 delay_resume(struct dm_target *ti) argument 349 delay_map(struct dm_target *ti, struct bio *bio) argument 373 delay_status(struct dm_target *ti, status_type_t type, unsigned int status_flags, char *result, unsigned int maxlen) argument 402 delay_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, void *data) argument [all...] |
H A D | dm-ebs-target.c | 20 static void ebs_dtr(struct dm_target *ti); 247 static int ebs_ctr(struct dm_target *ti, unsigned int argc, char **argv) argument 256 ti->error = "Invalid argument count"; 260 ec = ti->private = kzalloc(sizeof(*ec), GFP_KERNEL); 262 ti->error = "Cannot allocate ebs context"; 269 (sector_t)tmp >= ti->len) { 270 ti->error = "Invalid device offset sector"; 278 ti->error = "Invalid emulated block size"; 285 ti->error = "Invalid underlying block size"; 293 r = dm_get_device(ti, arg 348 ebs_dtr(struct dm_target *ti) argument 361 ebs_map(struct dm_target *ti, struct bio *bio) argument 393 ebs_status(struct dm_target *ti, status_type_t type, unsigned int status_flags, char *result, unsigned int maxlen) argument 412 ebs_prepare_ioctl(struct dm_target *ti, struct block_device **bdev) argument 424 ebs_io_hints(struct dm_target *ti, struct queue_limits *limits) argument 434 ebs_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, void *data) argument [all...] |
H A D | dm-verity-target.c | 90 return v->data_start + dm_target_offset(v->ti, bi_sector); 230 struct mapped_device *md = dm_table_get_md(v->ti->table); 256 dm_audit_log_target(DM_MSG_PREFIX, "max-corrupted-errors", v->ti, 0); 298 struct bio *bio = dm_bio_from_per_bio_data(io, v->ti->per_io_data_size); 352 v->ti->per_io_data_size); 414 struct bio *bio = dm_bio_from_per_bio_data(io, v->ti->per_io_data_size); 461 struct bio *bio = dm_bio_from_per_bio_data(io, v->ti->per_io_data_size); 559 struct bio *bio = dm_bio_from_per_bio_data(io, v->ti->per_io_data_size); 575 struct bio *bio = dm_bio_from_per_bio_data(io, v->ti->per_io_data_size); 686 struct bio *bio = dm_bio_from_per_bio_data(io, v->ti 824 verity_map(struct dm_target *ti, struct bio *bio) argument 869 verity_status(struct dm_target *ti, status_type_t type, unsigned int status_flags, char *result, unsigned int maxlen) argument 988 verity_prepare_ioctl(struct dm_target *ti, struct block_device **bdev) argument 999 verity_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, void *data) argument 1007 verity_io_hints(struct dm_target *ti, struct queue_limits *limits) argument 1020 verity_dtr(struct dm_target *ti) argument 1064 struct dm_target *ti = v->ti; local 1142 struct dm_target *ti = v->ti; local 1243 verity_ctr(struct dm_target *ti, unsigned int argc, char **argv) argument 1544 dm_is_verity_target(struct dm_target *ti) argument 1555 dm_verity_get_mode(struct dm_target *ti) argument 1571 dm_verity_get_root_digest(struct dm_target *ti, u8 **root_digest, unsigned int *digest_size) argument [all...] |
H A D | dm-zoned-target.c | 625 static int dmz_map(struct dm_target *ti, struct bio *bio) argument 627 struct dmz_target *dmz = ti->private; 688 static int dmz_get_zoned_device(struct dm_target *ti, char *path, argument 691 struct dmz_target *dmz = ti->private; 698 ret = dm_get_device(ti, path, dm_table_get_mode(ti->table), &ddev); 700 ti->error = "Get target device failed"; 707 ti->error = "Invalid regular device"; 711 ti->error = "First device must be a regular device"; 715 ti 751 dmz_put_zoned_devices(struct dm_target *ti) argument 763 dmz_fixup_devices(struct dm_target *ti) argument 829 dmz_ctr(struct dm_target *ti, unsigned int argc, char **argv) argument 961 dmz_dtr(struct dm_target *ti) argument 991 dmz_io_hints(struct dm_target *ti, struct queue_limits *limits) argument 1019 dmz_prepare_ioctl(struct dm_target *ti, struct block_device **bdev) argument 1035 dmz_suspend(struct dm_target *ti) argument 1049 dmz_resume(struct dm_target *ti) argument 1059 dmz_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, void *data) argument 1076 dmz_status(struct dm_target *ti, status_type_t type, unsigned int status_flags, char *result, unsigned int maxlen) argument 1123 dmz_message(struct dm_target *ti, unsigned int argc, char **argv, char *result, unsigned int maxlen) argument [all...] |
H A D | dm-mpath.c | 97 struct dm_target *ti; member in struct:multipath 185 static void free_pgpaths(struct list_head *pgpaths, struct dm_target *ti) argument 191 dm_put_device(ti, pgpath->path.dev); 197 struct dm_target *ti) 206 free_pgpaths(&pg->pgpaths, ti); 210 static struct multipath *alloc_multipath(struct dm_target *ti) argument 224 m->ti = ti; 225 ti->private = m; 233 static int alloc_multipath_stage2(struct dm_target *ti, struc argument 196 free_priority_group(struct priority_group *pg, struct dm_target *ti) argument 507 multipath_clone_and_map(struct dm_target *ti, struct request *rq, union map_info *map_context, struct request **__clone) argument 671 multipath_map_bio(struct dm_target *ti, struct bio *bio) argument 846 parse_path_selector(struct dm_arg_set *as, struct priority_group *pg, struct dm_target *ti) argument 935 parse_path(struct dm_arg_set *as, struct path_selector *ps, struct dm_target *ti) argument 996 struct dm_target *ti = m->ti; local 1062 struct dm_target *ti = m->ti; local 1113 struct dm_target *ti = m->ti; local 1181 multipath_ctr(struct dm_target *ti, unsigned int argc, char **argv) argument 1320 multipath_dtr(struct dm_target *ti) argument 1642 multipath_end_io(struct dm_target *ti, struct request *clone, blk_status_t error, union map_info *map_context) argument 1691 multipath_end_io_bio(struct dm_target *ti, struct bio *clone, blk_status_t *error) argument 1743 multipath_presuspend(struct dm_target *ti) argument 1752 multipath_postsuspend(struct dm_target *ti) argument 1764 multipath_resume(struct dm_target *ti) argument 1799 multipath_status(struct dm_target *ti, status_type_t type, unsigned int status_flags, char *result, unsigned int maxlen) argument 1959 multipath_message(struct dm_target *ti, unsigned int argc, char **argv, char *result, unsigned int maxlen) argument 2028 multipath_prepare_ioctl(struct dm_target *ti, struct block_device **bdev) argument 2078 multipath_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, void *data) argument 2113 multipath_busy(struct dm_target *ti) argument [all...] |
H A D | dm-raid1.c | 59 struct dm_target *ti; member in struct:mirror_set 259 static int mirror_flush(struct dm_target *ti) argument 261 struct mirror_set *ms = ti->private; 353 from.count = ms->ti->len & (region_size - 1); 412 dm_table_event(ms->ti->table); 463 return m->offset + dm_target_offset(m->ms->ti, bio->bi_iter.bi_sector); 494 if (dm_noflush_suspending(ms->ti)) 852 dm_table_event(ms->ti->table); 890 struct dm_target *ti, 897 ti 888 alloc_context(unsigned int nr_mirrors, uint32_t region_size, struct dm_target *ti, struct dm_dirty_log *dl) argument 937 free_context(struct mirror_set *ms, struct dm_target *ti, unsigned int m) argument 948 get_mirror(struct mirror_set *ms, struct dm_target *ti, unsigned int mirror, char **argv) argument 979 create_dirty_log(struct dm_target *ti, unsigned int argc, char **argv, unsigned int *args_used) argument 1018 struct dm_target *ti = ms->ti; local 1075 mirror_ctr(struct dm_target *ti, unsigned int argc, char **argv) argument 1181 mirror_dtr(struct dm_target *ti) argument 1196 mirror_map(struct dm_target *ti, struct bio *bio) argument 1245 mirror_end_io(struct dm_target *ti, struct bio *bio, blk_status_t *error) argument 1312 mirror_presuspend(struct dm_target *ti) argument 1358 mirror_postsuspend(struct dm_target *ti) argument 1368 mirror_resume(struct dm_target *ti) argument 1405 mirror_status(struct dm_target *ti, status_type_t type, unsigned int status_flags, char *result, unsigned int maxlen) argument 1470 mirror_iterate_devices(struct dm_target *ti, iterate_devices_callout_fn fn, void *data) argument [all...] |
H A D | dm-target.c | 199 static int io_err_clone_and_map_rq(struct dm_target *ti, struct request *rq, argument 212 static sector_t io_err_map_sector(struct dm_target *ti, sector_t bi_sector) argument 214 struct io_err_c *ioec = ti->private; 216 return ioec->start + dm_target_offset(ti, bi_sector); 219 static int io_err_report_zones(struct dm_target *ti, argument 222 struct io_err_c *ioec = ti->private; 232 io_err_map_sector(ti, args->next_sector), 239 static int io_err_iterate_devices(struct dm_target *ti, argument 242 struct io_err_c *ioec = ti->private; 247 return fn(ti, ioe 250 io_err_io_hints(struct dm_target *ti, struct queue_limits *limits) argument 257 io_err_dax_direct_access(struct dm_target *ti, pgoff_t pgoff, long nr_pages, enum dax_access_mode mode, void **kaddr, pfn_t *pfn) argument [all...] |
/linux-master/net/openvswitch/ |
H A D | meter.c | 40 static u32 meter_hash(struct dp_meter_instance *ti, u32 id) argument 42 return id % ti->n_meters; 57 struct dp_meter_instance *ti = rcu_dereference_ovsl(tbl->ti); local 58 u32 hash = meter_hash(ti, meter_id); 61 meter = rcu_dereference_ovsl(ti->dp_meters[hash]); 70 struct dp_meter_instance *ti; local 72 ti = kvzalloc(struct_size(ti, dp_meters, size), GFP_KERNEL); 73 if (!ti) 81 dp_meter_instance_free(struct dp_meter_instance *ti) argument 88 struct dp_meter_instance *ti; local 97 struct dp_meter_instance *ti = rcu_dereference_ovsl(tbl->ti); local 116 dp_meter_instance_insert(struct dp_meter_instance *ti, struct dp_meter *meter) argument 125 dp_meter_instance_remove(struct dp_meter_instance *ti, struct dp_meter *meter) argument 136 struct dp_meter_instance *ti = rcu_dereference_ovsl(tbl->ti); local 171 struct dp_meter_instance *ti; local 732 struct dp_meter_instance *ti; local 759 struct dp_meter_instance *ti = rcu_dereference_raw(tbl->ti); local [all...] |
H A D | flow_table.c | 146 static void __table_instance_destroy(struct table_instance *ti) argument 148 kvfree(ti->buckets); 149 kfree(ti); 154 struct table_instance *ti = kmalloc(sizeof(*ti), GFP_KERNEL); local 157 if (!ti) 160 ti->buckets = kvmalloc_array(new_size, sizeof(struct hlist_head), 162 if (!ti->buckets) { 163 kfree(ti); 168 INIT_HLIST_HEAD(&ti 413 struct table_instance *ti, *ufid_ti; local 453 struct table_instance *ti; local 459 table_instance_flow_free(struct flow_table *table, struct table_instance *ti, struct table_instance *ufid_ti, struct sw_flow *flow) argument 476 table_instance_flow_flush(struct flow_table *table, struct table_instance *ti, struct table_instance *ufid_ti) argument 503 table_instance_destroy(struct table_instance *ti, struct table_instance *ufid_ti) argument 515 struct table_instance *ti = rcu_dereference_raw(table->ti); local 525 ovs_flow_tbl_dump_next(struct table_instance *ti, u32 *bucket, u32 *last) argument 552 find_bucket(struct table_instance *ti, u32 hash) argument 558 table_instance_insert(struct table_instance *ti, struct sw_flow *flow) argument 567 ufid_table_instance_insert(struct table_instance *ti, struct sw_flow *flow) argument 603 table_instance_rehash(struct table_instance *ti, int n_buckets, bool ufid) argument 698 masked_flow_lookup(struct table_instance *ti, const struct sw_flow_key *unmasked, const struct sw_flow_mask *mask, u32 *n_mask_hit) argument 727 flow_lookup(struct flow_table *tbl, struct table_instance *ti, struct mask_array *ma, const struct sw_flow_key *key, u32 *n_mask_hit, u32 *n_cache_hit, u32 *index) argument 791 struct table_instance *ti = rcu_dereference(tbl->ti); local 850 struct table_instance *ti = rcu_dereference_ovsl(tbl->ti); local 875 struct table_instance *ti = rcu_dereference_ovsl(tbl->ti); local 920 struct table_instance *ti = rcu_dereference_ovsl(tbl->ufid_ti); local 949 table_instance_expand(struct table_instance *ti, bool ufid) argument 958 struct table_instance *ti = ovsl_dereference(table->ti); local 1038 struct table_instance *ti; local 1061 struct table_instance *ti; local [all...] |
/linux-master/arch/microblaze/kernel/ |
H A D | process.c | 61 struct thread_info *ti = task_thread_info(p); local 67 memset(&ti->cpu_context, 0, sizeof(struct cpu_context)); 68 ti->cpu_context.r1 = (unsigned long)childregs; 69 ti->cpu_context.r20 = (unsigned long)args->fn; 70 ti->cpu_context.r19 = (unsigned long)args->fn_arg; 73 ti->cpu_context.msr = childregs->msr & ~MSR_IE; 74 ti->cpu_context.r15 = (unsigned long)ret_from_kernel_thread - 8; 81 memset(&ti->cpu_context, 0, sizeof(struct cpu_context)); 82 ti->cpu_context.r1 = (unsigned long)childregs; 101 ti [all...] |
/linux-master/arch/m68k/include/asm/ |
H A D | thread_info.h | 45 struct thread_info *ti; local 49 : "=&d"(ti) 52 return ti;
|
/linux-master/arch/csky/kernel/ |
H A D | syscall.c | 8 struct thread_info *ti = task_thread_info(current); local 12 ti->tp_value = addr;
|
/linux-master/drivers/opp/ |
H A D | Makefile | 6 obj-$(CONFIG_ARM_TI_CPUFREQ) += ti-opp-supply.o
|
/linux-master/fs/tracefs/ |
H A D | inode.c | 42 struct tracefs_inode *ti; local 45 ti = kmem_cache_alloc(tracefs_inode_cachep, GFP_KERNEL); 46 if (!ti) 50 list_add_rcu(&ti->list, &tracefs_inodes); 53 return &ti->vfs_inode; 58 struct tracefs_inode *ti; local 60 ti = container_of(rcu, struct tracefs_inode, rcu); 61 kmem_cache_free(tracefs_inode_cachep, ti); 66 struct tracefs_inode *ti = get_tracefs(inode); local 70 list_del_rcu(&ti 119 struct tracefs_inode *ti; local 181 struct tracefs_inode *ti = get_tracefs(inode); local 241 struct tracefs_inode *ti = get_tracefs(inode); local 366 struct tracefs_inode *ti; local 474 struct tracefs_inode *ti = get_tracefs(inode); local 596 struct tracefs_inode *ti; local 643 struct tracefs_inode *ti; local 679 struct tracefs_inode *ti; local 804 struct tracefs_inode *ti = (struct tracefs_inode *) foo; local [all...] |
/linux-master/include/linux/ |
H A D | device-mapper.h | 51 * anything hidden ti->private. 53 typedef void (*dm_dtr_fn) (struct dm_target *ti); 62 typedef int (*dm_map_fn) (struct dm_target *ti, struct bio *bio); 63 typedef int (*dm_clone_and_map_request_fn) (struct dm_target *ti, 78 typedef int (*dm_endio_fn) (struct dm_target *ti, 80 typedef int (*dm_request_endio_fn) (struct dm_target *ti, 84 typedef void (*dm_presuspend_fn) (struct dm_target *ti); 85 typedef void (*dm_presuspend_undo_fn) (struct dm_target *ti); 86 typedef void (*dm_postsuspend_fn) (struct dm_target *ti); 87 typedef int (*dm_preresume_fn) (struct dm_target *ti); [all...] |
H A D | dm-dirty-log.h | 25 int (*flush_callback_fn)(struct dm_target *ti); 36 int (*ctr)(struct dm_dirty_log *log, struct dm_target *ti, 141 struct dm_target *ti, 142 int (*flush_callback_fn)(struct dm_target *ti),
|
H A D | thread_info.h | 87 static inline void set_ti_thread_flag(struct thread_info *ti, int flag) argument 89 set_bit(flag, (unsigned long *)&ti->flags); 92 static inline void clear_ti_thread_flag(struct thread_info *ti, int flag) argument 94 clear_bit(flag, (unsigned long *)&ti->flags); 97 static inline void update_ti_thread_flag(struct thread_info *ti, int flag, argument 101 set_ti_thread_flag(ti, flag); 103 clear_ti_thread_flag(ti, flag); 106 static inline int test_and_set_ti_thread_flag(struct thread_info *ti, int flag) argument 108 return test_and_set_bit(flag, (unsigned long *)&ti->flags); 111 static inline int test_and_clear_ti_thread_flag(struct thread_info *ti, in argument 116 test_ti_thread_flag(struct thread_info *ti, int flag) argument 125 read_ti_thread_flags(struct thread_info *ti) argument [all...] |
/linux-master/drivers/net/netdevsim/ |
H A D | udp_tunnels.c | 13 unsigned int entry, struct udp_tunnel_info *ti) 30 be16_to_cpu(ti->port) << 16 | ti->type; 35 table, entry, ti->type, ti->sa_family, ntohs(ti->port), 42 unsigned int entry, struct udp_tunnel_info *ti) 53 u32 val = be16_to_cpu(ti->port) << 16 | ti->type; 65 table, entry, ti 12 nsim_udp_tunnel_set_port(struct net_device *dev, unsigned int table, unsigned int entry, struct udp_tunnel_info *ti) argument 41 nsim_udp_tunnel_unset_port(struct net_device *dev, unsigned int table, unsigned int entry, struct udp_tunnel_info *ti) argument 74 struct udp_tunnel_info ti; local [all...] |
/linux-master/include/linux/soc/ti/ |
H A D | ti_sci_inta_msi.h | 5 * Copyright (C) 2018-2019 Texas Instruments Incorporated - https://www.ti.com/ 6 * Lokesh Vutla <lokeshvutla@ti.com> 13 #include <linux/soc/ti/ti_sci_protocol.h>
|
/linux-master/arch/arm64/include/asm/ |
H A D | preempt.h | 61 struct thread_info *ti = current_thread_info(); local 62 u64 pc = READ_ONCE(ti->preempt_count); 65 WRITE_ONCE(ti->preempt.count, --pc); 74 return !pc || !READ_ONCE(ti->preempt_count);
|
/linux-master/arch/arm/mach-omap1/ |
H A D | usb.h | 7 #include <linux/soc/ti/omap1-usb.h>
|
/linux-master/net/ipv4/ |
H A D | udp_tunnel_core.c | 89 struct udp_tunnel_info ti; local 91 ti.type = type; 92 ti.sa_family = sk->sk_family; 93 ti.port = inet_sk(sk)->inet_sport; 95 udp_tunnel_nic_add_port(dev, &ti); 103 struct udp_tunnel_info ti; local 105 ti.type = type; 106 ti.sa_family = sk->sk_family; 107 ti.port = inet_sk(sk)->inet_sport; 109 udp_tunnel_nic_del_port(dev, &ti); 118 struct udp_tunnel_info ti; local 138 struct udp_tunnel_info ti; local [all...] |
/linux-master/drivers/gpu/drm/gma500/ |
H A D | mid_bios.c | 224 struct gct_r10_timing_info *ti; local 245 ti = &gct[vbt.primary_panel_idx].DTD; 246 dp_ti->pixel_clock = ti->pixel_clock; 247 dp_ti->hactive_hi = ti->hactive_hi; 248 dp_ti->hactive_lo = ti->hactive_lo; 249 dp_ti->hblank_hi = ti->hblank_hi; 250 dp_ti->hblank_lo = ti->hblank_lo; 251 dp_ti->hsync_offset_hi = ti->hsync_offset_hi; 252 dp_ti->hsync_offset_lo = ti->hsync_offset_lo; 253 dp_ti->hsync_pulse_width_hi = ti [all...] |
/linux-master/drivers/iio/adc/ |
H A D | Makefile | 111 obj-$(CONFIG_TI_ADC081C) += ti-adc081c.o 112 obj-$(CONFIG_TI_ADC0832) += ti-adc0832.o 113 obj-$(CONFIG_TI_ADC084S021) += ti-adc084s021.o 114 obj-$(CONFIG_TI_ADC12138) += ti-adc12138.o 115 obj-$(CONFIG_TI_ADC108S102) += ti-adc108s102.o 116 obj-$(CONFIG_TI_ADC128S052) += ti-adc128s052.o 117 obj-$(CONFIG_TI_ADC161S626) += ti-adc161s626.o 118 obj-$(CONFIG_TI_ADS1015) += ti-ads1015.o 119 obj-$(CONFIG_TI_ADS1100) += ti-ads1100.o 120 obj-$(CONFIG_TI_ADS1298) += ti [all...] |
/linux-master/arch/powerpc/mm/book3s64/ |
H A D | slb.c | 283 static bool preload_hit(struct thread_info *ti, unsigned long esid) argument 287 for (i = 0; i < ti->slb_preload_nr; i++) { 290 idx = (ti->slb_preload_tail + i) % SLB_PRELOAD_NR; 291 if (esid == ti->slb_preload_esid[idx]) 297 static bool preload_add(struct thread_info *ti, unsigned long ea) argument 310 if (preload_hit(ti, esid)) 313 idx = (ti->slb_preload_tail + ti->slb_preload_nr) % SLB_PRELOAD_NR; 314 ti->slb_preload_esid[idx] = esid; 315 if (ti 323 preload_age(struct thread_info *ti) argument 333 struct thread_info *ti = current_thread_info(); local 383 struct thread_info *ti = current_thread_info(); local 447 struct thread_info *ti = task_thread_info(tsk); local [all...] |