Home
last modified time | relevance | path

Searched refs:new_range (Results 1 – 5 of 5) sorted by relevance

/drivers/staging/android/
Dashmem.c189 struct ashmem_range **new_range) in range_alloc() argument
191 struct ashmem_range *range = *new_range; in range_alloc()
193 *new_range = NULL; in range_alloc()
636 struct ashmem_range **new_range) in ashmem_pin() argument
689 pgend + 1, range->pgend, new_range); in ashmem_pin()
704 struct ashmem_range **new_range) in ashmem_unpin() argument
733 range_alloc(asma, range, purged, pgstart, pgend, new_range); in ashmem_unpin()
/drivers/iio/light/
Dgp2ap020a00f.c720 u8 new_range = 0xff; in gp2ap020a00f_adjust_lux_mode() local
726 new_range = GP2AP020A00F_RANGE_A_x128; in gp2ap020a00f_adjust_lux_mode()
731 new_range = GP2AP020A00F_RANGE_A_x8; in gp2ap020a00f_adjust_lux_mode()
735 if (new_range != 0xff) { in gp2ap020a00f_adjust_lux_mode()
770 new_range); in gp2ap020a00f_adjust_lux_mode()
/drivers/md/
Ddm-integrity.c1221 static bool add_new_range(struct dm_integrity_c *ic, struct dm_integrity_range *new_range, bool che… in add_new_range() argument
1226 …BUG_ON((new_range->logical_sector | new_range->n_sectors) & (unsigned int)(ic->sectors_per_block -… in add_new_range()
1231 if (unlikely(ranges_overlap(range, new_range))) in add_new_range()
1242 if (new_range->logical_sector + new_range->n_sectors <= range->logical_sector) { in add_new_range()
1244 } else if (new_range->logical_sector >= range->logical_sector + range->n_sectors) { in add_new_range()
1251 rb_link_node(&new_range->node, parent, n); in add_new_range()
1252 rb_insert_color(&new_range->node, &ic->in_progress); in add_new_range()
1285 static void wait_and_add_new_range(struct dm_integrity_c *ic, struct dm_integrity_range *new_range) in wait_and_add_new_range() argument
1287 new_range->waiting = true; in wait_and_add_new_range()
1288 list_add_tail(&new_range->wait_entry, &ic->wait_list); in wait_and_add_new_range()
[all …]
/drivers/iio/accel/
Dadxl367.c298 enum adxl367_range new_range) in adxl367_scale_act_thresholds() argument
302 / adxl367_range_scale_factor_tbl[new_range]; in adxl367_scale_act_thresholds()
305 / adxl367_range_scale_factor_tbl[new_range]; in adxl367_scale_act_thresholds()
/drivers/pci/hotplug/
Dibmphp_res.c77 static int __init alloc_bus_range(struct bus_node **new_bus, struct range_node **new_range, struct … in alloc_bus_range() argument
156 *new_range = newrange; in alloc_bus_range()