/linux-6.1.9/drivers/md/ |
D | dm-integrity.c | 106 #define journal_entry_tag(ic, je) ((__u8 *)&(je)->last_bytes[(ic)->sectors_per_block]) argument 301 struct dm_integrity_c *ic; member 319 struct dm_integrity_c *ic; member 331 struct dm_integrity_c *ic; member 389 static void dm_integrity_io_error(struct dm_integrity_c *ic, const char *msg, int err) in dm_integrity_io_error() argument 392 atomic64_inc(&ic->number_of_mismatches); in dm_integrity_io_error() 393 if (!cmpxchg(&ic->failed, 0, err)) in dm_integrity_io_error() 397 static int dm_integrity_failed(struct dm_integrity_c *ic) in dm_integrity_failed() argument 399 return READ_ONCE(ic->failed); in dm_integrity_failed() 402 static bool dm_integrity_disable_recalculate(struct dm_integrity_c *ic) in dm_integrity_disable_recalculate() argument [all …]
|
/linux-6.1.9/net/rds/ |
D | ib_cm.c | 59 struct rds_ib_connection *ic = conn->c_transport_data; in rds_ib_set_flow_control() local 63 ic->i_flowctl = 1; in rds_ib_set_flow_control() 66 ic->i_flowctl = 0; in rds_ib_set_flow_control() 76 struct rds_ib_connection *ic = conn->c_transport_data; in rds_ib_cm_connect_complete() local 124 ic->i_active_side ? "Active" : "Passive", in rds_ib_cm_connect_complete() 128 ic->i_flowctl ? ", flow control" : ""); in rds_ib_cm_connect_complete() 131 ic->i_sl = ic->i_cm_id->route.path_rec->sl; in rds_ib_cm_connect_complete() 133 atomic_set(&ic->i_cq_quiesce, 0); in rds_ib_cm_connect_complete() 139 rds_ib_send_init_ring(ic); in rds_ib_cm_connect_complete() 140 rds_ib_recv_init_ring(ic); in rds_ib_cm_connect_complete() [all …]
|
D | ib_recv.c | 47 void rds_ib_recv_init_ring(struct rds_ib_connection *ic) in rds_ib_recv_init_ring() argument 52 for (i = 0, recv = ic->i_recvs; i < ic->i_recv_ring.w_nr; i++, recv++) { in rds_ib_recv_init_ring() 64 sge->addr = ic->i_recv_hdrs_dma[i]; in rds_ib_recv_init_ring() 66 sge->lkey = ic->i_pd->local_dma_lkey; in rds_ib_recv_init_ring() 71 sge->lkey = ic->i_pd->local_dma_lkey; in rds_ib_recv_init_ring() 121 int rds_ib_recv_alloc_caches(struct rds_ib_connection *ic, gfp_t gfp) in rds_ib_recv_alloc_caches() argument 125 ret = rds_ib_recv_alloc_cache(&ic->i_cache_incs, gfp); in rds_ib_recv_alloc_caches() 127 ret = rds_ib_recv_alloc_cache(&ic->i_cache_frags, gfp); in rds_ib_recv_alloc_caches() 129 free_percpu(ic->i_cache_incs.percpu); in rds_ib_recv_alloc_caches() 155 void rds_ib_recv_free_caches(struct rds_ib_connection *ic) in rds_ib_recv_free_caches() argument [all …]
|
D | ib_send.c | 73 static void rds_ib_send_unmap_data(struct rds_ib_connection *ic, in rds_ib_send_unmap_data() argument 78 ib_dma_unmap_sg(ic->i_cm_id->device, in rds_ib_send_unmap_data() 83 static void rds_ib_send_unmap_rdma(struct rds_ib_connection *ic, in rds_ib_send_unmap_rdma() argument 88 ib_dma_unmap_sg(ic->i_cm_id->device, in rds_ib_send_unmap_rdma() 123 static void rds_ib_send_unmap_atomic(struct rds_ib_connection *ic, in rds_ib_send_unmap_atomic() argument 129 ib_dma_unmap_sg(ic->i_cm_id->device, op->op_sg, 1, in rds_ib_send_unmap_atomic() 150 static struct rds_message *rds_ib_send_unmap_op(struct rds_ib_connection *ic, in rds_ib_send_unmap_op() argument 161 rds_ib_send_unmap_data(ic, send->s_op, wc_status); in rds_ib_send_unmap_op() 168 rds_ib_send_unmap_rdma(ic, send->s_op, wc_status); in rds_ib_send_unmap_op() 175 rds_ib_send_unmap_atomic(ic, send->s_op, wc_status); in rds_ib_send_unmap_op() [all …]
|
D | ib.c | 75 struct rds_ib_connection *ic; in rds_ib_nodev_connect() local 78 list_for_each_entry(ic, &ib_nodev_conns, ib_node) in rds_ib_nodev_connect() 79 rds_conn_connect_if_down(ic->conn); in rds_ib_nodev_connect() 85 struct rds_ib_connection *ic; in rds_ib_dev_shutdown() local 89 list_for_each_entry(ic, &rds_ibdev->conn_list, ib_node) in rds_ib_dev_shutdown() 90 rds_conn_path_drop(&ic->conn->c_path[0], true); in rds_ib_dev_shutdown() 298 struct rds_ib_connection *ic = conn->c_transport_data; in rds_ib_conn_info_visitor() local 308 if (ic) { in rds_ib_conn_info_visitor() 310 iinfo->sl = ic->i_sl; in rds_ib_conn_info_visitor() 318 rdma_read_gids(ic->i_cm_id, (union ib_gid *)&iinfo->src_gid, in rds_ib_conn_info_visitor() [all …]
|
D | ib_frmr.c | 47 atomic_dec(&ibmr->ic->i_fastreg_inuse_count); in rds_transition_frwr_state() 129 while (atomic_dec_return(&ibmr->ic->i_fastreg_wrs) <= 0) { in rds_ib_post_reg_frmr() 130 atomic_inc(&ibmr->ic->i_fastreg_wrs); in rds_ib_post_reg_frmr() 143 atomic_inc(&ibmr->ic->i_fastreg_inuse_count); in rds_ib_post_reg_frmr() 164 ret = ib_post_send(ibmr->ic->i_cm_id->qp, ®_wr.wr, NULL); in rds_ib_post_reg_frmr() 169 atomic_inc(&ibmr->ic->i_fastreg_wrs); in rds_ib_post_reg_frmr() 270 struct rdma_cm_id *i_cm_id = ibmr->ic->i_cm_id; in rds_ib_post_inv() 279 while (atomic_dec_return(&ibmr->ic->i_fastreg_wrs) <= 0) { in rds_ib_post_inv() 280 atomic_inc(&ibmr->ic->i_fastreg_wrs); in rds_ib_post_inv() 301 atomic_inc(&ibmr->ic->i_fastreg_wrs); in rds_ib_post_inv() [all …]
|
D | ib.h | 392 void rds_ib_mr_cqe_handler(struct rds_ib_connection *ic, struct ib_wc *wc); 398 int rds_ib_recv_alloc_caches(struct rds_ib_connection *ic, gfp_t gfp); 399 void rds_ib_recv_free_caches(struct rds_ib_connection *ic); 403 void rds_ib_recv_cqe_handler(struct rds_ib_connection *ic, struct ib_wc *wc, 406 void rds_ib_recv_init_ring(struct rds_ib_connection *ic); 407 void rds_ib_recv_clear_ring(struct rds_ib_connection *ic); 408 void rds_ib_recv_init_ack(struct rds_ib_connection *ic); 409 void rds_ib_attempt_ack(struct rds_ib_connection *ic); 410 void rds_ib_ack_send_complete(struct rds_ib_connection *ic); 411 u64 rds_ib_piggyb_ack(struct rds_ib_connection *ic); [all …]
|
D | ib_rdma.c | 128 struct rds_ib_connection *ic = conn->c_transport_data; in rds_ib_add_conn() local 133 BUG_ON(list_empty(&ic->ib_node)); in rds_ib_add_conn() 134 list_del(&ic->ib_node); in rds_ib_add_conn() 137 list_add_tail(&ic->ib_node, &rds_ibdev->conn_list); in rds_ib_add_conn() 141 ic->rds_ibdev = rds_ibdev; in rds_ib_add_conn() 147 struct rds_ib_connection *ic = conn->c_transport_data; in rds_ib_remove_conn() local 153 BUG_ON(list_empty(&ic->ib_node)); in rds_ib_remove_conn() 154 list_del(&ic->ib_node); in rds_ib_remove_conn() 157 list_add_tail(&ic->ib_node, &ib_nodev_conns); in rds_ib_remove_conn() 161 ic->rds_ibdev = NULL; in rds_ib_remove_conn() [all …]
|
/linux-6.1.9/drivers/gpu/ipu-v3/ |
D | ipu-ic.c | 164 static inline u32 ipu_ic_read(struct ipu_ic *ic, unsigned offset) in ipu_ic_read() argument 166 return readl(ic->priv->base + offset); in ipu_ic_read() 169 static inline void ipu_ic_write(struct ipu_ic *ic, u32 value, unsigned offset) in ipu_ic_write() argument 171 writel(value, ic->priv->base + offset); in ipu_ic_write() 174 static int init_csc(struct ipu_ic *ic, in init_csc() argument 178 struct ipu_ic_priv *priv = ic->priv; in init_csc() 185 (priv->tpmem_base + ic->reg->tpmem_csc[csc_index]); in init_csc() 216 static int calc_resize_coeffs(struct ipu_ic *ic, in calc_resize_coeffs() argument 221 struct ipu_ic_priv *priv = ic->priv; in calc_resize_coeffs() 268 void ipu_ic_task_enable(struct ipu_ic *ic) in ipu_ic_task_enable() argument [all …]
|
/linux-6.1.9/fs/jffs2/ |
D | build.c | 37 next_inode(int *i, struct jffs2_inode_cache *ic, struct jffs2_sb_info *c) in next_inode() argument 40 if (ic->next) in next_inode() 41 return ic->next; in next_inode() 46 #define for_each_inode(i, c, ic) \ argument 47 for (i = 0, ic = first_inode_chain(&i, (c)); \ 48 ic; \ 49 ic = next_inode(&i, ic, (c))) 53 struct jffs2_inode_cache *ic, in jffs2_build_inode_pass1() argument 58 dbg_fsbuild("building directory inode #%u\n", ic->ino); in jffs2_build_inode_pass1() 61 for(fd = ic->scan_dents; fd; fd = fd->next) { in jffs2_build_inode_pass1() [all …]
|
D | xattr.c | 525 rr.ino = cpu_to_je32(ref->ic->ino); in save_xattr_ref() 545 dbg_xattr("success on saving xref (ino=%u, xid=%u)\n", ref->ic->ino, ref->xd->xid); in save_xattr_ref() 550 …tic struct jffs2_xattr_ref *create_xattr_ref(struct jffs2_sb_info *c, struct jffs2_inode_cache *ic, in create_xattr_ref() argument 560 ref->ic = ic; in create_xattr_ref() 570 ref->next = ic->xref; in create_xattr_ref() 571 ic->xref = ref; in create_xattr_ref() 583 ref->ino = ref->ic->ino; in delete_xattr_ref() 596 void jffs2_xattr_delete_inode(struct jffs2_sb_info *c, struct jffs2_inode_cache *ic) in jffs2_xattr_delete_inode() argument 602 if (!ic || ic->pino_nlink > 0) in jffs2_xattr_delete_inode() 606 for (ref = ic->xref; ref; ref = _ref) { in jffs2_xattr_delete_inode() [all …]
|
D | gc.c | 26 struct jffs2_inode_cache *ic, 127 struct jffs2_inode_cache *ic; in jffs2_garbage_collect_pass() local 159 for (ic = c->inocache_list[bucket]; ic; ic = ic->next) { in jffs2_garbage_collect_pass() 160 if (ic->ino < want_ino) in jffs2_garbage_collect_pass() 163 if (ic->state != INO_STATE_CHECKEDABSENT && in jffs2_garbage_collect_pass() 164 ic->state != INO_STATE_PRESENT) in jffs2_garbage_collect_pass() 168 ic->ino); in jffs2_garbage_collect_pass() 189 c->check_ino = ic->ino + c->inocache_hashsize; in jffs2_garbage_collect_pass() 191 if (!ic->pino_nlink) { in jffs2_garbage_collect_pass() 193 ic->ino); in jffs2_garbage_collect_pass() [all …]
|
D | xattr.h | 55 struct jffs2_inode_cache *ic; /* reference to jffs2_inode_cache */ member 80 extern void jffs2_xattr_do_crccheck_inode(struct jffs2_sb_info *c, struct jffs2_inode_cache *ic); 81 extern void jffs2_xattr_delete_inode(struct jffs2_sb_info *c, struct jffs2_inode_cache *ic); 82 extern void jffs2_xattr_free_inode(struct jffs2_sb_info *c, struct jffs2_inode_cache *ic); 109 #define jffs2_xattr_do_crccheck_inode(c, ic) argument 110 #define jffs2_xattr_delete_inode(c, ic) argument 111 #define jffs2_xattr_free_inode(c, ic) argument
|
D | erase.c | 209 struct jffs2_inode_cache *ic = NULL; in jffs2_remove_node_refs_from_ino_list() local 220 ic = (struct jffs2_inode_cache *)(*prev); in jffs2_remove_node_refs_from_ino_list() 221 prev = &ic->nodes; in jffs2_remove_node_refs_from_ino_list() 243 if (!ic) { in jffs2_remove_node_refs_from_ino_list() 250 jeb->offset, jeb->offset + c->sector_size, ic->ino); in jffs2_remove_node_refs_from_ino_list() 257 this = ic->nodes; in jffs2_remove_node_refs_from_ino_list() 272 switch (ic->class) { in jffs2_remove_node_refs_from_ino_list() 275 jffs2_release_xattr_datum(c, (struct jffs2_xattr_datum *)ic); in jffs2_remove_node_refs_from_ino_list() 278 jffs2_release_xattr_ref(c, (struct jffs2_xattr_ref *)ic); in jffs2_remove_node_refs_from_ino_list() 282 if (ic->nodes == (void *)ic && ic->pino_nlink == 0) in jffs2_remove_node_refs_from_ino_list() [all …]
|
/linux-6.1.9/drivers/base/ |
D | attribute_container.c | 33 struct internal_container *ic = in internal_container_klist_get() local 35 get_device(&ic->classdev); in internal_container_klist_get() 40 struct internal_container *ic = in internal_container_klist_put() local 42 put_device(&ic->classdev); in internal_container_klist_put() 56 struct internal_container *ic = in attribute_container_classdev_to_container() local 58 return ic->cont; in attribute_container_classdev_to_container() 114 struct internal_container *ic in attribute_container_release() local 118 kfree(ic); in attribute_container_release() 150 struct internal_container *ic; in attribute_container_add_device() local 158 ic = kzalloc(sizeof(*ic), GFP_KERNEL); in attribute_container_add_device() [all …]
|
/linux-6.1.9/drivers/gpio/ |
D | gpio-lpc18xx.c | 56 static inline void lpc18xx_gpio_pin_ic_isel(struct lpc18xx_gpio_pin_ic *ic, in lpc18xx_gpio_pin_ic_isel() argument 59 u32 val = readl_relaxed(ic->base + LPC18XX_GPIO_PIN_IC_ISEL); in lpc18xx_gpio_pin_ic_isel() 66 writel_relaxed(val, ic->base + LPC18XX_GPIO_PIN_IC_ISEL); in lpc18xx_gpio_pin_ic_isel() 69 static inline void lpc18xx_gpio_pin_ic_set(struct lpc18xx_gpio_pin_ic *ic, in lpc18xx_gpio_pin_ic_set() argument 72 writel_relaxed(BIT(pin), ic->base + reg); in lpc18xx_gpio_pin_ic_set() 77 struct lpc18xx_gpio_pin_ic *ic = d->chip_data; in lpc18xx_gpio_pin_ic_mask() local 80 raw_spin_lock(&ic->lock); in lpc18xx_gpio_pin_ic_mask() 83 lpc18xx_gpio_pin_ic_set(ic, d->hwirq, in lpc18xx_gpio_pin_ic_mask() 87 lpc18xx_gpio_pin_ic_set(ic, d->hwirq, in lpc18xx_gpio_pin_ic_mask() 90 raw_spin_unlock(&ic->lock); in lpc18xx_gpio_pin_ic_mask() [all …]
|
D | gpio-ep93xx.c | 43 struct irq_chip ic; member 323 static void ep93xx_init_irq_chip(struct device *dev, struct irq_chip *ic) in ep93xx_init_irq_chip() argument 325 ic->irq_ack = ep93xx_gpio_irq_ack; in ep93xx_init_irq_chip() 326 ic->irq_mask_ack = ep93xx_gpio_irq_mask_ack; in ep93xx_init_irq_chip() 327 ic->irq_mask = ep93xx_gpio_irq_mask; in ep93xx_init_irq_chip() 328 ic->irq_unmask = ep93xx_gpio_irq_unmask; in ep93xx_init_irq_chip() 329 ic->irq_set_type = ep93xx_gpio_irq_type; in ep93xx_init_irq_chip() 353 struct irq_chip *ic; in ep93xx_gpio_add_bank() local 362 ic = &egc->eic->ic; in ep93xx_gpio_add_bank() 363 ic->name = devm_kasprintf(dev, GFP_KERNEL, "gpio-irq-%s", bank->label); in ep93xx_gpio_add_bank() [all …]
|
D | gpio-vf610.c | 33 struct irq_chip ic; member 252 struct irq_chip *ic; in vf610_gpio_probe() local 318 ic = &port->ic; in vf610_gpio_probe() 319 ic->name = "gpio-vf610"; in vf610_gpio_probe() 320 ic->irq_ack = vf610_gpio_irq_ack; in vf610_gpio_probe() 321 ic->irq_mask = vf610_gpio_irq_mask; in vf610_gpio_probe() 322 ic->irq_unmask = vf610_gpio_irq_unmask; in vf610_gpio_probe() 323 ic->irq_set_type = vf610_gpio_irq_set_type; in vf610_gpio_probe() 324 ic->irq_set_wake = vf610_gpio_irq_set_wake; in vf610_gpio_probe() 334 girq->chip = ic; in vf610_gpio_probe()
|
D | gpio-siox.c | 100 struct irq_chip *ic = irq_data_get_irq_chip(d); in gpio_siox_irq_ack() local 102 container_of(ic, struct gpio_siox_ddata, ichip); in gpio_siox_irq_ack() 111 struct irq_chip *ic = irq_data_get_irq_chip(d); in gpio_siox_irq_mask() local 113 container_of(ic, struct gpio_siox_ddata, ichip); in gpio_siox_irq_mask() 122 struct irq_chip *ic = irq_data_get_irq_chip(d); in gpio_siox_irq_unmask() local 124 container_of(ic, struct gpio_siox_ddata, ichip); in gpio_siox_irq_unmask() 133 struct irq_chip *ic = irq_data_get_irq_chip(d); in gpio_siox_irq_set_type() local 135 container_of(ic, struct gpio_siox_ddata, ichip); in gpio_siox_irq_set_type()
|
/linux-6.1.9/drivers/irqchip/ |
D | irq-lpc32xx.c | 35 static inline u32 lpc32xx_ic_read(struct lpc32xx_irq_chip *ic, u32 reg) in lpc32xx_ic_read() argument 37 return readl_relaxed(ic->base + reg); in lpc32xx_ic_read() 40 static inline void lpc32xx_ic_write(struct lpc32xx_irq_chip *ic, in lpc32xx_ic_write() argument 43 writel_relaxed(val, ic->base + reg); in lpc32xx_ic_write() 48 struct lpc32xx_irq_chip *ic = irq_data_get_irq_chip_data(d); in lpc32xx_irq_mask() local 51 val = lpc32xx_ic_read(ic, LPC32XX_INTC_MASK) & ~mask; in lpc32xx_irq_mask() 52 lpc32xx_ic_write(ic, LPC32XX_INTC_MASK, val); in lpc32xx_irq_mask() 57 struct lpc32xx_irq_chip *ic = irq_data_get_irq_chip_data(d); in lpc32xx_irq_unmask() local 60 val = lpc32xx_ic_read(ic, LPC32XX_INTC_MASK) | mask; in lpc32xx_irq_unmask() 61 lpc32xx_ic_write(ic, LPC32XX_INTC_MASK, val); in lpc32xx_irq_unmask() [all …]
|
D | irq-apple-aic.c | 317 static u32 aic_ic_read(struct aic_irq_chip *ic, u32 reg) in aic_ic_read() argument 319 return readl_relaxed(ic->base + reg); in aic_ic_read() 322 static void aic_ic_write(struct aic_irq_chip *ic, u32 reg, u32 val) in aic_ic_write() argument 324 writel_relaxed(val, ic->base + reg); in aic_ic_write() 334 struct aic_irq_chip *ic = irq_data_get_irq_chip_data(d); in aic_irq_mask() local 336 u32 off = AIC_HWIRQ_DIE(hwirq) * ic->info.die_stride; in aic_irq_mask() 339 aic_ic_write(ic, ic->info.mask_set + off + MASK_REG(irq), MASK_BIT(irq)); in aic_irq_mask() 345 struct aic_irq_chip *ic = irq_data_get_irq_chip_data(d); in aic_irq_unmask() local 347 u32 off = AIC_HWIRQ_DIE(hwirq) * ic->info.die_stride; in aic_irq_unmask() 350 aic_ic_write(ic, ic->info.mask_clr + off + MASK_REG(irq), MASK_BIT(irq)); in aic_irq_unmask() [all …]
|
/linux-6.1.9/drivers/md/persistent-data/ |
D | dm-space-map-common.c | 519 static inline void init_inc_context(struct inc_context *ic) in init_inc_context() argument 521 ic->bitmap_block = NULL; in init_inc_context() 522 ic->bitmap = NULL; in init_inc_context() 523 ic->overflow_leaf = NULL; in init_inc_context() 526 static inline void exit_inc_context(struct ll_disk *ll, struct inc_context *ic) in exit_inc_context() argument 528 if (ic->bitmap_block) in exit_inc_context() 529 dm_tm_unlock(ll->tm, ic->bitmap_block); in exit_inc_context() 530 if (ic->overflow_leaf) in exit_inc_context() 531 dm_tm_unlock(ll->tm, ic->overflow_leaf); in exit_inc_context() 534 static inline void reset_inc_context(struct ll_disk *ll, struct inc_context *ic) in reset_inc_context() argument [all …]
|
/linux-6.1.9/net/netfilter/ipset/ |
D | ip_set_getport.c | 68 const struct icmphdr *ic; in get_port() local 70 ic = skb_header_pointer(skb, protooff, sizeof(_ich), &_ich); in get_port() 71 if (!ic) in get_port() 74 *port = (__force __be16)htons((ic->type << 8) | ic->code); in get_port() 79 const struct icmp6hdr *ic; in get_port() local 81 ic = skb_header_pointer(skb, protooff, sizeof(_ich), &_ich); in get_port() 82 if (!ic) in get_port() 86 htons((ic->icmp6_type << 8) | ic->icmp6_code); in get_port()
|
/linux-6.1.9/Documentation/devicetree/bindings/gpio/ |
D | nxp,lpc1850-gpio.txt | 8 - reg-names : Should be "gpio", "gpio-pin-ic", "gpio-group0-ic" and 9 "gpio-gpoup1-ic" 36 reg-names = "gpio", "gpio-pin-ic", 37 "gpio-group0-ic", "gpio-gpoup1-ic";
|
/linux-6.1.9/Documentation/devicetree/bindings/interrupt-controller/ |
D | allwinner,sun4i-a10-ic.yaml | 4 $id: http://devicetree.org/schemas/interrupt-controller/allwinner,sun4i-a10-ic.yaml# 22 - allwinner,sun4i-a10-ic 23 - allwinner,suniv-f1c100s-ic 41 compatible = "allwinner,sun4i-a10-ic";
|