Home
last modified time | relevance | path

Searched refs:comm (Results 1 – 25 of 606) sorted by relevance

12345678910>>...25

/linux-6.15/drivers/net/ethernet/sunplus/
H A Dspl2sw_desc.c37 if (!comm->tx_desc) in spl2sw_tx_descs_clean()
48 dma_unmap_single(&comm->pdev->dev, comm->tx_temp_skb_info[i].mapping, in spl2sw_tx_descs_clean()
103 comm->tx_desc = NULL; in spl2sw_descs_free()
109 dma_free_coherent(&comm->pdev->dev, comm->desc_size, comm->desc_base, in spl2sw_descs_free()
110 comm->desc_dma); in spl2sw_descs_free()
112 comm->desc_dma = 0; in spl2sw_descs_free()
179 comm->desc_base = dma_alloc_coherent(&comm->pdev->dev, desc_size, &comm->desc_dma, in spl2sw_descs_alloc()
187 comm->tx_desc = comm->desc_base; in spl2sw_descs_alloc()
190 comm->rx_desc[0] = &comm->tx_desc[TX_DESC_NUM + MAC_GUARD_DESC_NUM]; in spl2sw_descs_alloc()
192 comm->rx_desc[i] = comm->rx_desc[i - 1] + comm->rx_desc_num[i - 1]; in spl2sw_descs_alloc()
[all …]
H A Dspl2sw_mac.c20 if (comm->enable == 0) { in spl2sw_mac_hw_stop()
55 struct spl2sw_common *comm = mac->comm; in spl2sw_mac_addr_add() local
90 struct spl2sw_common *comm = mac->comm; in spl2sw_mac_addr_del() local
134 writel(comm->desc_dma, comm->l2sw_reg_base + L2SW_TX_LBASE_ADDR_0); in spl2sw_mac_hw_init()
220 struct spl2sw_common *comm = mac->comm; in spl2sw_mac_rx_mode_set() local
251 comm->rx_pos[i] = 0; in spl2sw_mac_init()
254 spl2sw_mac_hw_init(comm); in spl2sw_mac_init()
264 comm->tx_pos = 0; in spl2sw_mac_soft_reset()
265 comm->tx_done_pos = 0; in spl2sw_mac_soft_reset()
266 comm->tx_desc_full = 0; in spl2sw_mac_soft_reset()
[all …]
H A Dspl2sw_int.c36 rx_pos = comm->rx_pos[queue]; in spl2sw_rx_poll()
85 comm->rx_desc_buff_size, in spl2sw_rx_poll()
150 spin_lock(&comm->tx_lock); in spl2sw_tx_poll()
153 while (((tx_done_pos != comm->tx_pos) || (comm->tx_desc_full == 1)) && budget_left) { in spl2sw_tx_poll()
186 if (comm->tx_desc_full == 1) in spl2sw_tx_poll()
187 comm->tx_desc_full = 0; in spl2sw_tx_poll()
193 if (!comm->tx_desc_full) in spl2sw_tx_poll()
195 if (comm->ndev[i]) in spl2sw_tx_poll()
199 spin_unlock(&comm->tx_lock); in spl2sw_tx_poll()
235 if (comm->ndev[i]) { in spl2sw_ethernet_interrupt()
[all …]
H A Dspl2sw_driver.c28 struct spl2sw_common *comm = mac->comm; in spl2sw_ethernet_open() local
52 struct spl2sw_common *comm = mac->comm; in spl2sw_ethernet_stop() local
69 struct spl2sw_common *comm = mac->comm; in spl2sw_ethernet_start_xmit() local
171 struct spl2sw_common *comm = mac->comm; in spl2sw_ethernet_tx_timeout() local
181 if (comm->ndev[i]) in spl2sw_ethernet_tx_timeout()
336 comm = devm_kzalloc(&pdev->dev, sizeof(*comm), GFP_KERNEL); in spl2sw_probe()
337 if (!comm) in spl2sw_probe()
340 comm->pdev = pdev; in spl2sw_probe()
460 mac->comm = comm; in spl2sw_probe()
476 if (comm->ndev[i]) in spl2sw_probe()
[all …]
H A Dspl2sw_mdio.c37 spin_lock_irq(&comm->mdio_lock); in spl2sw_mdio_access()
40 spin_unlock_irq(&comm->mdio_lock); in spl2sw_mdio_access()
43 comm->l2sw_reg_base + L2SW_PHY_CNTL_REG1); in spl2sw_mdio_access()
62 struct spl2sw_common *comm = bus->priv; in spl2sw_mii_read() local
69 struct spl2sw_common *comm = bus->priv; in spl2sw_mii_write() local
100 mii_bus->parent = &comm->pdev->dev; in spl2sw_mdio_init()
101 mii_bus->priv = comm; in spl2sw_mdio_init()
112 comm->mii_bus = mii_bus; in spl2sw_mdio_init()
121 if (comm->mii_bus) { in spl2sw_mdio_remove()
122 mdiobus_unregister(comm->mii_bus); in spl2sw_mdio_remove()
[all …]
H A Dspl2sw_desc.h9 void spl2sw_rx_descs_flush(struct spl2sw_common *comm);
10 void spl2sw_tx_descs_clean(struct spl2sw_common *comm);
11 void spl2sw_rx_descs_clean(struct spl2sw_common *comm);
12 void spl2sw_descs_clean(struct spl2sw_common *comm);
13 void spl2sw_descs_free(struct spl2sw_common *comm);
14 void spl2sw_tx_descs_init(struct spl2sw_common *comm);
15 int spl2sw_rx_descs_init(struct spl2sw_common *comm);
16 int spl2sw_descs_alloc(struct spl2sw_common *comm);
17 int spl2sw_descs_init(struct spl2sw_common *comm);
H A Dspl2sw_phy.c18 struct spl2sw_common *comm = mac->comm; in spl2sw_mii_link_change() local
21 reg = readl(comm->l2sw_reg_base + L2SW_MAC_FORCE_MODE); in spl2sw_mii_link_change()
51 writel(reg, comm->l2sw_reg_base + L2SW_MAC_FORCE_MODE); in spl2sw_mii_link_change()
56 int spl2sw_phy_connect(struct spl2sw_common *comm) in spl2sw_phy_connect() argument
64 if (comm->ndev[i]) { in spl2sw_phy_connect()
65 ndev = comm->ndev[i]; in spl2sw_phy_connect()
79 void spl2sw_phy_remove(struct spl2sw_common *comm) in spl2sw_phy_remove() argument
85 if (comm->ndev[i]) { in spl2sw_phy_remove()
86 ndev = comm->ndev[i]; in spl2sw_phy_remove()
H A Dspl2sw_mac.h9 void spl2sw_mac_hw_stop(struct spl2sw_common *comm);
10 void spl2sw_mac_hw_start(struct spl2sw_common *comm);
13 void spl2sw_mac_hw_init(struct spl2sw_common *comm);
15 void spl2sw_mac_init(struct spl2sw_common *comm);
16 void spl2sw_mac_soft_reset(struct spl2sw_common *comm);
/linux-6.15/drivers/staging/media/meson/vdec/
H A Dcodec_hevc_common.c161 if (comm->fbc_buffer_vaddr[i]) { in codec_hevc_free_fbc_buffers()
163 comm->fbc_buffer_vaddr[i], in codec_hevc_free_fbc_buffers()
164 comm->fbc_buffer_paddr[i]); in codec_hevc_free_fbc_buffers()
202 if (comm->mmu_header_vaddr[i]) { in codec_hevc_free_mmu_headers()
204 comm->mmu_header_vaddr[i], in codec_hevc_free_mmu_headers()
210 if (comm->mmu_map_vaddr) { in codec_hevc_free_mmu_headers()
212 comm->mmu_map_vaddr, in codec_hevc_free_mmu_headers()
213 comm->mmu_map_paddr); in codec_hevc_free_mmu_headers()
214 comm->mmu_map_vaddr = NULL; in codec_hevc_free_mmu_headers()
226 &comm->mmu_map_paddr, in codec_hevc_alloc_mmu_headers()
[all …]
/linux-6.15/tools/perf/util/
H A Dcomm.c192 struct comm *comm = zalloc(sizeof(*comm)); in comm__new() local
194 if (!comm) in comm__new()
198 comm->exec = exec; in comm__new()
201 if (!comm->comm_str) { in comm__new()
202 free(comm); in comm__new()
206 return comm; in comm__new()
218 comm->comm_str = new; in comm__override()
221 comm->exec = true; in comm__override()
226 void comm__free(struct comm *comm) in comm__free() argument
229 free(comm); in comm__free()
[all …]
H A Dthread.c49 struct comm *comm; in thread__new() local
66 if (!comm) in thread__new()
95 struct comm *comm, *tmp_comm; in thread__delete() local
213 struct comm *comm, *last = NULL, *second_last = NULL; in thread__exec_comm() local
216 if (comm->exec) in thread__exec_comm()
217 return comm; in thread__exec_comm()
219 last = comm; in thread__exec_comm()
289 const struct comm *comm = thread__comm(thread); in __thread__comm_str() local
291 if (!comm) in __thread__comm_str()
310 if (!comm) in __thread__comm_len()
[all …]
H A Dcomm.h11 struct comm { struct
22 void comm__free(struct comm *comm); argument
23 struct comm *comm__new(const char *str, u64 timestamp, bool exec);
24 const char *comm__str(const struct comm *comm);
25 int comm__override(struct comm *comm, const char *str, u64 timestamp,
H A Ddb-export.c82 static int __db_export__comm(struct db_export *dbe, struct comm *comm, in __db_export__comm() argument
93 int db_export__comm(struct db_export *dbe, struct comm *comm, in db_export__comm() argument
96 if (comm->db_id) in db_export__comm()
108 int db_export__exec_comm(struct db_export *dbe, struct comm *comm, in db_export__exec_comm() argument
113 if (comm->db_id) in db_export__exec_comm()
133 int db_export__comm_thread(struct db_export *dbe, struct comm *comm, in db_export__comm_thread() argument
298 struct comm *comm = NULL; in db_export__threads() local
315 if (comm) { in db_export__threads()
319 *comm_ptr = comm; in db_export__threads()
360 struct comm *comm = NULL; in db_export__sample() local
[all …]
H A Ddb-export.h16 struct comm;
46 int (*export_comm)(struct db_export *dbe, struct comm *comm,
49 struct comm *comm, struct thread *thread);
86 int db_export__comm(struct db_export *dbe, struct comm *comm,
88 int db_export__exec_comm(struct db_export *dbe, struct comm *comm,
90 int db_export__comm_thread(struct db_export *dbe, struct comm *comm,
/linux-6.15/tools/perf/tests/
H A Dkeep-tracking.c33 static int find_comm(struct evlist *evlist, const char *comm) in find_comm() argument
46 (pid_t)event->comm.pid == getpid() && in find_comm()
47 (pid_t)event->comm.tid == getpid() && in find_comm()
48 strcmp(event->comm.comm, comm) == 0) in find_comm()
79 const char *comm; in test__keep_tracking() local
99 evsel->core.attr.comm = 1; in test__keep_tracking()
118 comm = "Test COMM 1"; in test__keep_tracking()
119 CHECK__(prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0)); in test__keep_tracking()
123 found = find_comm(evlist, comm); in test__keep_tracking()
140 comm = "Test COMM 2"; in test__keep_tracking()
[all …]
H A Dswitch-tracking.c75 union perf_event *event, const char *comm, int nr) in check_comm() argument
78 (pid_t)event->comm.pid == getpid() && in check_comm()
79 (pid_t)event->comm.tid == getpid() && in check_comm()
80 strcmp(event->comm.comm, comm) == 0) { in check_comm()
86 pr_debug3("comm event: %s nr: %d\n", event->comm.comm, nr); in check_comm()
351 const char *comm; in test__switch_tracking() local
456 if (evsel->core.attr.mmap || evsel->core.attr.comm) { in test__switch_tracking()
489 comm = "Test COMM 1"; in test__switch_tracking()
502 comm = "Test COMM 2"; in test__switch_tracking()
515 comm = "Test COMM 3"; in test__switch_tracking()
[all …]
/linux-6.15/tools/perf/scripts/python/
H A Dnetdev-times.py328 (name, context, cpu, time, pid, comm, vec) = event_info
342 (name, context, cpu, time, pid, comm, vec) = event_info
346 (name, context, cpu, time, pid, comm, vec) = event_info
364 (name, context, cpu, time, pid, comm, napi, dev_name,
374 (name, context, cpu, time, pid, comm,
392 (name, context, cpu, time, pid, comm,
407 (name, context, cpu, time, pid, comm,
418 (name, context, cpu, time, pid, comm,
433 (name, context, cpu, time, pid, comm,
451 'comm':comm, 'pid':pid, 'comm_t':time})
[all …]
H A Dintel-pt-events.py231 def common_start_str(comm, sample): argument
345 comm = param_dict["comm"]
375 print_common_start(comm, sample, name)
379 print_common_start(comm, sample, name)
383 print_common_start(comm, sample, name)
387 print_common_start(comm, sample, name)
391 print_common_start(comm, sample, name)
395 print_common_start(comm, sample, name)
399 print_common_start(comm, sample, name)
403 print_common_start(comm, sample, name)
[all …]
/linux-6.15/include/trace/events/
H A Dsched.h28 memcpy(__entry->comm, t->comm, TASK_COMM_LEN);
155 memcpy(__entry->comm, p->comm, TASK_COMM_LEN);
287 memcpy(__entry->comm, p->comm, TASK_COMM_LEN);
312 memcpy(__entry->comm, p->comm, TASK_COMM_LEN);
358 memcpy(__entry->comm, current->comm, TASK_COMM_LEN);
442 __string( comm, task->comm )
449 __assign_str(comm);
482 memcpy(__entry->comm, tsk->comm, TASK_COMM_LEN);
540 memcpy(__entry->comm, tsk->comm, TASK_COMM_LEN);
572 memcpy(__entry->comm, tsk->comm, TASK_COMM_LEN);
[all …]
H A Dtask.h17 __array( char, comm, TASK_COMM_LEN)
24 memcpy(__entry->comm, task->comm, TASK_COMM_LEN);
30 __entry->pid, __entry->comm,
36 TP_PROTO(struct task_struct *task, const char *comm),
38 TP_ARGS(task, comm),
47 memcpy(entry->oldcomm, task->comm, TASK_COMM_LEN);
48 strscpy(entry->newcomm, comm, TASK_COMM_LEN);
/linux-6.15/tools/perf/scripts/perl/
H A Drw-by-pid.pl48 $reads{$common_pid}{comm} = $common_comm;
70 $writes{$common_pid}{comm} = $common_comm;
84 my $comm = $reads{$pid}{comm} || "";
89 printf("%6s %-20s %10s %10s %10s\n", $pid, $comm,
103 my $comm = $reads{$pid}{comm} || "";
105 push @errcounts, [$pid, $comm, $error, $errcount];
125 my $comm = $writes{$pid}{comm} || "";
129 printf("%6s %-20s %10s %10s\n", $pid, $comm,
143 my $comm = $writes{$pid}{comm} || "";
145 push @errcounts, [$pid, $comm, $error, $errcount];
/linux-6.15/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DEventClass.py26 def create_event(name, comm, dso, symbol, raw_buf): argument
28 event = PebsEvent(name, comm, dso, symbol, raw_buf)
30 event = PebsNHM(name, comm, dso, symbol, raw_buf)
32 event = PerfEvent(name, comm, dso, symbol, raw_buf)
38 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_GENERIC): argument
40 self.comm = comm
49 (self.name, self.symbol, self.comm, self.dso))
58 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_PEBS): argument
72 PerfEvent.__init__(self, name, comm, dso, symbol, raw_buf, ev_type)
87 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_PEBS_LL): argument
[all …]
/linux-6.15/tools/bpf/bpftool/
H A Dpids.c50 e->id, e->pid, e->comm); in add_ref()
56 memcpy(ref->comm, e->comm, sizeof(ref->comm)); in add_ref()
57 ref->comm[sizeof(ref->comm) - 1] = '\0'; in add_ref()
67 e->id, e->pid, e->comm); in add_ref()
75 e->id, e->pid, e->comm); in add_ref()
80 memcpy(ref->comm, e->comm, sizeof(ref->comm)); in add_ref()
81 ref->comm[sizeof(ref->comm) - 1] = '\0'; in add_ref()
227 jsonw_string_field(json_writer, "comm", ref->comm); in emit_obj_refs_json()
256 printf("%s%s(%d)", i == 0 ? "" : ", ", ref->comm, ref->pid); in emit_obj_refs_plain()
/linux-6.15/drivers/scsi/aacraid/
H A Dcomminit.c375 struct aac_queue_block * comm = dev->queues; in aac_comm_init() local
397 comm->queue[HostNormCmdQueue].base = queues; in aac_comm_init()
403 comm->queue[HostHighCmdQueue].base = queues; in aac_comm_init()
410 comm->queue[AdapNormCmdQueue].base = queues; in aac_comm_init()
417 comm->queue[AdapHighCmdQueue].base = queues; in aac_comm_init()
424 comm->queue[HostNormRespQueue].base = queues; in aac_comm_init()
430 comm->queue[HostHighRespQueue].base = queues; in aac_comm_init()
447 comm->queue[AdapNormCmdQueue].lock = comm->queue[HostNormRespQueue].lock; in aac_comm_init()
448 comm->queue[AdapHighCmdQueue].lock = comm->queue[HostHighRespQueue].lock; in aac_comm_init()
449 comm->queue[AdapNormRespQueue].lock = comm->queue[HostNormCmdQueue].lock; in aac_comm_init()
[all …]
/linux-6.15/include/linux/
H A Dcoredump.h54 char comm[TASK_COMM_LEN]; \
56 memcpy(comm, current->comm, sizeof(comm)); \
58 task_tgid_vnr(current), (int)strlen(comm), comm, ##__VA_ARGS__); \

12345678910>>...25