/linux-4.4.14/fs/xfs/ |
D | xfs_buf.c | 48 # define XB_SET_OWNER(bp) ((bp)->b_last_holder = current->pid) argument 49 # define XB_CLEAR_OWNER(bp) ((bp)->b_last_holder = -1) argument 50 # define XB_GET_OWNER(bp) ((bp)->b_last_holder) argument 52 # define XB_SET_OWNER(bp) do { } while (0) argument 53 # define XB_CLEAR_OWNER(bp) do { } while (0) argument 54 # define XB_GET_OWNER(bp) do { } while (0) argument 63 struct xfs_buf *bp) in xfs_buf_is_vmapped() argument 72 return bp->b_addr && bp->b_page_count > 1; in xfs_buf_is_vmapped() 77 struct xfs_buf *bp) in xfs_buf_vmap_len() argument 79 return (bp->b_page_count * PAGE_SIZE) - bp->b_offset; in xfs_buf_vmap_len() [all …]
|
D | xfs_trans_buf.c | 77 struct xfs_buf *bp, in _xfs_trans_bjoin() argument 82 ASSERT(bp->b_transp == NULL); in _xfs_trans_bjoin() 89 xfs_buf_item_init(bp, tp->t_mountp); in _xfs_trans_bjoin() 90 bip = bp->b_fspriv; in _xfs_trans_bjoin() 111 bp->b_transp = tp; in _xfs_trans_bjoin() 118 struct xfs_buf *bp) in xfs_trans_bjoin() argument 120 _xfs_trans_bjoin(tp, bp, 0); in xfs_trans_bjoin() 121 trace_xfs_trans_bjoin(bp->b_fspriv); in xfs_trans_bjoin() 141 xfs_buf_t *bp; in xfs_trans_get_buf_map() local 153 bp = xfs_trans_buf_item_match(tp, target, map, nmaps); in xfs_trans_get_buf_map() [all …]
|
D | xfs_buf.h | 270 void xfs_buf_set_empty(struct xfs_buf *bp, size_t numblks); 271 int xfs_buf_associate_memory(struct xfs_buf *bp, void *mem, size_t length); 278 void xfs_buf_hold(struct xfs_buf *bp); 288 #define xfs_buf_islocked(bp) \ argument 289 ((bp)->b_sema.count <= 0) 292 extern int xfs_bwrite(struct xfs_buf *bp); 293 extern void xfs_buf_ioend(struct xfs_buf *bp); 296 extern void xfs_buf_submit(struct xfs_buf *bp); 297 extern int xfs_buf_submit_wait(struct xfs_buf *bp); 300 #define xfs_buf_zero(bp, off, len) \ argument [all …]
|
D | xfs_buf_item.c | 41 STATIC void xfs_buf_do_callbacks(struct xfs_buf *bp); 68 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_size_segment() local 102 } else if (xfs_buf_offset(bp, next_bit * XFS_BLF_CHUNK) != in xfs_buf_item_size_segment() 103 (xfs_buf_offset(bp, last_bit * XFS_BLF_CHUNK) + in xfs_buf_item_size_segment() 189 struct xfs_buf *bp, in xfs_buf_item_copy_iovec() argument 196 xfs_buf_offset(bp, offset), in xfs_buf_item_copy_iovec() 202 struct xfs_buf *bp, in xfs_buf_item_straddle() argument 207 return xfs_buf_offset(bp, offset + (next_bit << XFS_BLF_SHIFT)) != in xfs_buf_item_straddle() 208 (xfs_buf_offset(bp, offset + (last_bit << XFS_BLF_SHIFT)) + in xfs_buf_item_straddle() 220 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_format_segment() local [all …]
|
D | xfs_fsops.c | 129 struct xfs_buf *bp; in xfs_growfs_get_hdr_buf() local 131 bp = xfs_buf_get_uncached(mp->m_ddev_targp, numblks, flags); in xfs_growfs_get_hdr_buf() 132 if (!bp) in xfs_growfs_get_hdr_buf() 135 xfs_buf_zero(bp, 0, BBTOB(bp->b_length)); in xfs_growfs_get_hdr_buf() 136 bp->b_bn = blkno; in xfs_growfs_get_hdr_buf() 137 bp->b_maps[0].bm_bn = blkno; in xfs_growfs_get_hdr_buf() 138 bp->b_ops = ops; in xfs_growfs_get_hdr_buf() 140 return bp; in xfs_growfs_get_hdr_buf() 155 xfs_buf_t *bp; in xfs_growfs_data_private() local 177 XFS_FSS_TO_BB(mp, 1), 0, &bp, NULL); in xfs_growfs_data_private() [all …]
|
D | xfs_attr_inactive.c | 54 struct xfs_buf *bp; in xfs_attr3_leaf_freextent() local 91 bp = xfs_trans_get_buf(*trans, in xfs_attr3_leaf_freextent() 94 if (!bp) in xfs_attr3_leaf_freextent() 96 xfs_trans_binval(*trans, bp); in xfs_attr3_leaf_freextent() 122 struct xfs_buf *bp) in xfs_attr3_leaf_inactive() argument 135 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_attr3_leaf_inactive() 137 leaf = bp->b_addr; in xfs_attr3_leaf_inactive() 158 xfs_trans_brelse(*trans, bp); in xfs_attr3_leaf_inactive() 185 xfs_trans_brelse(*trans, bp); /* unlock for trans. in freextent() */ in xfs_attr3_leaf_inactive() 211 struct xfs_buf *bp, in xfs_attr3_node_inactive() argument [all …]
|
D | xfs_log_recover.c | 104 struct xfs_buf *bp; in xlog_get_bp() local 133 bp = xfs_buf_get_uncached(log->l_mp->m_logdev_targp, nbblks, 0); in xlog_get_bp() 134 if (bp) in xlog_get_bp() 135 xfs_buf_unlock(bp); in xlog_get_bp() 136 return bp; in xlog_get_bp() 141 xfs_buf_t *bp) in xlog_put_bp() argument 143 xfs_buf_free(bp); in xlog_put_bp() 155 struct xfs_buf *bp) in xlog_align() argument 159 ASSERT(offset + nbblks <= bp->b_length); in xlog_align() 160 return bp->b_addr + BBTOB(offset); in xlog_align() [all …]
|
D | xfs_attr_list.c | 228 struct xfs_buf *bp; in xfs_attr_node_list() local 242 bp = NULL; in xfs_attr_node_list() 245 &bp, XFS_ATTR_FORK); in xfs_attr_node_list() 248 if (bp) { in xfs_attr_node_list() 251 node = bp->b_addr; in xfs_attr_node_list() 256 xfs_trans_brelse(NULL, bp); in xfs_attr_node_list() 257 bp = NULL; in xfs_attr_node_list() 261 leaf = bp->b_addr; in xfs_attr_node_list() 268 xfs_trans_brelse(NULL, bp); in xfs_attr_node_list() 269 bp = NULL; in xfs_attr_node_list() [all …]
|
D | xfs_dquot.c | 231 xfs_buf_t *bp) in xfs_qm_init_dquot_blk() argument 238 ASSERT(xfs_buf_islocked(bp)); in xfs_qm_init_dquot_blk() 240 d = bp->b_addr; in xfs_qm_init_dquot_blk() 260 xfs_trans_dquot_buf(tp, bp, in xfs_qm_init_dquot_blk() 264 xfs_trans_log_buf(tp, bp, 0, BBTOB(q->qi_dqchunklen) - 1); in xfs_qm_init_dquot_blk() 310 xfs_buf_t *bp; in xfs_qm_dqalloc() local 350 bp = xfs_trans_get_buf(tp, mp->m_ddev_targp, in xfs_qm_dqalloc() 354 if (!bp) { in xfs_qm_dqalloc() 358 bp->b_ops = &xfs_dquot_buf_ops; in xfs_qm_dqalloc() 365 dqp->dq_flags & XFS_DQ_ALLTYPES, bp); in xfs_qm_dqalloc() [all …]
|
D | xfs_symlink.c | 52 struct xfs_buf *bp; in xfs_readlink_bmap() local 73 bp = xfs_buf_read(mp->m_ddev_targp, d, BTOBB(byte_cnt), 0, in xfs_readlink_bmap() 75 if (!bp) in xfs_readlink_bmap() 77 error = bp->b_error; in xfs_readlink_bmap() 79 xfs_buf_ioerror_alert(bp, __func__); in xfs_readlink_bmap() 80 xfs_buf_relse(bp); in xfs_readlink_bmap() 91 cur_chunk = bp->b_addr; in xfs_readlink_bmap() 94 byte_cnt, bp)) { in xfs_readlink_bmap() 99 xfs_buf_relse(bp); in xfs_readlink_bmap() 112 xfs_buf_relse(bp); in xfs_readlink_bmap() [all …]
|
D | xfs_dir2_readdir.c | 164 struct xfs_buf *bp; /* buffer for block */ in xfs_dir2_block_getdents() local 183 error = xfs_dir3_block_read(NULL, dp, &bp); in xfs_dir2_block_getdents() 193 hdr = bp->b_addr; in xfs_dir2_block_getdents() 194 xfs_dir3_data_check(dp, bp); in xfs_dir2_block_getdents() 241 xfs_trans_brelse(NULL, bp); in xfs_dir2_block_getdents() 252 xfs_trans_brelse(NULL, bp); in xfs_dir2_block_getdents() 279 struct xfs_buf *bp = *bpp; in xfs_dir2_leaf_readbuf() local 293 if (bp) { in xfs_dir2_leaf_readbuf() 294 xfs_trans_brelse(NULL, bp); in xfs_dir2_leaf_readbuf() 295 bp = NULL; in xfs_dir2_leaf_readbuf() [all …]
|
D | xfs_error.c | 163 struct xfs_buf *bp) in xfs_verifier_error() argument 165 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_verifier_error() 168 bp->b_error == -EFSBADCRC ? "CRC error" : "corruption", in xfs_verifier_error() 169 __return_address, bp->b_ops->name, bp->b_bn); in xfs_verifier_error() 175 xfs_hex_dump(xfs_buf_offset(bp, 0), 64); in xfs_verifier_error()
|
D | xfs_log.c | 1184 xlog_iodone(xfs_buf_t *bp) in xlog_iodone() argument 1186 struct xlog_in_core *iclog = bp->b_fspriv; in xlog_iodone() 1193 if (XFS_TEST_ERROR(bp->b_error, l->l_mp, in xlog_iodone() 1195 xfs_buf_ioerror_alert(bp, __func__); in xlog_iodone() 1196 xfs_buf_stale(bp); in xlog_iodone() 1209 ASSERT(XFS_BUF_ISASYNC(bp)); in xlog_iodone() 1218 xfs_buf_unlock(bp); in xlog_iodone() 1350 xfs_buf_t *bp; in xlog_alloc_log() local 1414 bp = xfs_buf_alloc(mp->m_logdev_targp, XFS_BUF_DADDR_NULL, in xlog_alloc_log() 1416 if (!bp) in xlog_alloc_log() [all …]
|
D | xfs_mount.c | 274 struct xfs_buf *bp; in xfs_readsb() local 300 BTOBB(sector_size), 0, &bp, buf_ops); in xfs_readsb() 313 xfs_sb_from_disk(sbp, XFS_BUF_TO_SBP(bp)); in xfs_readsb() 342 xfs_buf_relse(bp); in xfs_readsb() 351 bp->b_ops = &xfs_sb_buf_ops; in xfs_readsb() 353 mp->m_sb_bp = bp; in xfs_readsb() 354 xfs_buf_unlock(bp); in xfs_readsb() 358 xfs_buf_relse(bp); in xfs_readsb() 539 struct xfs_buf *bp; in xfs_check_sizes() local 550 XFS_FSS_TO_BB(mp, 1), 0, &bp, NULL); in xfs_check_sizes() [all …]
|
D | xfs_rtalloc.c | 116 xfs_buf_t *bp; /* summary buffer */ in xfs_rtcopy_summary() local 122 bp = NULL; in xfs_rtcopy_summary() 127 error = xfs_rtget_summary(omp, tp, log, bbno, &bp, in xfs_rtcopy_summary() 134 &bp, &sumbno); in xfs_rtcopy_summary() 138 &bp, &sumbno); in xfs_rtcopy_summary() 768 struct xfs_buf *bp; /* temporary buffer for zeroing */ in xfs_growfs_rt_alloc() local 844 bp = xfs_trans_get_buf(tp, mp->m_ddev_targp, d, in xfs_growfs_rt_alloc() 846 if (bp == NULL) { in xfs_growfs_rt_alloc() 850 memset(bp->b_addr, 0, mp->m_sb.sb_blocksize); in xfs_growfs_rt_alloc() 851 xfs_trans_log_buf(tp, bp, 0, mp->m_sb.sb_blocksize - 1); in xfs_growfs_rt_alloc() [all …]
|
D | xfs_qm.c | 152 struct xfs_buf *bp = NULL; in xfs_qm_dqpurge() local 159 error = xfs_qm_dqflush(dqp, &bp); in xfs_qm_dqpurge() 164 error = xfs_bwrite(bp); in xfs_qm_dqpurge() 165 xfs_buf_relse(bp); in xfs_qm_dqpurge() 470 struct xfs_buf *bp = NULL; in xfs_qm_dquot_isolate() local 478 error = xfs_qm_dqflush(dqp, &bp); in xfs_qm_dquot_isolate() 485 xfs_buf_delwri_queue(bp, &isol->buffers); in xfs_qm_dquot_isolate() 486 xfs_buf_relse(bp); in xfs_qm_dquot_isolate() 812 xfs_buf_t *bp, in xfs_qm_reset_dqcounts() argument 819 trace_xfs_reset_dqcounts(bp, _RET_IP_); in xfs_qm_reset_dqcounts() [all …]
|
D | xfs_inode.c | 2222 xfs_buf_t *bp; in xfs_ifree_cluster() local 2258 bp = xfs_trans_get_buf(tp, mp->m_ddev_targp, blkno, in xfs_ifree_cluster() 2262 if (!bp) in xfs_ifree_cluster() 2274 bp->b_ops = &xfs_inode_buf_ops; in xfs_ifree_cluster() 2283 lip = bp->b_fspriv; in xfs_ifree_cluster() 2373 xfs_buf_attach_iodone(bp, xfs_istale_done, in xfs_ifree_cluster() 2380 xfs_trans_stale_inode_buf(tp, bp); in xfs_ifree_cluster() 2381 xfs_trans_binval(tp, bp); in xfs_ifree_cluster() 3181 xfs_buf_t *bp) in xfs_iflush_cluster() argument 3263 error = xfs_iflush_int(iq, bp); in xfs_iflush_cluster() [all …]
|
D | xfs_inode_item.c | 413 struct xfs_buf *bp = NULL; in xfs_inode_item_push() local 455 error = xfs_iflush(ip, &bp); in xfs_inode_item_push() 457 if (!xfs_buf_delwri_queue(bp, buffer_list)) in xfs_inode_item_push() 459 xfs_buf_relse(bp); in xfs_inode_item_push() 598 struct xfs_buf *bp, in xfs_iflush_done() argument 612 blip = bp->b_fspriv; in xfs_iflush_done() 624 bp->b_fspriv = next; in xfs_iflush_done() 732 struct xfs_buf *bp, in xfs_istale_done() argument
|
D | xfs_dquot_item.c | 147 struct xfs_buf *bp = NULL; in xfs_qm_dquot_logitem_push() local 178 error = xfs_qm_dqflush(dqp, &bp); in xfs_qm_dquot_logitem_push() 183 if (!xfs_buf_delwri_queue(bp, buffer_list)) in xfs_qm_dquot_logitem_push() 185 xfs_buf_relse(bp); in xfs_qm_dquot_logitem_push()
|
D | xfs_trace.h | 309 TP_PROTO(struct xfs_buf *bp, unsigned long caller_ip), 310 TP_ARGS(bp, caller_ip), 322 __entry->dev = bp->b_target->bt_dev; 323 __entry->bno = bp->b_bn; 324 __entry->nblks = bp->b_length; 325 __entry->hold = atomic_read(&bp->b_hold); 326 __entry->pincount = atomic_read(&bp->b_pin_count); 327 __entry->lockval = bp->b_sema.count; 328 __entry->flags = bp->b_flags; 345 TP_PROTO(struct xfs_buf *bp, unsigned long caller_ip), \ [all …]
|
D | xfs_bmap_util.c | 353 xfs_buf_t *bp, *nbp; in xfs_bmap_count_tree() local 361 error = xfs_btree_read_bufl(mp, tp, bno, 0, &bp, XFS_BMAP_BTREE_REF, in xfs_bmap_count_tree() 366 block = XFS_BUF_TO_BLOCK(bp); in xfs_bmap_count_tree() 388 xfs_trans_brelse(tp, bp); in xfs_bmap_count_tree() 393 xfs_trans_brelse(tp, bp); in xfs_bmap_count_tree() 400 xfs_trans_brelse(tp, bp); in xfs_bmap_count_tree() 404 error = xfs_btree_read_bufl(mp, tp, bno, 0, &bp, in xfs_bmap_count_tree() 410 block = XFS_BUF_TO_BLOCK(bp); in xfs_bmap_count_tree() 1129 xfs_buf_t *bp; in xfs_zero_remaining_bytes() local 1187 0, &bp, NULL); in xfs_zero_remaining_bytes() [all …]
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 293 static int bnx2x_set_storm_rx_mode(struct bnx2x *bp); 299 static int bnx2x_hwtstamp_ioctl(struct bnx2x *bp, struct ifreq *ifr); 301 static void __storm_memset_dma_mapping(struct bnx2x *bp, in __storm_memset_dma_mapping() argument 304 REG_WR(bp, addr, U64_LO(mapping)); in __storm_memset_dma_mapping() 305 REG_WR(bp, addr + 4, U64_HI(mapping)); in __storm_memset_dma_mapping() 308 static void storm_memset_spq_addr(struct bnx2x *bp, in storm_memset_spq_addr() argument 314 __storm_memset_dma_mapping(bp, addr, mapping); in storm_memset_spq_addr() 317 static void storm_memset_vf_to_pf(struct bnx2x *bp, u16 abs_fid, in storm_memset_vf_to_pf() argument 320 REG_WR8(bp, BAR_XSTRORM_INTMEM + XSTORM_VF_TO_PF_OFFSET(abs_fid), in storm_memset_vf_to_pf() 322 REG_WR8(bp, BAR_CSTRORM_INTMEM + CSTORM_VF_TO_PF_OFFSET(abs_fid), in storm_memset_vf_to_pf() [all …]
|
D | bnx2x.h | 47 #define BNX2X_MIN_MSIX_VEC_CNT(bp) ((bp)->min_msix_vec_cnt) argument 88 bp->dev ? (bp->dev->name) : "?", \ 93 if (unlikely(bp->msg_enable & (__mask))) \ 99 if (unlikely((bp->msg_enable & (__mask)) == __mask)) \ 105 if (unlikely(bp->msg_enable & (__mask))) \ 112 if (unlikely(netif_msg_probe(bp))) \ 115 bp->dev ? (bp->dev->name) : "?", \ 124 bp->dev ? (bp->dev->name) : "?", \ 134 if (unlikely(netif_msg_probe(bp))) \ 135 dev_info(&bp->pdev->dev, fmt, ##__VA_ARGS__); \ [all …]
|
D | bnx2x_cmn.h | 39 dma_free_coherent(&bp->pdev->dev, size, (void *)x, y); \ 55 void *x = dma_zalloc_coherent(&bp->pdev->dev, size, y, GFP_KERNEL); \ 64 void *x = dma_alloc_coherent(&bp->pdev->dev, size, y, GFP_KERNEL); \ 87 u32 bnx2x_send_unload_req(struct bnx2x *bp, int unload_mode); 95 void bnx2x_send_unload_done(struct bnx2x *bp, bool keep_link); 106 int bnx2x_rss(struct bnx2x *bp, struct bnx2x_rss_config_obj *rss_obj, 118 void bnx2x__init_func_obj(struct bnx2x *bp); 128 int bnx2x_setup_queue(struct bnx2x *bp, struct bnx2x_fastpath *fp, 136 int bnx2x_setup_leading(struct bnx2x *bp); 147 u32 bnx2x_fw_command(struct bnx2x *bp, u32 command, u32 param); [all …]
|
D | bnx2x_cmn.c | 36 static void bnx2x_free_fp_mem_cnic(struct bnx2x *bp); 37 static int bnx2x_alloc_fp_mem_cnic(struct bnx2x *bp); 38 static int bnx2x_alloc_fp_mem(struct bnx2x *bp); 41 static void bnx2x_add_all_napi_cnic(struct bnx2x *bp) in bnx2x_add_all_napi_cnic() argument 46 for_each_rx_queue_cnic(bp, i) { in bnx2x_add_all_napi_cnic() 47 netif_napi_add(bp->dev, &bnx2x_fp(bp, i, napi), in bnx2x_add_all_napi_cnic() 49 napi_hash_add(&bnx2x_fp(bp, i, napi)); in bnx2x_add_all_napi_cnic() 53 static void bnx2x_add_all_napi(struct bnx2x *bp) in bnx2x_add_all_napi() argument 58 for_each_eth_queue(bp, i) { in bnx2x_add_all_napi() 59 netif_napi_add(bp->dev, &bnx2x_fp(bp, i, napi), in bnx2x_add_all_napi() [all …]
|
D | bnx2x_ethtool.c | 192 static int bnx2x_get_port_type(struct bnx2x *bp) in bnx2x_get_port_type() argument 195 u32 phy_idx = bnx2x_get_cur_phy_idx(bp); in bnx2x_get_port_type() 196 switch (bp->link_params.phy[phy_idx].media_type) { in bnx2x_get_port_type() 224 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_vf_settings() local 226 if (bp->state == BNX2X_STATE_OPEN) { in bnx2x_get_vf_settings() 228 &bp->vf_link_vars.link_report_flags)) in bnx2x_get_vf_settings() 233 ethtool_cmd_speed_set(cmd, bp->vf_link_vars.line_speed); in bnx2x_get_vf_settings() 260 struct bnx2x *bp = netdev_priv(dev); in bnx2x_get_settings() local 261 int cfg_idx = bnx2x_get_link_cfg_idx(bp); in bnx2x_get_settings() 265 cmd->supported = bp->port.supported[cfg_idx] | in bnx2x_get_settings() [all …]
|
D | bnx2x_init_ops.h | 22 #define BP_ILT(bp) NULL argument 26 #define BP_FUNC(bp) 0 argument 30 #define BP_PORT(bp) 0 argument 45 static int bnx2x_gunzip(struct bnx2x *bp, const u8 *zbuf, int len); 46 static void bnx2x_reg_wr_ind(struct bnx2x *bp, u32 addr, u32 val); 47 static void bnx2x_write_dmae_phys_len(struct bnx2x *bp, 51 static void bnx2x_init_str_wr(struct bnx2x *bp, u32 addr, in bnx2x_init_str_wr() argument 57 REG_WR(bp, addr + i*4, data[i]); in bnx2x_init_str_wr() 60 static void bnx2x_init_ind_wr(struct bnx2x *bp, u32 addr, in bnx2x_init_ind_wr() argument 66 bnx2x_reg_wr_ind(bp, addr + i*4, data[i]); in bnx2x_init_ind_wr() [all …]
|
D | bnx2x_sriov.h | 214 #define BNX2X_NR_VIRTFN(bp) ((bp)->vfdb->sriov.nr_virtfn) argument 216 #define for_each_vf(bp, var) \ argument 217 for ((var) = 0; (var) < BNX2X_NR_VIRTFN(bp); (var)++) 227 #define HW_VF_HANDLE(bp, abs_vfid) \ argument 228 (u16)(BP_ABS_FUNC((bp)) | (1<<3) | ((u16)(abs_vfid) << 4)) 235 #define GET_NUM_VFS_PER_PATH(bp) 64 /* use max possible value */ argument 236 #define GET_NUM_VFS_PER_PF(bp) ((bp)->vfdb ? (bp)->vfdb->sriov.total \ argument 242 void bnx2x_lock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf, 245 void bnx2x_unlock_vf_pf_channel(struct bnx2x *bp, struct bnx2x_virtf *vf, 313 #define BP_VFDB(bp) ((bp)->vfdb) argument [all …]
|
D | bnx2x_stats.c | 44 static inline u16 bnx2x_get_port_stats_dma_len(struct bnx2x *bp) in bnx2x_get_port_stats_dma_len() argument 49 if (SHMEM2_HAS(bp, sizeof_port_stats)) { in bnx2x_get_port_stats_dma_len() 50 u32 size = SHMEM2_RD(bp, sizeof_port_stats); in bnx2x_get_port_stats_dma_len() 66 if (bp->flags & BC_SUPPORTS_PFC_STATS) { in bnx2x_get_port_stats_dma_len() 84 static void bnx2x_dp_stats(struct bnx2x *bp) in bnx2x_dp_stats() argument 96 bp->fw_stats_req->hdr.cmd_num, in bnx2x_dp_stats() 97 bp->fw_stats_req->hdr.reserved0, in bnx2x_dp_stats() 98 bp->fw_stats_req->hdr.drv_stats_counter, in bnx2x_dp_stats() 99 bp->fw_stats_req->hdr.reserved1, in bnx2x_dp_stats() 100 bp->fw_stats_req->hdr.stats_counters_addrs.hi, in bnx2x_dp_stats() [all …]
|
D | bnx2x_sriov.c | 29 static int bnx2x_vf_op_prep(struct bnx2x *bp, int vfidx, 35 static void storm_memset_vf_to_pf(struct bnx2x *bp, u16 abs_fid, in storm_memset_vf_to_pf() argument 38 REG_WR8(bp, BAR_XSTRORM_INTMEM + XSTORM_VF_TO_PF_OFFSET(abs_fid), in storm_memset_vf_to_pf() 40 REG_WR8(bp, BAR_CSTRORM_INTMEM + CSTORM_VF_TO_PF_OFFSET(abs_fid), in storm_memset_vf_to_pf() 42 REG_WR8(bp, BAR_TSTRORM_INTMEM + TSTORM_VF_TO_PF_OFFSET(abs_fid), in storm_memset_vf_to_pf() 44 REG_WR8(bp, BAR_USTRORM_INTMEM + USTORM_VF_TO_PF_OFFSET(abs_fid), in storm_memset_vf_to_pf() 48 static void storm_memset_func_en(struct bnx2x *bp, u16 abs_fid, in storm_memset_func_en() argument 51 REG_WR8(bp, BAR_XSTRORM_INTMEM + XSTORM_FUNC_EN_OFFSET(abs_fid), in storm_memset_func_en() 53 REG_WR8(bp, BAR_CSTRORM_INTMEM + CSTORM_FUNC_EN_OFFSET(abs_fid), in storm_memset_func_en() 55 REG_WR8(bp, BAR_TSTRORM_INTMEM + TSTORM_FUNC_EN_OFFSET(abs_fid), in storm_memset_func_en() [all …]
|
D | bnx2x_dcb.c | 35 static void bnx2x_pfc_set_pfc(struct bnx2x *bp); 36 static void bnx2x_dcbx_update_ets_params(struct bnx2x *bp); 37 static void bnx2x_dcbx_get_ets_pri_pg_tbl(struct bnx2x *bp, 40 static void bnx2x_dcbx_get_num_pg_traf_type(struct bnx2x *bp, 43 static void bnx2x_dcbx_fill_cos_params(struct bnx2x *bp, 47 static void bnx2x_dcbx_separate_pauseable_from_non(struct bnx2x *bp, 51 static void bnx2x_dcbx_fw_struct(struct bnx2x *bp, 55 static void bnx2x_read_data(struct bnx2x *bp, u32 *buff, in bnx2x_read_data() argument 60 *buff = REG_RD(bp, addr + i); in bnx2x_read_data() 63 static void bnx2x_write_data(struct bnx2x *bp, u32 *buff, in bnx2x_write_data() argument [all …]
|
D | bnx2x_vfpf.c | 26 static int bnx2x_vfpf_teardown_queue(struct bnx2x *bp, int qidx); 29 static void bnx2x_add_tlv(struct bnx2x *bp, void *tlvs_list, in bnx2x_add_tlv() argument 40 static void bnx2x_vfpf_prep(struct bnx2x *bp, struct vfpf_first_tlv *first_tlv, in bnx2x_vfpf_prep() argument 43 mutex_lock(&bp->vf2pf_mutex); in bnx2x_vfpf_prep() 49 memset(bp->vf2pf_mbox, 0, sizeof(struct bnx2x_vf_mbx_msg)); in bnx2x_vfpf_prep() 52 bnx2x_add_tlv(bp, &first_tlv->tl, 0, type, length); in bnx2x_vfpf_prep() 55 first_tlv->resp_msg_offset = sizeof(bp->vf2pf_mbox->req); in bnx2x_vfpf_prep() 59 static void bnx2x_vfpf_finalize(struct bnx2x *bp, in bnx2x_vfpf_finalize() argument 65 mutex_unlock(&bp->vf2pf_mutex); in bnx2x_vfpf_finalize() 69 static void *bnx2x_search_tlv_list(struct bnx2x *bp, void *tlvs_list, in bnx2x_search_tlv_list() argument [all …]
|
D | bnx2x_link.c | 226 static u32 bnx2x_bits_en(struct bnx2x *bp, u32 reg, u32 bits) in bnx2x_bits_en() argument 228 u32 val = REG_RD(bp, reg); in bnx2x_bits_en() 231 REG_WR(bp, reg, val); in bnx2x_bits_en() 235 static u32 bnx2x_bits_dis(struct bnx2x *bp, u32 reg, u32 bits) in bnx2x_bits_dis() argument 237 u32 val = REG_RD(bp, reg); in bnx2x_bits_dis() 240 REG_WR(bp, reg, val); in bnx2x_bits_dis() 257 struct bnx2x *bp = params->bp; in bnx2x_check_lfa() local 260 REG_RD(bp, params->lfa_base + in bnx2x_check_lfa() 268 REG_WR(bp, params->lfa_base + in bnx2x_check_lfa() 275 link_status = REG_RD(bp, params->shmem_base + in bnx2x_check_lfa() [all …]
|
D | bnx2x_dcb.h | 73 #define BNX2X_IS_ETS_ENABLED(bp) ((bp)->dcb_state == BNX2X_DCB_STATE_ON &&\ argument 74 (bp)->dcbx_port_params.ets.enabled) 155 #define DCBX_PFC_PRI_NON_PAUSE_MASK(bp) \ argument 156 ((bp)->dcbx_port_params.pfc.priority_non_pauseable_mask) 157 #define DCBX_PFC_PRI_PAUSE_MASK(bp) \ argument 158 ((u8)~DCBX_PFC_PRI_NON_PAUSE_MASK(bp)) 159 #define DCBX_PFC_PRI_GET_PAUSE(bp, pg_pri) \ argument 160 ((pg_pri) & (DCBX_PFC_PRI_PAUSE_MASK(bp))) 161 #define DCBX_PFC_PRI_GET_NON_PAUSE(bp, pg_pri) \ argument 162 (DCBX_PFC_PRI_NON_PAUSE_MASK(bp) & (pg_pri)) [all …]
|
D | bnx2x_sp.h | 93 int (*wait_comp)(struct bnx2x *bp, 170 typedef int (*exe_q_validate)(struct bnx2x *bp, 174 typedef int (*exe_q_remove)(struct bnx2x *bp, 181 typedef int (*exe_q_optimize)(struct bnx2x *bp, 184 typedef int (*exe_q_execute)(struct bnx2x *bp, 326 int (*get_n_elements)(struct bnx2x *bp, 336 int (*check_add)(struct bnx2x *bp, 346 (*check_del)(struct bnx2x *bp, 355 bool (*check_move)(struct bnx2x *bp, 372 void (*set_one_rule)(struct bnx2x *bp, [all …]
|
D | bnx2x_sp.c | 48 static inline void bnx2x_exe_queue_init(struct bnx2x *bp, in bnx2x_exe_queue_init() argument 79 static inline void bnx2x_exe_queue_free_elem(struct bnx2x *bp, in bnx2x_exe_queue_free_elem() argument 111 static inline int bnx2x_exe_queue_add(struct bnx2x *bp, in bnx2x_exe_queue_add() argument 122 rc = o->optimize(bp, o->owner, elem); in bnx2x_exe_queue_add() 127 rc = o->validate(bp, o->owner, elem); in bnx2x_exe_queue_add() 142 bnx2x_exe_queue_free_elem(bp, elem); in bnx2x_exe_queue_add() 150 struct bnx2x *bp, in __bnx2x_exe_queue_reset_pending() argument 160 bnx2x_exe_queue_free_elem(bp, elem); in __bnx2x_exe_queue_reset_pending() 173 static inline int bnx2x_exe_queue_step(struct bnx2x *bp, in bnx2x_exe_queue_step() argument 191 __bnx2x_exe_queue_reset_pending(bp, o); in bnx2x_exe_queue_step() [all …]
|
D | bnx2x_init.h | 207 static inline void bnx2x_map_q_cos(struct bnx2x *bp, u32 q_num, u32 new_cos) in bnx2x_map_q_cos() argument 210 u32 curr_cos = REG_RD(bp, QM_REG_QVOQIDX_0 + q_num * 4); in bnx2x_map_q_cos() 218 if (INIT_MODE_FLAGS(bp) & MODE_PORT4) { in bnx2x_map_q_cos() 220 if (BP_PORT(bp)) { in bnx2x_map_q_cos() 229 BNX2X_PF_Q_NUM(q_num, BP_PORT(bp), vnic); in bnx2x_map_q_cos() 233 REG_WR(bp, BNX2X_Q_VOQ_REG_ADDR(pf_q_num), new_cos); in bnx2x_map_q_cos() 237 reg_bit_map = REG_RD(bp, reg_addr); in bnx2x_map_q_cos() 238 REG_WR(bp, reg_addr, reg_bit_map & (~q_bit_map)); in bnx2x_map_q_cos() 242 reg_bit_map = REG_RD(bp, reg_addr); in bnx2x_map_q_cos() 243 REG_WR(bp, reg_addr, reg_bit_map | q_bit_map); in bnx2x_map_q_cos() [all …]
|
D | bnx2x_link.h | 321 struct bnx2x *bp; member 427 int bnx2x_common_init_phy(struct bnx2x *bp, u32 shmem_base_path[], 431 void bnx2x_ext_phy_hw_reset(struct bnx2x *bp, u8 port); 434 void bnx2x_sfx7101_sp_sw_reset(struct bnx2x *bp, struct bnx2x_phy *phy); 450 u8 bnx2x_fan_failure_det_req(struct bnx2x *bp, u32 shmem_base, 540 void bnx2x_init_mod_abs_int(struct bnx2x *bp, struct link_vars *vars,
|
D | bnx2x_stats.h | 541 void bnx2x_memset_stats(struct bnx2x *bp); 542 void bnx2x_stats_init(struct bnx2x *bp); 543 void bnx2x_stats_handle(struct bnx2x *bp, enum bnx2x_stats_event event); 544 int bnx2x_stats_safe_exec(struct bnx2x *bp, 553 void bnx2x_save_statistics(struct bnx2x *bp); 555 void bnx2x_afex_collect_stats(struct bnx2x *bp, void *void_afex_stats,
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 249 static void bnx2_init_napi(struct bnx2 *bp); 250 static void bnx2_del_napi(struct bnx2 *bp); 252 static inline u32 bnx2_tx_avail(struct bnx2 *bp, struct bnx2_tx_ring_info *txr) in bnx2_tx_avail() argument 268 return bp->tx_ring_size - diff; in bnx2_tx_avail() 272 bnx2_reg_rd_ind(struct bnx2 *bp, u32 offset) in bnx2_reg_rd_ind() argument 276 spin_lock_bh(&bp->indirect_lock); in bnx2_reg_rd_ind() 277 BNX2_WR(bp, BNX2_PCICFG_REG_WINDOW_ADDRESS, offset); in bnx2_reg_rd_ind() 278 val = BNX2_RD(bp, BNX2_PCICFG_REG_WINDOW); in bnx2_reg_rd_ind() 279 spin_unlock_bh(&bp->indirect_lock); in bnx2_reg_rd_ind() 284 bnx2_reg_wr_ind(struct bnx2 *bp, u32 offset, u32 val) in bnx2_reg_wr_ind() argument [all …]
|
D | b44.c | 166 static inline unsigned long br32(const struct b44 *bp, unsigned long reg) in br32() argument 168 return ssb_read32(bp->sdev, reg); in br32() 171 static inline void bw32(const struct b44 *bp, in bw32() argument 174 ssb_write32(bp->sdev, reg, val); in bw32() 177 static int b44_wait_bit(struct b44 *bp, unsigned long reg, in b44_wait_bit() argument 183 u32 val = br32(bp, reg); in b44_wait_bit() 193 netdev_err(bp->dev, "BUG! Timeout waiting for bit %08x of register %lx to %s\n", in b44_wait_bit() 201 static inline void __b44_cam_read(struct b44 *bp, unsigned char *data, int index) in __b44_cam_read() argument 205 bw32(bp, B44_CAM_CTRL, (CAM_CTRL_READ | in __b44_cam_read() 208 b44_wait_bit(bp, B44_CAM_CTRL, CAM_CTRL_BUSY, 100, 1); in __b44_cam_read() [all …]
|
D | cnic.h | 368 #define BNX2X_CHIP_IS_E2_PLUS(bp) (CHIP_IS_E2(bp) || CHIP_IS_E3(bp)) argument 405 #define BNX2X_HW_CID(bp, x) ((BP_PORT(bp) << 23) | \ argument 406 (BP_VN(bp) << 17) | (x)) 410 #define BNX2X_CL_QZONE_ID(bp, cli) \ argument 411 (BNX2X_CHIP_IS_E2_PLUS(bp) ? cli : \ 412 cli + (BP_PORT(bp) * ETH_MAX_RX_CLIENTS_E1H)) 416 (CHIP_IS_E1H(bp) ? MAX_STAT_COUNTER_ID_E1H : \ 417 ((BNX2X_CHIP_IS_E2_PLUS(bp)) ? MAX_STAT_COUNTER_ID_E2 : \ 422 (BNX2X_CHIP_IS_E2_PLUS(bp) && !NO_FCOE(bp))
|
D | bnx2_fw.h | 22 .bp = BNX2_COM_CPU_HW_BREAKPOINT, 38 .bp = BNX2_CP_CPU_HW_BREAKPOINT, 54 .bp = BNX2_RXP_CPU_HW_BREAKPOINT, 70 .bp = BNX2_TPAT_CPU_HW_BREAKPOINT, 86 .bp = BNX2_TXP_CPU_HW_BREAKPOINT,
|
D | cnic.c | 1193 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_alloc_bnx2x_context() local 1211 if (!CHIP_IS_E1(bp)) in cnic_alloc_bnx2x_context() 1241 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_alloc_bnx2x_resc() local 1251 if (BNX2X_CHIP_IS_E2_PLUS(bp)) { in cnic_alloc_bnx2x_resc() 1299 if (CNIC_SUPPORTS_FCOE(bp)) { in cnic_alloc_bnx2x_resc() 1393 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_submit_kwqe_16() local 1401 BNX2X_HW_CID(bp, cid))); in cnic_submit_kwqe_16() 1404 type_16 |= (bp->pfid << SPE_HDR_FUNCTION_ID_SHIFT) & in cnic_submit_kwqe_16() 1442 struct bnx2x *bp = netdev_priv(dev->netdev); in cnic_bnx2x_set_tcp_options() local 1454 XSTORM_ISCSI_TCP_VARS_FLAGS_OFFSET(bp->pfid), xstorm_flags); in cnic_bnx2x_set_tcp_options() [all …]
|
/linux-4.4.14/drivers/net/fddi/ |
D | defxx.c | 266 static void dfx_bus_config_check(DFX_board_t *bp); 271 static int dfx_adap_init(DFX_board_t *bp, int get_buffers); 276 static void dfx_int_pr_halt_id(DFX_board_t *bp); 277 static void dfx_int_type_0_process(DFX_board_t *bp); 284 static int dfx_ctl_update_cam(DFX_board_t *bp); 285 static int dfx_ctl_update_filters(DFX_board_t *bp); 287 static int dfx_hw_dma_cmd_req(DFX_board_t *bp); 288 static int dfx_hw_port_ctrl_req(DFX_board_t *bp, PI_UINT32 command, PI_UINT32 data_a, PI_UINT32 da… 289 static void dfx_hw_adap_reset(DFX_board_t *bp, PI_UINT32 type); 290 static int dfx_hw_adap_state_rd(DFX_board_t *bp); [all …]
|
/linux-4.4.14/drivers/sbus/char/ |
D | bbc_i2c.c | 53 static void set_device_claimage(struct bbc_i2c_bus *bp, struct platform_device *op, int val) in set_device_claimage() argument 58 if (bp->devs[i].device == op) { in set_device_claimage() 59 bp->devs[i].client_claimed = val; in set_device_claimage() 68 struct platform_device *bbc_i2c_getdev(struct bbc_i2c_bus *bp, int index) in bbc_i2c_getdev() argument 74 if (!(op = bp->devs[i].device)) in bbc_i2c_getdev() 88 struct bbc_i2c_client *bbc_i2c_attach(struct bbc_i2c_bus *bp, struct platform_device *op) in bbc_i2c_attach() argument 96 client->bp = bp; in bbc_i2c_attach() 108 claim_device(bp, op); in bbc_i2c_attach() 115 struct bbc_i2c_bus *bp = client->bp; in bbc_i2c_detach() local 118 release_device(bp, op); in bbc_i2c_detach() [all …]
|
D | bbc_envctrl.c | 445 static void attach_one_temp(struct bbc_i2c_bus *bp, struct platform_device *op, in attach_one_temp() argument 457 tp->client = bbc_i2c_attach(bp, op); in attach_one_temp() 467 list_add(&tp->bp_list, &bp->temps); in attach_one_temp() 493 static void attach_one_fan(struct bbc_i2c_bus *bp, struct platform_device *op, in attach_one_fan() argument 505 fp->client = bbc_i2c_attach(bp, op); in attach_one_fan() 514 list_add(&fp->bp_list, &bp->fans); in attach_one_fan() 537 static void destroy_all_temps(struct bbc_i2c_bus *bp) in destroy_all_temps() argument 541 list_for_each_entry_safe(tp, tpos, &bp->temps, bp_list) { in destroy_all_temps() 554 static void destroy_all_fans(struct bbc_i2c_bus *bp) in destroy_all_fans() argument 558 list_for_each_entry_safe(fp, fpos, &bp->fans, bp_list) { in destroy_all_fans() [all …]
|
D | bbc_i2c.h | 9 struct bbc_i2c_bus *bp; member 76 extern struct bbc_i2c_client *bbc_i2c_attach(struct bbc_i2c_bus *bp, struct platform_device *);
|
/linux-4.4.14/drivers/net/ethernet/sun/ |
D | sunbmac.c | 97 static void qec_init(struct bigmac *bp) in qec_init() argument 99 struct platform_device *qec_op = bp->qec_op; in qec_init() 100 void __iomem *gregs = bp->gregs; in qec_init() 101 u8 bsizes = bp->bigmac_bursts; in qec_init() 164 static void bigmac_stop(struct bigmac *bp) in bigmac_stop() argument 166 bigmac_tx_reset(bp->bregs); in bigmac_stop() 167 bigmac_rx_reset(bp->bregs); in bigmac_stop() 170 static void bigmac_get_counters(struct bigmac *bp, void __iomem *bregs) in bigmac_get_counters() argument 172 struct net_device_stats *stats = &bp->enet_stats; in bigmac_get_counters() 192 static void bigmac_clean_rings(struct bigmac *bp) in bigmac_clean_rings() argument [all …]
|
D | sunbmac.h | 258 #define TX_BUFFS_AVAIL(bp) \ argument 259 (((bp)->tx_old <= (bp)->tx_new) ? \ 260 (bp)->tx_old + (TX_RING_SIZE - 1) - (bp)->tx_new : \ 261 (bp)->tx_old - (bp)->tx_new - 1)
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_sriov.c | 22 static int bnxt_vf_ndo_prep(struct bnxt *bp, int vf_id) in bnxt_vf_ndo_prep() argument 24 if (!test_bit(BNXT_STATE_OPEN, &bp->state)) { in bnxt_vf_ndo_prep() 25 netdev_err(bp->dev, "vf ndo called though PF is down\n"); in bnxt_vf_ndo_prep() 28 if (!bp->pf.active_vfs) { in bnxt_vf_ndo_prep() 29 netdev_err(bp->dev, "vf ndo called though sriov is disabled\n"); in bnxt_vf_ndo_prep() 32 if (vf_id >= bp->pf.max_vfs) { in bnxt_vf_ndo_prep() 33 netdev_err(bp->dev, "Invalid VF id %d\n", vf_id); in bnxt_vf_ndo_prep() 42 struct bnxt *bp = netdev_priv(dev); in bnxt_set_vf_spoofchk() local 48 rc = bnxt_vf_ndo_prep(bp, vf_id); in bnxt_set_vf_spoofchk() 52 vf = &bp->pf.vf[vf_id]; in bnxt_set_vf_spoofchk() [all …]
|
D | bnxt.c | 133 static inline u32 bnxt_tx_avail(struct bnxt *bp, struct bnxt_tx_ring_info *txr) in bnxt_tx_avail() argument 138 return bp->tx_ring_size - in bnxt_tx_avail() 139 ((txr->tx_prod - txr->tx_cons) & bp->tx_ring_mask); in bnxt_tx_avail() 166 struct bnxt *bp = netdev_priv(dev); in bnxt_start_xmit() local 175 struct pci_dev *pdev = bp->pdev; in bnxt_start_xmit() 181 if (unlikely(i >= bp->tx_nr_rings)) { in bnxt_start_xmit() 186 bnapi = bp->bnapi[i]; in bnxt_start_xmit() 191 free_size = bnxt_tx_avail(bp, txr); in bnxt_start_xmit() 221 if (free_size == bp->tx_ring_size && length <= bp->tx_push_thresh) { in bnxt_start_xmit() 380 if (unlikely(bnxt_tx_avail(bp, txr) <= MAX_SKB_FRAGS + 1)) { in bnxt_start_xmit() [all …]
|
D | bnxt_ethtool.c | 25 struct bnxt *bp = netdev_priv(dev); in bnxt_get_msglevel() local 27 return bp->msg_enable; in bnxt_get_msglevel() 32 struct bnxt *bp = netdev_priv(dev); in bnxt_set_msglevel() local 34 bp->msg_enable = value; in bnxt_set_msglevel() 40 struct bnxt *bp = netdev_priv(dev); in bnxt_get_coalesce() local 45 max_t(u16, BNXT_COAL_TIMER_TO_USEC(bp->coal_ticks), 1); in bnxt_get_coalesce() 46 coal->rx_max_coalesced_frames = bp->coal_bufs / 2; in bnxt_get_coalesce() 48 max_t(u16, BNXT_COAL_TIMER_TO_USEC(bp->coal_ticks_irq), 1); in bnxt_get_coalesce() 49 coal->rx_max_coalesced_frames_irq = bp->coal_bufs_irq / 2; in bnxt_get_coalesce() 57 struct bnxt *bp = netdev_priv(dev); in bnxt_set_coalesce() local [all …]
|
D | bnxt.h | 412 #define BNXT_NUM_TESTS(bp) 0 argument 453 !((raw_cons) & bp->cp_bit)) 457 !((raw_cons) & bp->cp_bit)) 461 !((raw_cons) & bp->cp_bit)) 469 #define NEXT_RX(idx) (((idx) + 1) & bp->rx_ring_mask) 471 #define NEXT_RX_AGG(idx) (((idx) + 1) & bp->rx_agg_ring_mask) 473 #define NEXT_TX(idx) (((idx) + 1) & bp->tx_ring_mask) 477 #define RING_CMP(idx) ((idx) & bp->cp_ring_mask) 603 struct bnxt *bp; member 882 #define BNXT_PF(bp) (!((bp)->flags & BNXT_FLAG_VF)) argument [all …]
|
/linux-4.4.14/kernel/debug/kdb/ |
D | kdb_bp.c | 40 static char *kdb_bptype(kdb_bp_t *bp) in kdb_bptype() argument 42 if (bp->bp_type < 0 || bp->bp_type > 4) in kdb_bptype() 45 return kdb_rwtypes[bp->bp_type]; in kdb_bptype() 48 static int kdb_parsebp(int argc, const char **argv, int *nextargp, kdb_bp_t *bp) in kdb_parsebp() argument 53 bp->bph_length = 1; in kdb_parsebp() 56 bp->bp_type = BP_ACCESS_WATCHPOINT; in kdb_parsebp() 58 bp->bp_type = BP_WRITE_WATCHPOINT; in kdb_parsebp() 60 bp->bp_type = BP_HARDWARE_BREAKPOINT; in kdb_parsebp() 64 bp->bph_length = 1; in kdb_parsebp() 80 bp->bph_length = len; in kdb_parsebp() [all …]
|
D | kdb_debugger.c | 56 kdb_bp_t *bp; in kdb_stub() local 78 for (i = 0, bp = kdb_breakpoints; i < KDB_MAXBPT; i++, bp++) { in kdb_stub() 79 if ((bp->bp_enabled) && (bp->bp_addr == addr)) { in kdb_stub() 88 for (i = 0, bp = kdb_breakpoints; i < KDB_MAXBPT; i++, bp++) { in kdb_stub() 89 if (bp->bp_free) in kdb_stub() 91 if (bp->bp_addr == addr) { in kdb_stub() 92 bp->bp_delay = 1; in kdb_stub() 93 bp->bp_delayed = 1; in kdb_stub()
|
/linux-4.4.14/drivers/net/ethernet/cadence/ |
D | macb.c | 97 static struct macb_dma_desc *macb_rx_desc(struct macb *bp, unsigned int index) in macb_rx_desc() argument 99 return &bp->rx_ring[macb_rx_ring_wrap(index)]; in macb_rx_desc() 102 static void *macb_rx_buffer(struct macb *bp, unsigned int index) in macb_rx_buffer() argument 104 return bp->rx_buffers + bp->rx_buffer_size * macb_rx_ring_wrap(index); in macb_rx_buffer() 108 static u32 hw_readl_native(struct macb *bp, int offset) in hw_readl_native() argument 110 return __raw_readl(bp->regs + offset); in hw_readl_native() 113 static void hw_writel_native(struct macb *bp, int offset, u32 value) in hw_writel_native() argument 115 __raw_writel(value, bp->regs + offset); in hw_writel_native() 118 static u32 hw_readl(struct macb *bp, int offset) in hw_readl() argument 120 return readl_relaxed(bp->regs + offset); in hw_readl() [all …]
|
D | macb.h | 441 #define queue_readl(queue, reg) (queue)->bp->macb_reg_readl((queue)->bp, (queue)->reg) 442 #define queue_writel(queue, reg, value) (queue)->bp->macb_reg_writel((queue)->bp, (queue)->reg, (va… 753 int (*mog_alloc_rx_buffers)(struct macb *bp); 754 void (*mog_free_rx_buffers)(struct macb *bp); 755 void (*mog_init_rings)(struct macb *bp); 756 int (*mog_rx)(struct macb *bp, int budget); 769 struct macb *bp; member 790 u32 (*macb_reg_readl)(struct macb *bp, int offset); 791 void (*macb_reg_writel)(struct macb *bp, int offset, u32 value); 845 static inline bool macb_is_gem(struct macb *bp) in macb_is_gem() argument [all …]
|
/linux-4.4.14/drivers/media/usb/pvrusb2/ |
D | pvrusb2-io.c | 36 #define BUFFER_CHECK(bp) do { \ argument 37 if ((bp)->signature != BUFFER_SIG) { \ 40 (bp),__FILE__,__LINE__); \ 41 pvr2_buffer_describe(bp,"BadSig"); \ 46 #define BUFFER_CHECK(bp) do {} while(0) argument 113 static void pvr2_buffer_describe(struct pvr2_buffer *bp,const char *msg) in pvr2_buffer_describe() argument 120 bp, in pvr2_buffer_describe() 121 (bp ? pvr2_buffer_state_decode(bp->state) : "(invalid)"), in pvr2_buffer_describe() 122 (bp ? bp->id : 0), in pvr2_buffer_describe() 123 (bp ? bp->status : 0), in pvr2_buffer_describe() [all …]
|
D | pvrusb2-dvb.c | 38 struct pvr2_buffer *bp; in pvr2_dvb_feed_func() local 52 bp = pvr2_stream_get_ready_buffer(stream); in pvr2_dvb_feed_func() 53 if (bp != NULL) { in pvr2_dvb_feed_func() 54 count = pvr2_buffer_get_count(bp); in pvr2_dvb_feed_func() 59 pvr2_buffer_get_id(bp)], in pvr2_dvb_feed_func() 62 ret = pvr2_buffer_get_status(bp); in pvr2_dvb_feed_func() 65 ret = pvr2_buffer_queue(bp); in pvr2_dvb_feed_func() 147 struct pvr2_buffer *bp; in pvr2_dvb_stream_do_start() local 171 bp = pvr2_stream_get_buffer(stream, idx); in pvr2_dvb_stream_do_start() 172 pvr2_buffer_set_buffer(bp, in pvr2_dvb_stream_do_start() [all …]
|
D | pvrusb2-ioread.c | 163 struct pvr2_buffer *bp; in pvr2_ioread_start() local 168 while ((bp = pvr2_stream_get_idle_buffer(cp->stream)) != NULL) { in pvr2_ioread_start() 169 stat = pvr2_buffer_queue(bp); in pvr2_ioread_start() 206 struct pvr2_buffer *bp; in pvr2_ioread_setup() local 232 bp = pvr2_stream_get_buffer(sp,idx); in pvr2_ioread_setup() 233 pvr2_buffer_set_buffer(bp, in pvr2_ioread_setup()
|
/linux-4.4.14/kernel/events/ |
D | hw_breakpoint.c | 83 __weak int hw_breakpoint_weight(struct perf_event *bp) in hw_breakpoint_weight() argument 88 static inline enum bp_type_idx find_slot_idx(struct perf_event *bp) in find_slot_idx() argument 90 if (bp->attr.bp_type & HW_BREAKPOINT_RW) in find_slot_idx() 117 static int task_bp_pinned(int cpu, struct perf_event *bp, enum bp_type_idx type) in task_bp_pinned() argument 119 struct task_struct *tsk = bp->hw.target; in task_bp_pinned() 133 static const struct cpumask *cpumask_of_bp(struct perf_event *bp) in cpumask_of_bp() argument 135 if (bp->cpu >= 0) in cpumask_of_bp() 136 return cpumask_of(bp->cpu); in cpumask_of_bp() 145 fetch_bp_busy_slots(struct bp_busy_slots *slots, struct perf_event *bp, in fetch_bp_busy_slots() argument 148 const struct cpumask *cpumask = cpumask_of_bp(bp); in fetch_bp_busy_slots() [all …]
|
/linux-4.4.14/drivers/net/ethernet/ |
D | dnet.c | 30 static u16 dnet_readw_mac(struct dnet *bp, u16 reg) in dnet_readw_mac() argument 35 dnet_writel(bp, reg, MACREG_ADDR); in dnet_readw_mac() 42 data_read = dnet_readl(bp, MACREG_DATA); in dnet_readw_mac() 49 static void dnet_writew_mac(struct dnet *bp, u16 reg, u16 val) in dnet_writew_mac() argument 52 dnet_writel(bp, val, MACREG_DATA); in dnet_writew_mac() 55 dnet_writel(bp, reg | DNET_INTERNAL_WRITE, MACREG_ADDR); in dnet_writew_mac() 62 static void __dnet_set_hwaddr(struct dnet *bp) in __dnet_set_hwaddr() argument 66 tmp = be16_to_cpup((__be16 *)bp->dev->dev_addr); in __dnet_set_hwaddr() 67 dnet_writew_mac(bp, DNET_INTERNAL_MAC_ADDR_0_REG, tmp); in __dnet_set_hwaddr() 68 tmp = be16_to_cpup((__be16 *)(bp->dev->dev_addr + 2)); in __dnet_set_hwaddr() [all …]
|
/linux-4.4.14/drivers/net/fddi/skfp/ |
D | skfddi.c | 384 skfddi_priv *bp = &smc->os; in skfp_driver_init() local 390 bp->base_addr = dev->base_addr; in skfp_driver_init() 395 spin_lock_init(&bp->DriverLock); in skfp_driver_init() 398 bp->LocalRxBuffer = pci_alloc_consistent(&bp->pdev, MAX_FRAME_SIZE, &bp->LocalRxBufferDMA); in skfp_driver_init() 399 if (!bp->LocalRxBuffer) { in skfp_driver_init() 406 bp->SharedMemSize = mac_drv_check_space(); in skfp_driver_init() 407 pr_debug("Memory for HWM: %ld\n", bp->SharedMemSize); in skfp_driver_init() 408 if (bp->SharedMemSize > 0) { in skfp_driver_init() 409 bp->SharedMemSize += 16; // for descriptor alignment in skfp_driver_init() 411 bp->SharedMemAddr = pci_alloc_consistent(&bp->pdev, in skfp_driver_init() [all …]
|
/linux-4.4.14/fs/afs/ |
D | fsclient.c | 24 const __be32 *bp = *_bp; in xdr_decode_AFSFid() local 26 fid->vid = ntohl(*bp++); in xdr_decode_AFSFid() 27 fid->vnode = ntohl(*bp++); in xdr_decode_AFSFid() 28 fid->unique = ntohl(*bp++); in xdr_decode_AFSFid() 29 *_bp = bp; in xdr_decode_AFSFid() 41 const __be32 *bp = *_bp; in xdr_decode_AFSFetchStatus() local 50 u32 x = ntohl(*bp++); \ in xdr_decode_AFSFetchStatus() 55 status->if_version = ntohl(*bp++); in xdr_decode_AFSFetchStatus() 58 size = ntohl(*bp++); in xdr_decode_AFSFetchStatus() 59 data_version = ntohl(*bp++); in xdr_decode_AFSFetchStatus() [all …]
|
D | vlclient.c | 65 __be32 *bp; in afs_deliver_vl_get_entry_by_xxx() local 80 bp = call->buffer; in afs_deliver_vl_get_entry_by_xxx() 83 entry->name[loop] = ntohl(*bp++); in afs_deliver_vl_get_entry_by_xxx() 85 bp++; /* final NUL */ in afs_deliver_vl_get_entry_by_xxx() 87 bp++; /* type */ in afs_deliver_vl_get_entry_by_xxx() 88 entry->nservers = ntohl(*bp++); in afs_deliver_vl_get_entry_by_xxx() 91 entry->servers[loop].s_addr = *bp++; in afs_deliver_vl_get_entry_by_xxx() 93 bp += 8; /* partition IDs */ in afs_deliver_vl_get_entry_by_xxx() 96 tmp = ntohl(*bp++); in afs_deliver_vl_get_entry_by_xxx() 106 entry->vid[0] = ntohl(*bp++); in afs_deliver_vl_get_entry_by_xxx() [all …]
|
D | cmservice.c | 177 __be32 *bp; in afs_deliver_cb_callback() local 227 bp = call->buffer; in afs_deliver_cb_callback() 229 cb->fid.vid = ntohl(*bp++); in afs_deliver_cb_callback() 230 cb->fid.vnode = ntohl(*bp++); in afs_deliver_cb_callback() 231 cb->fid.unique = ntohl(*bp++); in afs_deliver_cb_callback() 269 bp = call->buffer; in afs_deliver_cb_callback() 271 cb->version = ntohl(*bp++); in afs_deliver_cb_callback() 272 cb->expiry = ntohl(*bp++); in afs_deliver_cb_callback() 273 cb->type = ntohl(*bp++); in afs_deliver_cb_callback()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | hw_breakpoint.c | 63 int arch_install_hw_breakpoint(struct perf_event *bp) in arch_install_hw_breakpoint() argument 65 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_install_hw_breakpoint() 68 *slot = bp; in arch_install_hw_breakpoint() 74 if (current->thread.last_hit_ubp != bp) in arch_install_hw_breakpoint() 89 void arch_uninstall_hw_breakpoint(struct perf_event *bp) in arch_uninstall_hw_breakpoint() argument 93 if (*slot != bp) { in arch_uninstall_hw_breakpoint() 106 void arch_unregister_hw_breakpoint(struct perf_event *bp) in arch_unregister_hw_breakpoint() argument 113 if (bp->ctx && bp->ctx->task) in arch_unregister_hw_breakpoint() 114 bp->ctx->task->thread.last_hit_ubp = NULL; in arch_unregister_hw_breakpoint() 120 int arch_check_bp_in_kernelspace(struct perf_event *bp) in arch_check_bp_in_kernelspace() argument [all …]
|
D | ptrace.c | 918 void ptrace_triggered(struct perf_event *bp, in ptrace_triggered() argument 929 attr = bp->attr; in ptrace_triggered() 931 modify_user_hw_breakpoint(bp, &attr); in ptrace_triggered() 941 struct perf_event *bp; in ptrace_set_debugreg() local 979 bp = thread->ptrace_bps[0]; in ptrace_set_debugreg() 981 if (bp) { in ptrace_set_debugreg() 982 unregister_hw_breakpoint(bp); in ptrace_set_debugreg() 987 if (bp) { in ptrace_set_debugreg() 988 attr = bp->attr; in ptrace_set_debugreg() 995 ret = modify_user_hw_breakpoint(bp, &attr); in ptrace_set_debugreg() [all …]
|
/linux-4.4.14/drivers/net/ethernet/apple/ |
D | bmac.c | 228 struct bmac_data *bp = netdev_priv(dev); in bmac_enable_and_reset_chip() local 229 volatile struct dbdma_regs __iomem *rd = bp->rx_dma; in bmac_enable_and_reset_chip() 230 volatile struct dbdma_regs __iomem *td = bp->tx_dma; in bmac_enable_and_reset_chip() 237 pmac_call_feature(PMAC_FTR_BMAC_ENABLE, macio_get_of_node(bp->mdev), 0, 1); in bmac_enable_and_reset_chip() 312 struct bmac_data *bp = netdev_priv(dev); in bmac_init_registers() local 329 if (!bp->is_bmac_plus) { in bmac_init_registers() 371 for (i=0; i<4; i++) bp->hash_table_mask[i] = 0; in bmac_init_registers() 372 bmwrite(dev, BHASH3, bp->hash_table_mask[0]); /* bits 15 - 0 */ in bmac_init_registers() 373 bmwrite(dev, BHASH2, bp->hash_table_mask[1]); /* bits 31 - 16 */ in bmac_init_registers() 374 bmwrite(dev, BHASH1, bp->hash_table_mask[2]); /* bits 47 - 32 */ in bmac_init_registers() [all …]
|
/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_symlink_remote.c | 57 struct xfs_buf *bp) in xfs_symlink_hdr_set() argument 59 struct xfs_dsymlink_hdr *dsl = bp->b_addr; in xfs_symlink_hdr_set() 70 dsl->sl_blkno = cpu_to_be64(bp->b_bn); in xfs_symlink_hdr_set() 71 bp->b_ops = &xfs_symlink_buf_ops; in xfs_symlink_hdr_set() 86 struct xfs_buf *bp) in xfs_symlink_hdr_ok() argument 88 struct xfs_dsymlink_hdr *dsl = bp->b_addr; in xfs_symlink_hdr_ok() 103 struct xfs_buf *bp) in xfs_symlink_verify() argument 105 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_symlink_verify() 106 struct xfs_dsymlink_hdr *dsl = bp->b_addr; in xfs_symlink_verify() 114 if (bp->b_bn != be64_to_cpu(dsl->sl_blkno)) in xfs_symlink_verify() [all …]
|
D | xfs_rtbitmap.c | 56 xfs_buf_t *bp; /* block buffer, result */ in xfs_rtbuf_get() local 71 mp->m_bsize, 0, &bp, NULL); in xfs_rtbuf_get() 74 *bpp = bp; in xfs_rtbuf_get() 93 xfs_buf_t *bp; /* buf for the block */ in xfs_rtfind_back() local 108 error = xfs_rtbuf_get(mp, tp, block, 0, &bp); in xfs_rtfind_back() 112 bufp = bp->b_addr; in xfs_rtfind_back() 145 xfs_trans_brelse(tp, bp); in xfs_rtfind_back() 159 xfs_trans_brelse(tp, bp); in xfs_rtfind_back() 160 error = xfs_rtbuf_get(mp, tp, --block, 0, &bp); in xfs_rtfind_back() 164 bufp = bp->b_addr; in xfs_rtfind_back() [all …]
|
D | xfs_dquot_buf.c | 177 struct xfs_buf *bp) in xfs_dquot_buf_verify_crc() argument 179 struct xfs_dqblk *d = (struct xfs_dqblk *)bp->b_addr; in xfs_dquot_buf_verify_crc() 195 XFS_BB_TO_FSB(mp, bp->b_length)); in xfs_dquot_buf_verify_crc() 210 struct xfs_buf *bp, in xfs_dquot_buf_verify() argument 213 struct xfs_dqblk *d = (struct xfs_dqblk *)bp->b_addr; in xfs_dquot_buf_verify() 226 ndquots = xfs_calc_dquots_per_chunk(bp->b_length); in xfs_dquot_buf_verify() 253 struct xfs_buf *bp) in xfs_dquot_buf_read_verify() argument 255 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_dquot_buf_read_verify() 257 if (!xfs_dquot_buf_verify_crc(mp, bp)) in xfs_dquot_buf_read_verify() 258 xfs_buf_ioerror(bp, -EFSBADCRC); in xfs_dquot_buf_read_verify() [all …]
|
D | xfs_da_btree.c | 114 state->altpath.blk[i].bp = NULL; in xfs_da_state_kill_altpath() 133 struct xfs_buf *bp) in xfs_da3_node_verify() argument 135 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_da3_node_verify() 136 struct xfs_da_intnode *hdr = bp->b_addr; in xfs_da3_node_verify() 145 struct xfs_da3_node_hdr *hdr3 = bp->b_addr; in xfs_da3_node_verify() 152 if (be64_to_cpu(hdr3->info.blkno) != bp->b_bn) in xfs_da3_node_verify() 182 struct xfs_buf *bp) in xfs_da3_node_write_verify() argument 184 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_da3_node_write_verify() 185 struct xfs_buf_log_item *bip = bp->b_fspriv; in xfs_da3_node_write_verify() 186 struct xfs_da3_node_hdr *hdr3 = bp->b_addr; in xfs_da3_node_write_verify() [all …]
|
D | xfs_dir2_node.c | 41 static int xfs_dir2_leafn_add(struct xfs_buf *bp, xfs_da_args_t *args, 46 static int xfs_dir2_leafn_remove(xfs_da_args_t *args, struct xfs_buf *bp, 56 #define xfs_dir3_leaf_check(dp, bp) \ argument 58 if (!xfs_dir3_leafn_check((dp), (bp))) \ 65 struct xfs_buf *bp) in xfs_dir3_leafn_check() argument 67 struct xfs_dir2_leaf *leaf = bp->b_addr; in xfs_dir3_leafn_check() 73 struct xfs_dir3_leaf_hdr *leaf3 = bp->b_addr; in xfs_dir3_leafn_check() 74 if (be64_to_cpu(leaf3->info.blkno) != bp->b_bn) in xfs_dir3_leafn_check() 82 #define xfs_dir3_leaf_check(dp, bp) argument 87 struct xfs_buf *bp) in xfs_dir3_free_verify() argument [all …]
|
D | xfs_dir2_block.c | 42 static void xfs_dir2_block_log_leaf(xfs_trans_t *tp, struct xfs_buf *bp, 44 static void xfs_dir2_block_log_tail(xfs_trans_t *tp, struct xfs_buf *bp); 63 struct xfs_buf *bp) in xfs_dir3_block_verify() argument 65 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_dir3_block_verify() 66 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_block_verify() 73 if (be64_to_cpu(hdr3->blkno) != bp->b_bn) in xfs_dir3_block_verify() 81 if (__xfs_dir3_data_check(NULL, bp)) in xfs_dir3_block_verify() 88 struct xfs_buf *bp) in xfs_dir3_block_read_verify() argument 90 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_dir3_block_read_verify() 93 !xfs_buf_verify_cksum(bp, XFS_DIR3_DATA_CRC_OFF)) in xfs_dir3_block_read_verify() [all …]
|
D | xfs_attr_remote.c | 120 struct xfs_buf *bp) in xfs_attr3_rmt_read_verify() argument 122 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_attr3_rmt_read_verify() 132 ptr = bp->b_addr; in xfs_attr3_rmt_read_verify() 133 bno = bp->b_bn; in xfs_attr3_rmt_read_verify() 134 len = BBTOB(bp->b_length); in xfs_attr3_rmt_read_verify() 139 xfs_buf_ioerror(bp, -EFSBADCRC); in xfs_attr3_rmt_read_verify() 143 xfs_buf_ioerror(bp, -EFSCORRUPTED); in xfs_attr3_rmt_read_verify() 151 if (bp->b_error) in xfs_attr3_rmt_read_verify() 152 xfs_verifier_error(bp); in xfs_attr3_rmt_read_verify() 159 struct xfs_buf *bp) in xfs_attr3_rmt_write_verify() argument [all …]
|
D | xfs_dir2_data.c | 44 struct xfs_buf *bp) /* data block's buffer */ in __xfs_dir3_data_check() argument 67 mp = bp->b_target->bt_mount; in __xfs_dir3_data_check() 76 hdr = bp->b_addr; in __xfs_dir3_data_check() 216 struct xfs_buf *bp) in xfs_dir3_data_verify() argument 218 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_dir3_data_verify() 219 struct xfs_dir3_blk_hdr *hdr3 = bp->b_addr; in xfs_dir3_data_verify() 226 if (be64_to_cpu(hdr3->blkno) != bp->b_bn) in xfs_dir3_data_verify() 234 if (__xfs_dir3_data_check(NULL, bp)) in xfs_dir3_data_verify() 246 struct xfs_buf *bp) in xfs_dir3_data_reada_verify() argument 248 struct xfs_dir2_data_hdr *hdr = bp->b_addr; in xfs_dir3_data_reada_verify() [all …]
|
D | xfs_inode_buf.c | 40 xfs_buf_t *bp) in xfs_inobp_check() argument 49 dip = xfs_buf_offset(bp, i * mp->m_sb.sb_inodesize); in xfs_inobp_check() 53 i, (long long)bp->b_bn); in xfs_inobp_check() 76 struct xfs_buf *bp, in xfs_inode_buf_verify() argument 79 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_inode_buf_verify() 86 ni = XFS_BB_TO_FSB(mp, bp->b_length) * mp->m_sb.sb_inopblock; in xfs_inode_buf_verify() 91 dip = xfs_buf_offset(bp, (i << mp->m_sb.sb_inodelog)); in xfs_inode_buf_verify() 98 bp->b_flags &= ~XBF_DONE; in xfs_inode_buf_verify() 99 xfs_buf_ioerror(bp, -EIO); in xfs_inode_buf_verify() 103 xfs_buf_ioerror(bp, -EFSCORRUPTED); in xfs_inode_buf_verify() [all …]
|
D | xfs_btree.c | 60 struct xfs_buf *bp) /* buffer for block, if any */ in xfs_btree_check_lblock() argument 72 bp ? bp->b_bn : XFS_BUF_DADDR_NULL); in xfs_btree_check_lblock() 92 if (bp) in xfs_btree_check_lblock() 93 trace_xfs_btree_corrupt(bp, _RET_IP_); in xfs_btree_check_lblock() 105 struct xfs_buf *bp) /* buffer containing block */ in xfs_btree_check_sblock() argument 123 bp ? bp->b_bn : XFS_BUF_DADDR_NULL); in xfs_btree_check_sblock() 141 if (bp) in xfs_btree_check_sblock() 142 trace_xfs_btree_corrupt(bp, _RET_IP_); in xfs_btree_check_sblock() 157 struct xfs_buf *bp) /* buffer containing block, if any */ in xfs_btree_check_block() argument 160 return xfs_btree_check_lblock(cur, block, level, bp); in xfs_btree_check_block() [all …]
|
D | xfs_dir2_leaf.c | 44 struct xfs_buf *bp, int first, int last); 46 struct xfs_buf *bp); 53 #define xfs_dir3_leaf_check(dp, bp) \ argument 55 if (!xfs_dir3_leaf1_check((dp), (bp))) \ 62 struct xfs_buf *bp) in xfs_dir3_leaf1_check() argument 64 struct xfs_dir2_leaf *leaf = bp->b_addr; in xfs_dir3_leaf1_check() 70 struct xfs_dir3_leaf_hdr *leaf3 = bp->b_addr; in xfs_dir3_leaf1_check() 71 if (be64_to_cpu(leaf3->info.blkno) != bp->b_bn) in xfs_dir3_leaf1_check() 79 #define xfs_dir3_leaf_check(dp, bp) argument 147 struct xfs_buf *bp, in xfs_dir3_leaf_verify() argument [all …]
|
D | xfs_attr.c | 570 struct xfs_buf *bp; in xfs_attr_leaf_addname() local 580 error = xfs_attr3_leaf_read(args->trans, args->dp, args->blkno, -1, &bp); in xfs_attr_leaf_addname() 588 retval = xfs_attr3_leaf_lookup_int(bp, args); in xfs_attr_leaf_addname() 590 xfs_trans_brelse(args->trans, bp); in xfs_attr_leaf_addname() 594 xfs_trans_brelse(args->trans, bp); in xfs_attr_leaf_addname() 622 retval = xfs_attr3_leaf_add(bp, args); in xfs_attr_leaf_addname() 719 -1, &bp); in xfs_attr_leaf_addname() 723 xfs_attr3_leaf_remove(bp, args); in xfs_attr_leaf_addname() 728 if ((forkoff = xfs_attr_shortform_allfit(bp, dp))) { in xfs_attr_leaf_addname() 730 error = xfs_attr3_leaf_to_shortform(bp, args, forkoff); in xfs_attr_leaf_addname() [all …]
|
D | xfs_attr_leaf.c | 252 struct xfs_buf *bp) in xfs_attr3_leaf_verify() argument 254 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_attr3_leaf_verify() 255 struct xfs_attr_leafblock *leaf = bp->b_addr; in xfs_attr3_leaf_verify() 261 struct xfs_da3_node_hdr *hdr3 = bp->b_addr; in xfs_attr3_leaf_verify() 268 if (be64_to_cpu(hdr3->info.blkno) != bp->b_bn) in xfs_attr3_leaf_verify() 287 struct xfs_buf *bp) in xfs_attr3_leaf_write_verify() argument 289 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_attr3_leaf_write_verify() 290 struct xfs_buf_log_item *bip = bp->b_fspriv; in xfs_attr3_leaf_write_verify() 291 struct xfs_attr3_leaf_hdr *hdr3 = bp->b_addr; in xfs_attr3_leaf_write_verify() 293 if (!xfs_attr3_leaf_verify(bp)) { in xfs_attr3_leaf_write_verify() [all …]
|
D | xfs_ialloc_btree.c | 126 struct xfs_buf *bp) in xfs_inobt_free_block() argument 131 fsbno = XFS_DADDR_TO_FSB(cur->bc_mp, XFS_BUF_ADDR(bp)); in xfs_inobt_free_block() 136 xfs_trans_binval(cur->bc_tp, bp); in xfs_inobt_free_block() 220 struct xfs_buf *bp) in xfs_inobt_verify() argument 222 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_inobt_verify() 223 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_inobt_verify() 224 struct xfs_perag *pag = bp->b_pag; in xfs_inobt_verify() 244 if (block->bb_u.s.bb_blkno != cpu_to_be64(bp->b_bn)) in xfs_inobt_verify() 279 struct xfs_buf *bp) in xfs_inobt_read_verify() argument 281 if (!xfs_btree_sblock_verify_crc(bp)) in xfs_inobt_read_verify() [all …]
|
D | xfs_alloc_btree.c | 106 struct xfs_buf *bp) in xfs_allocbt_free_block() argument 113 bno = xfs_daddr_to_agbno(cur->bc_mp, XFS_BUF_ADDR(bp)); in xfs_allocbt_free_block() 122 xfs_trans_binval(cur->bc_tp, bp); in xfs_allocbt_free_block() 274 struct xfs_buf *bp) in xfs_allocbt_verify() argument 276 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_allocbt_verify() 277 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_allocbt_verify() 278 struct xfs_perag *pag = bp->b_pag; in xfs_allocbt_verify() 300 if (block->bb_u.s.bb_blkno != cpu_to_be64(bp->b_bn)) in xfs_allocbt_verify() 318 if (block->bb_u.s.bb_blkno != cpu_to_be64(bp->b_bn)) in xfs_allocbt_verify() 354 struct xfs_buf *bp) in xfs_allocbt_read_verify() argument [all …]
|
D | xfs_dir2_priv.h | 43 #define xfs_dir3_data_check(dp,bp) __xfs_dir3_data_check(dp, bp); argument 45 #define xfs_dir3_data_check(dp,bp) argument 48 extern int __xfs_dir3_data_check(struct xfs_inode *dp, struct xfs_buf *bp); 68 struct xfs_dir3_icleaf_hdr *leafhdr, struct xfs_buf *bp); 75 struct xfs_buf *bp, int first, int last); 77 struct xfs_buf *bp); 98 struct xfs_buf *bp, int *count); 99 extern int xfs_dir2_leafn_lookup_int(struct xfs_buf *bp, 122 extern int xfs_dir2_block_to_sf(struct xfs_da_args *args, struct xfs_buf *bp,
|
D | xfs_sb.c | 568 struct xfs_buf *bp, in xfs_sb_verify() argument 571 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_sb_verify() 578 __xfs_sb_from_disk(&sb, XFS_BUF_TO_SBP(bp), false); in xfs_sb_verify() 584 return xfs_mount_validate_sb(mp, &sb, bp->b_bn == XFS_SB_DADDR, in xfs_sb_verify() 602 struct xfs_buf *bp) in xfs_sb_read_verify() argument 604 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_sb_read_verify() 605 struct xfs_dsb *dsb = XFS_BUF_TO_SBP(bp); in xfs_sb_read_verify() 617 if (!xfs_buf_verify_cksum(bp, XFS_SB_CRC_OFF)) { in xfs_sb_read_verify() 619 if (bp->b_bn == XFS_SB_DADDR || in xfs_sb_read_verify() 626 error = xfs_sb_verify(bp, true); in xfs_sb_read_verify() [all …]
|
D | xfs_attr_leaf.h | 54 int xfs_attr_shortform_allfit(struct xfs_buf *bp, struct xfs_inode *dp); 62 int xfs_attr3_leaf_to_shortform(struct xfs_buf *bp, 76 int xfs_attr3_leaf_getvalue(struct xfs_buf *bp, struct xfs_da_args *args); 81 int xfs_attr3_leaf_list_int(struct xfs_buf *bp, 96 xfs_dahash_t xfs_attr_leaf_lasthash(struct xfs_buf *bp, int *count);
|
D | xfs_alloc.c | 461 struct xfs_buf *bp) in xfs_agfl_verify() argument 463 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_agfl_verify() 464 struct xfs_agfl *agfl = XFS_BUF_TO_AGFL(bp); in xfs_agfl_verify() 477 if (bp->b_pag && be32_to_cpu(agfl->agfl_seqno) != bp->b_pag->pag_agno) in xfs_agfl_verify() 487 be64_to_cpu(XFS_BUF_TO_AGFL(bp)->agfl_lsn)); in xfs_agfl_verify() 492 struct xfs_buf *bp) in xfs_agfl_read_verify() argument 494 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_agfl_read_verify() 505 if (!xfs_buf_verify_cksum(bp, XFS_AGFL_CRC_OFF)) in xfs_agfl_read_verify() 506 xfs_buf_ioerror(bp, -EFSBADCRC); in xfs_agfl_read_verify() 507 else if (!xfs_agfl_verify(bp)) in xfs_agfl_read_verify() [all …]
|
D | xfs_bmap_btree.c | 522 struct xfs_buf *bp) in xfs_bmbt_free_block() argument 527 xfs_fsblock_t fsbno = XFS_DADDR_TO_FSB(mp, XFS_BUF_ADDR(bp)); in xfs_bmbt_free_block() 534 xfs_trans_binval(tp, bp); in xfs_bmbt_free_block() 641 struct xfs_buf *bp) in xfs_bmbt_verify() argument 643 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_bmbt_verify() 644 struct xfs_btree_block *block = XFS_BUF_TO_BLOCK(bp); in xfs_bmbt_verify() 653 if (be64_to_cpu(block->bb_u.l.bb_blkno) != bp->b_bn) in xfs_bmbt_verify() 696 struct xfs_buf *bp) in xfs_bmbt_read_verify() argument 698 if (!xfs_btree_lblock_verify_crc(bp)) in xfs_bmbt_read_verify() 699 xfs_buf_ioerror(bp, -EFSBADCRC); in xfs_bmbt_read_verify() [all …]
|
D | xfs_dir2.h | 158 struct xfs_buf *bp); 163 struct xfs_buf *bp, struct xfs_dir2_data_entry *dep); 165 struct xfs_buf *bp); 167 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup); 169 struct xfs_buf *bp, xfs_dir2_data_aoff_t offset, 172 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup,
|
D | xfs_ialloc.c | 2429 xfs_buf_t *bp, /* allocation group header buffer */ in xfs_ialloc_log_agi() argument 2454 agi = XFS_BUF_TO_AGI(bp); in xfs_ialloc_log_agi() 2458 xfs_trans_buf_set_type(tp, bp, XFS_BLFT_AGI_BUF); in xfs_ialloc_log_agi() 2468 xfs_trans_log_buf(tp, bp, first, last); in xfs_ialloc_log_agi() 2479 xfs_trans_log_buf(tp, bp, first, last); in xfs_ialloc_log_agi() 2499 struct xfs_buf *bp) in xfs_agi_verify() argument 2501 struct xfs_mount *mp = bp->b_target->bt_mount; in xfs_agi_verify() 2502 struct xfs_agi *agi = XFS_BUF_TO_AGI(bp); in xfs_agi_verify() 2508 be64_to_cpu(XFS_BUF_TO_AGI(bp)->agi_lsn))) in xfs_agi_verify() 2528 if (bp->b_pag && be32_to_cpu(agi->agi_seqno) != bp->b_pag->pag_agno) in xfs_agi_verify() [all …]
|
D | xfs_shared.h | 232 uint32_t size, struct xfs_buf *bp); 234 uint32_t size, struct xfs_buf *bp); 235 void xfs_symlink_local_to_remote(struct xfs_trans *tp, struct xfs_buf *bp,
|
D | xfs_format.h | 555 #define XFS_BUF_TO_SBP(bp) ((xfs_dsb_t *)((bp)->b_addr)) argument 688 #define XFS_BUF_TO_AGF(bp) ((xfs_agf_t *)((bp)->b_addr)) argument 756 #define XFS_BUF_TO_AGI(bp) ((xfs_agi_t *)((bp)->b_addr)) argument 764 #define XFS_BUF_TO_AGFL(bp) ((xfs_agfl_t *)((bp)->b_addr)) argument 766 #define XFS_BUF_TO_AGFL_BNO(mp, bp) \ argument 768 &(XFS_BUF_TO_AGFL(bp)->agfl_bno[0]) : \ 769 (__be32 *)(bp)->b_addr) 1084 #define XFS_SUMPTR(mp,bp,so) \ argument 1085 ((xfs_suminfo_t *)((bp)->b_addr + \
|
D | xfs_btree.h | 143 int (*free_block)(struct xfs_btree_cur *cur, struct xfs_buf *bp); 249 #define XFS_BUF_TO_BLOCK(bp) ((struct xfs_btree_block *)((bp)->b_addr)) argument 260 struct xfs_buf *bp); /* buffer containing block, if any */ 374 struct xfs_buf *bp,
|
/linux-4.4.14/drivers/power/ |
D | apm_power.c | 47 struct find_bat_param *bp = (struct find_bat_param *)data; in __find_main_battery() local 49 bp->bat = dev_get_drvdata(dev); in __find_main_battery() 51 if (bp->bat->desc->use_for_apm) { in __find_main_battery() 53 bp->main = bp->bat; in __find_main_battery() 57 if (!PSY_PROP(bp->bat, CHARGE_FULL_DESIGN, &bp->full) || in __find_main_battery() 58 !PSY_PROP(bp->bat, CHARGE_FULL, &bp->full)) { in __find_main_battery() 59 if (bp->full.intval > bp->max_charge) { in __find_main_battery() 60 bp->max_charge_bat = bp->bat; in __find_main_battery() 61 bp->max_charge = bp->full.intval; in __find_main_battery() 63 } else if (!PSY_PROP(bp->bat, ENERGY_FULL_DESIGN, &bp->full) || in __find_main_battery() [all …]
|
/linux-4.4.14/fs/jfs/ |
D | jfs_logmgr.c | 188 static void lbmFree(struct lbuf * bp); 189 static void lbmfree(struct lbuf * bp); 191 static void lbmWrite(struct jfs_log * log, struct lbuf * bp, int flag, int cant_block); 192 static void lbmDirectWrite(struct jfs_log * log, struct lbuf * bp, int flag); 193 static int lbmIOWait(struct lbuf * bp, int flag); 195 static void lbmStartIO(struct lbuf * bp); 361 struct lbuf *bp; /* dst log page buffer */ in lmWriteRecord() local 380 bp = (struct lbuf *) log->bp; in lmWriteRecord() 381 lp = (struct logpage *) bp->l_ldata; in lmWriteRecord() 431 bp = log->bp; in lmWriteRecord() [all …]
|
/linux-4.4.14/include/linux/ |
D | hw_breakpoint.h | 31 static inline unsigned long hw_breakpoint_addr(struct perf_event *bp) in hw_breakpoint_addr() argument 33 return bp->attr.bp_addr; in hw_breakpoint_addr() 36 static inline int hw_breakpoint_type(struct perf_event *bp) in hw_breakpoint_type() argument 38 return bp->attr.bp_type; in hw_breakpoint_type() 41 static inline unsigned long hw_breakpoint_len(struct perf_event *bp) in hw_breakpoint_len() argument 43 return bp->attr.bp_len; in hw_breakpoint_len() 54 modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *attr); 70 extern int register_perf_hw_breakpoint(struct perf_event *bp); 71 extern int __register_perf_hw_breakpoint(struct perf_event *bp); 72 extern void unregister_hw_breakpoint(struct perf_event *bp); [all …]
|
/linux-4.4.14/arch/tile/lib/ |
D | cpumask.c | 25 int bitmap_parselist_crop(const char *bp, unsigned long *maskp, int nmaskbits) in bitmap_parselist_crop() argument 31 if (!isdigit(*bp)) in bitmap_parselist_crop() 33 a = simple_strtoul(bp, (char **)&bp, 10); in bitmap_parselist_crop() 35 if (*bp == '-') { in bitmap_parselist_crop() 36 bp++; in bitmap_parselist_crop() 37 if (!isdigit(*bp)) in bitmap_parselist_crop() 39 b = simple_strtoul(bp, (char **)&bp, 10); in bitmap_parselist_crop() 49 if (*bp == ',') in bitmap_parselist_crop() 50 bp++; in bitmap_parselist_crop() 51 } while (*bp != '\0' && *bp != '\n'); in bitmap_parselist_crop()
|
/linux-4.4.14/arch/x86/kernel/ |
D | hw_breakpoint.c | 105 int arch_install_hw_breakpoint(struct perf_event *bp) in arch_install_hw_breakpoint() argument 107 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_install_hw_breakpoint() 115 *slot = bp; in arch_install_hw_breakpoint() 145 void arch_uninstall_hw_breakpoint(struct perf_event *bp) in arch_uninstall_hw_breakpoint() argument 147 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_uninstall_hw_breakpoint() 154 if (*slot == bp) { in arch_uninstall_hw_breakpoint() 174 int arch_check_bp_in_kernelspace(struct perf_event *bp) in arch_check_bp_in_kernelspace() argument 178 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_check_bp_in_kernelspace() 181 len = bp->attr.bp_len; in arch_check_bp_in_kernelspace() 236 static int arch_build_bp_info(struct perf_event *bp) in arch_build_bp_info() argument [all …]
|
D | dumpstack.c | 97 unsigned long *stack, unsigned long bp, in print_context_stack() argument 101 struct stack_frame *frame = (struct stack_frame *)bp; in print_context_stack() 108 if ((unsigned long) stack == bp + sizeof(long)) { in print_context_stack() 111 bp = (unsigned long) frame; in print_context_stack() 119 return bp; in print_context_stack() 125 unsigned long *stack, unsigned long bp, in print_context_stack_bp() argument 129 struct stack_frame *frame = (struct stack_frame *)bp; in print_context_stack_bp() 171 unsigned long *stack, unsigned long bp, char *log_lvl) in show_trace_log_lvl() argument 174 dump_trace(task, regs, stack, bp, &print_trace_ops, log_lvl); in show_trace_log_lvl() 178 unsigned long *stack, unsigned long bp) in show_trace() argument [all …]
|
D | dumpstack_64.c | 152 unsigned long *stack, unsigned long bp, in dump_trace() argument 175 if (!bp) in dump_trace() 176 bp = stack_frame(task, regs); in dump_trace() 205 bp = ops->walk_stack(tinfo, stack, bp, ops, in dump_trace() 221 bp = ops->walk_stack(tinfo, stack, bp, in dump_trace() 243 bp = ops->walk_stack(tinfo, stack, bp, ops, data, NULL, &graph); in dump_trace() 250 unsigned long *sp, unsigned long bp, char *log_lvl) in show_stack_log_lvl() argument 297 show_trace_log_lvl(task, regs, sp, bp, log_lvl); in show_stack_log_lvl()
|
D | kgdb.c | 61 { "bp", 4, offsetof(struct pt_regs, bp) }, 77 { "bp", 8, offsetof(struct pt_regs, bp) }, 210 struct perf_event *bp; in kgdb_correct_hw_break() local 224 bp = *per_cpu_ptr(breakinfo[breakno].pev, cpu); in kgdb_correct_hw_break() 225 info = counter_arch_bp(bp); in kgdb_correct_hw_break() 226 if (bp->attr.disabled != 1) in kgdb_correct_hw_break() 228 bp->attr.bp_addr = breakinfo[breakno].addr; in kgdb_correct_hw_break() 229 bp->attr.bp_len = breakinfo[breakno].len; in kgdb_correct_hw_break() 230 bp->attr.bp_type = breakinfo[breakno].type; in kgdb_correct_hw_break() 234 val = arch_install_hw_breakpoint(bp); in kgdb_correct_hw_break() [all …]
|
D | dumpstack_32.c | 42 unsigned long *stack, unsigned long bp, in dump_trace() argument 60 if (!bp) in dump_trace() 61 bp = stack_frame(task, regs); in dump_trace() 72 bp = ops->walk_stack(context, stack, bp, ops, data, in dump_trace() 95 unsigned long *sp, unsigned long bp, char *log_lvl) in show_stack_log_lvl() argument 120 show_trace_log_lvl(task, regs, sp, bp, log_lvl); in show_stack_log_lvl()
|
D | ptrace.c | 78 REG_OFFSET_NAME(bp), 556 static void ptrace_triggered(struct perf_event *bp, in ptrace_triggered() argument 568 if (thread->ptrace_bps[i] == bp) in ptrace_triggered() 580 static unsigned long ptrace_get_dr7(struct perf_event *bp[]) in ptrace_get_dr7() argument 587 if (bp[i] && !bp[i]->attr.disabled) { in ptrace_get_dr7() 588 info = counter_arch_bp(bp[i]); in ptrace_get_dr7() 629 static int ptrace_modify_breakpoint(struct perf_event *bp, int len, int type, in ptrace_modify_breakpoint() argument 632 struct perf_event_attr attr = bp->attr; in ptrace_modify_breakpoint() 639 return modify_user_hw_breakpoint(bp, &attr); in ptrace_modify_breakpoint() 660 struct perf_event *bp = thread->ptrace_bps[i]; in ptrace_write_dr7() local [all …]
|
D | perf_regs.c | 25 PT_REGS_OFFSET(PERF_REG_X86_BP, bp), 157 regs_user_copy->bp = -1; in perf_get_regs_user()
|
D | process.c | 101 unsigned long *bp = t->io_bitmap_ptr; in exit_thread() local 104 if (bp) { in exit_thread() 115 kfree(bp); in exit_thread()
|
/linux-4.4.14/arch/x86/include/asm/ |
D | stacktrace.h | 19 unsigned long bp, 27 unsigned long *stack, unsigned long bp, 33 unsigned long *stack, unsigned long bp, 47 unsigned long *stack, unsigned long bp, 52 #define get_bp(bp) asm("movl %%ebp, %0" : "=r" (bp) :) argument 55 #define get_bp(bp) asm("movq %%rbp, %0" : "=r" (bp) :) argument 62 unsigned long bp; in stack_frame() local 65 return regs->bp; in stack_frame() 69 get_bp(bp); in stack_frame() 70 return bp; in stack_frame() [all …]
|
D | hw_breakpoint.h | 54 extern int arch_check_bp_in_kernelspace(struct perf_event *bp); 55 extern int arch_validate_hwbkpt_settings(struct perf_event *bp); 60 int arch_install_hw_breakpoint(struct perf_event *bp); 61 void arch_uninstall_hw_breakpoint(struct perf_event *bp); 62 void hw_breakpoint_pmu_read(struct perf_event *bp); 63 void hw_breakpoint_pmu_unthrottle(struct perf_event *bp); 66 arch_fill_perf_breakpoint(struct perf_event *bp);
|
D | frame.h | 10 __ASM_SIZE(push,) %__ASM_REG(bp) 11 __ASM_SIZE(mov) %__ASM_REG(sp), %__ASM_REG(bp) 14 __ASM_SIZE(pop,) %__ASM_REG(bp)
|
D | ptrace.h | 17 unsigned long bp; member 42 unsigned long bp; member 153 #define GET_FP(regs) ((regs)->bp)
|
D | elf.h | 111 _r->si = 0; _r->di = 0; _r->bp = 0; \ 127 pr_reg[5] = regs->bp; \ 176 regs->si = regs->di = regs->bp = 0; in elf_common_init() 212 (pr_reg)[4] = (regs)->bp; \
|
D | a.out-core.h | 47 dump->regs.bp = regs->bp; in aout_dump_thread()
|
D | kexec.h | 105 asm volatile("movl %%ebp,%0" : "=m"(newregs->bp)); in crash_setup_regs() 119 asm volatile("movq %%rbp,%0" : "=m"(newregs->bp)); in crash_setup_regs()
|
D | syscall.h | 138 *args++ = regs->bp; in syscall_get_arguments() 199 regs->bp = *args++; in syscall_set_arguments()
|
/linux-4.4.14/arch/powerpc/sysdev/ |
D | grackle.c | 30 static inline void grackle_set_stg(struct pci_controller* bp, int enable) in grackle_set_stg() argument 34 out_be32(bp->cfg_addr, GRACKLE_CFA(0, 0, 0xa8)); in grackle_set_stg() 35 val = in_le32(bp->cfg_data); in grackle_set_stg() 38 out_be32(bp->cfg_addr, GRACKLE_CFA(0, 0, 0xa8)); in grackle_set_stg() 39 out_le32(bp->cfg_data, val); in grackle_set_stg() 40 (void)in_le32(bp->cfg_data); in grackle_set_stg() 43 static inline void grackle_set_loop_snoop(struct pci_controller *bp, int enable) in grackle_set_loop_snoop() argument 47 out_be32(bp->cfg_addr, GRACKLE_CFA(0, 0, 0xa8)); in grackle_set_loop_snoop() 48 val = in_le32(bp->cfg_data); in grackle_set_loop_snoop() 51 out_be32(bp->cfg_addr, GRACKLE_CFA(0, 0, 0xa8)); in grackle_set_loop_snoop() [all …]
|
D | cpm2.c | 121 u32 __iomem *bp; in __cpm2_setbrg() local 127 bp = cpm2_map_size(im_brgc1, 16); in __cpm2_setbrg() 129 bp = cpm2_map_size(im_brgc5, 16); in __cpm2_setbrg() 132 bp += brg; in __cpm2_setbrg() 138 out_be32(bp, val); in __cpm2_setbrg() 139 cpm2_unmap(bp); in __cpm2_setbrg()
|
/linux-4.4.14/arch/sh/kernel/ |
D | hw_breakpoint.c | 49 int arch_install_hw_breakpoint(struct perf_event *bp) in arch_install_hw_breakpoint() argument 51 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_install_hw_breakpoint() 58 *slot = bp; in arch_install_hw_breakpoint() 81 void arch_uninstall_hw_breakpoint(struct perf_event *bp) in arch_uninstall_hw_breakpoint() argument 83 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_uninstall_hw_breakpoint() 89 if (*slot == bp) { in arch_uninstall_hw_breakpoint() 126 int arch_check_bp_in_kernelspace(struct perf_event *bp) in arch_check_bp_in_kernelspace() argument 130 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_check_bp_in_kernelspace() 176 static int arch_build_bp_info(struct perf_event *bp) in arch_build_bp_info() argument 178 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_build_bp_info() [all …]
|
D | ptrace_32.c | 65 void ptrace_triggered(struct perf_event *bp, in ptrace_triggered() argument 74 attr = bp->attr; in ptrace_triggered() 76 modify_user_hw_breakpoint(bp, &attr); in ptrace_triggered() 82 struct perf_event *bp; in set_single_step() local 85 bp = thread->ptrace_bps[0]; in set_single_step() 86 if (!bp) { in set_single_step() 93 bp = register_user_hw_breakpoint(&attr, ptrace_triggered, in set_single_step() 95 if (IS_ERR(bp)) in set_single_step() 96 return PTR_ERR(bp); in set_single_step() 98 thread->ptrace_bps[0] = bp; in set_single_step() [all …]
|
/linux-4.4.14/net/sctp/ |
D | bind_addr.c | 125 void sctp_bind_addr_init(struct sctp_bind_addr *bp, __u16 port) in sctp_bind_addr_init() argument 127 INIT_LIST_HEAD(&bp->address_list); in sctp_bind_addr_init() 128 bp->port = port; in sctp_bind_addr_init() 132 static void sctp_bind_addr_clean(struct sctp_bind_addr *bp) in sctp_bind_addr_clean() argument 137 list_for_each_entry_safe(addr, temp, &bp->address_list, list) { in sctp_bind_addr_clean() 145 void sctp_bind_addr_free(struct sctp_bind_addr *bp) in sctp_bind_addr_free() argument 148 sctp_bind_addr_clean(bp); in sctp_bind_addr_free() 152 int sctp_add_bind_addr(struct sctp_bind_addr *bp, union sctp_addr *new, in sctp_add_bind_addr() argument 168 addr->a.v4.sin_port = htons(bp->port); in sctp_add_bind_addr() 178 list_add_tail_rcu(&addr->list, &bp->address_list); in sctp_add_bind_addr() [all …]
|
/linux-4.4.14/drivers/input/joystick/ |
D | twidjoy.c | 106 struct twidjoy_button_spec *bp; in twidjoy_process_packet() local 111 for (bp = twidjoy_buttons; bp->bitmask; bp++) { in twidjoy_process_packet() 112 int value = (button_bits & (bp->bitmask << bp->bitshift)) >> bp->bitshift; in twidjoy_process_packet() 115 for (i = 0; i < bp->bitmask; i++) in twidjoy_process_packet() 116 input_report_key(dev, bp->buttons[i], i+1 == value); in twidjoy_process_packet() 183 struct twidjoy_button_spec *bp; in twidjoy_connect() local 209 for (bp = twidjoy_buttons; bp->bitmask; bp++) in twidjoy_connect() 210 for (i = 0; i < bp->bitmask; i++) in twidjoy_connect() 211 set_bit(bp->buttons[i], input_dev->keybit); in twidjoy_connect()
|
/linux-4.4.14/arch/sparc/kernel/ |
D | chmc.c | 486 static int chmc_bank_match(struct chmc_bank_info *bp, unsigned long phys_addr) in chmc_bank_match() argument 492 if (bp->valid == 0) in chmc_bank_match() 496 upper_bits ^= bp->um; /* What bits are different? */ in chmc_bank_match() 498 upper_bits |= bp->uk; /* What bits don't matter for matching? */ in chmc_bank_match() 505 lower_bits ^= bp->lm; /* What bits are different? */ in chmc_bank_match() 507 lower_bits |= bp->lk; /* What bits don't matter for matching? */ in chmc_bank_match() 526 struct chmc_bank_info *bp; in chmc_find_bank() local 528 bp = &p->logical_banks[bank_no]; in chmc_find_bank() 529 if (chmc_bank_match(bp, phys_addr)) in chmc_find_bank() 530 return bp; in chmc_find_bank() [all …]
|
/linux-4.4.14/arch/cris/arch-v32/kernel/ |
D | kgdb.c | 846 int S, bp, trig_bits = 0, rw_bits = 0; in stub_is_stopped() local 861 for (bp = 0; bp < 6; bp++) { in stub_is_stopped() 864 int bitpos_trig = 1 + bp * 2; in stub_is_stopped() 866 int bitpos_config = 2 + bp * 4; in stub_is_stopped() 881 trig_mask |= (1 << bp); in stub_is_stopped() 883 if (reg.eda >= bp_d_regs[bp * 2] && in stub_is_stopped() 884 reg.eda <= bp_d_regs[bp * 2 + 1]) { in stub_is_stopped() 892 if (bp < 6) { in stub_is_stopped() 896 for (bp = 0; bp < 6; bp++) { in stub_is_stopped() 898 int bitpos_config = 2 + bp * 4; in stub_is_stopped() [all …]
|
D | ptrace.c | 339 int bp; in deconfigure_bp() local 345 for (bp = 0; bp < 6; bp++) { in deconfigure_bp() 348 put_debugreg(pid, PT_BP + 3 + (bp * 2), 0); in deconfigure_bp() 349 put_debugreg(pid, PT_BP + 4 + (bp * 2), 0); in deconfigure_bp() 352 tmp = get_debugreg(pid, PT_BP_CTRL) & ~(3 << (2 + (bp * 4))); in deconfigure_bp()
|
/linux-4.4.14/fs/freevxfs/ |
D | vxfs_olt.c | 80 struct buffer_head *bp; in vxfs_read_olt() local 85 bp = sb_bread(sbp, vxfs_oblock(sbp, infp->vsi_oltext, bsize)); in vxfs_read_olt() 86 if (!bp || !bp->b_data) in vxfs_read_olt() 89 op = (struct vxfs_olt *)bp->b_data; in vxfs_read_olt() 105 oaddr = bp->b_data + op->olt_size; in vxfs_read_olt() 106 eaddr = bp->b_data + (infp->vsi_oltsize * sbp->s_blocksize); in vxfs_read_olt() 124 brelse(bp); in vxfs_read_olt() 128 brelse(bp); in vxfs_read_olt()
|
D | vxfs_subr.c | 104 struct buffer_head *bp; in vxfs_bread() local 108 bp = sb_bread(ip->i_sb, pblock); in vxfs_bread() 110 return (bp); in vxfs_bread() 130 struct buffer_head *bp, int create) in vxfs_getblk() argument 136 map_bh(bp, ip->i_sb, pblock); in vxfs_getblk()
|
D | vxfs_bmap.c | 130 struct buffer_head *bp = NULL; in vxfs_bmap_indir() local 138 bp = sb_bread(ip->i_sb, in vxfs_bmap_indir() 140 if (!bp || !buffer_mapped(bp)) in vxfs_bmap_indir() 143 typ = ((struct vxfs_typed *)bp->b_data) + in vxfs_bmap_indir() 148 brelse(bp); in vxfs_bmap_indir() 179 brelse(bp); in vxfs_bmap_indir() 185 brelse(bp); in vxfs_bmap_indir()
|
D | vxfs_super.c | 152 struct buffer_head *bp = NULL; in vxfs_fill_super() local 171 bp = sb_bread(sbp, 1); in vxfs_fill_super() 172 if (!bp || !buffer_mapped(bp)) { in vxfs_fill_super() 180 rsbp = (struct vxfs_sb *)bp->b_data; in vxfs_fill_super() 202 infp->vsi_bp = bp; in vxfs_fill_super() 240 brelse(bp); in vxfs_fill_super()
|
D | vxfs_fshead.c | 78 struct buffer_head *bp; in vxfs_getfsh() local 80 bp = vxfs_bread(ip, which); in vxfs_getfsh() 81 if (bp) { in vxfs_getfsh() 86 memcpy(fhp, bp->b_data, sizeof(*fhp)); in vxfs_getfsh() 88 put_bh(bp); in vxfs_getfsh() 92 brelse(bp); in vxfs_getfsh()
|
D | vxfs_inode.c | 91 struct buffer_head *bp; in vxfs_blkiget() local 96 bp = sb_bread(sbp, block); in vxfs_blkiget() 98 if (bp && buffer_mapped(bp)) { in vxfs_blkiget() 104 dip = (struct vxfs_dinode *)(bp->b_data + offset); in vxfs_blkiget() 109 brelse(bp); in vxfs_blkiget() 115 brelse(bp); in vxfs_blkiget()
|
/linux-4.4.14/net/ax25/ |
D | ax25_ip.c | 105 unsigned char *bp = skb->data; in ax25_ip_xmit() local 114 dst = (ax25_address *)(bp + 1); in ax25_ip_xmit() 115 src = (ax25_address *)(bp + 8); in ax25_ip_xmit() 132 if (bp[16] == AX25_P_IP) { in ax25_ip_xmit() 168 bp = ourskb->data; in ax25_ip_xmit() 169 dst_c = *(ax25_address *)(bp + 1); in ax25_ip_xmit() 170 src_c = *(ax25_address *)(bp + 8); in ax25_ip_xmit() 187 bp[7] &= ~AX25_CBIT; in ax25_ip_xmit() 188 bp[7] &= ~AX25_EBIT; in ax25_ip_xmit() 189 bp[7] |= AX25_SSSID_SPARE; in ax25_ip_xmit() [all …]
|
/linux-4.4.14/arch/arm64/kernel/ |
D | hw_breakpoint.c | 167 static int is_compat_bp(struct perf_event *bp) in is_compat_bp() argument 169 struct task_struct *tsk = bp->hw.target; in is_compat_bp() 196 struct perf_event *bp, in hw_breakpoint_slot_setup() argument 207 *slot = bp; in hw_breakpoint_slot_setup() 212 if (*slot == bp) { in hw_breakpoint_slot_setup() 218 if (*slot == bp) in hw_breakpoint_slot_setup() 229 static int hw_breakpoint_control(struct perf_event *bp, in hw_breakpoint_control() argument 232 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in hw_breakpoint_control() 255 i = hw_breakpoint_slot_setup(slots, max_slots, bp, ops); in hw_breakpoint_control() 295 int arch_install_hw_breakpoint(struct perf_event *bp) in arch_install_hw_breakpoint() argument [all …]
|
D | ptrace.c | 73 static void ptrace_hbptriggered(struct perf_event *bp, in ptrace_hbptriggered() argument 77 struct arch_hw_breakpoint *bkpt = counter_arch_bp(bp); in ptrace_hbptriggered() 92 if (current->thread.debug.hbp_break[i] == bp) { in ptrace_hbptriggered() 99 if (current->thread.debug.hbp_watch[i] == bp) { in ptrace_hbptriggered() 143 struct perf_event *bp = ERR_PTR(-EINVAL); in ptrace_hbp_get_event() local 148 bp = tsk->thread.debug.hbp_break[idx]; in ptrace_hbp_get_event() 152 bp = tsk->thread.debug.hbp_watch[idx]; in ptrace_hbp_get_event() 156 return bp; in ptrace_hbp_get_event() 162 struct perf_event *bp) in ptrace_hbp_set_event() argument 169 tsk->thread.debug.hbp_break[idx] = bp; in ptrace_hbp_set_event() [all …]
|
D | debug-monitors.c | 335 bool bp = false; in aarch32_break_handler() local 349 bp = thumb_instr == AARCH32_BREAK_THUMB2_HI; in aarch32_break_handler() 351 bp = thumb_instr == AARCH32_BREAK_THUMB; in aarch32_break_handler() 357 bp = (arm_instr & ~0xf0000000) == AARCH32_BREAK_ARM; in aarch32_break_handler() 360 if (!bp) in aarch32_break_handler()
|
/linux-4.4.14/arch/arm/kernel/ |
D | hw_breakpoint.c | 333 int arch_install_hw_breakpoint(struct perf_event *bp) in arch_install_hw_breakpoint() argument 335 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_install_hw_breakpoint() 361 *slot = bp; in arch_install_hw_breakpoint() 390 void arch_uninstall_hw_breakpoint(struct perf_event *bp) in arch_uninstall_hw_breakpoint() argument 392 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_uninstall_hw_breakpoint() 412 if (*slot == bp) { in arch_uninstall_hw_breakpoint() 459 int arch_check_bp_in_kernelspace(struct perf_event *bp) in arch_check_bp_in_kernelspace() argument 463 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_check_bp_in_kernelspace() 521 static int arch_build_bp_info(struct perf_event *bp) in arch_build_bp_info() argument 523 struct arch_hw_breakpoint *info = counter_arch_bp(bp); in arch_build_bp_info() [all …]
|
D | ptrace.c | 385 static void ptrace_hbptriggered(struct perf_event *bp, in ptrace_hbptriggered() argument 389 struct arch_hw_breakpoint *bkpt = counter_arch_bp(bp); in ptrace_hbptriggered() 395 if (current->thread.debug.hbp[i] == bp) in ptrace_hbptriggered() 477 struct perf_event *bp; in ptrace_gethbpregs() local 489 bp = tsk->thread.debug.hbp[idx]; in ptrace_gethbpregs() 490 if (!bp) { in ptrace_gethbpregs() 495 arch_ctrl = counter_arch_bp(bp)->ctrl; in ptrace_gethbpregs() 505 reg = bp->attr.bp_addr; in ptrace_gethbpregs() 523 struct perf_event *bp; in ptrace_sethbpregs() local 545 bp = tsk->thread.debug.hbp[idx]; in ptrace_sethbpregs() [all …]
|
/linux-4.4.14/drivers/staging/speakup/ |
D | selection.c | 55 char *bp, *obp; in speakup_set_selection() local 102 bp = kmalloc((sel_end-sel_start)/2+1, GFP_ATOMIC); in speakup_set_selection() 103 if (!bp) { in speakup_set_selection() 108 sel_buffer = bp; in speakup_set_selection() 110 obp = bp; in speakup_set_selection() 112 *bp = sel_pos(i); in speakup_set_selection() 113 if (!ishardspace(*bp++)) in speakup_set_selection() 114 obp = bp; in speakup_set_selection() 119 if (obp != bp) { in speakup_set_selection() 120 bp = obp; in speakup_set_selection() [all …]
|
/linux-4.4.14/drivers/isdn/mISDN/ |
D | core.c | 129 char *bp = buf; in channelmap_show() local 133 *bp++ = test_channelmap(i, mdev->channelmap) ? '1' : '0'; in channelmap_show() 135 return bp - buf; in channelmap_show() 286 struct Bprotocol *bp; in get_all_Bprotocols() local 290 list_for_each_entry(bp, &Bprotocols, list) in get_all_Bprotocols() 291 m |= bp->Bprotocols; in get_all_Bprotocols() 299 struct Bprotocol *bp; in get_Bprotocol4mask() local 302 list_for_each_entry(bp, &Bprotocols, list) in get_Bprotocol4mask() 303 if (bp->Bprotocols & m) { in get_Bprotocol4mask() 305 return bp; in get_Bprotocol4mask() [all …]
|
/linux-4.4.14/arch/powerpc/xmon/ |
D | xmon.c | 108 #define BP_NUM(bp) ((bp) - bpts + 1) argument 406 struct bpt *bp; in xmon_core() local 419 bp = in_breakpoint_table(regs->nip, &offset); in xmon_core() 420 if (bp != NULL) { in xmon_core() 421 regs->nip = bp->address + offset; in xmon_core() 422 atomic_dec(&bp->ref_count); in xmon_core() 453 bp = NULL; in xmon_core() 455 bp = at_breakpoint(regs->nip); in xmon_core() 456 if (bp || unrecoverable_excp(regs)) in xmon_core() 462 if (bp) { in xmon_core() [all …]
|
/linux-4.4.14/drivers/mtd/nand/ |
D | nand_ecc.c | 162 const uint32_t *bp = (uint32_t *)buf; in __nand_calculate_ecc() local 195 cur = *bp++; in __nand_calculate_ecc() 198 cur = *bp++; in __nand_calculate_ecc() 201 cur = *bp++; in __nand_calculate_ecc() 204 cur = *bp++; in __nand_calculate_ecc() 208 cur = *bp++; in __nand_calculate_ecc() 212 cur = *bp++; in __nand_calculate_ecc() 215 cur = *bp++; in __nand_calculate_ecc() 218 cur = *bp++; in __nand_calculate_ecc() 222 cur = *bp++; in __nand_calculate_ecc() [all …]
|
/linux-4.4.14/lib/mpi/ |
D | mpi-pow.c | 41 mpi_ptr_t rp, ep, mp, bp; in mpi_powm() local 91 bp = bp_marker = mpi_alloc_limb_space(bsize + 1); in mpi_powm() 92 if (!bp) in mpi_powm() 94 MPN_COPY(bp, base->d, bsize); in mpi_powm() 97 mpihelp_divrem(bp + msize, 0, bp, bsize, mp, msize); in mpi_powm() 101 MPN_NORMALIZE(bp, bsize); in mpi_powm() 103 bp = base->d; in mpi_powm() 115 if (rp == ep || rp == mp || rp == bp) { in mpi_powm() 126 if (rp == bp) { in mpi_powm() 129 bp = bp_marker = mpi_alloc_limb_space(bsize); in mpi_powm() [all …]
|
/linux-4.4.14/drivers/misc/mic/scif/ |
D | scif_main.c | 93 struct mic_bootparam *bp = sdev->dp; in scif_qp_setup_handler() local 95 da = bp->scif_card_dma_addr; in scif_qp_setup_handler() 96 scifdev->rdb = bp->h2c_scif_db; in scif_qp_setup_handler() 98 struct mic_bootparam __iomem *bp = sdev->rdp; in scif_qp_setup_handler() local 100 da = readq(&bp->scif_host_dma_addr); in scif_qp_setup_handler() 101 scifdev->rdb = ioread8(&bp->c2h_scif_db); in scif_qp_setup_handler() 179 struct mic_bootparam *bp = sdev->dp; in scif_probe() local 181 bp->c2h_scif_db = scifdev->db; in scif_probe() 182 bp->scif_host_dma_addr = scifdev->qp_dma_addr; in scif_probe() 184 struct mic_bootparam __iomem *bp = sdev->rdp; in scif_probe() local [all …]
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | io_no.h | 59 unsigned char *bp = (unsigned char *) buf; in io_outsb() local 61 *ap = *bp++; in io_outsb() 67 unsigned short *bp = (unsigned short *) buf; in io_outsw() local 69 *ap = _swapw(*bp++); in io_outsw() 75 unsigned int *bp = (unsigned int *) buf; in io_outsl() local 77 *ap = _swapl(*bp++); in io_outsl() 83 unsigned char *bp = (unsigned char *) buf; in io_insb() local 85 *bp++ = *ap; in io_insb() 91 unsigned short *bp = (unsigned short *) buf; in io_insw() local 93 *bp++ = _swapw(*ap); in io_insw() [all …]
|
/linux-4.4.14/arch/sh/include/asm/ |
D | hw_breakpoint.h | 56 extern int arch_check_bp_in_kernelspace(struct perf_event *bp); 57 extern int arch_validate_hwbkpt_settings(struct perf_event *bp); 61 int arch_install_hw_breakpoint(struct perf_event *bp); 62 void arch_uninstall_hw_breakpoint(struct perf_event *bp); 63 void hw_breakpoint_pmu_read(struct perf_event *bp); 65 extern void arch_fill_perf_breakpoint(struct perf_event *bp);
|
/linux-4.4.14/drivers/tty/vt/ |
D | selection.c | 163 char *bp, *obp; in set_selection() local 298 bp = kmalloc(((sel_end-sel_start)/2+1)*multiplier, GFP_KERNEL); in set_selection() 299 if (!bp) { in set_selection() 305 sel_buffer = bp; in set_selection() 307 obp = bp; in set_selection() 311 bp += store_utf8(c, bp); in set_selection() 313 *bp++ = c; in set_selection() 315 obp = bp; in set_selection() 319 if (obp != bp) { in set_selection() 320 bp = obp; in set_selection() [all …]
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | hw_breakpoint.h | 63 extern int arch_check_bp_in_kernelspace(struct perf_event *bp); 64 extern int arch_validate_hwbkpt_settings(struct perf_event *bp); 67 int arch_install_hw_breakpoint(struct perf_event *bp); 68 void arch_uninstall_hw_breakpoint(struct perf_event *bp); 69 void hw_breakpoint_pmu_read(struct perf_event *bp); 73 extern void ptrace_triggered(struct perf_event *bp,
|
/linux-4.4.14/arch/ia64/hp/sim/boot/ |
D | fw-emu.c | 241 struct ia64_boot_param *bp; in sys_fw_init() local 268 bp = (void *) cp; cp += sizeof(*bp); in sys_fw_init() 360 bp->efi_systab = __pa(&fw_mem); in sys_fw_init() 361 bp->efi_memmap = __pa(efi_memmap); in sys_fw_init() 362 bp->efi_memmap_size = NUM_MEM_DESCS*sizeof(efi_memory_desc_t); in sys_fw_init() 363 bp->efi_memdesc_size = sizeof(efi_memory_desc_t); in sys_fw_init() 364 bp->efi_memdesc_version = 1; in sys_fw_init() 365 bp->command_line = __pa(cmd_line); in sys_fw_init() 366 bp->console_info.num_cols = 80; in sys_fw_init() 367 bp->console_info.num_rows = 25; in sys_fw_init() [all …]
|
D | bootloader.c | 36 extern void jmp_to_kernel (unsigned long bp, unsigned long e_entry); 66 register struct ia64_boot_param *bp; in start_bootloader() local 165 bp = sys_fw_init(args, arglen); in start_bootloader() 170 jmp_to_kernel((unsigned long) bp, e_entry); in start_bootloader()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_hmc.c | 94 sd_entry->u.bp.addr = mem; in i40e_add_sd_table_entry() 95 sd_entry->u.bp.sd_pd_index = sd_index; in i40e_add_sd_table_entry() 105 I40E_INC_BP_REFCNT(&sd_entry->u.bp); in i40e_add_sd_table_entry() 174 pd_entry->bp.addr = *page; in i40e_add_pd_table_entry() 175 pd_entry->bp.sd_pd_index = pd_index; in i40e_add_pd_table_entry() 176 pd_entry->bp.entry_type = I40E_SD_TYPE_PAGED; in i40e_add_pd_table_entry() 190 I40E_INC_BP_REFCNT(&pd_entry->bp); in i40e_add_pd_table_entry() 239 I40E_DEC_BP_REFCNT(&pd_entry->bp); in i40e_remove_pd_bp() 240 if (pd_entry->bp.ref_cnt) in i40e_remove_pd_bp() 253 ret_code = i40e_free_dma_mem(hw, &pd_entry->bp.addr); in i40e_remove_pd_bp() [all …]
|
D | i40e_hmc.h | 63 struct i40e_hmc_bp bp; member 84 struct i40e_hmc_bp bp; member 109 #define I40E_INC_BP_REFCNT(bp) ((bp)->ref_cnt++) argument 113 #define I40E_DEC_BP_REFCNT(bp) ((bp)->ref_cnt--) argument
|
/linux-4.4.14/arch/um/kernel/ |
D | stacktrace.c | 24 unsigned long *sp, bp, addr; in dump_trace() local 28 bp = get_frame_pointer(tsk, segv_regs); in dump_trace() 31 frame = (struct stack_frame *)bp; in dump_trace() 36 if ((unsigned long) sp == bp + sizeof(long)) { in dump_trace() 38 bp = (unsigned long)frame; in dump_trace()
|
/linux-4.4.14/drivers/net/ethernet/dec/tulip/ |
D | eeprom.c | 304 unsigned char *bp = leaf->leafdata; in tulip_parse_eeprom() local 307 bp[0], bp[1], bp[2 + bp[1]*2], in tulip_parse_eeprom() 308 bp[5 + bp[2 + bp[1]*2]*2], in tulip_parse_eeprom() 309 bp[4 + bp[2 + bp[1]*2]*2]); in tulip_parse_eeprom()
|
/linux-4.4.14/Documentation/spi/ |
D | spidev_fdx.c | 19 unsigned char buf[32], *bp; in do_read() local 42 bp = buf + 2; in do_read() 44 printf(" %02x", *bp++); in do_read() 51 unsigned char buf[32], *bp; in do_msg() local 74 for (bp = buf; len; len--) in do_msg() 75 printf(" %02x", *bp++); in do_msg()
|
/linux-4.4.14/drivers/media/tuners/ |
D | tda827x.c | 98 u8 bp; member 105 { .lomax = 62000000, .spd = 3, .bs = 2, .bp = 0, .cp = 0, .gc3 = 3, .div1p5 = 1}, 106 { .lomax = 66000000, .spd = 3, .bs = 3, .bp = 0, .cp = 0, .gc3 = 3, .div1p5 = 1}, 107 { .lomax = 76000000, .spd = 3, .bs = 1, .bp = 0, .cp = 0, .gc3 = 3, .div1p5 = 0}, 108 { .lomax = 84000000, .spd = 3, .bs = 2, .bp = 0, .cp = 0, .gc3 = 3, .div1p5 = 0}, 109 { .lomax = 93000000, .spd = 3, .bs = 2, .bp = 0, .cp = 0, .gc3 = 1, .div1p5 = 0}, 110 { .lomax = 98000000, .spd = 3, .bs = 3, .bp = 0, .cp = 0, .gc3 = 1, .div1p5 = 0}, 111 { .lomax = 109000000, .spd = 3, .bs = 3, .bp = 1, .cp = 0, .gc3 = 1, .div1p5 = 0}, 112 { .lomax = 123000000, .spd = 2, .bs = 2, .bp = 1, .cp = 0, .gc3 = 1, .div1p5 = 1}, 113 { .lomax = 133000000, .spd = 2, .bs = 3, .bp = 1, .cp = 0, .gc3 = 1, .div1p5 = 1}, [all …]
|
/linux-4.4.14/net/sunrpc/ |
D | cache.c | 754 char *bp = crq->buf; in cache_request() local 757 detail->cache_request(detail, crq->item, &bp, &len); in cache_request() 1076 char *bp = *bpp; in qword_add() local 1082 ret = string_escape_str(str, bp, len, ESCAPE_OCTAL, "\\ \n\t"); in qword_add() 1084 bp += len; in qword_add() 1087 bp += ret; in qword_add() 1089 *bp++ = ' '; in qword_add() 1092 *bpp = bp; in qword_add() 1099 char *bp = *bpp; in qword_addhex() local 1105 *bp++ = '\\'; in qword_addhex() [all …]
|
/linux-4.4.14/net/bridge/netfilter/ |
D | ebt_among.c | 83 const __be32 *bp; in get_ip_dst() local 91 bp = skb_header_pointer(skb, sizeof(struct arphdr) + in get_ip_dst() 94 if (bp == NULL) in get_ip_dst() 96 *addr = *bp; in get_ip_dst() 114 const __be32 *bp; in get_ip_src() local 122 bp = skb_header_pointer(skb, sizeof(struct arphdr) + in get_ip_src() 124 if (bp == NULL) in get_ip_src() 126 *addr = *bp; in get_ip_src()
|
/linux-4.4.14/arch/arm64/include/asm/ |
D | hw_breakpoint.h | 114 extern int arch_check_bp_in_kernelspace(struct perf_event *bp); 115 extern int arch_validate_hwbkpt_settings(struct perf_event *bp); 119 extern int arch_install_hw_breakpoint(struct perf_event *bp); 120 extern void arch_uninstall_hw_breakpoint(struct perf_event *bp); 121 extern void hw_breakpoint_pmu_read(struct perf_event *bp);
|
/linux-4.4.14/arch/arm/include/asm/ |
D | hw_breakpoint.h | 120 extern int arch_check_bp_in_kernelspace(struct perf_event *bp); 121 extern int arch_validate_hwbkpt_settings(struct perf_event *bp); 129 int arch_install_hw_breakpoint(struct perf_event *bp); 130 void arch_uninstall_hw_breakpoint(struct perf_event *bp); 131 void hw_breakpoint_pmu_read(struct perf_event *bp);
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | qsfp.c | 68 int offset, void *bp, int len) in __i2c_write() argument 72 u8 *buff = bp; in __i2c_write() 103 void *bp, int len) in i2c_write() argument 110 ret = __i2c_write(ppd, target, i2c_addr, offset, bp, len); in i2c_write() 121 int offset, void *bp, int len) in __i2c_read() argument 126 u8 *buff = bp; in __i2c_read() 175 void *bp, int len) in i2c_read() argument 182 ret = __i2c_read(ppd, target, i2c_addr, offset, bp, len); in i2c_read() 189 int qsfp_write(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, in qsfp_write() argument 226 ret = __i2c_write(ppd, target, QSFP_DEV, offset, bp + count, in qsfp_write() [all …]
|
D | qsfp.h | 216 int offset, void *bp, int len); 218 int offset, void *bp, int len); 219 int qsfp_write(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp, 221 int qsfp_read(struct hfi1_pportdata *ppd, u32 target, int addr, void *bp,
|
D | twsi.c | 376 u8 *bp = buffer; in hfi1_twsi_blk_rd() local 429 *bp++ = rd_byte(dd, target, !len); in hfi1_twsi_blk_rd() 453 const u8 *bp = buffer; in hfi1_twsi_blk_wr() local 482 if (twsi_wr(dd, target, *bp++, 0)) in hfi1_twsi_blk_wr()
|
/linux-4.4.14/arch/x86/um/asm/ |
D | processor_64.h | 38 #define current_bp() ({ unsigned long bp; __asm__("movq %%rbp, %0" : "=r" (bp) : ); bp; })
|
D | processor_32.h | 59 #define current_bp() ({ unsigned long bp; __asm__("movl %%ebp, %0" : "=r" (bp) : ); bp; })
|
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/ |
D | i40e_hmc.h | 63 struct i40e_hmc_bp bp; member 84 struct i40e_hmc_bp bp; member 109 #define I40E_INC_BP_REFCNT(bp) ((bp)->ref_cnt++) argument 113 #define I40E_DEC_BP_REFCNT(bp) ((bp)->ref_cnt--) argument
|
/linux-4.4.14/drivers/scsi/ |
D | wd33c93.c | 2061 char *bp; in wd33c93_write_info() local 2082 for (bp = buf; *bp; ) { in wd33c93_write_info() 2083 while (',' == *bp || ' ' == *bp) in wd33c93_write_info() 2084 ++bp; in wd33c93_write_info() 2085 if (!strncmp(bp, "debug:", 6)) { in wd33c93_write_info() 2086 hd->args = simple_strtoul(bp+6, &bp, 0) & DB_MASK; in wd33c93_write_info() 2087 } else if (!strncmp(bp, "disconnect:", 11)) { in wd33c93_write_info() 2088 x = simple_strtoul(bp+11, &bp, 0); in wd33c93_write_info() 2092 } else if (!strncmp(bp, "period:", 7)) { in wd33c93_write_info() 2093 x = simple_strtoul(bp+7, &bp, 0); in wd33c93_write_info() [all …]
|
D | in2000.c | 2174 char *bp; in in2000_write_info() local 2181 bp = buf; in in2000_write_info() 2182 if (!strncmp(bp, "debug:", 6)) { in in2000_write_info() 2183 bp += 6; in in2000_write_info() 2184 hd->args = simple_strtoul(bp, NULL, 0) & DB_MASK; in in2000_write_info() 2185 } else if (!strncmp(bp, "disconnect:", 11)) { in in2000_write_info() 2186 bp += 11; in in2000_write_info() 2187 x = simple_strtoul(bp, NULL, 0); in in2000_write_info() 2191 } else if (!strncmp(bp, "period:", 7)) { in in2000_write_info() 2192 bp += 7; in in2000_write_info() [all …]
|
/linux-4.4.14/arch/m68k/68360/ |
D | commproc.c | 292 volatile uint *bp; in m360_cpm_setbrg() local 297 bp = (volatile uint *)(&pquicc->brgc[0].l); in m360_cpm_setbrg() 298 bp += brg; in m360_cpm_setbrg() 299 *bp = ((BRG_UART_CLK / rate - 1) << 1) | CPM_BRG_EN; in m360_cpm_setbrg()
|
/linux-4.4.14/drivers/md/ |
D | dm-bufio.h | 49 struct dm_buffer **bp); 56 struct dm_buffer **bp); 63 struct dm_buffer **bp);
|
D | bitmap.c | 63 if (bitmap->bp[page].hijacked) /* it's hijacked, don't try to alloc */ in bitmap_checkpage() 66 if (bitmap->bp[page].map) /* page is already allocated, just return */ in bitmap_checkpage() 95 if (!bitmap->bp[page].map) in bitmap_checkpage() 96 bitmap->bp[page].hijacked = 1; in bitmap_checkpage() 97 } else if (bitmap->bp[page].map || in bitmap_checkpage() 98 bitmap->bp[page].hijacked) { in bitmap_checkpage() 106 bitmap->bp[page].map = mappage; in bitmap_checkpage() 119 if (bitmap->bp[page].count) /* page is still busy */ in bitmap_checkfree() 124 if (bitmap->bp[page].hijacked) { /* page was hijacked, undo this now */ in bitmap_checkfree() 125 bitmap->bp[page].hijacked = 0; in bitmap_checkfree() [all …]
|
/linux-4.4.14/drivers/parport/ |
D | ieee1284_ops.c | 734 unsigned char *bp = (unsigned char *) buffer; in parport_ieee1284_epp_write_data() local 746 for (; len > 0; len--, bp++) { in parport_ieee1284_epp_write_data() 748 parport_write_data (port, *bp); in parport_ieee1284_epp_write_data() 778 unsigned char *bp = (unsigned char *) buffer; in parport_ieee1284_epp_read_data() local 789 for (; len > 0; len--, bp++) { in parport_ieee1284_epp_read_data() 799 *bp = parport_read_data (port); in parport_ieee1284_epp_read_data() 822 unsigned char *bp = (unsigned char *) buffer; in parport_ieee1284_epp_write_addr() local 834 for (; len > 0; len--, bp++) { in parport_ieee1284_epp_write_addr() 836 parport_write_data (port, *bp); in parport_ieee1284_epp_write_addr() 866 unsigned char *bp = (unsigned char *) buffer; in parport_ieee1284_epp_read_addr() local [all …]
|
/linux-4.4.14/sound/pci/emu10k1/ |
D | emu10k1_callback.c | 225 struct best_voice *bp; in lookup_voices() local 246 bp = best + V_FREE; in lookup_voices() 248 bp = best + V_OFF; in lookup_voices() 252 bp = best + V_RELEASED; in lookup_voices() 256 bp = best + V_OFF; in lookup_voices() 262 bp = best + V_PLAYING; in lookup_voices() 267 if (bp != best + V_OFF && bp != best + V_FREE && in lookup_voices() 271 bp = best + V_OFF; in lookup_voices() 274 if (vp->time < bp->time) { in lookup_voices() 275 bp->time = vp->time; in lookup_voices() [all …]
|
/linux-4.4.14/arch/frv/include/asm/ |
D | io.h | 57 const uint8_t *bp = buf; in io_outsb() local 60 __builtin_write8((volatile void __iomem *) __ioaddr, *bp++); in io_outsb() 66 const uint16_t *bp = buf; in io_outsw() local 69 __builtin_write16((volatile void __iomem *) __ioaddr, (*bp++)); in io_outsw() 86 uint8_t *bp = buf; in io_insb() local 89 *bp++ = __builtin_read8((volatile void __iomem *) addr); in io_insb() 94 uint16_t *bp = buf; in io_insw() local 97 *bp++ = __builtin_read16((volatile void __iomem *) addr); in io_insw()
|
/linux-4.4.14/Documentation/mtd/ |
D | nand_ecc.txt | 192 const unsigned char *bp = buf; 206 cur = *bp++; 301 const unsigned long *bp = (unsigned long *)buf; 315 cur = *bp++; 455 cur = *bp++; 463 cur = *bp++; 520 cur = *bp++; tmppar = cur; rp4 ^= cur; 521 cur = *bp++; tmppar ^= cur; rp6 ^= tmppar; 522 cur = *bp++; tmppar ^= cur; rp4 ^= cur; 523 cur = *bp++; tmppar ^= cur; rp8 ^= tmppar; [all …]
|
/linux-4.4.14/drivers/scsi/libfc/ |
D | fc_frame.c | 38 const u8 *bp; in fc_frame_crc_check() local 44 bp = (const u8 *) fr_hdr(fp); in fc_frame_crc_check() 45 crc = ~crc32(~0, bp, len); in fc_frame_crc_check()
|
D | fc_disc.c | 396 char *bp; in fc_disc_gpn_ft_parse() local 409 bp = buf; in fc_disc_gpn_ft_parse() 411 np = (struct fc_gpn_ft_resp *)bp; in fc_disc_gpn_ft_parse() 422 memcpy((char *)np + tlen, bp, plen); in fc_disc_gpn_ft_parse() 428 bp -= tlen; in fc_disc_gpn_ft_parse() 467 bp += sizeof(*np); in fc_disc_gpn_ft_parse() 468 np = (struct fc_gpn_ft_resp *)bp; in fc_disc_gpn_ft_parse()
|
/linux-4.4.14/drivers/tty/serial/ |
D | mpsc.c | 788 u8 *bp, *bp_p; in mpsc_init_rings() local 834 bp = pi->rxb; in mpsc_init_rings() 850 bp += MPSC_RXBE_SIZE; in mpsc_init_rings() 858 bp = pi->txb; in mpsc_init_rings() 869 bp += MPSC_TXBE_SIZE; in mpsc_init_rings() 942 u8 *bp; in mpsc_rx_intr() local 982 bp = pi->rxb + (pi->rxr_posn * MPSC_RXBE_SIZE); in mpsc_rx_intr() 983 dma_cache_sync(pi->port.dev, (void *)bp, MPSC_RXBE_SIZE, in mpsc_rx_intr() 987 invalidate_dcache_range((ulong)bp, in mpsc_rx_intr() 988 (ulong)bp + MPSC_RXBE_SIZE); in mpsc_rx_intr() [all …]
|
/linux-4.4.14/drivers/isdn/hisax/ |
D | tei.c | 107 u_char *bp; in put_tei_msg() local 113 bp = skb_put(skb, 3); in put_tei_msg() 114 bp[0] = (TEI_SAPI << 2); in put_tei_msg() 115 bp[1] = (GROUP_TEI << 1) | 0x1; in put_tei_msg() 116 bp[2] = UI; in put_tei_msg() 117 bp = skb_put(skb, 5); in put_tei_msg() 118 bp[0] = TEI_ENTITY_ID; in put_tei_msg() 119 bp[1] = ri >> 8; in put_tei_msg() 120 bp[2] = ri & 0xff; in put_tei_msg() 121 bp[3] = m_id; in put_tei_msg() [all …]
|
/linux-4.4.14/drivers/pcmcia/ |
D | m32r_pcc.c | 153 unsigned char *bp = (unsigned char *)buf; in pcc_iorw() local 163 writeb(*bp++, addr); in pcc_iorw() 168 *bp++ = readb(addr); in pcc_iorw() 173 unsigned short *bp = (unsigned short *)buf; in pcc_iorw() local 185 unsigned char *cp = (unsigned char *)bp; in pcc_iorw() 189 bp++; in pcc_iorw() 192 writew(*bp++, addr); in pcc_iorw() 199 unsigned char *cp = (unsigned char *)bp; in pcc_iorw() 204 bp++; in pcc_iorw() 207 *bp++ = readw(addr); in pcc_iorw()
|
D | m32r_cfc.c | 108 unsigned char *bp = (unsigned char *)buf; in pcc_ioread_byte() local 125 *bp++ = readb(addr); in pcc_ioread_byte() 133 unsigned short *bp = (unsigned short *)buf; in pcc_ioread_word() local 156 *bp++ = readw(addr); in pcc_ioread_word() 164 unsigned char *bp = (unsigned char *)buf; in pcc_iowrite_byte() local 181 writeb(*bp++, addr); in pcc_iowrite_byte() 189 unsigned short *bp = (unsigned short *)buf; in pcc_iowrite_word() local 218 writew(*bp++, addr); in pcc_iowrite_word()
|
/linux-4.4.14/drivers/firmware/ |
D | dmi_scan.c | 46 const u8 *bp = ((u8 *) dm) + dm->length; in dmi_string_nosave() local 50 while (s > 0 && *bp) { in dmi_string_nosave() 51 bp += strlen(bp) + 1; in dmi_string_nosave() 55 if (*bp != 0) { in dmi_string_nosave() 56 size_t len = strlen(bp)+1; in dmi_string_nosave() 59 if (!memcmp(bp, dmi_empty_string, cmp_len)) in dmi_string_nosave() 61 return bp; in dmi_string_nosave() 70 const char *bp = dmi_string_nosave(dm, s); in dmi_string() local 74 if (bp == dmi_empty_string) in dmi_string() 77 len = strlen(bp) + 1; in dmi_string() [all …]
|
/linux-4.4.14/Documentation/filesystems/ |
D | xfs-self-describing-metadata.txt | 223 struct xfs_buf *bp) 225 struct xfs_mount *mp = bp->b_target->bt_mount; 228 !xfs_verify_cksum(bp->b_addr, BBTOB(bp->b_length), 230 !xfs_foo_verify(bp)) { 231 XFS_CORRUPTION_ERROR(__func__, XFS_ERRLEVEL_LOW, mp, bp->b_addr); 232 xfs_buf_ioerror(bp, EFSCORRUPTED); 246 struct xfs_buf *bp) 248 struct xfs_mount *mp = bp->b_target->bt_mount; 249 struct xfs_ondisk_hdr *hdr = bp->b_addr; 257 if (bp->b_bn != be64_to_cpu(hdr->blkno)) [all …]
|
/linux-4.4.14/sound/isa/sb/ |
D | emu8000_callback.c | 173 struct best *bp; in get_voice() local 192 bp = best + OFF; in get_voice() 195 bp = best + RELEASED; in get_voice() 198 bp = best + OFF; in get_voice() 201 bp = best + PLAYING; in get_voice() 210 bp = best + OFF; in get_voice() 213 if (vp->time < bp->time) { in get_voice() 214 bp->time = vp->time; in get_voice() 215 bp->voice = i; in get_voice()
|
/linux-4.4.14/arch/h8300/kernel/ |
D | ptrace_s.c | 40 asmlinkage void trace_trap(unsigned long bp) in trace_trap() argument 42 (void)bp; in trace_trap()
|
/linux-4.4.14/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
D | EventClass.py | 57 flags, ip, ax, bx, cx, dx, si, di, bp, sp = struct.unpack('QQQQQQQQQQ', tmp_buf) 66 self.bp = bp
|
/linux-4.4.14/drivers/mfd/ |
D | pm8921-core.c | 68 static int pm8xxx_read_block_irq(struct pm_irq_chip *chip, unsigned int bp, in pm8xxx_read_block_irq() argument 74 rc = regmap_write(chip->regmap, SSBI_REG_ADDR_IRQ_BLK_SEL, bp); in pm8xxx_read_block_irq() 76 pr_err("Failed Selecting Block %d rc=%d\n", bp, rc); in pm8xxx_read_block_irq() 89 pm8xxx_config_irq(struct pm_irq_chip *chip, unsigned int bp, unsigned int cp) in pm8xxx_config_irq() argument 94 rc = regmap_write(chip->regmap, SSBI_REG_ADDR_IRQ_BLK_SEL, bp); in pm8xxx_config_irq() 96 pr_err("Failed Selecting Block %d rc=%d\n", bp, rc); in pm8xxx_config_irq()
|
D | ipaq-micro.c | 38 int i, bp; in ipaq_micro_trigger_tx() local 42 bp = 0; in ipaq_micro_trigger_tx() 43 tx->buf[bp++] = CHAR_SOF; in ipaq_micro_trigger_tx() 46 tx->buf[bp++] = checksum; in ipaq_micro_trigger_tx() 49 tx->buf[bp++] = msg->tx_data[i]; in ipaq_micro_trigger_tx() 53 tx->buf[bp++] = checksum; in ipaq_micro_trigger_tx() 54 tx->len = bp; in ipaq_micro_trigger_tx()
|
/linux-4.4.14/drivers/spi/ |
D | spi-tle62x0.c | 103 char *bp = buf; in tle62x0_status_show() local 125 bp += sprintf(bp, "%s ", decode_fault(fault >> (ptr * 2))); in tle62x0_status_show() 128 *bp++ = '\n'; in tle62x0_status_show() 131 return bp - buf; in tle62x0_status_show()
|
/linux-4.4.14/sound/drivers/opl3/ |
D | opl3_midi.c | 165 struct best *bp; in opl3_get_voice() local 182 bp = best; in opl3_get_voice() 194 bp++; in opl3_get_voice() 200 bp++; in opl3_get_voice() 208 bp++; in opl3_get_voice() 211 bp++; in opl3_get_voice() 214 bp++; in opl3_get_voice() 216 if (voice_time < bp->time) { in opl3_get_voice() 217 bp->time = voice_time; in opl3_get_voice() 218 bp->voice = i; in opl3_get_voice()
|
/linux-4.4.14/drivers/rtc/ |
D | rtc-ds1305.c | 216 u8 *bp = buf; in ds1305_set_time() local 225 *bp++ = DS1305_WRITE | DS1305_SEC; in ds1305_set_time() 227 *bp++ = bin2bcd(time->tm_sec); in ds1305_set_time() 228 *bp++ = bin2bcd(time->tm_min); in ds1305_set_time() 229 *bp++ = hour2bcd(ds1305->hr12, time->tm_hour); in ds1305_set_time() 230 *bp++ = (time->tm_wday < 7) ? (time->tm_wday + 1) : 1; in ds1305_set_time() 231 *bp++ = bin2bcd(time->tm_mday); in ds1305_set_time() 232 *bp++ = bin2bcd(time->tm_mon + 1); in ds1305_set_time() 233 *bp++ = bin2bcd(time->tm_year - 100); in ds1305_set_time()
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_twsi.c | 360 u8 *bp = buffer; in qib_twsi_blk_rd() local 413 *bp++ = rd_byte(dd, !len); in qib_twsi_blk_rd() 438 const u8 *bp = buffer; in qib_twsi_blk_wr() local 466 if (qib_twsi_wr(dd, *bp++, 0)) in qib_twsi_blk_wr()
|
/linux-4.4.14/drivers/net/ethernet/cirrus/ |
D | cs89x0.c | 420 unsigned char *bp = lp->rx_dma_ptr; in dma_rx() local 422 status = bp[0] + (bp[1] << 8); in dma_rx() 423 length = bp[2] + (bp[3] << 8); in dma_rx() 424 bp += 4; in dma_rx() 427 dev->name, (unsigned long)bp, status, length); in dma_rx() 441 bp += (length + 3) & ~3; in dma_rx() 442 if (bp >= lp->end_dma_buff) in dma_rx() 443 bp -= lp->dmasize * 1024; in dma_rx() 444 lp->rx_dma_ptr = bp; in dma_rx() 449 if (bp + length > lp->end_dma_buff) { in dma_rx() [all …]
|
/linux-4.4.14/arch/ia64/sn/kernel/ |
D | setup.c | 320 u8 *bp; in sn_scan_pcdp() local 334 for (bp = (u8 *)&pcdp->uart[pcdp->num_type0]; in sn_scan_pcdp() 335 bp < (u8 *)pcdp + pcdp->length; in sn_scan_pcdp() 336 bp += device.length) { in sn_scan_pcdp() 337 memcpy(&device, bp, sizeof(device)); in sn_scan_pcdp() 344 memcpy(&if_pci, bp+sizeof(device), sizeof(if_pci)); in sn_scan_pcdp()
|
/linux-4.4.14/scripts/gdb/linux/ |
D | symbols.py | 138 for bp in gdb.breakpoints(): 139 saved_states.append({'breakpoint': bp, 'enabled': bp.enabled})
|
/linux-4.4.14/scripts/dtc/ |
D | treesource.c | 170 const char *bp = val.val; in write_propval_bytes() local 175 while (m && (m->offset == (bp-val.val))) { in write_propval_bytes() 181 fprintf(f, "%02hhx", (unsigned char)(*bp++)); in write_propval_bytes() 182 if ((const void *)bp >= propend) in write_propval_bytes()
|
/linux-4.4.14/fs/hpfs/ |
D | hpfs.h | 417 static inline bool bp_internal(struct bplus_header *bp) in bp_internal() argument 419 return bp->flags & BP_internal; in bp_internal() 422 static inline bool bp_fnode_parent(struct bplus_header *bp) in bp_fnode_parent() argument 424 return bp->flags & BP_fnode_parent; in bp_fnode_parent()
|
/linux-4.4.14/arch/x86/entry/ |
D | common.c | 126 sd.args[5] = regs->bp; in syscall_trace_enter_phase1() 393 (unsigned int)regs->di, (unsigned int)regs->bp); in do_syscall_32_irqs_on() 438 __get_user(*(u32 *)®s->bp, in do_fast_syscall_32() 441 get_user(*(u32 *)®s->bp, in do_fast_syscall_32()
|
/linux-4.4.14/arch/x86/math-emu/ |
D | get_address.c | 37 offsetof(struct pt_regs, bp), 353 address += FPU_info->regs->bp + FPU_info->regs->si; in FPU_get_address_16() 358 address += FPU_info->regs->bp + FPU_info->regs->di; in FPU_get_address_16() 369 address += FPU_info->regs->bp; in FPU_get_address_16()
|
/linux-4.4.14/tools/testing/selftests/x86/ |
D | ptrace_syscall.c | 57 register unsigned long bp asm("bp") = args->arg5; in do_full_int80() 61 "+S" (args->arg3), "+D" (args->arg4), "+r" (bp)); in do_full_int80() 62 args->arg5 = bp; in do_full_int80()
|
/linux-4.4.14/arch/powerpc/platforms/powermac/ |
D | pci.c | 455 static void __init init_bandit(struct pci_controller *bp) in init_bandit() argument 461 out_le32(bp->cfg_addr, (1UL << BANDIT_DEVNUM) + PCI_VENDOR_ID); in init_bandit() 463 vendev = in_le32(bp->cfg_data); in init_bandit() 467 out_le32(bp->cfg_addr, in init_bandit() 470 rev = in_8(bp->cfg_data); in init_bandit() 480 out_le32(bp->cfg_addr, (1UL << BANDIT_DEVNUM) + BANDIT_MAGIC); in init_bandit() 482 magic = in_le32(bp->cfg_data); in init_bandit() 487 out_le32(bp->cfg_data, magic); in init_bandit()
|
/linux-4.4.14/arch/arm/mach-mv78xx0/ |
D | Makefile | 2 obj-$(CONFIG_MACH_DB78X00_BP) += db78x00-bp-setup.o
|