Home
last modified time | relevance | path

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

123

/linux/fs/jffs2/
H A 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 …]
H A 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);
H A Dscan.c336 struct jffs2_xattr_datum *xd; in jffs2_scan_xattr_node() local
362 xd = jffs2_setup_xattr_datum(c, xid, version); in jffs2_scan_xattr_node()
363 if (IS_ERR(xd)) in jffs2_scan_xattr_node()
364 return PTR_ERR(xd); in jffs2_scan_xattr_node()
366 if (xd->version > version) { in jffs2_scan_xattr_node()
369 raw->next_in_ino = xd->node->next_in_ino; in jffs2_scan_xattr_node()
370 xd->node->next_in_ino = raw; in jffs2_scan_xattr_node()
372 xd->version = version; in jffs2_scan_xattr_node()
373 xd->xprefix = rx->xprefix; in jffs2_scan_xattr_node()
374 xd->name_len = rx->name_len; in jffs2_scan_xattr_node()
[all …]
H A 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/arch/powerpc/sysdev/xive/
H A Dcommon.c94 static bool xive_is_store_eoi(struct xive_irq_data *xd) in xive_is_store_eoi() argument
96 return xd->flags & XIVE_IRQ_FLAG_STORE_EOI && xive_store_eoi; in xive_is_store_eoi()
219 static notrace u8 xive_esb_read(struct xive_irq_data *xd, u32 offset) in xive_esb_read() argument
223 if (offset == XIVE_ESB_SET_PQ_10 && xive_is_store_eoi(xd)) in xive_esb_read()
226 if ((xd->flags & XIVE_IRQ_FLAG_H_INT_ESB) && xive_ops->esb_rw) in xive_esb_read()
227 val = xive_ops->esb_rw(xd->hw_irq, offset, 0, 0); in xive_esb_read()
229 val = in_be64(xd->eoi_mmio + offset); in xive_esb_read()
234 static void xive_esb_write(struct xive_irq_data *xd, u32 offset, u64 data) in xive_esb_write() argument
236 if ((xd->flags & XIVE_IRQ_FLAG_H_INT_ESB) && xive_ops->esb_rw) in xive_esb_write()
237 xive_ops->esb_rw(xd->hw_irq, offset, data, 1); in xive_esb_write()
[all …]
/linux/drivers/dma/
H A Duniphier-xdmac.c89 struct uniphier_xdmac_desc *xd; member
132 struct uniphier_xdmac_desc *xd) in uniphier_xdmac_chan_start() argument
140 src_addr = xd->nodes[xd->cur_node].src; in uniphier_xdmac_chan_start()
141 dst_addr = xd->nodes[xd->cur_node].dst; in uniphier_xdmac_chan_start()
142 its = xd->nodes[xd->cur_node].burst_size; in uniphier_xdmac_chan_start()
143 tnum = xd->nodes[xd->cur_node].nr_burst; in uniphier_xdmac_chan_start()
149 if (xd->dir == DMA_DEV_TO_MEM) { in uniphier_xdmac_chan_start()
158 if (xd->dir == DMA_MEM_TO_DEV) { in uniphier_xdmac_chan_start()
220 struct uniphier_xdmac_desc *xd; in uniphier_xdmac_start() local
222 xd = uniphier_xdmac_next_desc(xc); in uniphier_xdmac_start()
[all …]
/linux/include/linux/
H A Dthunderbolt.h290 int tb_xdomain_lane_bonding_enable(struct tb_xdomain *xd);
291 void tb_xdomain_lane_bonding_disable(struct tb_xdomain *xd);
292 int tb_xdomain_alloc_in_hopid(struct tb_xdomain *xd, int hopid);
293 void tb_xdomain_release_in_hopid(struct tb_xdomain *xd, int hopid);
294 int tb_xdomain_alloc_out_hopid(struct tb_xdomain *xd, int hopid);
295 void tb_xdomain_release_out_hopid(struct tb_xdomain *xd, int hopid);
296 int tb_xdomain_enable_paths(struct tb_xdomain *xd, int transmit_path,
299 int tb_xdomain_disable_paths(struct tb_xdomain *xd, int transmit_path,
303 static inline int tb_xdomain_disable_all_paths(struct tb_xdomain *xd) in tb_xdomain_disable_all_paths()
305 return tb_xdomain_disable_paths(xd, in tb_xdomain_disable_all_paths()
302 tb_xdomain_disable_all_paths(struct tb_xdomain * xd) tb_xdomain_disable_all_paths() argument
313 struct tb_xdomain *xd; tb_xdomain_find_by_uuid_locked() local
325 struct tb_xdomain *xd; tb_xdomain_find_by_route_locked() local
334 tb_xdomain_get(struct tb_xdomain * xd) tb_xdomain_get() argument
341 tb_xdomain_put(struct tb_xdomain * xd) tb_xdomain_put() argument
[all...]
/linux/drivers/thunderbolt/
H A Dicm.c383 static void icm_xdomain_activated(struct tb_xdomain *xd, bool activated) in icm_xdomain_activated() argument
386 struct tb *tb = xd->tb; in icm_xdomain_activated()
389 dst_port = tb_xdomain_downstream_port(xd); in icm_xdomain_activated()
582 static int icm_fr_approve_xdomain_paths(struct tb *tb, struct tb_xdomain *xd, in icm_fr_approve_xdomain_paths() argument
590 if (atomic_read(&xd->ntunnels) >= 1) { in icm_fr_approve_xdomain_paths()
597 request.link_info = xd->depth << ICM_LINK_INFO_DEPTH_SHIFT | xd->link; in icm_fr_approve_xdomain_paths()
598 memcpy(&request.remote_uuid, xd->remote_uuid, sizeof(*xd->remote_uuid)); in icm_fr_approve_xdomain_paths()
614 icm_xdomain_activated(xd, true); in icm_fr_approve_xdomain_paths()
618 static int icm_fr_disconnect_xdomain_paths(struct tb *tb, struct tb_xdomain *xd, in icm_fr_disconnect_xdomain_paths() argument
625 phy_port = tb_phy_port_from_link(xd->link); in icm_fr_disconnect_xdomain_paths()
[all …]
H A Dstream.c293 struct tb_xdomain *xd = tbstream_dev_xdomain(sdev); in tbstream_dev_release() local
296 tb_xdomain_release_out_hopid(xd, sdev->out_hopid); in tbstream_dev_release()
298 tb_xdomain_release_in_hopid(xd, sdev->in_hopid); in tbstream_dev_release()
582 struct tb_xdomain *xd = tbstream_dev_xdomain(sdev); in tbstream_dev_start() local
591 ring = tb_ring_alloc_tx(xd->tb->nhi, -1, sdev->ring_size, flags); in tbstream_dev_start()
604 ring = tb_ring_alloc_rx(xd->tb->nhi, -1, sdev->ring_size, flags, in tbstream_dev_start()
612 ret = tb_xdomain_enable_paths(xd, sdev->out_hopid, in tbstream_dev_start()
656 struct tb_xdomain *xd; in tbstream_dev_stop() local
681 xd = tbstream_dev_xdomain(sdev); in tbstream_dev_stop()
682 if (xd) { in tbstream_dev_stop()
1188 struct tb_xdomain *xd = tbstream_dev_xdomain(sdev); tbstream_dev_alloc_in_hopid() local
1214 struct tb_xdomain *xd = tbstream_dev_xdomain(sdev); tbstream_dev_alloc_out_hopid() local
1456 struct tb_xdomain *xd; tbstream_dev_detach_stream() local
[all...]
/linux/drivers/net/thunderbolt/
H A Dmain.c184 struct tb_xdomain *xd; member
246 struct tb_xdomain *xd = net->xd; in tbnet_login_response() local
249 tbnet_fill_header(&reply.hdr, route, sequence, xd->local_uuid, in tbnet_login_response()
250 xd->remote_uuid, TBIP_LOGIN_RESPONSE, sizeof(reply), in tbnet_login_response()
255 return tb_xdomain_response(xd, &reply, sizeof(reply), in tbnet_login_response()
263 struct tb_xdomain *xd = net->xd; in tbnet_login_request() local
266 tbnet_fill_header(&request.hdr, xd->route, sequence, xd->local_uuid, in tbnet_login_request()
267 xd->remote_uuid, TBIP_LOGIN, sizeof(request), in tbnet_login_request()
273 return tb_xdomain_request(xd, &request, sizeof(request), in tbnet_login_request()
283 struct tb_xdomain *xd = net->xd; in tbnet_logout_response() local
[all …]
/linux/arch/powerpc/kvm/
H A Dbook3s_xive.c33 #define __x_eoi_page(xd) ((void __iomem *)((xd)->eoi_mmio)) argument
34 #define __x_trig_page(xd) ((void __iomem *)((xd)->trig_mmio)) argument
80 static u8 xive_vm_esb_load(struct xive_irq_data *xd, u32 offset) in xive_vm_esb_load() argument
84 if (offset == XIVE_ESB_SET_PQ_10 && xd->flags & XIVE_IRQ_FLAG_STORE_EOI) in xive_vm_esb_load()
87 val = __raw_readq(__x_eoi_page(xd) + offset); in xive_vm_esb_load()
95 static void xive_vm_source_eoi(u32 hw_irq, struct xive_irq_data *xd) in xive_vm_source_eoi() argument
98 if (xd->flags & XIVE_IRQ_FLAG_STORE_EOI) in xive_vm_source_eoi()
99 __raw_writeq(0, __x_eoi_page(xd) + XIVE_ESB_STORE_EOI); in xive_vm_source_eoi()
100 else if (xd->flags & XIVE_IRQ_FLAG_LSI) { in xive_vm_source_eoi()
106 __raw_readq(__x_eoi_page(xd) + XIVE_ESB_LOAD_EOI); in xive_vm_source_eoi()
[all …]
H A Dbook3s_xive_native.c30 static u8 xive_vm_esb_load(struct xive_irq_data *xd, u32 offset) in xive_vm_esb_load() argument
40 val = in_be64(xd->eoi_mmio + offset); in xive_vm_esb_load()
235 struct xive_irq_data *xd; in xive_native_esb_fault() local
263 kvmppc_xive_select_irq(state, &hw_num, &xd); in xive_native_esb_fault()
271 page = page_offset % 2 ? xd->eoi_page : xd->trig_page; in xive_native_esb_fault()
514 struct xive_irq_data *xd; in kvmppc_xive_native_sync_source() local
532 kvmppc_xive_select_irq(state, &hw_num, &xd); in kvmppc_xive_native_sync_source()
862 struct xive_irq_data *xd; in kvmppc_xive_native_sync_sources() local
885 kvmppc_xive_select_irq(state, &hw_num, &xd); in kvmppc_xive_native_sync_sources()
/linux/arch/powerpc/platforms/powernv/
H A Dvas.c54 struct xive_irq_data *xd; in init_vas_instance() local
124 xd = irq_get_chip_data(vinst->virq); in init_vas_instance()
125 if (!xd) { in init_vas_instance()
131 vinst->irq_port = xd->trig_page; in init_vas_instance()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A 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/drivers/misc/ocxl/
H A Dafu_irq.c199 struct xive_irq_data *xd; in ocxl_afu_irq_get_addr() local
206 xd = irq_get_chip_data(irq->virq); in ocxl_afu_irq_get_addr()
207 addr = xd ? xd->trig_page : 0; in ocxl_afu_irq_get_addr()
/linux/tools/arch/x86/kcpuid/
H A Dcpuid.csv346 0xd, 0, eax, 0, xcr0_x87 , XCR0.X87
347 0xd, 0, eax, 1, xcr0_sse , XCR0.SSE
348 0xd, 0, eax, 2, xcr0_avx , XCR0.AVX
349 0xd, 0, eax, 3, xcr0_mpx_bndregs , XCR0.BNDREGS: MPX BND0-BND3 registers
350 0xd, 0, eax, 4, xcr0_mpx_bndcsr , XCR0.BNDCSR: MPX BNDCFGU/BNDSTATUS registers
351 0xd, 0, eax, 5, xcr0_avx512_opmask , XCR0.OPMASK: AVX-512 k0-k7 registers
352 0xd, 0, eax, 6, xcr0_avx512_zmm_hi256 , XCR0.ZMM_Hi256: AVX-512 ZMM0->ZMM7/15 registers
353 0xd, 0, eax, 7, xcr0_avx512_hi16_zmm , XCR0.HI16_ZMM: AVX-512 ZMM16->ZMM31 registers
354 0xd, 0, eax, 9, xcr0_pkru , XCR0.PKRU: XSAVE PKRU registers
355 0xd,
[all...]
/linux/arch/arm64/boot/dts/freescale/
H A Dqoriq-fman3-0-1g-5.dtsi11 cell-index = <0xd>;
/linux/arch/powerpc/boot/dts/
H A Dicon.dts122 0xd 0x00000000 0xd 0x00000000 0x80000000
123 0xd 0x80000000 0xd 0x80000000 0x80000000
H A Dkatmai.dts126 0xd 0x00000000 0xd 0x00000000 0x80000000
127 0xd 0x80000000 0xd 0x80000000 0x80000000
/linux/tools/perf/pmu-events/arch/riscv/
H A Dmapfile.csv19 0x489-0x8000000000000[1-9a-e]07-0xd[[:xdigit:]]+,v1,sifive/bullet-0d,core
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dpinctrl_spear.txt147 "gpt0", "gpt1", "sdhci", "cf", "xd", "touchscreen", "uart1", "uart2_3",
155 "xd", "clcd", "arm_trace", "miphy_dbg", "pcie", "sata"
/linux/arch/loongarch/include/asm/
H A Dasmmacro.h561 .macro lasx_save_upper xd base tmp off
569 .macro lasx_restore_upper xd base tmp0 tmp1 off
571 xvpermi.q \xd, \tmp1, 0x2
617 .macro lasx_init_upper xd tmp
618 xvinsgr2vr.d \xd, \tmp, 2
619 xvinsgr2vr.d \xd, \tmp, 3
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dxdp.c76 xdptxd = &xdptxdf.xd; in mlx5e_xmit_xdp_buff()
471 container_of(xdptxd, struct mlx5e_xmit_data_frags, xd); in mlx5e_xmit_xdp_frame_mpwqe()
547 container_of(xdptxd, struct mlx5e_xmit_data_frags, xd); in mlx5e_xmit_xdp_frame()
887 xdptxd = &xdptxdf.xd; in mlx5e_xdp_xmit()
/linux/Documentation/dev-tools/
H A Dubsan.rst30 [<ffffffff8163a5ed>] ubsan_epilogue+0xd/0x40
/linux/arch/powerpc/boot/dts/fsl/
H A Dmpc8568mds.dts138 0x4 0xd 0x2 0x0 0x2 0x0 /* RxD2 */
166 0x5 0xd 0x2 0x0 0x2 0x0 /* RxD2 */

123