/openbmc/linux/drivers/usb/host/ |
H A D | ohci-q.c | 143 static void periodic_link (struct ohci_hcd *ohci, struct ed *ed) in periodic_link() argument 148 (ed->hwINFO & cpu_to_hc32 (ohci, ED_ISO)) ? "iso " : "", in periodic_link() 149 ed, ed->branch, ed->load, ed->interval); in periodic_link() 151 for (i = ed->branch; i < NUM_INTS; i += ed->interval) { in periodic_link() 152 struct ed **prev = &ohci->periodic [i]; in periodic_link() 154 struct ed *here = *prev; in periodic_link() 160 while (here && ed != here) { in periodic_link() 161 if (ed->interval > here->interval) in periodic_link() 167 if (ed != here) { in periodic_link() 168 ed->ed_next = here; in periodic_link() [all …]
|
H A D | fhci-q.c | 58 void fhci_add_tds_to_ed(struct ed *ed, struct td **td_list, int number) in fhci_add_tds_to_ed() argument 64 list_add_tail(&td->node, &ed->td_list); in fhci_add_tds_to_ed() 66 if (ed->td_head == NULL) in fhci_add_tds_to_ed() 67 ed->td_head = td_list[0]; in fhci_add_tds_to_ed() 70 static struct td *peek_td_from_ed(struct ed *ed) in peek_td_from_ed() argument 74 if (!list_empty(&ed->td_list)) in peek_td_from_ed() 75 td = list_entry(ed->td_list.next, struct td, node); in peek_td_from_ed() 107 struct td *fhci_remove_td_from_ed(struct ed *ed) in fhci_remove_td_from_ed() argument 111 if (!list_empty(&ed->td_list)) { in fhci_remove_td_from_ed() 112 td = list_entry(ed->td_list.next, struct td, node); in fhci_remove_td_from_ed() [all …]
|
H A D | fhci-mem.c | 30 static void init_ed(struct ed *ed) in init_ed() argument 32 memset(ed, 0, sizeof(*ed)); in init_ed() 33 INIT_LIST_HEAD(&ed->td_list); in init_ed() 34 INIT_LIST_HEAD(&ed->node); in init_ed() 61 struct ed *fhci_get_empty_ed(struct fhci_hcd *fhci) in fhci_get_empty_ed() 63 struct ed *ed; in fhci_get_empty_ed() local 66 ed = list_entry(fhci->empty_eds.next, struct ed, node); in fhci_get_empty_ed() 69 ed = kmalloc(sizeof(*ed), GFP_ATOMIC); in fhci_get_empty_ed() 70 if (!ed) in fhci_get_empty_ed() 73 init_ed(ed); in fhci_get_empty_ed() [all …]
|
H A D | fhci-sched.c | 44 struct ed *ed; in fhci_transaction_confirm() local 61 ed = td->ed; in fhci_transaction_confirm() 62 if (ed->mode == FHCI_TF_ISO) { in fhci_transaction_confirm() 63 if (ed->td_list.next->next != &ed->td_list) { in fhci_transaction_confirm() 65 list_entry(ed->td_list.next->next, struct td, in fhci_transaction_confirm() 83 ed->state = FHCI_ED_HALTED; in fhci_transaction_confirm() 118 fhci_move_td_from_ed_to_done_list(usb, ed); in fhci_transaction_confirm() 155 static int add_packet(struct fhci_usb *usb, struct ed *ed, struct td *td) in add_packet() argument 163 td->toggle = ed->toggle_carry; in add_packet() 165 switch (ed->mode) { in add_packet() [all …]
|
H A D | ohci-mem.c | 55 sizeof (struct ed), in ohci_mem_init() 133 static struct ed * 137 struct ed *ed; in ed_alloc() local 141 ed = gen_pool_dma_zalloc_align(hcd->localmem_pool, in ed_alloc() 142 sizeof(*ed), &dma, 16); in ed_alloc() 144 ed = dma_pool_zalloc(hc->ed_cache, mem_flags, &dma); in ed_alloc() 145 if (ed) { in ed_alloc() 146 INIT_LIST_HEAD (&ed->td_list); in ed_alloc() 147 ed->dma = dma; in ed_alloc() 149 return ed; in ed_alloc() [all …]
|
H A D | ohci-hcd.c | 153 struct ed *ed; in ohci_urb_enqueue() local 161 ed = ed_get(ohci, urb->ep, urb->dev, pipe, urb->interval); in ohci_urb_enqueue() 162 if (! ed) in ohci_urb_enqueue() 166 switch (ed->type) { in ohci_urb_enqueue() 198 urb_priv->ed = ed; in ohci_urb_enqueue() 226 if (ed->state == ED_IDLE) { in ohci_urb_enqueue() 227 retval = ed_schedule (ohci, ed); in ohci_urb_enqueue() 241 list_add(&ed->in_use_list, &ohci->eds_in_use); in ohci_urb_enqueue() 243 if (ed->type == PIPE_ISOCHRONOUS) { in ohci_urb_enqueue() 247 frame += max_t (u16, 8, ed->interval); in ohci_urb_enqueue() [all …]
|
H A D | ohci-dbg.c | 313 const struct ed *ed, int verbose) in ohci_dump_ed() argument 315 u32 tmp = hc32_to_cpu (ohci, ed->hwINFO); in ohci_dump_ed() 320 ed, ed->state, edstring (ed->type), in ohci_dump_ed() 321 hc32_to_cpup (ohci, &ed->hwNextED)); in ohci_dump_ed() 337 tmp = hc32_to_cpup (ohci, &ed->hwHeadP); in ohci_dump_ed() 342 hc32_to_cpup (ohci, &ed->hwTailP), in ohci_dump_ed() 350 list_for_each (tmp, &ed->td_list) { in ohci_dump_ed() 400 show_list (struct ohci_hcd *ohci, char *buf, size_t count, struct ed *ed) in show_list() argument 404 if (!ed) in show_list() 408 while (ed->ed_prev) in show_list() [all …]
|
H A D | fhci.h | 323 struct ed { struct 349 struct ed *ed; /* a handle to the corresponding ED */ argument 391 struct ed *ed; member 515 void fhci_recycle_empty_ed(struct fhci_hcd *fhci, struct ed *ed); 516 struct ed *fhci_get_empty_ed(struct fhci_hcd *fhci); 518 struct urb_priv *urb_priv, struct ed *ed, u16 index, 521 void fhci_add_tds_to_ed(struct ed *ed, struct td **td_list, int number); 565 struct td *fhci_remove_td_from_ed(struct ed *ed); 567 void fhci_move_td_from_ed_to_done_list(struct fhci_usb *usb, struct ed *ed); 572 void fhci_del_ed_list(struct fhci_hcd *fhci, struct ed *ed);
|
H A D | fhci-hcd.c | 170 struct ed *ed; in fhci_mem_free() local 171 struct ed *next_ed; in fhci_mem_free() 175 list_for_each_entry_safe(ed, next_ed, &fhci->empty_eds, node) { in fhci_mem_free() 176 list_del(&ed->node); in fhci_mem_free() 177 kfree(ed); in fhci_mem_free() 226 struct ed *ed; in fhci_mem_init() local 228 ed = kmalloc(sizeof(*ed), GFP_KERNEL); in fhci_mem_init() 229 if (!ed) in fhci_mem_init() 231 fhci_recycle_empty_ed(fhci, ed); in fhci_mem_init() 496 urb_priv->ed->state = FHCI_ED_URB_DEL; in fhci_urb_dequeue() [all …]
|
H A D | ohci.h | 26 struct ed { struct 48 struct ed *ed_next; /* on schedule or rm_list */ argument 49 struct ed *ed_prev; /* for non-interrupt EDs */ argument 75 #define OKAY_TO_TAKEBACK(ohci, ed) \ argument 76 ((int) (ohci->wdh_cnt - ed->takeback_wdh_cnt) >= 0) 131 struct ed *ed; member 336 struct ed *ed; member 378 struct ed *ed_rm_list; /* to be removed */ 380 struct ed *ed_bulktail; /* last in bulk list */ 381 struct ed *ed_controltail; /* last in ctrl list */ [all …]
|
/openbmc/linux/drivers/edac/ |
H A D | octeon_edac-pc.c | 30 struct edac_device_ctl_info *ed; member 57 edac_device_printk(p->ed, KERN_ERR, in co_cache_error_event() 62 edac_device_handle_ce(p->ed, cpu, 1, "icache"); in co_cache_error_event() 65 edac_device_printk(p->ed, KERN_ERR, in co_cache_error_event() 70 edac_device_handle_ue(p->ed, cpu, 0, "dcache"); in co_cache_error_event() 72 edac_device_handle_ce(p->ed, cpu, 0, "dcache"); in co_cache_error_event() 94 p->ed = edac_device_alloc_ctl_info(0, "cpu", num_possible_cpus(), in co_cache_error_probe() 97 if (!p->ed) in co_cache_error_probe() 100 p->ed->dev = &pdev->dev; in co_cache_error_probe() 102 p->ed->dev_name = dev_name(&pdev->dev); in co_cache_error_probe() [all …]
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | ohci-hcd.c | 211 static int ep_link(ohci_t * ohci, ed_t * ed); 212 static int ep_unlink(ohci_t * ohci, ed_t * ed); 238 static inline void ed_free(struct ed *ed) in ed_free() argument 240 ed->usb_dev = NULL; in ed_free() 329 ed_t *ed = (ed_t *)m32_swap(ed_p); in ep_print_int_eds() local 330 invalidate_dcache_ed(ed); in ep_print_int_eds() 331 printf(" ed: %4x;", ed->hwINFO); in ep_print_int_eds() 332 ed_p = &ed->hwNextED; in ep_print_int_eds() 511 ed_t *ed; in sohci_submit_job() local 532 ed = ep_add_ed(ohci_dev, dev, pipe, interval, 1); in sohci_submit_job() [all …]
|
H A D | ohci.h | 51 struct ed { struct 57 struct ed *ed_prev; argument 65 struct ed *ed_rm_list; argument 71 typedef struct ed ed_t; argument 121 struct ed *ed; member 347 ed_t *ed; member 369 ed_t ed[NUM_EDS] __aligned(ED_ALIGNMENT);
|
/openbmc/openbmc/poky/meta/recipes-extended/ed/ |
H A D | ed_1.20.2.bb | 2 HOMEPAGE = "http://www.gnu.org/software/ed/" 3 …ed is a line-oriented text editor. It is used to create, display, modify and otherwise manipulate … 7 file://ed.h;endline=20;md5=c3212b6c53b09668107420af9368c0ef \ 13 CVE_PRODUCT = "gnu:ed" 15 # LSB states that ed should be in /bin/ 18 # Upstream regularly removes previous releases from https://ftp.gnu.org/gnu/ed/ 19 SRC_URI = "${GNU_MIRROR}/ed/${BP}.tar.lz" 20 UPSTREAM_CHECK_URI = "${GNU_MIRROR}/ed/"
|
/openbmc/openbmc/poky/meta/recipes-devtools/patch/patch/ |
H A D | 0001-Don-t-leak-temporary-file-on-failed-multi-file-ed.patch | 4 Subject: Don't leak temporary file on failed multi-file ed-style patch 6 The previous fix worked fine with single-file ed-style patches, but 7 would still leak temporary files in the case of multi-file ed-style 17 Fixes: 123eaff0d5d1 ("Fix arbitrary command execution in ed-style patches (CVE-2018-1000156)") 18 Fixes: 19599883ffb6 ("Don't leak temporary file on failed ed-style patch") 25 tests/ed-style | 31 +++++++++++++++++++++++++++++++ 40 diff --git a/tests/ed-style b/tests/ed-style 42 --- a/tests/ed-style 43 +++ b/tests/ed-style 49 +# Test the case where one ed-style patch modifies several files
|
H A D | 0004-Fix-arbitrary-command-execution-in-ed-style-patches-.patch | 4 Subject: [PATCH] Fix arbitrary command execution in ed-style patches (CVE-2018-1000156) 6 * src/pch.c (do_ed_script): Write ed script to a temporary file instead 7 of piping it to ed: this will cause ed to abort on invalid commands 9 * tests/ed-style: New test case. 19 tests/ed-style | 41 +++++++++++++++++++++++++ 21 create mode 100644 tests/ed-style 48 + /* Write ed script to a temporary file. This causes ed to abort on 50 + number of available lines. When ed reads from a pipe, it rejects 162 + ed-style \ 166 diff --git a/tests/ed-style b/tests/ed-style [all …]
|
/openbmc/linux/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_main.c | 1186 static int fun_init_vports(struct fun_ethdev *ed, unsigned int n) in fun_init_vports() argument 1188 if (ed->num_vports) in fun_init_vports() 1191 ed->vport_info = kvcalloc(n, sizeof(*ed->vport_info), GFP_KERNEL); in fun_init_vports() 1192 if (!ed->vport_info) in fun_init_vports() 1194 ed->num_vports = n; in fun_init_vports() 1198 static void fun_free_vports(struct fun_ethdev *ed) in fun_free_vports() argument 1200 kvfree(ed->vport_info); in fun_free_vports() 1201 ed->vport_info = NULL; in fun_free_vports() 1202 ed->num_vports = 0; in fun_free_vports() 1205 static struct fun_vport_info *fun_get_vport(struct fun_ethdev *ed, in fun_get_vport() argument [all …]
|
/openbmc/linux/drivers/soc/fsl/dpio/ |
H A D | dpio-service.c | 463 struct qbman_eq_desc ed; in dpaa2_io_service_enqueue_fq() local 469 qbman_eq_desc_clear(&ed); in dpaa2_io_service_enqueue_fq() 470 qbman_eq_desc_set_no_orp(&ed, 0); in dpaa2_io_service_enqueue_fq() 471 qbman_eq_desc_set_fq(&ed, fqid); in dpaa2_io_service_enqueue_fq() 473 return qbman_swp_enqueue(d->swp, &ed, fd); in dpaa2_io_service_enqueue_fq() 493 struct qbman_eq_desc ed; in dpaa2_io_service_enqueue_multiple_fq() local 499 qbman_eq_desc_clear(&ed); in dpaa2_io_service_enqueue_multiple_fq() 500 qbman_eq_desc_set_no_orp(&ed, 0); in dpaa2_io_service_enqueue_multiple_fq() 501 qbman_eq_desc_set_fq(&ed, fqid); in dpaa2_io_service_enqueue_multiple_fq() 503 return qbman_swp_enqueue_multiple(d->swp, &ed, fd, NULL, nb); in dpaa2_io_service_enqueue_multiple_fq() [all …]
|
/openbmc/qemu/hw/usb/ |
H A D | hcd-ohci.c | 453 dma_addr_t addr, struct ohci_ed *ed) in ohci_read_ed() argument 455 return get_dwords(ohci, addr, (uint32_t *)ed, sizeof(*ed) >> 2); in ohci_read_ed() 479 dma_addr_t addr, struct ohci_ed *ed) in ohci_put_ed() argument 486 (uint32_t *)((char *)ed + ED_WBACK_OFFSET), in ohci_put_ed() 569 static int ohci_service_iso_td(OHCIState *ohci, struct ohci_ed *ed) in ohci_service_iso_td() argument 590 addr = ed->head & OHCI_DPTR_MASK; in ohci_service_iso_td() 608 ed->head & OHCI_DPTR_MASK, ed->tail & OHCI_DPTR_MASK, in ohci_service_iso_td() 633 ed->head &= ~OHCI_DPTR_MASK; in ohci_service_iso_td() 634 ed->head |= (iso_td.next & OHCI_DPTR_MASK); in ohci_service_iso_td() 648 dir = OHCI_BM(ed->flags, ED_D); in ohci_service_iso_td() [all …]
|
/openbmc/openbmc/poky/meta-selftest/recipes-test/selftest-ed/ |
H A D | selftest-ed_1.14.1.bb | 2 HOMEPAGE = "http://www.gnu.org/software/ed/" 6 file://ed.h;endline=20;md5=4e36b7a40e137f42aee718165590d125 \ 11 # LSB states that ed should be in /bin/ 14 SRC_URI = "${GNU_MIRROR}/ed/ed-${PV}.tar.lz" 20 S = "${WORKDIR}/ed-${PV}"
|
H A D | selftest-ed_0.5.bb | 2 HOMEPAGE = "http://www.gnu.org/software/ed/" 8 SRC_URI = "${SAVANNAH_GNU_MIRROR}/ed/ed-${PV}.tar.bz2" 15 S = "${WORKDIR}/ed-${PV}"
|
/openbmc/openbmc/poky/meta/recipes-devtools/patch/ |
H A D | patch_2.7.6.bb | 6 file://0003-Allow-input-files-to-be-missing-for-ed-style-patches.patch \ 7 file://0004-Fix-arbitrary-command-execution-in-ed-style-patches-.patch \ 10 file://0001-Invoke-ed-directly-instead-of-using-the-shell.patch \ 11 file://0001-Don-t-leak-temporary-file-on-failed-ed-style-patch.patch \ 12 file://0001-Don-t-leak-temporary-file-on-failed-multi-file-ed.patch \
|
/openbmc/libpldm/src/msgbuf/ |
H A D | platform.h | 159 enum pldm_effecter_data_size tag, void *ed) in pldm__msgbuf_extract_effecter_data() argument 164 ctx, ((char *)ed) + offsetof(union_effecter_data_size, in pldm__msgbuf_extract_effecter_data() 168 ctx, ((char *)ed) + offsetof(union_effecter_data_size, in pldm__msgbuf_extract_effecter_data() 172 ctx, ((char *)ed) + offsetof(union_effecter_data_size, in pldm__msgbuf_extract_effecter_data() 176 ctx, ((char *)ed) + offsetof(union_effecter_data_size, in pldm__msgbuf_extract_effecter_data() 180 ctx, ((char *)ed) + offsetof(union_effecter_data_size, in pldm__msgbuf_extract_effecter_data() 184 ctx, ((char *)ed) + offsetof(union_effecter_data_size, in pldm__msgbuf_extract_effecter_data()
|
/openbmc/linux/Documentation/translations/zh_CN/mm/damon/ |
H A D | design.rst | 58 <uppermost mmap()-ed region> 59 (small mmap()-ed regions and munmap()-ed regions) 60 <lowermost mmap()-ed region>
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-block-aoe | 4 Contact: Ed L. Cashin <ed.cashin@acm.org> 12 Contact: Ed L. Cashin <ed.cashin@acm.org> 21 Contact: Ed L. Cashin <ed.cashin@acm.org> 35 Contact: Ed L. Cashin <ed.cashin@acm.org> 42 Contact: Ed L. Cashin <ed.cashin@acm.org>
|