Home
last modified time | relevance | path

Searched refs:xd (Results 1 – 25 of 59) sorted by relevance

123

/Linux-v4.19/fs/jffs2/
Dxattr.c71 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 …]
Dmalloc.c279 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 …]
Dxattr.h59 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);
Dscan.c331 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 …]
Dsummary.c492 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-v4.19/drivers/thunderbolt/
Dxdomain.c126 int tb_xdomain_response(struct tb_xdomain *xd, const void *response, in tb_xdomain_response() argument
129 return __tb_xdomain_response(xd->tb->ctl, response, size, type); in tb_xdomain_response()
178 int tb_xdomain_request(struct tb_xdomain *xd, const void *request, in tb_xdomain_request() argument
183 return __tb_xdomain_request(xd->tb->ctl, request, request_size, in tb_xdomain_request()
499 struct tb_xdomain *xd; in tb_xdp_handle_request() local
508 xd = tb_xdomain_find_by_uuid_locked(tb, &xchg->src_uuid); in tb_xdp_handle_request()
509 if (xd) { in tb_xdp_handle_request()
510 queue_delayed_work(tb->wq, &xd->get_properties_work, in tb_xdp_handle_request()
512 tb_xdomain_put(xd); in tb_xdp_handle_request()
671 struct tb_xdomain *xd = tb_service_parent(svc); in tb_service_release() local
[all …]
Dicm.c418 static int icm_fr_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) in icm_fr_approve_xdomain_paths() argument
426 request.link_info = xd->depth << ICM_LINK_INFO_DEPTH_SHIFT | xd->link; in icm_fr_approve_xdomain_paths()
427 memcpy(&request.remote_uuid, xd->remote_uuid, sizeof(*xd->remote_uuid)); in icm_fr_approve_xdomain_paths()
429 request.transmit_path = xd->transmit_path; in icm_fr_approve_xdomain_paths()
430 request.transmit_ring = xd->transmit_ring; in icm_fr_approve_xdomain_paths()
431 request.receive_path = xd->receive_path; in icm_fr_approve_xdomain_paths()
432 request.receive_ring = xd->receive_ring; in icm_fr_approve_xdomain_paths()
446 static int icm_fr_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) in icm_fr_disconnect_xdomain_paths() argument
451 phy_port = tb_phy_port_from_link(xd->link); in icm_fr_disconnect_xdomain_paths()
540 struct tb_xdomain *xd; in add_xdomain() local
[all …]
Ddomain.c722 int tb_domain_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) in tb_domain_approve_xdomain_paths() argument
727 return tb->cm_ops->approve_xdomain_paths(tb, xd); in tb_domain_approve_xdomain_paths()
742 int tb_domain_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd) in tb_domain_disconnect_xdomain_paths() argument
747 return tb->cm_ops->disconnect_xdomain_paths(tb, xd); in tb_domain_disconnect_xdomain_paths()
752 struct tb_xdomain *xd; in disconnect_xdomain() local
756 xd = tb_to_xdomain(dev); in disconnect_xdomain()
757 if (xd && xd->tb == tb) in disconnect_xdomain()
758 ret = tb_xdomain_disable_paths(xd); in disconnect_xdomain()
Dtb.h235 int (*approve_xdomain_paths)(struct tb *tb, struct tb_xdomain *xd);
236 int (*disconnect_xdomain_paths)(struct tb *tb, struct tb_xdomain *xd);
381 int tb_domain_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd);
382 int tb_domain_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd);
476 void tb_xdomain_add(struct tb_xdomain *xd);
477 void tb_xdomain_remove(struct tb_xdomain *xd);
/Linux-v4.19/arch/powerpc/sysdev/xive/
Dcommon.c194 static notrace u8 xive_esb_read(struct xive_irq_data *xd, u32 offset) in xive_esb_read() argument
199 if (xd->flags & XIVE_IRQ_FLAG_SHIFT_BUG) in xive_esb_read()
202 if ((xd->flags & XIVE_IRQ_FLAG_H_INT_ESB) && xive_ops->esb_rw) in xive_esb_read()
203 val = xive_ops->esb_rw(xd->hw_irq, offset, 0, 0); in xive_esb_read()
205 val = in_be64(xd->eoi_mmio + offset); in xive_esb_read()
210 static void xive_esb_write(struct xive_irq_data *xd, u32 offset, u64 data) in xive_esb_write() argument
213 if (xd->flags & XIVE_IRQ_FLAG_SHIFT_BUG) in xive_esb_write()
216 if ((xd->flags & XIVE_IRQ_FLAG_H_INT_ESB) && xive_ops->esb_rw) in xive_esb_write()
217 xive_ops->esb_rw(xd->hw_irq, offset, data, 1); in xive_esb_write()
219 out_be64(xd->eoi_mmio + offset, data); in xive_esb_write()
[all …]
/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_xive_template.c60 static u8 GLUE(X_PFX,esb_load)(struct xive_irq_data *xd, u32 offset) in GLUE()
64 if (xd->flags & XIVE_IRQ_FLAG_SHIFT_BUG) in GLUE()
67 val =__x_readq(__x_eoi_page(xd) + offset); in GLUE()
75 static void GLUE(X_PFX,source_eoi)(u32 hw_irq, struct xive_irq_data *xd) in GLUE()
78 if (xd->flags & XIVE_IRQ_FLAG_STORE_EOI) in GLUE()
79 __x_writeq(0, __x_eoi_page(xd) + XIVE_ESB_STORE_EOI); in GLUE()
80 else if (hw_irq && xd->flags & XIVE_IRQ_FLAG_EOI_FW) in GLUE()
82 else if (xd->flags & XIVE_IRQ_FLAG_LSI) { in GLUE()
88 __x_readq(__x_eoi_page(xd) + XIVE_ESB_LOAD_EOI); in GLUE()
101 eoi_val = GLUE(X_PFX,esb_load)(xd, XIVE_ESB_SET_PQ_00); in GLUE()
[all …]
Dbook3s_hv_rm_xive.c40 #define __x_eoi_page(xd) ((void __iomem *)((xd)->eoi_page)) argument
41 #define __x_trig_page(xd) ((void __iomem *)((xd)->trig_page)) argument
Dbook3s_xive.c49 #define __x_eoi_page(xd) ((void __iomem *)((xd)->eoi_mmio)) argument
50 #define __x_trig_page(xd) ((void __iomem *)((xd)->trig_mmio)) argument
68 static bool xive_irq_trigger(struct xive_irq_data *xd) in xive_irq_trigger() argument
71 if (WARN_ON(xd->flags & XIVE_IRQ_FLAG_LSI)) in xive_irq_trigger()
75 if (WARN_ON(!xd->trig_mmio)) in xive_irq_trigger()
78 out_be64(xd->trig_mmio, 0); in xive_irq_trigger()
159 struct xive_irq_data *xd = irq_data_get_irq_handler_data(d); in xive_attach_escalation() local
161 xive_vm_esb_load(xd, XIVE_ESB_SET_PQ_01); in xive_attach_escalation()
162 vcpu->arch.xive_esc_raddr = xd->eoi_page; in xive_attach_escalation()
163 vcpu->arch.xive_esc_vaddr = (__force u64)xd->eoi_mmio; in xive_attach_escalation()
[all …]
/Linux-v4.19/include/linux/
Dthunderbolt.h241 int tb_xdomain_enable_paths(struct tb_xdomain *xd, u16 transmit_path,
244 int tb_xdomain_disable_paths(struct tb_xdomain *xd);
251 struct tb_xdomain *xd; in tb_xdomain_find_by_uuid_locked() local
254 xd = tb_xdomain_find_by_uuid(tb, uuid); in tb_xdomain_find_by_uuid_locked()
257 return xd; in tb_xdomain_find_by_uuid_locked()
263 struct tb_xdomain *xd; in tb_xdomain_find_by_route_locked() local
266 xd = tb_xdomain_find_by_route(tb, route); in tb_xdomain_find_by_route_locked()
269 return xd; in tb_xdomain_find_by_route_locked()
272 static inline struct tb_xdomain *tb_xdomain_get(struct tb_xdomain *xd) in tb_xdomain_get() argument
274 if (xd) in tb_xdomain_get()
[all …]
/Linux-v4.19/drivers/net/
Dthunderbolt.c181 struct tb_xdomain *xd; member
238 struct tb_xdomain *xd = net->xd; in tbnet_login_response() local
241 tbnet_fill_header(&reply.hdr, route, sequence, xd->local_uuid, in tbnet_login_response()
242 xd->remote_uuid, TBIP_LOGIN_RESPONSE, sizeof(reply), in tbnet_login_response()
247 return tb_xdomain_response(xd, &reply, sizeof(reply), in tbnet_login_response()
255 struct tb_xdomain *xd = net->xd; in tbnet_login_request() local
258 tbnet_fill_header(&request.hdr, xd->route, sequence, xd->local_uuid, in tbnet_login_request()
259 xd->remote_uuid, TBIP_LOGIN, sizeof(request), in tbnet_login_request()
265 return tb_xdomain_request(xd, &request, sizeof(request), in tbnet_login_request()
275 struct tb_xdomain *xd = net->xd; in tbnet_logout_response() local
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dgddr5.c37 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-v4.19/fs/jfs/
Djfs_dtree.h33 pxd_t xd; member
66 pxd_t xd; /* 8: child extent descriptor */ member
/Linux-v4.19/drivers/staging/rts5208/
DMakefile6 rtsx_card.o general.o sd.o xd.o ms.o spi.o
/Linux-v4.19/arch/arm64/boot/dts/freescale/
Dqoriq-fman3-0-1g-5.dtsi11 cell-index = <0xd>;
/Linux-v4.19/arch/powerpc/include/asm/
Dxive.h102 extern void xive_cleanup_irq_data(struct xive_irq_data *xd);
/Linux-v4.19/arch/powerpc/boot/dts/
Dicon.dts122 0xd 0x00000000 0xd 0x00000000 0x80000000
123 0xd 0x80000000 0xd 0x80000000 0x80000000
Dkatmai.dts126 0xd 0x00000000 0xd 0x00000000 0x80000000
127 0xd 0x80000000 0xd 0x80000000 0x80000000
/Linux-v4.19/Documentation/devicetree/bindings/pinctrl/
Dpinctrl_spear.txt147 "gpt0", "gpt1", "sdhci", "cf", "xd", "touchscreen", "uart1", "uart2_3",
155 "xd", "clcd", "arm_trace", "miphy_dbg", "pcie", "sata"
/Linux-v4.19/arch/arm/boot/dts/
Dep7211-edb7211.dts23 0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf
/Linux-v4.19/arch/powerpc/boot/dts/fsl/
Dqoriq-fman3-0-1g-5.dtsi37 cell-index = <0xd>;

123