| /Linux-v5.4/fs/jffs2/ |
| D | xattr.c | 71 static int is_xattr_datum_unchecked(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in is_xattr_datum_unchecked() argument 77 for (raw=xd->node; raw != (void *)xd; raw=raw->next_in_ino) { in is_xattr_datum_unchecked() 87 static void unload_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd) in unload_xattr_datum() argument 90 D1(dbg_xattr("%s: xid=%u, version=%u\n", __func__, xd->xid, xd->version)); in unload_xattr_datum() 91 if (xd->xname) { in unload_xattr_datum() 92 c->xdatum_mem_usage -= (xd->name_len + 1 + xd->value_len); in unload_xattr_datum() 93 kfree(xd->xname); in unload_xattr_datum() 96 list_del_init(&xd->xindex); in unload_xattr_datum() 97 xd->hashkey = 0; in unload_xattr_datum() 98 xd->xname = NULL; in unload_xattr_datum() [all …]
|
| D | malloc.c | 279 struct jffs2_xattr_datum *xd; in jffs2_alloc_xattr_datum() local 280 xd = kmem_cache_zalloc(xattr_datum_cache, GFP_KERNEL); in jffs2_alloc_xattr_datum() 281 dbg_memalloc("%p\n", xd); in jffs2_alloc_xattr_datum() 282 if (!xd) in jffs2_alloc_xattr_datum() 285 xd->class = RAWNODE_CLASS_XATTR_DATUM; in jffs2_alloc_xattr_datum() 286 xd->node = (void *)xd; in jffs2_alloc_xattr_datum() 287 INIT_LIST_HEAD(&xd->xindex); in jffs2_alloc_xattr_datum() 288 return xd; in jffs2_alloc_xattr_datum() 291 void jffs2_free_xattr_datum(struct jffs2_xattr_datum *xd) in jffs2_free_xattr_datum() argument 293 dbg_memalloc("%p\n", xd); in jffs2_free_xattr_datum() [all …]
|
| D | xattr.h | 59 struct jffs2_xattr_datum *xd; /* reference to jffs2_xattr_datum */ member 84 extern int jffs2_garbage_collect_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd, 89 extern void jffs2_release_xattr_datum(struct jffs2_sb_info *c, struct jffs2_xattr_datum *xd);
|
| D | scan.c | 331 struct jffs2_xattr_datum *xd; in jffs2_scan_xattr_node() local 357 xd = jffs2_setup_xattr_datum(c, xid, version); in jffs2_scan_xattr_node() 358 if (IS_ERR(xd)) in jffs2_scan_xattr_node() 359 return PTR_ERR(xd); in jffs2_scan_xattr_node() 361 if (xd->version > version) { in jffs2_scan_xattr_node() 364 raw->next_in_ino = xd->node->next_in_ino; in jffs2_scan_xattr_node() 365 xd->node->next_in_ino = raw; in jffs2_scan_xattr_node() 367 xd->version = version; in jffs2_scan_xattr_node() 368 xd->xprefix = rx->xprefix; in jffs2_scan_xattr_node() 369 xd->name_len = rx->name_len; in jffs2_scan_xattr_node() [all …]
|
| D | summary.c | 492 struct jffs2_xattr_datum *xd; in jffs2_sum_process_sum_data() local 501 xd = jffs2_setup_xattr_datum(c, je32_to_cpu(spx->xid), in jffs2_sum_process_sum_data() 503 if (IS_ERR(xd)) in jffs2_sum_process_sum_data() 504 return PTR_ERR(xd); in jffs2_sum_process_sum_data() 505 if (xd->version > je32_to_cpu(spx->version)) { in jffs2_sum_process_sum_data() 510 raw->next_in_ino = xd->node->next_in_ino; in jffs2_sum_process_sum_data() 511 xd->node->next_in_ino = raw; in jffs2_sum_process_sum_data() 513 xd->version = je32_to_cpu(spx->version); in jffs2_sum_process_sum_data() 515 PAD(je32_to_cpu(spx->totlen)), (void *)xd); in jffs2_sum_process_sum_data()
|
| /Linux-v5.4/drivers/thunderbolt/ |
| D | xdomain.c | 124 int tb_xdomain_response(struct tb_xdomain *xd, const void *response, in tb_xdomain_response() argument 127 return __tb_xdomain_response(xd->tb->ctl, response, size, type); in tb_xdomain_response() 176 int tb_xdomain_request(struct tb_xdomain *xd, const void *request, in tb_xdomain_request() argument 181 return __tb_xdomain_request(xd->tb->ctl, request, request_size, in tb_xdomain_request() 541 struct tb_xdomain *xd; in tb_xdp_handle_request() local 550 xd = tb_xdomain_find_by_uuid_locked(tb, &xchg->src_uuid); in tb_xdp_handle_request() 551 if (xd) { in tb_xdp_handle_request() 552 queue_delayed_work(tb->wq, &xd->get_properties_work, in tb_xdp_handle_request() 554 tb_xdomain_put(xd); in tb_xdp_handle_request() 727 struct tb_xdomain *xd = tb_service_parent(svc); in tb_service_release() local [all …]
|
| D | icm.c | 520 static int icm_fr_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) in icm_fr_approve_xdomain_paths() argument 528 request.link_info = xd->depth << ICM_LINK_INFO_DEPTH_SHIFT | xd->link; in icm_fr_approve_xdomain_paths() 529 memcpy(&request.remote_uuid, xd->remote_uuid, sizeof(*xd->remote_uuid)); in icm_fr_approve_xdomain_paths() 531 request.transmit_path = xd->transmit_path; in icm_fr_approve_xdomain_paths() 532 request.transmit_ring = xd->transmit_ring; in icm_fr_approve_xdomain_paths() 533 request.receive_path = xd->receive_path; in icm_fr_approve_xdomain_paths() 534 request.receive_ring = xd->receive_ring; in icm_fr_approve_xdomain_paths() 548 static int icm_fr_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) in icm_fr_disconnect_xdomain_paths() argument 553 phy_port = tb_phy_port_from_link(xd->link); in icm_fr_disconnect_xdomain_paths() 657 struct tb_xdomain *xd; in add_xdomain() local [all …]
|
| D | tb.c | 108 struct tb_xdomain *xd; in tb_scan_xdomain() local 112 xd = tb_xdomain_find_by_route(tb, route); in tb_scan_xdomain() 113 if (xd) { in tb_scan_xdomain() 114 tb_xdomain_put(xd); in tb_scan_xdomain() 118 xd = tb_xdomain_alloc(tb, &sw->dev, route, tb->root_switch->uuid, in tb_scan_xdomain() 120 if (xd) { in tb_scan_xdomain() 121 tb_port_at(route, sw)->xdomain = xd; in tb_scan_xdomain() 122 tb_xdomain_add(xd); in tb_scan_xdomain() 435 static int tb_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) in tb_approve_xdomain_paths() argument 442 sw = tb_to_switch(xd->dev.parent); in tb_approve_xdomain_paths() [all …]
|
| D | domain.c | 735 int tb_domain_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) in tb_domain_approve_xdomain_paths() argument 740 return tb->cm_ops->approve_xdomain_paths(tb, xd); in tb_domain_approve_xdomain_paths() 755 int tb_domain_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) in tb_domain_disconnect_xdomain_paths() argument 760 return tb->cm_ops->disconnect_xdomain_paths(tb, xd); in tb_domain_disconnect_xdomain_paths() 765 struct tb_xdomain *xd; in disconnect_xdomain() local 769 xd = tb_to_xdomain(dev); in disconnect_xdomain() 770 if (xd && xd->tb == tb) in disconnect_xdomain() 771 ret = tb_xdomain_disable_paths(xd); in disconnect_xdomain()
|
| D | tb.h | 289 int (*approve_xdomain_paths)(struct tb *tb, struct tb_xdomain *xd); 290 int (*disconnect_xdomain_paths)(struct tb *tb, struct tb_xdomain *xd); 501 int tb_domain_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd); 502 int tb_domain_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd); 661 void tb_xdomain_add(struct tb_xdomain *xd); 662 void tb_xdomain_remove(struct tb_xdomain *xd);
|
| /Linux-v5.4/arch/powerpc/sysdev/xive/ |
| D | common.c | 201 static notrace u8 xive_esb_read(struct xive_irq_data *xd, u32 offset) in xive_esb_read() argument 206 if (xd->flags & XIVE_IRQ_FLAG_SHIFT_BUG) in xive_esb_read() 209 if ((xd->flags & XIVE_IRQ_FLAG_H_INT_ESB) && xive_ops->esb_rw) in xive_esb_read() 210 val = xive_ops->esb_rw(xd->hw_irq, offset, 0, 0); in xive_esb_read() 212 val = in_be64(xd->eoi_mmio + offset); in xive_esb_read() 217 static void xive_esb_write(struct xive_irq_data *xd, u32 offset, u64 data) in xive_esb_write() argument 220 if (xd->flags & XIVE_IRQ_FLAG_SHIFT_BUG) in xive_esb_write() 223 if ((xd->flags & XIVE_IRQ_FLAG_H_INT_ESB) && xive_ops->esb_rw) in xive_esb_write() 224 xive_ops->esb_rw(xd->hw_irq, offset, data, 1); in xive_esb_write() 226 out_be64(xd->eoi_mmio + offset, data); in xive_esb_write() [all …]
|
| /Linux-v5.4/arch/powerpc/kvm/ |
| D | book3s_xive_template.c | 57 static u8 GLUE(X_PFX,esb_load)(struct xive_irq_data *xd, u32 offset) in GLUE() 61 if (xd->flags & XIVE_IRQ_FLAG_SHIFT_BUG) in GLUE() 64 val =__x_readq(__x_eoi_page(xd) + offset); in GLUE() 72 static void GLUE(X_PFX,source_eoi)(u32 hw_irq, struct xive_irq_data *xd) in GLUE() 75 if (xd->flags & XIVE_IRQ_FLAG_STORE_EOI) in GLUE() 76 __x_writeq(0, __x_eoi_page(xd) + XIVE_ESB_STORE_EOI); in GLUE() 77 else if (hw_irq && xd->flags & XIVE_IRQ_FLAG_EOI_FW) in GLUE() 79 else if (xd->flags & XIVE_IRQ_FLAG_LSI) { in GLUE() 85 __x_readq(__x_eoi_page(xd) + XIVE_ESB_LOAD_EOI); in GLUE() 98 eoi_val = GLUE(X_PFX,esb_load)(xd, XIVE_ESB_SET_PQ_00); in GLUE() [all …]
|
| D | book3s_hv_rm_xive.c | 40 #define __x_eoi_page(xd) ((void __iomem *)((xd)->eoi_page)) argument 41 #define __x_trig_page(xd) ((void __iomem *)((xd)->trig_page)) argument
|
| D | book3s_xive.c | 46 #define __x_eoi_page(xd) ((void __iomem *)((xd)->eoi_mmio)) argument 47 #define __x_trig_page(xd) ((void __iomem *)((xd)->trig_mmio)) argument 134 static bool xive_irq_trigger(struct xive_irq_data *xd) in xive_irq_trigger() argument 137 if (WARN_ON(xd->flags & XIVE_IRQ_FLAG_LSI)) in xive_irq_trigger() 141 if (WARN_ON(!xd->trig_mmio)) in xive_irq_trigger() 144 out_be64(xd->trig_mmio, 0); in xive_irq_trigger() 229 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); in kvmppc_xive_attach_escalation() local 231 xive_vm_esb_load(xd, XIVE_ESB_SET_PQ_01); in kvmppc_xive_attach_escalation() 232 vcpu->arch.xive_esc_raddr = xd->eoi_page; in kvmppc_xive_attach_escalation() 233 vcpu->arch.xive_esc_vaddr = (__force u64)xd->eoi_mmio; in kvmppc_xive_attach_escalation() [all …]
|
| D | book3s_xive_native.c | 30 static u8 xive_vm_esb_load(struct xive_irq_data *xd, u32 offset) in xive_vm_esb_load() argument 34 if (xd->flags & XIVE_IRQ_FLAG_SHIFT_BUG) in xive_vm_esb_load() 37 val = in_be64(xd->eoi_mmio + offset); in xive_vm_esb_load() 216 struct xive_irq_data *xd; in xive_native_esb_fault() local 237 kvmppc_xive_select_irq(state, &hw_num, &xd); in xive_native_esb_fault() 245 page = page_offset % 2 ? xd->eoi_page : xd->trig_page; in xive_native_esb_fault() 488 struct xive_irq_data *xd; in kvmppc_xive_native_sync_source() local 506 kvmppc_xive_select_irq(state, &hw_num, &xd); in kvmppc_xive_native_sync_source() 840 struct xive_irq_data *xd; in kvmppc_xive_native_sync_sources() local 863 kvmppc_xive_select_irq(state, &hw_num, &xd); in kvmppc_xive_native_sync_sources()
|
| /Linux-v5.4/include/linux/ |
| D | thunderbolt.h | 246 int tb_xdomain_enable_paths(struct tb_xdomain *xd, u16 transmit_path, 249 int tb_xdomain_disable_paths(struct tb_xdomain *xd); 256 struct tb_xdomain *xd; in tb_xdomain_find_by_uuid_locked() local 259 xd = tb_xdomain_find_by_uuid(tb, uuid); in tb_xdomain_find_by_uuid_locked() 262 return xd; in tb_xdomain_find_by_uuid_locked() 268 struct tb_xdomain *xd; in tb_xdomain_find_by_route_locked() local 271 xd = tb_xdomain_find_by_route(tb, route); in tb_xdomain_find_by_route_locked() 274 return xd; in tb_xdomain_find_by_route_locked() 277 static inline struct tb_xdomain *tb_xdomain_get(struct tb_xdomain *xd) in tb_xdomain_get() argument 279 if (xd) in tb_xdomain_get() [all …]
|
| /Linux-v5.4/drivers/net/ |
| D | thunderbolt.c | 178 struct tb_xdomain *xd; member 235 struct tb_xdomain *xd = net->xd; in tbnet_login_response() local 238 tbnet_fill_header(&reply.hdr, route, sequence, xd->local_uuid, in tbnet_login_response() 239 xd->remote_uuid, TBIP_LOGIN_RESPONSE, sizeof(reply), in tbnet_login_response() 244 return tb_xdomain_response(xd, &reply, sizeof(reply), in tbnet_login_response() 252 struct tb_xdomain *xd = net->xd; in tbnet_login_request() local 255 tbnet_fill_header(&request.hdr, xd->route, sequence, xd->local_uuid, in tbnet_login_request() 256 xd->remote_uuid, TBIP_LOGIN, sizeof(request), in tbnet_login_request() 262 return tb_xdomain_request(xd, &request, sizeof(request), in tbnet_login_request() 272 struct tb_xdomain *xd = net->xd; in tbnet_logout_response() local [all …]
|
| /Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
| D | gddr5.c | 37 int pd, lf, xd, vh, vr, vo, l3; in nvkm_gddr5_calc() local 41 xd = !ram->next->bios.ramcfg_DLLoff; in nvkm_gddr5_calc() 81 ram->mr[1] |= (xd & 0x01) << 7; in nvkm_gddr5_calc()
|
| /Linux-v5.4/fs/jfs/ |
| D | jfs_dtree.h | 20 pxd_t xd; member 53 pxd_t xd; /* 8: child extent descriptor */ member
|
| /Linux-v5.4/drivers/staging/rts5208/ |
| D | Makefile | 7 rtsx_card.o general.o sd.o xd.o ms.o spi.o
|
| /Linux-v5.4/arch/arm64/boot/dts/freescale/ |
| D | qoriq-fman3-0-1g-5.dtsi | 11 cell-index = <0xd>;
|
| /Linux-v5.4/arch/powerpc/boot/dts/ |
| D | icon.dts | 122 0xd 0x00000000 0xd 0x00000000 0x80000000 123 0xd 0x80000000 0xd 0x80000000 0x80000000
|
| /Linux-v5.4/arch/arm/boot/dts/ |
| D | ep7211-edb7211.dts | 20 0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf
|
| /Linux-v5.4/Documentation/devicetree/bindings/pinctrl/ |
| D | pinctrl_spear.txt | 147 "gpt0", "gpt1", "sdhci", "cf", "xd", "touchscreen", "uart1", "uart2_3", 155 "xd", "clcd", "arm_trace", "miphy_dbg", "pcie", "sata"
|
| /Linux-v5.4/arch/powerpc/include/asm/ |
| D | xive.h | 110 extern void xive_cleanup_irq_data(struct xive_irq_data *xd);
|