Home
last modified time | relevance | path

Searched refs:p (Results 626 – 650 of 9049) sorted by relevance

1...<<21222324252627282930>>...362

/openbmc/linux/Documentation/translations/zh_CN/scheduler/
H A Dsched-capacity.rst132 task_util(p) = duty_cycle(p)
148 可以算出 duty_cycle(p) == 25%。
162 task_util_freq_inv(p) = duty_cycle(p) * (curr_frequency(cpu) / max_frequency(cpu))
191 - duty_cycle(p) == 25%,如果任务p在CPU0上按最大频率运行。
192 - duty_cycle(p) == 75%,如果任务p在CPU1上按最大频率运行。
196 task_util_cpu_inv(p) = duty_cycle(p) * (capacity(cpu) / max_capacity)
208 task_util_inv(p) = duty_cycle(p) * ------------------- * -------------
302 task_util(p) < capacity(task_cpu(p))
318 clamp(task_util(p), task_uclamp_min(p), task_uclamp_max(p)) < capacity(cpu)
358 则任务可能变为CPU受限的,也就是说 ``task_util(p) > capacity(task_cpu(p))`` ;CPU算力
[all …]
/openbmc/u-boot/lib/efi_loader/
H A Defi_device_path.c248 if (!p) in efi_dp_size()
252 p = (void *)p + p->length; in efi_dp_size()
363 if (!p) in efi_dp_append_instance()
367 p = (void *)p + sz; in efi_dp_append_instance()
369 p = (void *)p + sizeof(END); in efi_dp_append_instance()
371 p = (void *)p + szi; in efi_dp_append_instance()
388 if (!p) in efi_dp_get_next_instance()
405 if (!p) in efi_dp_is_multi_instance()
408 p = (void *)p + p->length; in efi_dp_is_multi_instance()
938 p = efi_dp_next(p); in efi_dp_split_file_path()
[all …]
/openbmc/linux/kernel/sched/
H A Drt.c439 plist_node_init(&p->pushable_tasks, p->prio); in enqueue_pushable_task()
630 return p->prio != p->normal_prio; in rt_se_boosted()
1551 if (!task_current(rq, p) && p->nr_cpus_allowed > 1) in enqueue_task_rt()
1703 if (!on_rt_rq(&p->rt) && need_pull_rt_task(rq, p)) { in balance_rt()
1815 return p; in pick_task_rt()
1822 if (p) in pick_next_task_rt()
1825 return p; in pick_next_task_rt()
1844 if (on_rt_rq(&p->rt) && p->nr_cpus_allowed > 1) in put_prev_task_rt()
1876 return p; in pick_highest_pushable_task()
2053 return p; in pick_next_pushable_task()
[all …]
H A Dstats.h50 void __update_stats_wait_end(struct rq *rq, struct task_struct *p,
132 if (p->in_memstall) in psi_enqueue()
136 if (p->in_memstall) in psi_enqueue()
139 if (p->in_iowait) in psi_enqueue()
143 psi_task_change(p, clear, set); in psi_enqueue()
160 psi_task_change(p, p->psi_flags, 0); in psi_dequeue()
163 static inline void psi_ttwu_dequeue(struct task_struct *p) in psi_ttwu_dequeue() argument
172 if (unlikely(p->psi_flags)) { in psi_ttwu_dequeue()
176 rq = __task_rq_lock(p, &rf); in psi_ttwu_dequeue()
177 psi_task_change(p, p->psi_flags, 0); in psi_ttwu_dequeue()
[all …]
/openbmc/linux/drivers/tty/serial/8250/
H A D8250.h18 int (*tx_dma)(struct uart_8250_port *p);
19 int (*rx_dma)(struct uart_8250_port *p);
20 void (*prepare_tx_dma)(struct uart_8250_port *p);
21 void (*prepare_rx_dma)(struct uart_8250_port *p);
205 void serial8250_rpm_get(struct uart_8250_port *p);
206 void serial8250_rpm_put(struct uart_8250_port *p);
360 struct uart_8250_dma *dma = p->dma; in serial8250_do_prepare_tx_dma()
363 dma->prepare_tx_dma(p); in serial8250_do_prepare_tx_dma()
368 struct uart_8250_dma *dma = p->dma; in serial8250_do_prepare_rx_dma()
371 dma->prepare_rx_dma(p); in serial8250_do_prepare_rx_dma()
[all …]
/openbmc/linux/fs/
H A Dfilesystems.c51 struct file_system_type **p; in find_filesystem() local
52 for (p = &file_systems; *p; p = &(*p)->next) in find_filesystem()
54 !(*p)->name[len]) in find_filesystem()
56 return p; in find_filesystem()
75 struct file_system_type ** p; in register_filesystem() local
86 if (*p) in register_filesystem()
89 *p = fs; in register_filesystem()
214 struct file_system_type *p; in list_bdev_fs_names() local
219 for (p = file_systems; p; p = p->next) { in list_bdev_fs_names()
222 len = strlen(p->name) + 1; in list_bdev_fs_names()
[all …]
/openbmc/linux/drivers/irqchip/
H A Dirq-mscc-ocelot.c81 struct chip_props *p = d->host_data; in ocelot_irq_unmask() local
90 irq_reg_writel(gc, mask, p->reg_off_sticky); in ocelot_irq_unmask()
93 irq_reg_writel(gc, mask, p->reg_off_ena_set); in ocelot_irq_unmask()
101 struct chip_props *p = d->host_data; in ocelot_irq_handler() local
119 struct chip_props *p) in vcoreiii_irq_init() argument
129 domain = irq_domain_add_linear(node, p->n_irq, in vcoreiii_irq_init()
153 gc->chip_types[0].regs.ack = p->reg_off_sticky; in vcoreiii_irq_init()
154 if (p->flags & FLAGS_HAS_TRIGGER) { in vcoreiii_irq_init()
166 irq_reg_writel(gc, 0, p->reg_off_ena); in vcoreiii_irq_init()
170 if (p->flags & FLAGS_NEED_INIT_ENABLE) in vcoreiii_irq_init()
[all …]
/openbmc/linux/tools/testing/radix-tree/linux/
H A Drcupdate.h7 #define rcu_dereference_raw(p) rcu_dereference(p) argument
8 #define rcu_dereference_protected(p, cond) rcu_dereference(p) argument
9 #define rcu_dereference_check(p, cond) rcu_dereference(p) argument
10 #define RCU_INIT_POINTER(p, v) do { (p) = (v); } while (0) argument
/openbmc/qemu/scripts/codeconverter/
H A Dconverter.py57 classes = [p for arg in args.patterns
58 for p in re.split(r'[\s,]', arg)
59 if p.strip()]
91 p.add_argument('filenames', nargs='+')
92 p.add_argument('--passes', type=int, default=1,
99 p.add_argument('--dry-run', action='store_true',
103 p.add_argument('--diff', action='store_true',
109 p.add_argument('--table', action='store_true',
111 p.add_argument_group("Valid pattern names",
113 args = p.parse_args()
[all …]
/openbmc/qemu/target/hppa/
H A Dtrace-events4 …(void *env, void *ent, uint64_t va_b, uint64_t va_e, uint64_t pa) "env=%p ent=%p va_b=0x%lx va_e=0…
5 … void *ent, int valid, uint64_t va_b, uint64_t va_e, uint64_t pa) "env=%p ent=%p valid=%d va_b=0x%…
6 disable hppa_tlb_find_entry_not_found(void *env, uint64_t addr) "env=%p addr=%08lx"
8 disable hppa_tlb_fill_excp(void *env, uint64_t addr, int size, int type, int mmu_idx) "env=%p addr=…
10 …(void *env, void *ent, uint64_t va_b, uint64_t va_e, uint64_t pa) "env=%p ent=%p va_b=0x%lx va_e=0…
11 …ccess_id, int u, int pl2, int pl1, int type, int b, int d, int t) "env=%p ent=%p access_id=%x u=%d…
12 disable hppa_tlb_ptlb(void *env) "env=%p"
13 disable hppa_tlb_ptlb_local(void *env) "env=%p"
14 disable hppa_tlb_ptlbe(void *env) "env=%p"
15 disable hppa_tlb_lpa_success(void *env, uint64_t addr, uint64_t phys) "env=%p addr=0x%lx phys=0x%lx"
[all …]
/openbmc/qemu/bsd-user/x86_64/
H A Dtarget_arch_cpu.c39 uint32_t *p; in bsd_x86_64_write_dt() local
43 p = ptr; in bsd_x86_64_write_dt()
44 p[0] = tswap32(e1); in bsd_x86_64_write_dt()
45 p[1] = tswap32(e2); in bsd_x86_64_write_dt()
51 uint32_t *p, e1, e2; in set_gate64() local
54 p = ptr; in set_gate64()
55 p[0] = tswap32(e1); in set_gate64()
56 p[1] = tswap32(e2); in set_gate64()
57 p[2] = tswap32(addr >> 32); in set_gate64()
58 p[3] = 0; in set_gate64()
/openbmc/linux/arch/sh/kernel/
H A Dnmi_debug.c47 char *p, *sep; in nmi_debug_setup() local
54 for (p = str + 1; *p; p = sep + 1) { in nmi_debug_setup()
55 sep = strchr(p, ','); in nmi_debug_setup()
58 if (strcmp(p, "state") == 0) in nmi_debug_setup()
60 else if (strcmp(p, "regs") == 0) in nmi_debug_setup()
62 else if (strcmp(p, "debounce") == 0) in nmi_debug_setup()
64 else if (strcmp(p, "die") == 0) in nmi_debug_setup()
68 p); in nmi_debug_setup()
/openbmc/u-boot/board/freescale/common/
H A Dsys_eeprom.c118 u8 *p = e.mac[i]; in show_eeprom() local
121 p[0], p[1], p[2], p[3], p[4], p[5]); in show_eeprom()
199 void *p; in prog_eeprom() local
223 for (i = 0, p = &e; i < sizeof(e); i += 8, p += 8) { in prog_eeprom()
263 if ((p >= '0') && (p <= '9')) in h2i()
264 return p - '0'; in h2i()
266 if ((p >= 'A') && (p <= 'F')) in h2i()
269 if ((p >= 'a') && (p <= 'f')) in h2i()
315 e.mac[index][i] = simple_strtoul(p, &p, 16); in set_mac_address()
316 if (*p == ':') in set_mac_address()
[all …]
/openbmc/linux/lib/
H A Dcrc32.c118 u8 *p = (u8 *)(b + 1) - 1; local
153 crc ^= *p++;
159 crc ^= *p++;
167 crc ^= *p++;
174 crc ^= *p++;
179 crc = crc32_body(crc, p, len, tab);
300 crc ^= *p++ << 24;
308 crc ^= *p++ << 24;
316 crc ^= *p++ << 24;
322 crc ^= *p++ << 24;
[all …]
/openbmc/linux/net/sched/
H A Dact_skbmod.c31 struct tcf_skbmod_params *p; in tcf_skbmod_act() local
42 p = rcu_dereference_bh(d->skbmod_p); in tcf_skbmod_act()
43 flags = p->flags; in tcf_skbmod_act()
190 if (unlikely(!p)) { in tcf_skbmod_init()
195 p->flags = lflags; in tcf_skbmod_init()
208 p->eth_type = htons(eth_type); in tcf_skbmod_init()
231 struct tcf_skbmod_params *p; in tcf_skbmod_cleanup() local
234 if (p) in tcf_skbmod_cleanup()
235 kfree_rcu(p, rcu); in tcf_skbmod_cleanup()
243 struct tcf_skbmod_params *p; in tcf_skbmod_dump() local
[all …]
/openbmc/qemu/migration/
H A Dmigration-hmp-cmds.c516 p->has_max_cpu_throttle = true; in hmp_migrate_set_parameter()
535 p->has_max_bandwidth = true; in hmp_migrate_set_parameter()
546 p->max_bandwidth = valuebw; in hmp_migrate_set_parameter()
559 p->has_downtime_limit = true; in hmp_migrate_set_parameter()
567 p->has_multifd_channels = true; in hmp_migrate_set_parameter()
607 p->has_announce_max = true; in hmp_migrate_set_parameter()
611 p->has_announce_rounds = true; in hmp_migrate_set_parameter()
615 p->has_announce_step = true; in hmp_migrate_set_parameter()
631 p->has_mode = true; in hmp_migrate_set_parameter()
635 p->has_direct_io = true; in hmp_migrate_set_parameter()
[all …]
/openbmc/qemu/hw/usb/
H A Dredirect.c418 if (p->combined && p != p->combined->first) { in usbredir_fill_already_in_flight_from_ep()
460 return p; in usbredir_find_packet_by_id()
625 usb_packet_copy(p, buf, p->iov.size); in usbredir_handle_iso_data()
676 p->actual_length < p->iov.size && p->status == USB_RET_SUCCESS) { in usbredir_buffered_bulk_in_complete_raw()
678 if (count > (p->iov.size - p->actual_length)) { in usbredir_buffered_bulk_in_complete_raw()
679 count = p->iov.size - p->actual_length; in usbredir_buffered_bulk_in_complete_raw()
694 p->actual_length < p->iov.size && p->status == USB_RET_SUCCESS) { in usbredir_buffered_bulk_in_complete_ftdi()
728 ep, p->status, p->actual_length, p->id); in usbredir_buffered_bulk_in_complete()
807 ep, p->stream, size, p->id); in usbredir_handle_bulk_data()
929 p->iov.size, p->id); in usbredir_handle_interrupt_out_data()
[all …]
/openbmc/qemu/tests/qemu-iotests/sample_images/
H A Diotest-dirtylog-10G-4M.vhdx.bz21vhdxfileQ�E�M�U� �v�1�.�6�.�5�
/openbmc/linux/tools/testing/selftests/rcutorture/bin/
H A Dconfig2csv.sh36 cat << '---EOF---' >> $T/p.awk
41 echo ' s["'$i'"] = 1;' >> $T/p.awk
42 grep -v '^#' < $i | grep -v '^ *$' > $T/p
45 tr -s ' ' '\012' < $i.boot | grep -v '^#' >> $T/p
47 sed -e 's/^[^=]*$/&=?/' < $T/p |
48 sed -e 's/^\([^=]*\)=\(.*\)$/\tp["\1:'"$i"'"] = "\2";\n\tc["\1"] = 1;/' >> $T/p.awk
50 cat << '---EOF---' >> $T/p.awk
59 printf ",\"%s\"", p[cs[i] ":" ss[j]];
65 awk -f $T/p.awk < /dev/null > $T/p.csv
66 cp $T/p.csv $csvout
/openbmc/linux/block/
H A Dearly-lookup.c157 char *p; in devt_from_devname() local
162 for (p = s; *p; p++) { in devt_from_devname()
163 if (*p == '/') in devt_from_devname()
164 *p = '!'; in devt_from_devname()
175 while (p > s && isdigit(p[-1])) in devt_from_devname()
176 p--; in devt_from_devname()
177 if (p == s || !*p || *p == '0') in devt_from_devname()
182 *p = '\0'; in devt_from_devname()
188 if (p < s + 2 || !isdigit(p[-2]) || p[-1] != 'p') in devt_from_devname()
190 p[-1] = '\0'; in devt_from_devname()
[all …]
/openbmc/linux/drivers/net/ethernet/smsc/
H A Dsmc91x.h90 #define SMC_insb(a, r, p, l) readsb((a) + (r), p, l) argument
91 #define SMC_outsb(a, r, p, l) writesb((a) + (r), p, l) argument
92 #define SMC_insw(a, r, p, l) readsw((a) + (r), p, l) argument
93 #define SMC_outsw(a, r, p, l) writesw((a) + (r), p, l) argument
94 #define SMC_insl(a, r, p, l) readsl((a) + (r), p, l) argument
95 #define SMC_outsl(a, r, p, l) writesl((a) + (r), p, l) argument
149 #define SMC_insw(a, r, p, l) readsw((a) + (r), p, l) argument
151 #define SMC_insl(a, r, p, l) readsl((a) + (r), p, l) argument
180 #define SMC_insw(a, r, p, l) mcf_insw(a + r, p, l) argument
181 #define SMC_outsw(a, r, p, l) mcf_outsw(a + r, p, l) argument
[all …]
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Dpixfmt-rgb.rst72p{2.8cm}|p{2.0cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|
781p{3.2cm}|p{0.8cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|
1013p{2.6cm}|p{0.70cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}|p{0.22cm}…
/openbmc/qemu/hw/virtio/
H A Dtrace-events11 vhost_dev_cleanup(void *dev) "%p"
43 vhost_vdpa_init(void *dev, void *s, void *vdpa) "dev: %p, common dev: %p vdpa: %p"
44 vhost_vdpa_cleanup(void *dev, void *vdpa) "dev: %p vdpa: %p"
55 vhost_vdpa_get_config(void *dev, void *config, uint32_t config_len) "dev: %p config: %p config_len:…
56 vhost_vdpa_suspend(void *dev) "dev: %p"
66 vhost_vdpa_set_owner(void *dev) "dev: %p"
73 virtqueue_fill(void *vq, const void *elem, unsigned int len, unsigned int idx) "vq %p elem %p len %…
76 virtio_queue_notify(void *vdev, int n, void *vq) "vdev %p n %d vq %p"
77 virtio_notify_irqfd_deferred_fn(void *vdev, void *vq) "vdev %p vq %p"
78 virtio_notify_irqfd(void *vdev, void *vq) "vdev %p vq %p"
[all …]
/openbmc/qemu/gdbstub/
H A Dsyscalls.c96 char *p, *p_end; in gdb_do_syscall() local
106 p = gdbserver_syscall_state.syscall_buf; in gdb_do_syscall()
107 p_end = p + sizeof(gdbserver_syscall_state.syscall_buf); in gdb_do_syscall()
108 *(p++) = 'F'; in gdb_do_syscall()
118 p += snprintf(p, p_end - p, "%" PRIx32, i32); in gdb_do_syscall()
125 p += snprintf(p, p_end - p, "%" PRIx64, i64); in gdb_do_syscall()
130 p += snprintf(p, p_end - p, "%" PRIx64 "/%x" PRIx32, i64, i32); in gdb_do_syscall()
139 *(p++) = *(fmt++); in gdb_do_syscall()
142 *p = 0; in gdb_do_syscall()
/openbmc/linux/arch/sparc/include/asm/
H A Debus_dma.h16 void (*callback)(struct ebus_dma_info *p, int event, void *cookie);
26 int ebus_dma_register(struct ebus_dma_info *p);
27 int ebus_dma_irq_enable(struct ebus_dma_info *p, int on);
28 void ebus_dma_unregister(struct ebus_dma_info *p);
29 int ebus_dma_request(struct ebus_dma_info *p, dma_addr_t bus_addr,
31 void ebus_dma_prepare(struct ebus_dma_info *p, int write);
32 unsigned int ebus_dma_residue(struct ebus_dma_info *p);
33 unsigned int ebus_dma_addr(struct ebus_dma_info *p);
34 void ebus_dma_enable(struct ebus_dma_info *p, int on);

1...<<21222324252627282930>>...362