Home
last modified time | relevance | path

Searched refs:bf (Results 1 – 20 of 20) sorted by relevance

/linux-4.19.296/fs/xfs/libxfs/
Dxfs_dir2_data.c25 struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf,
40 xfs_dir2_data_free_t *bf; /* bestfree table */ in __xfs_dir3_data_check() local
110 bf = ops->data_bestfree_p(hdr); in __xfs_dir3_data_check()
112 if (!bf[0].length) { in __xfs_dir3_data_check()
113 if (bf[0].offset) in __xfs_dir3_data_check()
117 if (!bf[1].length) { in __xfs_dir3_data_check()
118 if (bf[1].offset) in __xfs_dir3_data_check()
122 if (!bf[2].length) { in __xfs_dir3_data_check()
123 if (bf[2].offset) in __xfs_dir3_data_check()
128 if (be16_to_cpu(bf[0].length) < be16_to_cpu(bf[1].length)) in __xfs_dir3_data_check()
[all …]
Dxfs_dir2_leaf.c409 struct xfs_dir2_data_free *bf; in xfs_dir2_block_to_leaf() local
439 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_block_to_leaf()
486 bestsp[0] = bf[0].length; in xfs_dir2_block_to_leaf()
652 struct xfs_dir2_data_free *bf; /* bestfree table */ in xfs_dir2_leaf_addname() local
840 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_leaf_addname()
841 bestsp[use_block] = bf[0].length; in xfs_dir2_leaf_addname()
856 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_leaf_addname()
863 ((char *)hdr + be16_to_cpu(bf[0].offset)); in xfs_dir2_leaf_addname()
900 if (be16_to_cpu(bestsp[use_block]) != be16_to_cpu(bf[0].length)) { in xfs_dir2_leaf_addname()
901 bestsp[use_block] = bf[0].length; in xfs_dir2_leaf_addname()
[all …]
Dxfs_dir2_node.c1222 struct xfs_dir2_data_free *bf; /* bestfree table */ in xfs_dir2_leafn_remove() local
1265 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_leafn_remove()
1266 longest = be16_to_cpu(bf[0].length); in xfs_dir2_leafn_remove()
1283 if (longest < be16_to_cpu(bf[0].length)) { in xfs_dir2_leafn_remove()
1314 longest = be16_to_cpu(bf[0].length); in xfs_dir2_leafn_remove()
1718 struct xfs_dir2_data_free *bf; in xfs_dir2_node_addname_int() local
1978 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_node_addname_int()
1979 bests[findex] = bf[0].length; in xfs_dir2_node_addname_int()
2001 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_node_addname_int()
2004 ASSERT(be16_to_cpu(bf[0].length) >= length); in xfs_dir2_node_addname_int()
[all …]
Dxfs_dir2_block.c172 struct xfs_dir2_data_free *bf; in xfs_dir2_block_need_space() local
178 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_block_need_space()
184 if (be16_to_cpu(bf[0].length) >= len) { in xfs_dir2_block_need_space()
189 ((char *)hdr + be16_to_cpu(bf[0].offset)); in xfs_dir2_block_need_space()
237 ((char *)hdr + be16_to_cpu(bf[0].offset)); in xfs_dir2_block_need_space()
254 if (be16_to_cpu(bf[1].length) >= len) in xfs_dir2_block_need_space()
256 ((char *)hdr + be16_to_cpu(bf[1].offset)); in xfs_dir2_block_need_space()
Dxfs_dir2_priv.h44 struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup,
Dxfs_dir2.h166 struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf,
/linux-4.19.296/drivers/uwb/
Dbeacon.c266 struct uwb_beacon_frame *bf, in __uwb_beca_add() argument
315 struct uwb_beacon_frame *bf) in uwb_beacon_print() argument
321 uwb_mac_addr_print(macbuf, sizeof(macbuf), &bf->Device_Identifier); in uwb_beacon_print()
322 uwb_dev_addr_print(devbuf, sizeof(devbuf), &bf->hdr.SrcAddr); in uwb_beacon_print()
323 uwb_dev_addr_print(dstbuf, sizeof(dstbuf), &bf->hdr.DestAddr); in uwb_beacon_print()
327 bf->Beacon_Slot_Number, macbuf); in uwb_beacon_print()
338 struct uwb_beacon_frame *bf; in uwb_bce_print_IEs() local
346 bf = (struct uwb_beacon_frame *)bce->be->BeaconInfo; in uwb_bce_print_IEs()
348 ies = (struct uwb_ie_hdr *)bf->IEData; in uwb_bce_print_IEs()
365 struct uwb_beacon_frame *bf; in uwb_verify_beacon() local
[all …]
Dlc-dev.c151 struct uwb_beacon_frame *bf; in uwb_dev_BPST_show() local
156 bf = (struct uwb_beacon_frame *)bce->be->BeaconInfo; in uwb_dev_BPST_show()
158 - (u16)(bf->Beacon_Slot_Number * UWB_BEACON_SLOT_LENGTH_US); in uwb_dev_BPST_show()
/linux-4.19.296/drivers/media/dvb-frontends/
Dzl10036.c45 u8 br, bf; member
200 u8 br, bf; in zl10036_set_bandwidth() local
239 bf = (fbw * br * 1257) / (_XTAL * 1000) - 1; in zl10036_set_bandwidth()
242 if (bf > 62) in zl10036_set_bandwidth()
243 bf = 62; in zl10036_set_bandwidth()
245 buf_bf[1] = (bf << 1) & 0x7e; in zl10036_set_bandwidth()
247 deb_info("%s: BW=%d br=%u bf=%u\n", __func__, fbw, br, bf); in zl10036_set_bandwidth()
255 if (bf != state->bf) { in zl10036_set_bandwidth()
272 state->bf = bf; in zl10036_set_bandwidth()
406 state->bf = 0xff; in zl10036_init_regs()
Dzl10039.c191 u8 bf; in zl10039_set_params() local
205 bf = ((fbw * 5088) / 1011100) - 1; in zl10039_set_params()
218 buf[5] = bf; in zl10039_set_params()
/linux-4.19.296/fs/xfs/
Dxfs_ioctl32.c36 xfs_flock64_t *bf, in xfs_compat_flock64_copyin() argument
39 if (get_user(bf->l_type, &arg32->l_type) || in xfs_compat_flock64_copyin()
40 get_user(bf->l_whence, &arg32->l_whence) || in xfs_compat_flock64_copyin()
41 get_user(bf->l_start, &arg32->l_start) || in xfs_compat_flock64_copyin()
42 get_user(bf->l_len, &arg32->l_len) || in xfs_compat_flock64_copyin()
43 get_user(bf->l_sysid, &arg32->l_sysid) || in xfs_compat_flock64_copyin()
44 get_user(bf->l_pid, &arg32->l_pid) || in xfs_compat_flock64_copyin()
45 copy_from_user(bf->l_pad, &arg32->l_pad, 4*sizeof(u32))) in xfs_compat_flock64_copyin()
607 struct xfs_flock64 bf; in xfs_file_compat_ioctl() local
609 if (xfs_compat_flock64_copyin(&bf, arg)) in xfs_file_compat_ioctl()
[all …]
Dxfs_ioctl.c598 xfs_flock64_t *bf) in xfs_ioc_space() argument
638 switch (bf->l_whence) { in xfs_ioc_space()
642 bf->l_start += filp->f_pos; in xfs_ioc_space()
645 bf->l_start += XFS_ISIZE(ip); in xfs_ioc_space()
664 if (bf->l_len <= 0) { in xfs_ioc_space()
670 bf->l_len = 0; in xfs_ioc_space()
674 if (bf->l_start < 0 || in xfs_ioc_space()
675 bf->l_start > inode->i_sb->s_maxbytes || in xfs_ioc_space()
676 bf->l_start + bf->l_len < 0 || in xfs_ioc_space()
677 bf->l_start + bf->l_len >= inode->i_sb->s_maxbytes) { in xfs_ioc_space()
[all …]
Dxfs_ioctl.h13 xfs_flock64_t *bf);
/linux-4.19.296/fs/xfs/scrub/
Ddir.c297 struct xfs_dir2_data_free *bf, in xchk_directory_check_free_entry() argument
306 if (dup_length < be16_to_cpu(bf[XFS_DIR2_DATA_FD_COUNT - 1].length)) in xchk_directory_check_free_entry()
309 for (dfp = &bf[XFS_DIR2_DATA_FD_COUNT - 1]; dfp >= bf; dfp--) in xchk_directory_check_free_entry()
327 struct xfs_dir2_data_free *bf; in xchk_directory_data_bestfree() local
361 bf = d_ops->data_bestfree_p(bp->b_addr); in xchk_directory_data_bestfree()
363 for (dfp = &bf[0]; dfp < &bf[XFS_DIR2_DATA_FD_COUNT]; dfp++) { in xchk_directory_data_bestfree()
425 xchk_directory_check_free_entry(sc, lblk, bf, dup); in xchk_directory_data_bestfree()
/linux-4.19.296/lib/
Dnlattr.c50 const struct nla_bitfield32 *bf = nla_data(nla); in validate_nla_bitfield32() local
57 if (bf->selector & ~*valid_flags_mask) in validate_nla_bitfield32()
61 if (bf->value & ~*valid_flags_mask) in validate_nla_bitfield32()
65 if (bf->value & ~bf->selector) in validate_nla_bitfield32()
/linux-4.19.296/drivers/isdn/i4l/
Disdn_ppp.c692 struct ippp_buf_queue *bf, *bl; in isdn_ppp_poll() local
716 bf = is->first; in isdn_ppp_poll()
720 if (bf->next != bl || (is->state & IPPP_NOBLOCK)) { in isdn_ppp_poll()
735 struct ippp_buf_queue *bf, *bl; in isdn_ppp_fill_rq() local
762 bf = is->first; in isdn_ppp_fill_rq()
765 if (bf == bl) { in isdn_ppp_fill_rq()
767 bf = bf->next; in isdn_ppp_fill_rq()
768 kfree(bf->buf); in isdn_ppp_fill_rq()
769 is->first = bf; in isdn_ppp_fill_rq()
/linux-4.19.296/fs/ocfs2/
Dalloc.c6663 struct ocfs2_cached_block_free *bf; in ocfs2_reuse_blk_from_dealloc() local
6691 bf = fl->f_first; in ocfs2_reuse_blk_from_dealloc()
6692 fl->f_first = bf->free_next; in ocfs2_reuse_blk_from_dealloc()
6694 new_eb_bh[i] = sb_getblk(osb->sb, bf->free_blk); in ocfs2_reuse_blk_from_dealloc()
6703 bf->free_blk, osb->slot_num, real_slot); in ocfs2_reuse_blk_from_dealloc()
6722 eb->h_blkno = cpu_to_le64(bf->free_blk); in ocfs2_reuse_blk_from_dealloc()
6725 eb->h_suballoc_loc = cpu_to_le64(bf->free_bg); in ocfs2_reuse_blk_from_dealloc()
6726 eb->h_suballoc_bit = cpu_to_le16(bf->free_bit); in ocfs2_reuse_blk_from_dealloc()
6739 kfree(bf); in ocfs2_reuse_blk_from_dealloc()
/linux-4.19.296/include/linux/mlx4/
Ddevice.h1109 int mlx4_bf_alloc(struct mlx4_dev *dev, struct mlx4_bf *bf, int node);
1110 void mlx4_bf_free(struct mlx4_dev *dev, struct mlx4_bf *bf);
/linux-4.19.296/drivers/media/radio/
Dradio-wl1273.c1872 int bf = radio->rangelow; in wl1273_fm_vidioc_log_status() local
1878 dev_info(dev, "RX Frequency: %dkHz\n", bf + val*50); in wl1273_fm_vidioc_log_status()
/linux-4.19.296/include/linux/mlx5/
Dmlx5_ifc.h1055 u8 bf[0x1]; member