/linux-master/drivers/iio/trigger/ |
H A D | stm32-timer-trigger.c | 402 const char * const *cur = priv->triggers; local 406 while (cur && *cur) { 408 bool cur_is_trgo = stm32_timer_is_trgo_name(*cur); 409 bool cur_is_trgo2 = stm32_timer_is_trgo2_name(*cur); 412 cur++; 416 trig = devm_iio_trigger_alloc(priv->dev, "%s", *cur); 439 cur++; 522 const char * const *cur = priv->valids; local 528 while (cur [all...] |
/linux-master/tools/perf/tests/ |
H A D | pmu-events.c | 827 char *dup, *cur; local 841 for (cur = strchr(dup, '@') ; cur; cur = strchr(++cur, '@')) 842 *cur = '/'; 986 struct hashmap_entry *cur; local 1011 hashmap__for_each_entry(ctx->ids, cur, bkt) 1012 expr__add_id_val(ctx, strdup(cur->pkey), i++); 1014 hashmap__for_each_entry(ctx->ids, cur, bk [all...] |
/linux-master/net/ipv6/ |
H A D | ndisc.c | 184 static struct nd_opt_hdr *ndisc_next_option(struct nd_opt_hdr *cur, argument 188 if (!cur || !end || cur >= end) 190 type = cur->nd_opt_type; 192 cur = ((void *)cur) + (cur->nd_opt_len << 3); 193 } while (cur < end && cur->nd_opt_type != type); 194 return cur < 208 ndisc_next_useropt(const struct net_device *dev, struct nd_opt_hdr *cur, struct nd_opt_hdr *end) argument [all...] |
/linux-master/lib/ |
H A D | ts_fsm.c | 137 struct ts_fsm_token *cur = NULL, *next; local 166 cur = &fsm->tokens[tok_idx]; 173 switch (cur->recur) { 178 if (!match_token(cur, data[block_idx])) 184 !match_token(cur, data[block_idx])) 192 if (!match_token(cur, data[block_idx])) 206 if (!match_token(cur, data[block_idx])) 229 if (!match_token(cur, data[block_idx]))
|
/linux-master/drivers/cpufreq/ |
H A D | pasemi-cpufreq.c | 195 policy->cur = pas_freqs[cur_astate].frequency; 196 ppc_proc_freq = policy->cur * 1000ul;
|
H A D | amd-pstate.c | 505 cpudata->cur.aperf = aperf; 506 cpudata->cur.mperf = mperf; 507 cpudata->cur.tsc = tsc; 508 cpudata->cur.aperf -= cpudata->prev.aperf; 509 cpudata->cur.mperf -= cpudata->prev.mperf; 510 cpudata->cur.tsc -= cpudata->prev.tsc; 516 cpudata->freq = div64_u64((cpudata->cur.aperf * cpu_khz), cpudata->cur.mperf); 549 cpudata->cur.mperf, cpudata->cur [all...] |
H A D | pxa2xx-cpufreq.c | 199 policy->cur / 1000, new_freq_cpu / 1000); 201 if (vcc_core && new_freq_cpu > policy->cur) { 218 if (vcc_core && new_freq_cpu < policy->cur)
|
/linux-master/include/linux/device/ |
H A D | bus.h | 198 * @cur: device to begin the search with. 201 bus_find_next_device(const struct bus_type *bus,struct device *cur) argument 203 return bus_find_device(bus, cur, NULL, device_match_any);
|
/linux-master/drivers/net/ethernet/amd/pds_core/ |
H A D | core.c | 164 struct pdsc_q_info *cur; local 170 for (i = 0, cur = q->info; i < q->num_descs; i++, cur++) 171 cur->desc = base + (i * q->desc_size); 176 struct pdsc_cq_info *cur; local 182 for (i = 0, cur = cq->info; i < cq->num_descs; i++, cur++) 183 cur->comp = base + (i * cq->desc_size);
|
/linux-master/drivers/net/wireless/mediatek/mt76/ |
H A D | testmode.c | 488 struct nlattr *cur; local 492 nla_for_each_nested(cur, tb[MT76_TM_ATTR_TX_POWER], rem) { 493 if (nla_len(cur) != 1 || 497 td->tx_power[idx++] = nla_get_u8(cur); 502 struct nlattr *cur; local 506 nla_for_each_nested(cur, tb[MT76_TM_ATTR_MAC_ADDRS], rem) { 507 if (nla_len(cur) != ETH_ALEN || idx >= 3) 510 memcpy(td->addr[idx], nla_data(cur), ETH_ALEN);
|
/linux-master/tools/perf/util/ |
H A D | unwind-libunwind-local.c | 115 u8 *cur = *p; local 123 *val = dw_read(cur, unsigned long, end); 133 *val = (unsigned long) cur; 144 *val += dw_read(cur, s32, end); 147 *val += dw_read(cur, u32, end); 150 *val += dw_read(cur, s64, end); 153 *val += dw_read(cur, u64, end); 160 *p = cur;
|
H A D | metricgroup.c | 613 char *cur; local 642 for (cur = strchr(sb.buf, '@') ; cur; cur = strchr(++cur, '@')) { 643 *cur = '/'; 673 struct hashmap_entry *cur; local 681 hashmap__for_each_entry(ctx->ids, cur, bkt) { 682 const char *sep, *rsep, *id = cur->pkey; 850 struct hashmap_entry *cur; local 1404 struct hashmap_entry *cur; local [all...] |
/linux-master/drivers/net/ethernet/ |
H A D | fealnx.c | 1375 struct fealnx_desc *cur; local 1385 cur = &np->tx_ring[i]; 1386 if (cur->skbuff) { 1387 dma_unmap_single(&np->pci_dev->dev, cur->buffer, 1388 cur->skbuff->len, DMA_TO_DEVICE); 1389 dev_kfree_skb_any(cur->skbuff); 1390 cur->skbuff = NULL; 1392 cur->status = 0; 1393 cur->control = 0; /* needed? */ 1395 cur 1409 struct fealnx_desc *cur = np->cur_rx; local 1643 struct fealnx_desc *cur; local [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | mcg.c | 904 struct mlx4_spec_list *cur; local 913 list_for_each_entry(cur, &rule->list, list) { 914 switch (cur->id) { 917 "dmac = %pM ", &cur->eth.dst_mac); 918 if (cur->eth.ether_type) 921 be16_to_cpu(cur->eth.ether_type)); 922 if (cur->eth.vlan_id) 925 be16_to_cpu(cur->eth.vlan_id)); 929 if (cur->ipv4.src_ip) 932 &cur 981 struct mlx4_spec_list *cur; local [all...] |
/linux-master/fs/ |
H A D | userfaultfd.c | 1296 struct vm_area_struct *vma, *prev, *cur; local 1370 cur = vma; 1374 BUG_ON(!!cur->vm_userfaultfd_ctx.ctx ^ 1375 !!(cur->vm_flags & __VM_UFFD_FLAGS)); 1379 if (!vma_can_userfault(cur, vm_flags, wp_async)) 1391 if (unlikely(!(cur->vm_flags & VM_MAYWRITE))) 1398 if (is_vm_hugetlb_page(cur) && end <= cur->vm_end && 1399 end > cur->vm_start) { 1400 unsigned long vma_hpagesize = vma_kernel_pagesize(cur); 1519 struct vm_area_struct *vma, *prev, *cur; local [all...] |
/linux-master/drivers/md/bcache/ |
H A D | journal.h | 122 struct journal_write w[2], *cur; member in struct:journal
|
/linux-master/drivers/misc/lkdtm/ |
H A D | core.c | 448 struct crashpoint *cur = &crashpoints[i]; local 450 debugfs_create_file(cur->name, 0644, lkdtm_debugfs_root, cur, 451 &cur->fops);
|
/linux-master/security/selinux/ss/ |
H A D | avtab.h | 113 int avtab_write_item(struct policydb *p, const struct avtab_node *cur,
|
/linux-master/arch/arm64/kvm/hyp/nvhe/ |
H A D | mm.c | 49 unsigned long cur; local 57 cur = start + PAGE_ALIGN(size); 60 if (cur > __hyp_vmemmap) 63 __io_map_base = cur;
|
/linux-master/drivers/vfio/pci/mlx5/ |
H A D | main.c | 1089 u32 cur = mvdev->mig_state; local 1092 if (cur == VFIO_DEVICE_STATE_RUNNING_P2P && new == VFIO_DEVICE_STATE_STOP) { 1100 if (cur == VFIO_DEVICE_STATE_STOP && new == VFIO_DEVICE_STATE_RUNNING_P2P) { 1108 if ((cur == VFIO_DEVICE_STATE_RUNNING && new == VFIO_DEVICE_STATE_RUNNING_P2P) || 1109 (cur == VFIO_DEVICE_STATE_PRE_COPY && new == VFIO_DEVICE_STATE_PRE_COPY_P2P)) { 1117 if ((cur == VFIO_DEVICE_STATE_RUNNING_P2P && new == VFIO_DEVICE_STATE_RUNNING) || 1118 (cur == VFIO_DEVICE_STATE_PRE_COPY_P2P && new == VFIO_DEVICE_STATE_PRE_COPY)) { 1126 if (cur == VFIO_DEVICE_STATE_STOP && new == VFIO_DEVICE_STATE_STOP_COPY) { 1137 if (cur == VFIO_DEVICE_STATE_STOP_COPY && new == VFIO_DEVICE_STATE_STOP) { 1142 if ((cur [all...] |
/linux-master/tools/crypto/ccp/ |
H A D | test_dbc.py | 209 "soc-power-cur": PARAM_GET_SOC_PWR_CUR, 240 cur = process_param(self.d, PARAM_GET_FMAX_CAP, self.signature) 241 self.assertEqual(cur[0], original[0]) 258 cur = process_param(self.d, PARAM_GET_PWR_CAP, self.signature) 259 self.assertEqual(cur[0], original[0])
|
/linux-master/include/linux/ |
H A D | kprobes.h | 557 struct llist_node **cur) 559 return rethook_find_ret_addr(tsk, (unsigned long)fp, cur); 568 struct llist_node **cur); 578 struct llist_node **cur) 556 kretprobe_find_ret_addr(struct task_struct *tsk, void *fp, struct llist_node **cur) argument 577 kretprobe_find_ret_addr(struct task_struct *tsk, void *fp, struct llist_node **cur) argument
|
/linux-master/drivers/platform/x86/ |
H A D | msi-wmi.c | 199 ktime_t cur = ktime_get_real(); local 200 ktime_t diff = ktime_sub(cur, last_pressed); 209 last_pressed = cur;
|
/linux-master/lib/zstd/compress/ |
H A D | zstd_ldm.c | 388 ldmEntry_t const* cur; local 403 for (cur = bucket; cur < bucket + entsPerBucket; cur++) { 406 if (cur->checksum != checksum || cur->offset <= lowestIndex) { 411 cur->offset < dictLimit ? dictBase : base; 412 BYTE const* const pMatch = curMatchBase + cur->offset; 414 cur->offset < dictLimit ? dictEnd : iend; 416 cur [all...] |
/linux-master/fs/configfs/ |
H A D | symlink.c | 47 int cur = strlen(config_item_name(p)); local 50 length -= cur; 51 memcpy(buffer + length, config_item_name(p), cur);
|