/linux-6.6.21/fs/xfs/ |
D | xfs_mount.c | 59 struct xfs_mount *mp) in xfs_uuid_mount() argument 61 uuid_t *uuid = &mp->m_sb.sb_uuid; in xfs_uuid_mount() 65 uuid_copy(&mp->m_super->s_uuid, uuid); in xfs_uuid_mount() 67 if (xfs_has_nouuid(mp)) in xfs_uuid_mount() 71 xfs_warn(mp, "Filesystem has null UUID - can't mount"); in xfs_uuid_mount() 98 xfs_warn(mp, "Filesystem has duplicate UUID %pU - can't mount", uuid); in xfs_uuid_mount() 104 struct xfs_mount *mp) in xfs_uuid_unmount() argument 106 uuid_t *uuid = &mp->m_sb.sb_uuid; in xfs_uuid_unmount() 109 if (xfs_has_nouuid(mp)) in xfs_uuid_unmount() 150 struct xfs_mount *mp, in xfs_readsb() argument [all …]
|
D | xfs_super.c | 67 struct xfs_mount *mp, in xfs_mount_set_dax_mode() argument 72 mp->m_features &= ~(XFS_FEAT_DAX_ALWAYS | XFS_FEAT_DAX_NEVER); in xfs_mount_set_dax_mode() 75 mp->m_features |= XFS_FEAT_DAX_ALWAYS; in xfs_mount_set_dax_mode() 76 mp->m_features &= ~XFS_FEAT_DAX_NEVER; in xfs_mount_set_dax_mode() 79 mp->m_features |= XFS_FEAT_DAX_NEVER; in xfs_mount_set_dax_mode() 80 mp->m_features &= ~XFS_FEAT_DAX_ALWAYS; in xfs_mount_set_dax_mode() 179 struct xfs_mount *mp = XFS_M(root->d_sb); in xfs_fs_show_options() local 183 if (mp->m_features & xfs_infop->flag) in xfs_fs_show_options() 187 seq_printf(m, ",inode%d", xfs_has_small_inums(mp) ? 32 : 64); in xfs_fs_show_options() 189 if (xfs_has_allocsize(mp)) in xfs_fs_show_options() [all …]
|
D | xfs_fsops.c | 47 struct xfs_mount *mp = tp->t_mountp; in xfs_resizefs_init_new_ags() local 48 xfs_rfsblock_t nb = mp->m_sb.sb_dblocks + delta; in xfs_resizefs_init_new_ags() 60 (xfs_rfsblock_t)mp->m_sb.sb_agblocks); in xfs_resizefs_init_new_ags() 62 id->agsize = mp->m_sb.sb_agblocks; in xfs_resizefs_init_new_ags() 64 error = xfs_ag_init_headers(mp, id); in xfs_resizefs_init_new_ags() 87 struct xfs_mount *mp, /* mount point for filesystem */ in xfs_growfs_data_private() argument 103 error = xfs_sb_validate_fsb_count(&mp->m_sb, nb); in xfs_growfs_data_private() 107 if (nb > mp->m_sb.sb_dblocks) { in xfs_growfs_data_private() 108 error = xfs_buf_read_uncached(mp->m_ddev_targp, in xfs_growfs_data_private() 109 XFS_FSB_TO_BB(mp, nb) - XFS_FSS_TO_BB(mp, 1), in xfs_growfs_data_private() [all …]
|
D | xfs_rtalloc.c | 31 xfs_mount_t *mp, /* file system mount structure */ in xfs_rtget_summary() argument 39 return xfs_rtmodify_summary_int(mp, tp, log, bbno, 0, rbpp, rsb, sum); in xfs_rtget_summary() 48 xfs_mount_t *mp, /* file system mount structure */ in xfs_rtany_summary() argument 62 if (mp->m_rsum_cache && low < mp->m_rsum_cache[bbno]) in xfs_rtany_summary() 63 low = mp->m_rsum_cache[bbno]; in xfs_rtany_summary() 72 error = xfs_rtget_summary(mp, tp, log, bbno, rbpp, rsb, &sum); in xfs_rtany_summary() 90 if (mp->m_rsum_cache && log > mp->m_rsum_cache[bbno]) in xfs_rtany_summary() 91 mp->m_rsum_cache[bbno] = log; in xfs_rtany_summary() 143 xfs_mount_t *mp, /* file system mount point */ in xfs_rtallocate_range() argument 161 error = xfs_rtfind_back(mp, tp, start, 0, &preblock); in xfs_rtallocate_range() [all …]
|
D | xfs_qm.c | 36 STATIC int xfs_qm_init_quotainos(struct xfs_mount *mp); 37 STATIC int xfs_qm_init_quotainfo(struct xfs_mount *mp); 52 struct xfs_mount *mp, in xfs_qm_dquot_walk() argument 57 struct xfs_quotainfo *qi = mp->m_quotainfo; in xfs_qm_dquot_walk() 190 struct xfs_mount *mp) in xfs_qm_dqpurge_all() argument 192 xfs_qm_dquot_walk(mp, XFS_DQTYPE_USER, xfs_qm_dqpurge, NULL); in xfs_qm_dqpurge_all() 193 xfs_qm_dquot_walk(mp, XFS_DQTYPE_GROUP, xfs_qm_dqpurge, NULL); in xfs_qm_dqpurge_all() 194 xfs_qm_dquot_walk(mp, XFS_DQTYPE_PROJ, xfs_qm_dqpurge, NULL); in xfs_qm_dqpurge_all() 202 struct xfs_mount *mp) in xfs_qm_unmount() argument 204 if (mp->m_quotainfo) { in xfs_qm_unmount() [all …]
|
D | xfs_qm_syscalls.c | 24 xfs_mount_t *mp, in xfs_qm_scall_quotaoff() argument 32 if ((mp->m_qflags & flags) == 0) in xfs_qm_scall_quotaoff() 40 xfs_info(mp, "disabling of quota accounting not supported."); in xfs_qm_scall_quotaoff() 42 mutex_lock(&mp->m_quotainfo->qi_quotaofflock); in xfs_qm_scall_quotaoff() 43 mp->m_qflags &= ~(flags & XFS_ALL_QUOTA_ENFD); in xfs_qm_scall_quotaoff() 44 spin_lock(&mp->m_sb_lock); in xfs_qm_scall_quotaoff() 45 mp->m_sb.sb_qflags = mp->m_qflags; in xfs_qm_scall_quotaoff() 46 spin_unlock(&mp->m_sb_lock); in xfs_qm_scall_quotaoff() 47 mutex_unlock(&mp->m_quotainfo->qi_quotaofflock); in xfs_qm_scall_quotaoff() 50 return xfs_sync_sb(mp, false); in xfs_qm_scall_quotaoff() [all …]
|
D | xfs_error.h | 11 extern void xfs_error_report(const char *tag, int level, struct xfs_mount *mp, 15 struct xfs_mount *mp, const void *buf, size_t bufsize, 28 #define XFS_ERROR_REPORT(e, lvl, mp) \ argument 29 xfs_error_report(e, lvl, mp, __FILE__, __LINE__, __return_address) 30 #define XFS_CORRUPTION_ERROR(e, lvl, mp, buf, bufsize) \ argument 31 xfs_corruption_error(e, lvl, mp, buf, bufsize, \ 42 extern int xfs_errortag_init(struct xfs_mount *mp); 43 extern void xfs_errortag_del(struct xfs_mount *mp); 44 extern bool xfs_errortag_test(struct xfs_mount *mp, const char *expression, 46 #define XFS_TEST_ERROR(expr, mp, tag) \ argument [all …]
|
D | xfs_icache.c | 47 static int xfs_icwalk(struct xfs_mount *mp, 72 struct xfs_mount *mp, in xfs_inode_alloc() argument 81 ip = alloc_inode_sb(mp->m_super, xfs_inode_cache, GFP_KERNEL | __GFP_NOFAIL); in xfs_inode_alloc() 83 if (inode_init_always(mp->m_super, VFS_I(ip))) { in xfs_inode_alloc() 93 XFS_STATS_INC(mp, vn_active); in xfs_inode_alloc() 99 ip->i_mount = mp; in xfs_inode_alloc() 107 ip->i_diflags2 = mp->m_ino_geo.new_diflags2; in xfs_inode_alloc() 190 struct xfs_mount *mp) in xfs_reclaim_work_queue() argument 194 if (radix_tree_tagged(&mp->m_perag_tree, XFS_ICI_RECLAIM_TAG)) { in xfs_reclaim_work_queue() 195 queue_delayed_work(mp->m_reclaim_workqueue, &mp->m_reclaim_work, in xfs_reclaim_work_queue() [all …]
|
D | xfs_notify_failure.c | 35 struct xfs_mount *mp, in xfs_failure_pgoff() argument 39 loff_t pos = XFS_FSB_TO_B(mp, rec->rm_offset); in xfs_failure_pgoff() 42 pos += XFS_FSB_TO_B(mp, in xfs_failure_pgoff() 49 struct xfs_mount *mp, in xfs_failure_pgcnt() argument 64 return XFS_FSB_TO_B(mp, end_cross - start_cross) >> PAGE_SHIFT; in xfs_failure_pgcnt() 73 struct xfs_mount *mp = cur->bc_mp; in xfs_dax_failure_fn() local 85 error = xfs_iget(mp, cur->bc_tp, rec->rm_owner, XFS_IGET_INCORE, in xfs_dax_failure_fn() 96 xfs_failure_pgoff(mp, rec, notify), in xfs_dax_failure_fn() 97 xfs_failure_pgcnt(mp, rec, notify), in xfs_dax_failure_fn() 105 struct xfs_mount *mp, in xfs_dax_notify_ddev_failure() argument [all …]
|
/linux-6.6.21/fs/xfs/libxfs/ |
D | xfs_trans_space.h | 14 #define XFS_MAX_CONTIG_RMAPS_PER_BLOCK(mp) \ argument 15 (((mp)->m_rmap_mxr[0]) - ((mp)->m_rmap_mnr[0])) 18 #define XFS_RMAPADD_SPACE_RES(mp) ((mp)->m_rmap_maxlevels) argument 28 #define XFS_NRMAPADD_SPACE_RES(mp, b)\ argument 29 (((b + XFS_MAX_CONTIG_RMAPS_PER_BLOCK(mp) - 1) / \ 30 XFS_MAX_CONTIG_RMAPS_PER_BLOCK(mp)) * \ 31 XFS_RMAPADD_SPACE_RES(mp)) 33 #define XFS_MAX_CONTIG_EXTENTS_PER_BLOCK(mp) \ argument 34 (((mp)->m_alloc_mxr[0]) - ((mp)->m_alloc_mnr[0])) 35 #define XFS_EXTENTADD_SPACE_RES(mp,w) (XFS_BM_MAXLEVELS(mp,w) - 1) argument [all …]
|
D | xfs_trans_resv.c | 67 struct xfs_mount *mp, in xfs_allocfree_block_count() argument 72 blocks = num_ops * 2 * (2 * mp->m_alloc_maxlevels - 1); in xfs_allocfree_block_count() 73 if (xfs_has_rmapbt(mp)) in xfs_allocfree_block_count() 74 blocks += num_ops * (2 * mp->m_rmap_maxlevels - 1); in xfs_allocfree_block_count() 86 struct xfs_mount *mp, in xfs_refcountbt_block_count() argument 89 return num_ops * (2 * mp->m_refc_maxlevels - 1); in xfs_refcountbt_block_count() 123 struct xfs_mount *mp, in xfs_calc_inode_res() argument 129 mp->m_sb.sb_inodesize + in xfs_calc_inode_res() 130 2 * XFS_BMBT_BLOCK_LEN(mp)); in xfs_calc_inode_res() 145 struct xfs_mount *mp) in xfs_calc_inobt_res() argument [all …]
|
D | xfs_types.c | 23 struct xfs_mount *mp, in xfs_verify_agno_agbno() argument 29 eoag = xfs_ag_block_count(mp, agno); in xfs_verify_agno_agbno() 32 if (agbno <= XFS_AGFL_BLOCK(mp)) in xfs_verify_agno_agbno() 43 struct xfs_mount *mp, in xfs_verify_fsbno() argument 46 xfs_agnumber_t agno = XFS_FSB_TO_AGNO(mp, fsbno); in xfs_verify_fsbno() 48 if (agno >= mp->m_sb.sb_agcount) in xfs_verify_fsbno() 50 return xfs_verify_agno_agbno(mp, agno, XFS_FSB_TO_AGBNO(mp, fsbno)); in xfs_verify_fsbno() 59 struct xfs_mount *mp, in xfs_verify_fsbext() argument 66 if (!xfs_verify_fsbno(mp, fsbno)) in xfs_verify_fsbext() 69 if (!xfs_verify_fsbno(mp, fsbno + len - 1)) in xfs_verify_fsbext() [all …]
|
D | xfs_ag.c | 43 struct xfs_mount *mp, in xfs_perag_get() argument 49 pag = radix_tree_lookup(&mp->m_perag_tree, agno); in xfs_perag_get() 64 struct xfs_mount *mp, in xfs_perag_get_tag() argument 72 found = radix_tree_gang_lookup_tag(&mp->m_perag_tree, in xfs_perag_get_tag() 114 struct xfs_mount *mp, in xfs_perag_grab() argument 120 pag = radix_tree_lookup(&mp->m_perag_tree, agno); in xfs_perag_grab() 135 struct xfs_mount *mp, in xfs_perag_grab_tag() argument 143 found = radix_tree_gang_lookup_tag(&mp->m_perag_tree, in xfs_perag_grab_tag() 175 struct xfs_mount *mp, in xfs_initialize_perag_data() argument 180 struct xfs_sb *sbp = &mp->m_sb; in xfs_initialize_perag_data() [all …]
|
D | xfs_sb.c | 184 struct xfs_mount *mp, in xfs_validate_sb_read() argument 195 xfs_warn(mp, in xfs_validate_sb_read() 198 xfs_warn(mp, in xfs_validate_sb_read() 203 xfs_alert(mp, in xfs_validate_sb_read() 207 if (!xfs_is_readonly(mp)) { in xfs_validate_sb_read() 208 xfs_warn(mp, in xfs_validate_sb_read() 210 xfs_warn(mp, in xfs_validate_sb_read() 217 xfs_warn(mp, in xfs_validate_sb_read() 221 xfs_warn(mp, in xfs_validate_sb_read() 232 struct xfs_mount *mp, in xfs_validate_sb_write() argument [all …]
|
D | xfs_log_rlimit.c | 25 struct xfs_mount *mp) in xfs_log_calc_max_attrsetm_res() argument 30 size = xfs_attr_leaf_entsize_local_max(mp->m_attr_geo->blksize) - in xfs_log_calc_max_attrsetm_res() 32 nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK); in xfs_log_calc_max_attrsetm_res() 33 nblks += XFS_B_TO_FSB(mp, size); in xfs_log_calc_max_attrsetm_res() 34 nblks += XFS_NEXTENTADD_SPACE_RES(mp, size, XFS_ATTR_FORK); in xfs_log_calc_max_attrsetm_res() 36 return M_RES(mp)->tr_attrsetm.tr_logres + in xfs_log_calc_max_attrsetm_res() 37 M_RES(mp)->tr_attrsetrt.tr_logres * nblks; in xfs_log_calc_max_attrsetm_res() 46 struct xfs_mount *mp, in xfs_log_calc_trans_resv_for_minlogblocks() argument 49 unsigned int rmap_maxlevels = mp->m_rmap_maxlevels; in xfs_log_calc_trans_resv_for_minlogblocks() 59 if (xfs_has_rmapbt(mp) && xfs_has_reflink(mp)) in xfs_log_calc_trans_resv_for_minlogblocks() [all …]
|
D | xfs_format.h | 435 #define XFS_SB_BLOCK(mp) XFS_HDR_BLOCK(mp, XFS_SB_DADDR) argument 437 #define XFS_HDR_BLOCK(mp,d) ((xfs_agblock_t)XFS_BB_TO_FSBT(mp,d)) argument 438 #define XFS_DADDR_TO_FSB(mp,d) XFS_AGB_TO_FSB(mp, \ argument 439 xfs_daddr_to_agno(mp,d), xfs_daddr_to_agbno(mp,d)) 440 #define XFS_FSB_TO_DADDR(mp,fsbno) XFS_AGB_TO_DADDR(mp, \ argument 441 XFS_FSB_TO_AGNO(mp,fsbno), XFS_FSB_TO_AGBNO(mp,fsbno)) 446 #define XFS_FSS_TO_BB(mp,sec) ((sec) << (mp)->m_sectbb_log) argument 451 #define XFS_FSB_TO_BB(mp,fsbno) ((fsbno) << (mp)->m_blkbb_log) argument 452 #define XFS_BB_TO_FSB(mp,bb) \ argument 453 (((bb) + (XFS_FSB_TO_BB(mp,1) - 1)) >> (mp)->m_blkbb_log) [all …]
|
D | xfs_rtbitmap.c | 55 xfs_mount_t *mp, /* file system mount structure */ in xfs_rtbuf_get() argument 67 ip = issum ? mp->m_rsumip : mp->m_rbmip; in xfs_rtbuf_get() 73 if (XFS_IS_CORRUPT(mp, nmap == 0 || !xfs_bmap_is_written_extent(&map))) in xfs_rtbuf_get() 77 error = xfs_trans_read_buf(mp, tp, mp->m_ddev_targp, in xfs_rtbuf_get() 78 XFS_FSB_TO_DADDR(mp, map.br_startblock), in xfs_rtbuf_get() 79 mp->m_bsize, 0, &bp, &xfs_rtbuf_ops); in xfs_rtbuf_get() 95 xfs_mount_t *mp, /* file system mount point */ in xfs_rtfind_back() argument 118 block = XFS_BITTOBLOCK(mp, start); in xfs_rtfind_back() 119 error = xfs_rtbuf_get(mp, tp, block, 0, &bp); in xfs_rtfind_back() 127 word = XFS_BITTOWORD(mp, start); in xfs_rtfind_back() [all …]
|
/linux-6.6.21/drivers/media/usb/pvrusb2/ |
D | pvrusb2-context.c | 30 static void pvr2_context_set_notify(struct pvr2_context *mp, int fl) in pvr2_context_set_notify() argument 35 if (!mp->notify_flag) { in pvr2_context_set_notify() 37 mp->notify_prev = pvr2_context_notify_last; in pvr2_context_set_notify() 38 mp->notify_next = NULL; in pvr2_context_set_notify() 39 pvr2_context_notify_last = mp; in pvr2_context_set_notify() 40 if (mp->notify_prev) { in pvr2_context_set_notify() 41 mp->notify_prev->notify_next = mp; in pvr2_context_set_notify() 43 pvr2_context_notify_first = mp; in pvr2_context_set_notify() 45 mp->notify_flag = !0; in pvr2_context_set_notify() 48 if (mp->notify_flag) { in pvr2_context_set_notify() [all …]
|
/linux-6.6.21/fs/jfs/ |
D | jfs_metapage.c | 32 #define metapage_locked(mp) test_bit(META_locked, &(mp)->flag) argument 33 #define trylock_metapage(mp) test_and_set_bit_lock(META_locked, &(mp)->flag) argument 35 static inline void unlock_metapage(struct metapage *mp) in unlock_metapage() argument 37 clear_bit_unlock(META_locked, &mp->flag); in unlock_metapage() 38 wake_up(&mp->wait); in unlock_metapage() 41 static inline void __lock_metapage(struct metapage *mp) in __lock_metapage() argument 45 add_wait_queue_exclusive(&mp->wait, &wait); in __lock_metapage() 48 if (metapage_locked(mp)) { in __lock_metapage() 49 unlock_page(mp->page); in __lock_metapage() 51 lock_page(mp->page); in __lock_metapage() [all …]
|
/linux-6.6.21/drivers/net/ethernet/apple/ |
D | mace.c | 91 static inline void mace_clean_rings(struct mace_data *mp); 112 struct mace_data *mp; in mace_probe() local 155 mp = netdev_priv(dev); in mace_probe() 156 mp->mdev = mdev; in mace_probe() 160 mp->mace = ioremap(dev->base_addr, 0x1000); in mace_probe() 161 if (mp->mace == NULL) { in mace_probe() 173 mp->chipid = (in_8(&mp->mace->chipid_hi) << 8) | in mace_probe() 174 in_8(&mp->mace->chipid_lo); in mace_probe() 177 mp = netdev_priv(dev); in mace_probe() 178 mp->maccc = ENXMT | ENRCV; in mace_probe() [all …]
|
D | macmace.c | 103 struct mace_data *mp = netdev_priv(dev); in mace_load_rxdma_base() local 106 psc_write_long(PSC_ENETRD_ADDR + set, (u32) mp->rx_ring_phys); in mace_load_rxdma_base() 109 mp->rx_tail = 0; in mace_load_rxdma_base() 118 struct mace_data *mp = netdev_priv(dev); in mace_rxdma_reset() local 119 volatile struct mace *mace = mp->mace; in mace_rxdma_reset() 133 mp->rx_slot = 0; in mace_rxdma_reset() 145 struct mace_data *mp = netdev_priv(dev); in mace_txdma_reset() local 146 volatile struct mace *mace = mp->mace; in mace_txdma_reset() 154 mp->tx_slot = mp->tx_sloti = 0; in mace_txdma_reset() 155 mp->tx_count = N_TX_RING; in mace_txdma_reset() [all …]
|
/linux-6.6.21/drivers/net/ethernet/marvell/ |
D | mv643xx_eth.c | 419 static inline u32 rdl(struct mv643xx_eth_private *mp, int offset) in rdl() argument 421 return readl(mp->shared->base + offset); in rdl() 424 static inline u32 rdlp(struct mv643xx_eth_private *mp, int offset) in rdlp() argument 426 return readl(mp->base + offset); in rdlp() 429 static inline void wrl(struct mv643xx_eth_private *mp, int offset, u32 data) in wrl() argument 431 writel(data, mp->shared->base + offset); in wrl() 434 static inline void wrlp(struct mv643xx_eth_private *mp, int offset, u32 data) in wrlp() argument 436 writel(data, mp->base + offset); in wrlp() 453 struct mv643xx_eth_private *mp = rxq_to_mp(rxq); in rxq_enable() local 454 wrlp(mp, RXQ_COMMAND, 1 << rxq->index); in rxq_enable() [all …]
|
/linux-6.6.21/drivers/scsi/sym53c8xx_2/ |
D | sym_malloc.c | 47 static void *___sym_malloc(m_pool_p mp, int size) in ___sym_malloc() argument 53 m_link_p h = mp->h; in ___sym_malloc() 93 static void ___sym_mfree(m_pool_p mp, void *ptr, int size) in ___sym_mfree() argument 99 m_link_p h = mp->h; in ___sym_mfree() 145 static void *__sym_calloc2(m_pool_p mp, int size, char *name, int uflags) in __sym_calloc2() argument 149 p = ___sym_malloc(mp, size); in __sym_calloc2() 161 #define __sym_calloc(mp, s, n) __sym_calloc2(mp, s, n, SYM_MEM_WARN) argument 166 static void __sym_mfree(m_pool_p mp, void *ptr, int size, char *name) in __sym_mfree() argument 171 ___sym_mfree(mp, ptr, size); in __sym_mfree() 180 static void *___mp0_get_mem_cluster(m_pool_p mp) in ___mp0_get_mem_cluster() argument [all …]
|
/linux-6.6.21/drivers/pci/controller/dwc/ |
D | pci-meson.c | 76 static struct reset_control *meson_pcie_get_reset(struct meson_pcie *mp, in meson_pcie_get_reset() argument 80 struct device *dev = mp->pci.dev; in meson_pcie_get_reset() 91 static int meson_pcie_get_resets(struct meson_pcie *mp) in meson_pcie_get_resets() argument 93 struct meson_pcie_rc_reset *mrst = &mp->mrst; in meson_pcie_get_resets() 95 mrst->port = meson_pcie_get_reset(mp, "port", PCIE_NORMAL_RESET); in meson_pcie_get_resets() 100 mrst->apb = meson_pcie_get_reset(mp, "apb", PCIE_SHARED_RESET); in meson_pcie_get_resets() 109 struct meson_pcie *mp) in meson_pcie_get_mems() argument 111 struct dw_pcie *pci = &mp->pci; in meson_pcie_get_mems() 117 mp->cfg_base = devm_platform_ioremap_resource_byname(pdev, "cfg"); in meson_pcie_get_mems() 118 if (IS_ERR(mp->cfg_base)) in meson_pcie_get_mems() [all …]
|
/linux-6.6.21/drivers/isdn/capi/ |
D | capi.c | 145 static int capiminor_add_ack(struct capiminor *mp, u16 datahandle) in capiminor_add_ack() argument 156 spin_lock_bh(&mp->ackqlock); in capiminor_add_ack() 157 list_add_tail(&n->list, &mp->ackqueue); in capiminor_add_ack() 158 mp->nack++; in capiminor_add_ack() 159 spin_unlock_bh(&mp->ackqlock); in capiminor_add_ack() 163 static int capiminor_del_ack(struct capiminor *mp, u16 datahandle) in capiminor_del_ack() argument 167 spin_lock_bh(&mp->ackqlock); in capiminor_del_ack() 168 list_for_each_entry_safe(p, tmp, &mp->ackqueue, list) { in capiminor_del_ack() 171 mp->nack--; in capiminor_del_ack() 172 spin_unlock_bh(&mp->ackqlock); in capiminor_del_ack() [all …]
|