/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_access_variable_array.c | 8 unsigned long span = 0; variable 14 span = sd->span[0];
|
/linux-master/drivers/iommu/iommufd/ |
H A D | double_span.h | 12 * up and reported based on the tree that provides the interval. The first span 27 /* 0 = hole, 1 = used span[0], 2 = used span[1], -1 done iteration */ 46 #define interval_tree_for_each_double_span(span, itree1, itree2, first_index, \ 48 for (interval_tree_double_span_iter_first(span, itree1, itree2, \ 50 !interval_tree_double_span_iter_done(span); \ 51 interval_tree_double_span_iter_next(span))
|
H A D | pages.c | 938 struct interval_tree_double_span_iter span; member in struct:pfn_reader 960 struct interval_tree_double_span_iter span; local 965 interval_tree_for_each_double_span(&span, &pages->access_itree, 967 if (span.is_used) 970 batch_unpin(&pfns->batch, pages, span.start_hole - start, 971 span.last_hole - span.start_hole + 1); 975 /* Process a single span to load it from the proper storage */ 978 struct interval_tree_double_span_iter *span = &pfns->span; local 1262 struct interval_tree_double_span_iter span; local 1546 struct interval_tree_double_span_iter span; local 1674 struct interval_tree_double_span_iter span; local [all...] |
H A D | io_pagetable.c | 73 static bool __alloc_iova_check_hole(struct interval_tree_double_span_iter *span, argument 78 if (span->is_used || span->last_hole - span->start_hole < length - 1) 81 span->start_hole = ALIGN(span->start_hole, iova_alignment) | 83 if (span->start_hole > span->last_hole || 84 span->last_hole - span 89 __alloc_iova_check_used(struct interval_tree_span_iter *span, unsigned long length, unsigned long iova_alignment, unsigned long page_offset) argument [all...] |
H A D | vfio_compat.c | 391 struct interval_tree_span_iter span; local 393 interval_tree_for_each_span(&span, &ioas->iopt.reserved_itree, 0, 397 if (!span.is_hole) 399 range.start = span.start_hole; 400 range.end = span.last_hole;
|
H A D | ioas.c | 67 struct interval_tree_span_iter span; local 83 interval_tree_for_each_span(&span, &ioas->iopt.reserved_itree, 0, 85 if (!span.is_hole) 89 .start = span.start_hole, 90 .last = span.last_hole,
|
/linux-master/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_span.c | 37 list_add_tail(&entry->list, &port->sw->span->entries); 49 prestera_span_entry_find_by_id(struct prestera_span *span, u8 span_id) argument 53 list_for_each_entry(entry, &span->entries, list) { 62 prestera_span_entry_find_by_port(struct prestera_span *span, argument 67 list_for_each_entry(entry, &span->entries, list) { 82 entry = prestera_span_entry_find_by_port(sw->span, port); 108 entry = prestera_span_entry_find_by_id(sw->span, span_id); 171 struct prestera_span *span; local 173 span = kzalloc(sizeof(*span), GFP_KERNE 187 struct prestera_span *span = sw->span; local [all...] |
/linux-master/include/linux/ |
H A D | interval_tree.h | 39 * nodes but classifies each span as either a hole, where no nodes intersect, or 82 #define interval_tree_for_each_span(span, itree, first_index, last_index) \ 83 for (interval_tree_span_iter_first(span, itree, \ 85 !interval_tree_span_iter_done(span); \ 86 interval_tree_span_iter_next(span))
|
H A D | energy_model.h | 168 struct em_data_callback *cb, cpumask_t *span, 340 struct em_data_callback *cb, cpumask_t *span, 339 em_dev_register_perf_domain(struct device *dev, unsigned int nr_states, struct em_data_callback *cb, cpumask_t *span, bool microwatts) argument
|
/linux-master/drivers/scsi/megaraid/ |
H A D | megaraid_sas_fp.c | 123 u16 MR_LdSpanArrayGet(u32 ld, u32 span, struct MR_DRV_RAID_MAP_ALL *map) argument 125 return le16_to_cpu(map->raidMap.ldSpanMap[ld].spanBlock[span].span.arrayRef); 148 static struct MR_LD_SPAN *MR_LdSpanPtrGet(u32 ld, u32 span, argument 151 return &map->raidMap.ldSpanMap[ld].spanBlock[span].span; 338 dev_err(&instance->pdev->dev, "megasas: span map %x, pDrvRaidMap->totalSize : %x\n", 379 u32 span, j; local 381 for (span = 0; span < rai 430 u32 span, info; local 493 u32 info, strip_offset, span, span_offset; local 551 u32 span, info; local 611 u32 info, strip_offset, span, span_offset, retval; local 648 get_arm(struct megasas_instance *instance, u32 ld, u8 span, u64 stripe, struct MR_DRV_RAID_MAP_ALL *map) argument 697 u8 physArm, span; local 798 u8 physArm, span; local 909 u8 span, dataArms, arms, dataArm, logArm; local 1223 u8 span, count; local 1357 u8 bestArm, pd0, pd1, span, arm; local [all...] |
H A D | mbox_defs.h | 595 * adap_span_40ld_t - 40LD span 607 * adap_span_8ld_t - 8LD span 645 * @span : span 649 adap_span_40ld_t span[SPAN_DEPTH_8_SPANS]; member in struct:__anon85 656 * @span : span 662 adap_span_8ld_t span[SPAN_DEPTH_8_SPANS]; member in struct:__anon86 669 * @span : span 675 adap_span_8ld_t span[SPAN_DEPTH_4_SPANS]; member in struct:__anon87 [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_span.c | 46 struct mlxsw_sp_span *span; member in struct:mlxsw_sp_span_trigger_entry 77 return atomic_read(&mlxsw_sp->span->active_entries_count); 83 struct mlxsw_sp_span *span; local 90 span = kzalloc(struct_size(span, entries, entries_count), GFP_KERNEL); 91 if (!span) 93 refcount_set(&span->policer_id_base_ref_count, 0); 94 span->entries_count = entries_count; 95 atomic_set(&span->active_entries_count, 0); 96 mutex_init(&span 809 mlxsw_sp_span_policer_id_base_set(struct mlxsw_sp_span *span, u16 policer_id) argument 843 mlxsw_sp_span_policer_id_base_unset(struct mlxsw_sp_span *span) argument 1000 mlxsw_sp_span_analyzed_port_find(struct mlxsw_sp_span *span, u16 local_port, bool ingress) argument 1018 struct mlxsw_sp_span *span = mlxsw_sp->span; local 1030 struct mlxsw_sp_span *span; local 1115 mlxsw_sp_span_analyzed_port_create(struct mlxsw_sp_span *span, struct mlxsw_sp_port *mlxsw_sp_port, bool ingress) argument 1215 __mlxsw_sp_span_trigger_port_bind(struct mlxsw_sp_span *span, struct mlxsw_sp_span_trigger_entry * trigger_entry, bool enable) argument 1476 struct mlxsw_sp_span *span = trigger_entry->span; local 1498 mlxsw_sp_span_trigger_entry_create(struct mlxsw_sp_span *span, enum mlxsw_sp_span_trigger trigger, struct mlxsw_sp_port *mlxsw_sp_port, const struct mlxsw_sp_span_trigger_parms *parms) argument 1533 mlxsw_sp_span_trigger_entry_destroy(struct mlxsw_sp_span *span, struct mlxsw_sp_span_trigger_entry * trigger_entry) argument 1543 mlxsw_sp_span_trigger_entry_find(struct mlxsw_sp_span *span, enum mlxsw_sp_span_trigger trigger, struct mlxsw_sp_port *mlxsw_sp_port) argument [all...] |
/linux-master/tools/testing/selftests/resctrl/ |
H A D | cmt_test.c | 59 static int check_results(struct resctrl_val_param *param, size_t span, int no_of_bits) argument 90 return show_results_info(sum_llc_occu_resc, no_of_bits, span, 108 size_t span; local 138 span = cache_portion_size(cache_total_size, param.mask, long_mask); 141 /* Duplicate the command to be able to replace span in it */ 146 ret = asprintf(&span_str, "%zu", span); 159 ret = check_results(¶m, span, n);
|
H A D | mbm_test.c | 18 show_bw_info(unsigned long *bw_imc, unsigned long *bw_resc, size_t span) argument 43 ksft_print_msg("Span (MB): %zu\n", span / MB); 50 static int check_results(size_t span) argument 82 ret = show_bw_info(bw_imc, bw_resc, span);
|
H A D | cat_test.c | 141 * @span: Buffer size for the benchmark 159 size_t span, unsigned long current_mask) 194 buf = alloc_buffer(span, 1); 211 mem_flush(buf, span); 212 fill_cache_read(buf, span, true); 218 fill_cache_read(buf, span, true); 244 size_t span; local 281 span = cache_portion_size(cache_total_size, start_mask, full_cache_mask); 285 ret = cat_test(test, uparams, ¶m, span, start_mask); 156 cat_test(const struct resctrl_test *test, const struct user_params *uparams, struct resctrl_val_param *param, size_t span, unsigned long current_mask) argument
|
/linux-master/drivers/platform/surface/aggregator/ |
H A D | ssh_parser.h | 123 * sshp_buf_span_from() - Initialize a span from the given buffer and offset. 124 * @buf: The buffer to create the span from. 125 * @offset: The offset in the buffer at which the span should start. 126 * @span: The span to initialize (output). 128 * Initializes the provided span to point to the memory at the given offset in 129 * the buffer, with the length of the span being capped by the number of bytes 138 struct ssam_span *span) 140 span->ptr = buf->ptr + offset; 141 span 137 sshp_buf_span_from(struct sshp_buf *buf, size_t offset, struct ssam_span *span) argument [all...] |
/linux-master/fs/netfs/ |
H A D | iterator.c | 106 * Select the span of a bvec iterator we're going to use. Limit it by both maximum 107 * size and maximum number of segments. Returns the size of the span in bytes. 114 size_t len, span = 0, n = iter->count; local 133 span += len; 136 if (span >= max_size || nsegs >= max_segs) 142 return min(span, max_size); 146 * Select the span of an xarray iterator we're going to use. Limit it by both 149 * Returns the size of the span in bytes. 158 size_t span = 0, n = iter->count; local 181 span [all...] |
/linux-master/drivers/iio/dac/ |
H A D | ltc2688.c | 139 int ret, reg, span; local 145 span = FIELD_GET(LTC2688_CH_SPAN_MSK, reg); 147 if (span >= LTC2688_SPAN_RANGE_MAX) 150 return span; 160 int span, fs; local 162 span = ltc2688_span_get(st, c); 163 if (span < 0) 164 return span; 166 fs = ltc2688_span_helper[span][1] - ltc2688_span_helper[span][ 177 int span; local 735 u32 span; local 751 int ret, span; local [all...] |
H A D | ad5791.c | 68 int (*get_lin_comp) (unsigned int span); 210 static int ad5791_get_lin_comp(unsigned int span) argument 212 if (span <= 10000) 214 else if (span <= 12000) 216 else if (span <= 16000) 218 else if (span <= 19000) 224 static int ad5780_get_lin_comp(unsigned int span) argument 226 if (span <= 10000)
|
/linux-master/drivers/net/wireless/realtek/rtw89/ |
H A D | sar.c | 58 #define RTW89_SAR_SPAN_VALID(span) ((span)->subband_high) 70 /* Since 6GHz SAR subbands are not edge aligned, some cases span two SAR 92 const struct rtw89_sar_span *span = NULL; local 100 * to make first span as index 0 of the table. So, if center 104 span = &rtw89_sar_overlapping_6ghz[idx]; 107 if (span && RTW89_SAR_SPAN_VALID(span)) { 108 subband_l = span->subband_low; 109 subband_h = span [all...] |
/linux-master/arch/sh/mm/ |
H A D | pmb.c | 146 unsigned long span; local 169 span = pmbe->size; 176 span += iter->size; 181 if (size <= span) { 381 * Link adjacent entries that span multiple PMB 640 * see if the entries span a contiguous mapping. If so, 657 unsigned long span, newsize; local 661 span = newsize = head->size; 665 span += tail->size; 667 if (pmb_size_valid(span)) { [all...] |
/linux-master/include/linux/sched/ |
H A D | topology.h | 160 unsigned long span[]; member in struct:sched_domain 165 return to_cpumask(sd->span);
|
/linux-master/net/mac802154/ |
H A D | rx.c | 138 __le16 span, sshort; local 143 span = wpan_dev->pan_id; 170 if (mac_cb(skb)->dest.pan_id != span && 179 if (mac_cb(skb)->dest.pan_id != span &&
|
/linux-master/drivers/s390/scsi/ |
H A D | zfcp_qdio.c | 56 unsigned long long now, span; local 60 span = (now - qdio->req_q_time) >> 12; 62 qdio->req_q_util += used * span;
|
/linux-master/Documentation/sphinx/ |
H A D | rstFlatTable.py | 17 * *column-span*: with the role ``cspan`` a cell can be extended through 20 * *row-span*: with the role ``rspan`` a cell can be extended through 23 * *auto span* rightmost cell of a table row over the missing cells on the 25 can be changed from *auto span* to *auto fill*, which automatically inserts 77 nodelist = [colSpan(span=int(text))] 88 nodelist = [rowSpan(span=int(text))] 357 cspan = elem.get("span") 361 rspan = elem.get("span")
|