Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/crypto/amcc/
Dcrypto4xx_sa.c46 offset = cts.bf.key_size in get_dynamic_sa_offset_state_ptr_field()
47 + cts.bf.inner_size in get_dynamic_sa_offset_state_ptr_field()
48 + cts.bf.outer_size in get_dynamic_sa_offset_state_ptr_field()
49 + cts.bf.spi in get_dynamic_sa_offset_state_ptr_field()
50 + cts.bf.seq_num0 in get_dynamic_sa_offset_state_ptr_field()
51 + cts.bf.seq_num1 in get_dynamic_sa_offset_state_ptr_field()
52 + cts.bf.seq_num_mask0 in get_dynamic_sa_offset_state_ptr_field()
53 + cts.bf.seq_num_mask1 in get_dynamic_sa_offset_state_ptr_field()
54 + cts.bf.seq_num_mask2 in get_dynamic_sa_offset_state_ptr_field()
55 + cts.bf.seq_num_mask3 in get_dynamic_sa_offset_state_ptr_field()
[all …]
Dcrypto4xx_alg.c41 sa->sa_command_0.bf.save_hash_state = save_h; in set_dynamic_sa_command_0()
42 sa->sa_command_0.bf.save_iv = save_iv; in set_dynamic_sa_command_0()
43 sa->sa_command_0.bf.load_hash_state = ld_h; in set_dynamic_sa_command_0()
44 sa->sa_command_0.bf.load_iv = ld_iv; in set_dynamic_sa_command_0()
45 sa->sa_command_0.bf.hdr_proc = hdr_proc; in set_dynamic_sa_command_0()
46 sa->sa_command_0.bf.hash_alg = h; in set_dynamic_sa_command_0()
47 sa->sa_command_0.bf.cipher_alg = c; in set_dynamic_sa_command_0()
48 sa->sa_command_0.bf.pad_type = pad_type & 3; in set_dynamic_sa_command_0()
49 sa->sa_command_0.bf.extend_pad = pad_type >> 2; in set_dynamic_sa_command_0()
50 sa->sa_command_0.bf.op_group = op_grp; in set_dynamic_sa_command_0()
[all …]
Dcrypto4xx_reg_def.h165 } bf; member
177 } bf; member
189 } bf; member
200 } bf; member
211 } bf; member
260 } bf; member
271 } bf; member
Dcrypto4xx_core.c62 pe_dma_cfg.bf.bo_sgpd_en = 1; in crypto4xx_hw_init()
63 pe_dma_cfg.bf.bo_data_en = 0; in crypto4xx_hw_init()
64 pe_dma_cfg.bf.bo_sa_en = 1; in crypto4xx_hw_init()
65 pe_dma_cfg.bf.bo_pd_en = 1; in crypto4xx_hw_init()
66 pe_dma_cfg.bf.dynamic_sa_en = 1; in crypto4xx_hw_init()
67 pe_dma_cfg.bf.reset_sg = 1; in crypto4xx_hw_init()
68 pe_dma_cfg.bf.reset_pdr = 1; in crypto4xx_hw_init()
69 pe_dma_cfg.bf.reset_pe = 1; in crypto4xx_hw_init()
72 pe_dma_cfg.bf.pe_mode = 0; in crypto4xx_hw_init()
73 pe_dma_cfg.bf.reset_sg = 0; in crypto4xx_hw_init()
[all …]
Dcrypto4xx_sa.h49 } bf; member
109 } bf; member
167 } bf; member
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dxmit.c54 static void ath_tx_complete_buf(struct ath_softc *sc, struct ath_buf *bf,
59 static void ath_tx_rc_status(struct ath_softc *sc, struct ath_buf *bf,
150 struct ath_buf *bf) in ath_set_rates() argument
152 ieee80211_get_tx_rates(vif, sta, bf->bf_mpdu, bf->rates, in ath_set_rates()
153 ARRAY_SIZE(bf->rates)); in ath_set_rates()
214 struct ath_buf *bf; in ath_tx_tid_change_state() local
219 bf = fi->bf; in ath_tx_tid_change_state()
224 if (bf) in ath_tx_tid_change_state()
227 bf = ath_tx_setup_buffer(sc, txq, tid, skb); in ath_tx_tid_change_state()
228 if (!bf) { in ath_tx_tid_change_state()
[all …]
Drecv.c37 static void ath_rx_buf_link(struct ath_softc *sc, struct ath_rxbuf *bf, in ath_rx_buf_link() argument
45 ds = bf->bf_desc; in ath_rx_buf_link()
47 ds->ds_data = bf->bf_buf_addr; in ath_rx_buf_link()
50 skb = bf->bf_mpdu; in ath_rx_buf_link()
64 *sc->rx.rxlink = bf->bf_daddr; in ath_rx_buf_link()
66 ath9k_hw_putrxbuf(ah, bf->bf_daddr); in ath_rx_buf_link()
71 static void ath_rx_buf_relink(struct ath_softc *sc, struct ath_rxbuf *bf, in ath_rx_buf_relink() argument
77 sc->rx.buf_hold = bf; in ath_rx_buf_relink()
116 struct ath_rxbuf *bf; in ath_rx_edma_buf_link() local
122 bf = list_first_entry(&sc->rx.rxbuf, struct ath_rxbuf, list); in ath_rx_edma_buf_link()
[all …]
Dbeacon.c73 struct ath_buf *bf, int rateidx) in ath9k_beacon_setup() argument
75 struct sk_buff *skb = bf->bf_mpdu; in ath9k_beacon_setup()
97 info.buf_addr[0] = bf->bf_buf_addr; in ath9k_beacon_setup()
109 ath9k_hw_set_txdesc(ah, bf->bf_desc, &info); in ath9k_beacon_setup()
117 struct ath_buf *bf; in ath9k_beacon_generate() local
128 bf = avp->av_bcbuf; in ath9k_beacon_generate()
129 skb = bf->bf_mpdu; in ath9k_beacon_generate()
131 dma_unmap_single(sc->dev, bf->bf_buf_addr, in ath9k_beacon_generate()
134 bf->bf_buf_addr = 0; in ath9k_beacon_generate()
135 bf->bf_mpdu = NULL; in ath9k_beacon_generate()
[all …]
Dinit.c283 struct ath_buf *bf; in ath_descdma_setup() local
286 bf = devm_kzalloc(sc->dev, bsize, GFP_KERNEL); in ath_descdma_setup()
287 if (!bf) in ath_descdma_setup()
290 for (i = 0; i < nbuf; i++, bf++, ds += (desc_len * ndesc)) { in ath_descdma_setup()
291 bf->bf_desc = ds; in ath_descdma_setup()
292 bf->bf_daddr = DS2PHYS(dd, ds); in ath_descdma_setup()
301 while (ATH_DESC_4KB_BOUND_CHECK(bf->bf_daddr)) { in ath_descdma_setup()
302 BUG_ON((caddr_t) bf->bf_desc >= in ath_descdma_setup()
307 bf->bf_desc = ds; in ath_descdma_setup()
308 bf->bf_daddr = DS2PHYS(dd, ds); in ath_descdma_setup()
[all …]
Ddebug.h253 void ath_debug_stat_tx(struct ath_softc *sc, struct ath_buf *bf,
289 struct ath_buf *bf, in ath_debug_stat_tx() argument
Dath9k.h184 struct ath_buf *bf; member
215 #define bf_isampdu(bf) (bf->bf_state.bf_type & BUF_AMPDU) argument
216 #define bf_isaggr(bf) (bf->bf_state.bf_type & BUF_AGGR) argument
Dmain.c2099 struct ath_buf *bf; in ath9k_tx_last_beacon() local
2116 bf = avp->av_bcbuf; in ath9k_tx_last_beacon()
2117 if (!bf || !bf->bf_mpdu) in ath9k_tx_last_beacon()
2120 status = ath9k_hw_txprocdesc(ah, bf->bf_desc, &ts); in ath9k_tx_last_beacon()
Ddebug.c782 void ath_debug_stat_tx(struct ath_softc *sc, struct ath_buf *bf, in ath_debug_stat_tx() argument
789 sc->debug.stats.txstats[qnum].tx_bytes_all += bf->bf_mpdu->len; in ath_debug_stat_tx()
791 if (bf_isampdu(bf)) { in ath_debug_stat_tx()
Dar9003_eeprom.c2966 int bf, factor, plus; in interpolate() local
2968 bf = 2 * (yb - ya) * (x - xa) / (xb - xa); in interpolate()
2969 factor = bf / 2; in interpolate()
2970 plus = bf % 2; in interpolate()
/linux-4.1.27/fs/xfs/libxfs/
Dxfs_dir2_data.c46 xfs_dir2_data_free_t *bf; /* bestfree table */ in __xfs_dir3_data_check() local
107 bf = ops->data_bestfree_p(hdr); in __xfs_dir3_data_check()
109 if (!bf[0].length) { in __xfs_dir3_data_check()
110 XFS_WANT_CORRUPTED_RETURN(mp, !bf[0].offset); in __xfs_dir3_data_check()
113 if (!bf[1].length) { in __xfs_dir3_data_check()
114 XFS_WANT_CORRUPTED_RETURN(mp, !bf[1].offset); in __xfs_dir3_data_check()
117 if (!bf[2].length) { in __xfs_dir3_data_check()
118 XFS_WANT_CORRUPTED_RETURN(mp, !bf[2].offset); in __xfs_dir3_data_check()
122 XFS_WANT_CORRUPTED_RETURN(mp, be16_to_cpu(bf[0].length) >= in __xfs_dir3_data_check()
123 be16_to_cpu(bf[1].length)); in __xfs_dir3_data_check()
[all …]
Dxfs_dir2_leaf.c388 struct xfs_dir2_data_free *bf; in xfs_dir2_block_to_leaf() local
418 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_block_to_leaf()
465 bestsp[0] = bf[0].length; in xfs_dir2_block_to_leaf()
631 struct xfs_dir2_data_free *bf; /* bestfree table */ in xfs_dir2_leaf_addname() local
819 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_leaf_addname()
820 bestsp[use_block] = bf[0].length; in xfs_dir2_leaf_addname()
835 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_leaf_addname()
842 ((char *)hdr + be16_to_cpu(bf[0].offset)); in xfs_dir2_leaf_addname()
876 if (be16_to_cpu(bestsp[use_block]) != be16_to_cpu(bf[0].length)) { in xfs_dir2_leaf_addname()
877 bestsp[use_block] = bf[0].length; in xfs_dir2_leaf_addname()
[all …]
Dxfs_dir2_node.c1168 struct xfs_dir2_data_free *bf; /* bestfree table */ in xfs_dir2_leafn_remove() local
1211 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_leafn_remove()
1212 longest = be16_to_cpu(bf[0].length); in xfs_dir2_leafn_remove()
1229 if (longest < be16_to_cpu(bf[0].length)) { in xfs_dir2_leafn_remove()
1260 longest = be16_to_cpu(bf[0].length); in xfs_dir2_leafn_remove()
1664 struct xfs_dir2_data_free *bf; in xfs_dir2_node_addname_int() local
1924 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_node_addname_int()
1925 bests[findex] = bf[0].length; in xfs_dir2_node_addname_int()
1947 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_node_addname_int()
1950 ASSERT(be16_to_cpu(bf[0].length) >= length); in xfs_dir2_node_addname_int()
[all …]
Dxfs_dir2_block.c179 struct xfs_dir2_data_free *bf; in xfs_dir2_block_need_space() local
185 bf = dp->d_ops->data_bestfree_p(hdr); in xfs_dir2_block_need_space()
191 if (be16_to_cpu(bf[0].length) >= len) { in xfs_dir2_block_need_space()
196 ((char *)hdr + be16_to_cpu(bf[0].offset)); in xfs_dir2_block_need_space()
244 ((char *)hdr + be16_to_cpu(bf[0].offset)); in xfs_dir2_block_need_space()
261 if (be16_to_cpu(bf[1].length) >= len) in xfs_dir2_block_need_space()
263 ((char *)hdr + be16_to_cpu(bf[1].offset)); in xfs_dir2_block_need_space()
Dxfs_dir2_priv.h56 struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup,
Dxfs_dir2.h177 struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf,
/linux-4.1.27/tools/perf/util/
Dtop.c24 size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size) in perf_top__header_snprintf() argument
47 ret = SNPRINTF(bf, size, in perf_top__header_snprintf()
56 ret = SNPRINTF(bf, size, in perf_top__header_snprintf()
75 ret += SNPRINTF(bf + ret, size - ret, "%" PRIu64 "%s ", in perf_top__header_snprintf()
80 ret += SNPRINTF(bf + ret, size - ret, "%s", perf_evsel__name(top->sym_evsel)); in perf_top__header_snprintf()
82 ret += SNPRINTF(bf + ret, size - ret, "], "); in perf_top__header_snprintf()
85 ret += SNPRINTF(bf + ret, size - ret, " (target_pid: %s", in perf_top__header_snprintf()
88 ret += SNPRINTF(bf + ret, size - ret, " (target_tid: %s", in perf_top__header_snprintf()
91 ret += SNPRINTF(bf + ret, size - ret, " (uid: %s", in perf_top__header_snprintf()
94 ret += SNPRINTF(bf + ret, size - ret, " (all"); in perf_top__header_snprintf()
[all …]
Dcolor.c45 static int __color_vsnprintf(char *bf, size_t size, const char *color, in __color_vsnprintf() argument
61 r += scnprintf(bf, size, "%s", color); in __color_vsnprintf()
62 r += vscnprintf(bf + r, size - r, fmt, args); in __color_vsnprintf()
64 r += scnprintf(bf + r, size - r, "%s", PERF_COLOR_RESET); in __color_vsnprintf()
66 r += scnprintf(bf + r, size - r, "%s", trail); in __color_vsnprintf()
95 int color_vsnprintf(char *bf, size_t size, const char *color, in color_vsnprintf() argument
98 return __color_vsnprintf(bf, size, color, fmt, args, NULL); in color_vsnprintf()
106 int color_snprintf(char *bf, size_t size, const char *color, in color_snprintf() argument
113 r = color_vsnprintf(bf, size, color, fmt, args); in color_snprintf()
196 int value_color_snprintf(char *bf, size_t size, const char *fmt, double value) in value_color_snprintf() argument
[all …]
Dsort.c27 static int repsep_snprintf(char *bf, size_t size, const char *fmt, ...) in repsep_snprintf() argument
33 n = vsnprintf(bf, size, fmt, ap); in repsep_snprintf()
35 char *sep = bf; in repsep_snprintf()
69 static int hist_entry__thread_snprintf(struct hist_entry *he, char *bf, in hist_entry__thread_snprintf() argument
75 return repsep_snprintf(bf, size, "%5d:%-*.*s", he->thread->tid, in hist_entry__thread_snprintf()
108 static int hist_entry__comm_snprintf(struct hist_entry *he, char *bf, in hist_entry__comm_snprintf() argument
111 return repsep_snprintf(bf, size, "%-*.*s", width, width, comm__str(he->comm)); in hist_entry__comm_snprintf()
151 static int _hist_entry__dso_snprintf(struct map *map, char *bf, in _hist_entry__dso_snprintf() argument
157 return repsep_snprintf(bf, size, "%-*.*s", width, width, dso_name); in _hist_entry__dso_snprintf()
160 return repsep_snprintf(bf, size, "%-*.*s", width, width, "[unknown]"); in _hist_entry__dso_snprintf()
[all …]
Dcolor.h33 int color_vsnprintf(char *bf, size_t size, const char *color,
37 int color_snprintf(char *bf, size_t size, const char *color, const char *fmt, ...);
40 int value_color_snprintf(char *bf, size_t size, const char *fmt, double value);
41 int percent_color_snprintf(char *bf, size_t size, const char *fmt, ...);
42 int percent_color_len_snprintf(char *bf, size_t size, const char *fmt, ...);
Devsel.c277 static int perf_evsel__add_modifiers(struct perf_evsel *evsel, char *bf, size_t size) in perf_evsel__add_modifiers() argument
286 r += scnprintf(bf + r, size - r, "%c", mod); \ in perf_evsel__add_modifiers()
299 r += scnprintf(bf + r, size - r, "%.*s", attr->precise_ip, "ppp"); in perf_evsel__add_modifiers()
309 bf[colon - 1] = ':'; in perf_evsel__add_modifiers()
313 static int perf_evsel__hw_name(struct perf_evsel *evsel, char *bf, size_t size) in perf_evsel__hw_name() argument
315 int r = scnprintf(bf, size, "%s", __perf_evsel__hw_name(evsel->attr.config)); in perf_evsel__hw_name()
316 return r + perf_evsel__add_modifiers(evsel, bf + r, size - r); in perf_evsel__hw_name()
339 static int perf_evsel__sw_name(struct perf_evsel *evsel, char *bf, size_t size) in perf_evsel__sw_name() argument
341 int r = scnprintf(bf, size, "%s", __perf_evsel__sw_name(evsel->attr.config)); in perf_evsel__sw_name()
342 return r + perf_evsel__add_modifiers(evsel, bf + r, size - r); in perf_evsel__sw_name()
[all …]
Dsymbol.h138 static inline int __symbol__join_symfs(char *bf, size_t size, const char *path) in __symbol__join_symfs() argument
140 return path__join(bf, size, symbol_conf.symfs, path); in __symbol__join_symfs()
143 #define symbol__join_symfs(bf, path) __symbol__join_symfs(bf, sizeof(bf), path) argument
248 int filename__read_build_id(const char *filename, void *bf, size_t size);
249 int sysfs__read_build_id(const char *filename, void *bf, size_t size);
Dannotate.c41 static int ins__raw_scnprintf(struct ins *ins, char *bf, size_t size, in ins__raw_scnprintf() argument
44 return scnprintf(bf, size, "%-6.6s %s", ins->name, ops->raw); in ins__raw_scnprintf()
47 int ins__scnprintf(struct ins *ins, char *bf, size_t size, in ins__scnprintf() argument
51 return ins->ops->scnprintf(ins, bf, size, ops); in ins__scnprintf()
53 return ins__raw_scnprintf(ins, bf, size, ops); in ins__scnprintf()
93 static int call__scnprintf(struct ins *ins, char *bf, size_t size, in call__scnprintf() argument
97 return scnprintf(bf, size, "%-6.6s %s", ins->name, ops->target.name); in call__scnprintf()
100 return ins__raw_scnprintf(ins, bf, size, ops); in call__scnprintf()
102 return scnprintf(bf, size, "%-6.6s *%" PRIx64, ins->name, ops->target.addr); in call__scnprintf()
129 static int jump__scnprintf(struct ins *ins, char *bf, size_t size, in jump__scnprintf() argument
[all …]
Dsymbol-minimal.c29 static int read_build_id(void *note_data, size_t note_len, void *bf, in read_build_id() argument
61 memcpy(bf, ptr, sz); in read_build_id()
62 memset(bf + sz, 0, size - sz); in read_build_id()
82 int filename__read_build_id(const char *filename, void *bf, size_t size) in filename__read_build_id() argument
154 ret = read_build_id(buf, buf_size, bf, size, need_swap); in filename__read_build_id()
205 ret = read_build_id(buf, buf_size, bf, size, need_swap); in filename__read_build_id()
Dbuild-id.h13 int build_id__sprintf(const u8 *build_id, int len, char *bf);
14 char *dso__build_id_filename(const struct dso *dso, char *bf, size_t size);
Dbuild-id.c78 int build_id__sprintf(const u8 *build_id, int len, char *bf) in build_id__sprintf() argument
80 char *bid = bf; in build_id__sprintf()
112 static char *build_id__filename(const char *sbuild_id, char *bf, size_t size) in build_id__filename() argument
114 char *tmp = bf; in build_id__filename()
115 int ret = asnprintf(&bf, size, "%s/.build-id/%.2s/%s", buildid_dir, in build_id__filename()
119 return bf; in build_id__filename()
122 char *dso__build_id_filename(const struct dso *dso, char *bf, size_t size) in dso__build_id_filename() argument
130 return build_id__filename(build_id_hex, bf, size); in dso__build_id_filename()
Dannotate.h40 int (*scnprintf)(struct ins *ins, char *bf, size_t size,
51 int ins__scnprintf(struct ins *ins, char *bf, size_t size, struct ins_operands *ops);
72 int disasm_line__scnprintf(struct disasm_line *dl, char *bf, size_t size, bool raw);
Dutil.c493 void *bf = NULL, *nbf; in filename__read_str() local
504 nbf = realloc(bf, alloc_size); in filename__read_str()
510 bf = nbf; in filename__read_str()
513 n = read(fd, bf + size, alloc_size - size); in filename__read_str()
530 *buf = bf; in filename__read_str()
532 free(bf); in filename__read_str()
Dutil.h297 static inline int path__join(char *bf, size_t size, in path__join() argument
300 return scnprintf(bf, size, "%s%s%s", path1, path1[0] ? "/" : "", path2); in path__join()
303 static inline int path__join3(char *bf, size_t size, in path__join3() argument
307 return scnprintf(bf, size, "%s%s%s%s%s", in path__join3()
Devent.c60 char bf[4096]; in perf_event__get_comm_ids() local
76 n = read(fd, bf, sizeof(bf) - 1); in perf_event__get_comm_ids()
83 bf[n] = '\0'; in perf_event__get_comm_ids()
85 name = strstr(bf, "Name:"); in perf_event__get_comm_ids()
86 tgids = strstr(bf, "Tgid:"); in perf_event__get_comm_ids()
87 ppids = strstr(bf, "PPid:"); in perf_event__get_comm_ids()
239 char bf[BUFSIZ]; in perf_event__synthesize_mmap_events() local
247 if (fgets(bf, sizeof(bf), fp) == NULL) in perf_event__synthesize_mmap_events()
254 n = sscanf(bf, "%"PRIx64"-%"PRIx64" %s %"PRIx64" %x:%x %u %s\n", in perf_event__synthesize_mmap_events()
Dsymbol.c1812 char bf[PATH_MAX]; in vmlinux_path__init() local
1841 snprintf(bf, sizeof(bf), "/boot/vmlinux-%s", kernel_version); in vmlinux_path__init()
1842 vmlinux_path[vmlinux_path__nr_entries] = strdup(bf); in vmlinux_path__init()
1846 snprintf(bf, sizeof(bf), "/usr/lib/debug/boot/vmlinux-%s", in vmlinux_path__init()
1848 vmlinux_path[vmlinux_path__nr_entries] = strdup(bf); in vmlinux_path__init()
1852 snprintf(bf, sizeof(bf), "/lib/modules/%s/build/vmlinux", kernel_version); in vmlinux_path__init()
1853 vmlinux_path[vmlinux_path__nr_entries] = strdup(bf); in vmlinux_path__init()
1857 snprintf(bf, sizeof(bf), "/usr/lib/debug/lib/modules/%s/vmlinux", in vmlinux_path__init()
1859 vmlinux_path[vmlinux_path__nr_entries] = strdup(bf); in vmlinux_path__init()
Dcallchain.c825 char *bf, size_t bfsize, bool show_dso) in callchain_list__sym_name() argument
837 printed = scnprintf(bf, bfsize, "%s %s", in callchain_list__sym_name()
840 printed = scnprintf(bf, bfsize, "%s", cl->ms.sym->name); in callchain_list__sym_name()
842 printed = scnprintf(bf, bfsize, "%#" PRIx64, cl->ip); in callchain_list__sym_name()
845 scnprintf(bf + printed, bfsize - printed, " %s", in callchain_list__sym_name()
850 return bf; in callchain_list__sym_name()
Dtop.h45 size_t perf_top__header_snprintf(struct perf_top *top, char *bf, size_t size);
Dsymbol-elf.c349 static int elf_read_build_id(Elf *elf, void *bf, size_t size) in elf_read_build_id() argument
415 memcpy(bf, ptr, sz); in elf_read_build_id()
416 memset(bf + sz, 0, size - sz); in elf_read_build_id()
428 int filename__read_build_id(const char *filename, void *bf, size_t size) in filename__read_build_id() argument
446 err = elf_read_build_id(elf, bf, size); in filename__read_build_id()
467 char bf[BUFSIZ]; in sysfs__read_build_id() local
478 if (read(fd, bf, namesz) != (ssize_t)namesz) in sysfs__read_build_id()
480 if (memcmp(bf, "GNU", sizeof("GNU")) == 0) { in sysfs__read_build_id()
487 } else if (read(fd, bf, descsz) != (ssize_t)descsz) in sysfs__read_build_id()
491 if (read(fd, bf, n) != n) in sysfs__read_build_id()
Dmachine.c264 char *machine__mmap_name(struct machine *machine, char *bf, size_t size) in machine__mmap_name() argument
267 snprintf(bf, size, "[%s]", "kernel.kallsyms"); in machine__mmap_name()
269 snprintf(bf, size, "[%s]", "guest.kernel.kallsyms"); in machine__mmap_name()
271 snprintf(bf, size, "[%s.%d]", "guest.kernel.kallsyms", in machine__mmap_name()
275 return bf; in machine__mmap_name()
601 char bf[PATH_MAX]; in machine__get_kernel() local
606 vmlinux_name = machine__mmap_name(machine, bf, in machine__get_kernel()
607 sizeof(bf)); in machine__get_kernel()
Dheader.h152 int write_padded(int fd, const void *bf, size_t count, size_t count_aligned);
Dsort.h204 int (*se_snprintf)(struct hist_entry *he, char *bf, size_t size,
Dcallchain.h200 char *bf, size_t bfsize, bool show_dso);
Devlist.c1321 char bf; in perf_evlist__prepare_workload() local
1359 ret = read(go_pipe[0], &bf, 1); in perf_evlist__prepare_workload()
1411 if (read(child_ready_pipe[0], &bf, 1) == -1) { in perf_evlist__prepare_workload()
1433 char bf = 0; in perf_evlist__start_workload() local
1438 ret = write(evlist->workload.cork_fd, &bf, 1); in perf_evlist__start_workload()
Dmachine.h112 char *machine__mmap_name(struct machine *machine, char *bf, size_t size);
Devsel.h166 char *bf, size_t size);
Dheader.c80 int write_padded(int fd, const void *bf, size_t count, size_t count_aligned) in write_padded() argument
83 int err = do_write(fd, bf, count); in write_padded()
2425 char bf[128]; in perf_evsel__prepare_tracepoint_event() local
2441 snprintf(bf, sizeof(bf), "%s:%s", event->system, event->name); in perf_evsel__prepare_tracepoint_event()
2442 evsel->name = strdup(bf); in perf_evsel__prepare_tracepoint_event()
Dhist.h120 int hist_entry__sort_snprintf(struct hist_entry *he, char *bf, size_t size,
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dpd.c172 int mlx4_bf_alloc(struct mlx4_dev *dev, struct mlx4_bf *bf, int node) in mlx4_bf_alloc() argument
219 bf->uar = uar; in mlx4_bf_alloc()
220 bf->offset = 0; in mlx4_bf_alloc()
221 bf->buf_size = dev->caps.bf_reg_size / 2; in mlx4_bf_alloc()
222 bf->reg = uar->bf_map + idx * dev->caps.bf_reg_size; in mlx4_bf_alloc()
229 bf->uar = NULL; in mlx4_bf_alloc()
244 void mlx4_bf_free(struct mlx4_dev *dev, struct mlx4_bf *bf) in mlx4_bf_free() argument
249 if (!bf->uar || !bf->uar->bf_map) in mlx4_bf_free()
253 idx = (bf->reg - bf->uar->bf_map) / dev->caps.bf_reg_size; in mlx4_bf_free()
254 bf->uar->free_bf_bmap &= ~(1 << idx); in mlx4_bf_free()
[all …]
Den_tx.c130 err = mlx4_bf_alloc(mdev->dev, &ring->bf, node); in mlx4_en_create_tx_ring()
133 ring->bf.uar = &mdev->priv_uar; in mlx4_en_create_tx_ring()
134 ring->bf.uar->map = mdev->uar_map; in mlx4_en_create_tx_ring()
181 mlx4_bf_free(mdev->dev, &ring->bf); in mlx4_en_destroy_tx_ring()
216 ring->context.usr_page = cpu_to_be32(ring->bf.uar->index); in mlx4_en_activate_tx_ring()
953 mlx4_bf_copy(ring->bf.reg + ring->bf.offset, &tx_desc->ctrl, in mlx4_en_xmit()
958 ring->bf.offset ^= ring->bf.buf_size; in mlx4_en_xmit()
983 ring->bf.uar->map + MLX4_SEND_DOORBELL); in mlx4_en_xmit()
Dmlx4_en.h272 struct mlx4_bf bf; member
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
Dbase.c629 ath5k_rxbuf_setup(struct ath5k_hw *ah, struct ath5k_buf *bf) in ath5k_rxbuf_setup() argument
631 struct sk_buff *skb = bf->skb; in ath5k_rxbuf_setup()
636 skb = ath5k_rx_skb_alloc(ah, &bf->skbaddr); in ath5k_rxbuf_setup()
639 bf->skb = skb; in ath5k_rxbuf_setup()
657 ds = bf->desc; in ath5k_rxbuf_setup()
658 ds->ds_link = bf->daddr; /* link to self */ in ath5k_rxbuf_setup()
659 ds->ds_data = bf->skbaddr; in ath5k_rxbuf_setup()
667 *ah->rxlink = bf->daddr; in ath5k_rxbuf_setup()
698 struct ath5k_buf *bf, int idx) in ath5k_get_rate() argument
704 if (bf->rates[idx].idx < 0) { in ath5k_get_rate()
[all …]
Ddebug.h138 ath5k_debug_printtxbuf(struct ath5k_hw *ah, struct ath5k_buf *bf);
161 ath5k_debug_printtxbuf(struct ath5k_hw *ah, struct ath5k_buf *bf) {} in ath5k_debug_printtxbuf() argument
Dbase.h105 void ath5k_txbuf_free_skb(struct ath5k_hw *ah, struct ath5k_buf *bf);
106 void ath5k_rxbuf_free_skb(struct ath5k_hw *ah, struct ath5k_buf *bf);
Ddebug.c837 struct ath5k_buf *bf, *bf0; in read_file_queue() local
854 list_for_each_entry_safe(bf, bf0, &txq->q, list) in read_file_queue()
1082 ath5k_debug_printrxbuf(struct ath5k_buf *bf, int done, in ath5k_debug_printrxbuf() argument
1085 struct ath5k_desc *ds = bf->desc; in ath5k_debug_printrxbuf()
1089 ds, (unsigned long long)bf->daddr, in ath5k_debug_printrxbuf()
1100 struct ath5k_buf *bf; in ath5k_debug_printrxbuffs() local
1111 list_for_each_entry(bf, &ah->rxbuf, list) { in ath5k_debug_printrxbuffs()
1112 ds = bf->desc; in ath5k_debug_printrxbuffs()
1115 ath5k_debug_printrxbuf(bf, status == 0, &rs); in ath5k_debug_printrxbuffs()
1121 ath5k_debug_printtxbuf(struct ath5k_hw *ah, struct ath5k_buf *bf) in ath5k_debug_printtxbuf() argument
[all …]
/linux-4.1.27/sound/pci/ctxfi/
Dcthw20k1.c100 } bf; member
127 } bf; member
152 } bf; member
191 ctl->dirty.bf.ctl = 1; in src_set_state()
200 ctl->dirty.bf.ctl = 1; in src_set_bm()
209 ctl->dirty.bf.ctl = 1; in src_set_rsr()
218 ctl->dirty.bf.ctl = 1; in src_set_sf()
227 ctl->dirty.bf.ctl = 1; in src_set_wr()
236 ctl->dirty.bf.ctl = 1; in src_set_pm()
245 ctl->dirty.bf.ctl = 1; in src_set_rom()
[all …]
Dcthw20k2.c100 } bf; member
127 } bf; member
152 } bf; member
191 ctl->dirty.bf.ctl = 1; in src_set_state()
200 ctl->dirty.bf.ctl = 1; in src_set_bm()
209 ctl->dirty.bf.ctl = 1; in src_set_rsr()
218 ctl->dirty.bf.ctl = 1; in src_set_sf()
227 ctl->dirty.bf.ctl = 1; in src_set_wr()
236 ctl->dirty.bf.ctl = 1; in src_set_pm()
245 ctl->dirty.bf.ctl = 1; in src_set_rom()
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/core/
Denum.c53 nvkm_bitfield_print(const struct nvkm_bitfield *bf, u32 value) in nvkm_bitfield_print() argument
55 while (bf->name) { in nvkm_bitfield_print()
56 if (value & bf->mask) { in nvkm_bitfield_print()
57 pr_cont(" %s", bf->name); in nvkm_bitfield_print()
58 value &= ~bf->mask; in nvkm_bitfield_print()
61 bf++; in nvkm_bitfield_print()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/
Duar.c127 struct mlx5_bf *bf; in mlx5_alloc_uuars() local
176 bf = &uuari->bfs[i]; in mlx5_alloc_uuars()
178 bf->buf_size = dev->caps.gen.bf_reg_size / 2; in mlx5_alloc_uuars()
179 bf->uar = &uuari->uars[i / MLX5_BF_REGS_PER_PAGE]; in mlx5_alloc_uuars()
180 bf->regreg = uuari->uars[i / MLX5_BF_REGS_PER_PAGE].map; in mlx5_alloc_uuars()
181 bf->reg = NULL; /* Add WC support */ in mlx5_alloc_uuars()
182 bf->offset = (i % MLX5_BF_REGS_PER_PAGE) * dev->caps.gen.bf_reg_size + in mlx5_alloc_uuars()
184 bf->need_lock = need_uuar_lock(i); in mlx5_alloc_uuars()
185 spin_lock_init(&bf->lock); in mlx5_alloc_uuars()
186 spin_lock_init(&bf->lock32); in mlx5_alloc_uuars()
[all …]
Dmain.c337 gen->bf_reg_size = MLX5_GET_PR(cmd_hca_cap, out, bf); in fw2drv_caps()
/linux-4.1.27/arch/powerpc/lib/
Dmemcpy_power7.S54 bf cr7*4+3,1f
60 1: bf cr7*4+2,2f
66 2: bf cr7*4+1,3f
148 6: bf cr7*4+1,7f
169 7: bf cr7*4+2,8f
182 8: bf cr7*4+3,9f
195 bf cr7*4+0,12f
203 12: bf cr7*4+1,13f
209 13: bf cr7*4+2,14f
215 14: bf cr7*4+3,15f
[all …]
Dcopyuser_power7.S121 bf cr7*4+3,1f
127 1: bf cr7*4+2,2f
133 2: bf cr7*4+1,3f
215 6: bf cr7*4+1,7f
236 7: bf cr7*4+2,8f
249 8: bf cr7*4+3,9f
262 bf cr7*4+0,12f
270 12: bf cr7*4+1,13f
276 13: bf cr7*4+2,14f
282 14: bf cr7*4+3,15f
[all …]
Dmemcpy_64.S64 bf cr7*4+0,2f
78 bf cr7*4+1,1f
83 1: bf cr7*4+2,2f
88 2: bf cr7*4+3,3f
163 bf cr7*4+1,1f
167 1: bf cr7*4+2,2f
171 2: bf cr7*4+3,3f
182 bf cr7*4+3,1f
186 1: bf cr7*4+2,2f
190 2: bf cr7*4+1,3f
[all …]
Dmem_64.S27 bf 31,1f
30 1: bf 30,2f
33 2: bf 29,3f
54 bf 29,6f
60 6: bf 30,7f
64 7: bf 31,8f
70 bf 29,9f
73 9: bf 30,10f
Dstring_64.S90 bf cr7*4+3,1f
94 1: bf cr7*4+2,2f
98 2: bf cr7*4+1,3f
136 bf cr7*4+0,7f
140 7: bf cr7*4+1,8f
144 8: bf cr7*4+2,9f
148 9: bf cr7*4+3,10f
157 bf cr7*4+0,11f
Dcopyuser_64.S93 bf cr7*4+0,246f
98 246: bf cr7*4+1,1f
103 1: bf cr7*4+2,2f
108 2: bf cr7*4+3,3f
182 bf cr7*4+1,1f
191 1: bf cr7*4+2,2f
200 2: bf cr7*4+3,3f
216 bf cr7*4+3,1f
220 1: bf cr7*4+2,2f
224 2: bf cr7*4+1,3f
[all …]
/linux-4.1.27/tools/testing/selftests/powerpc/copyloops/
Dmemcpy_power7.S54 bf cr7*4+3,1f
60 1: bf cr7*4+2,2f
66 2: bf cr7*4+1,3f
148 6: bf cr7*4+1,7f
169 7: bf cr7*4+2,8f
182 8: bf cr7*4+3,9f
195 bf cr7*4+0,12f
203 12: bf cr7*4+1,13f
209 13: bf cr7*4+2,14f
215 14: bf cr7*4+3,15f
[all …]
Dcopyuser_power7.S121 bf cr7*4+3,1f
127 1: bf cr7*4+2,2f
133 2: bf cr7*4+1,3f
215 6: bf cr7*4+1,7f
236 7: bf cr7*4+2,8f
249 8: bf cr7*4+3,9f
262 bf cr7*4+0,12f
270 12: bf cr7*4+1,13f
276 13: bf cr7*4+2,14f
282 14: bf cr7*4+3,15f
[all …]
Dmemcpy_64.S64 bf cr7*4+0,2f
78 bf cr7*4+1,1f
83 1: bf cr7*4+2,2f
88 2: bf cr7*4+3,3f
163 bf cr7*4+1,1f
167 1: bf cr7*4+2,2f
171 2: bf cr7*4+3,3f
182 bf cr7*4+3,1f
186 1: bf cr7*4+2,2f
190 2: bf cr7*4+1,3f
[all …]
Dcopyuser_64.S93 bf cr7*4+0,246f
98 246: bf cr7*4+1,1f
103 1: bf cr7*4+2,2f
108 2: bf cr7*4+3,3f
182 bf cr7*4+1,1f
191 1: bf cr7*4+2,2f
200 2: bf cr7*4+3,3f
216 bf cr7*4+3,1f
220 1: bf cr7*4+2,2f
224 2: bf cr7*4+1,3f
[all …]
/linux-4.1.27/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.1.27/tools/perf/
Dbuiltin-trace.c268 static size_t __syscall_arg__scnprintf_strarray(char *bf, size_t size, in __syscall_arg__scnprintf_strarray() argument
276 return scnprintf(bf, size, intfmt, arg->val); in __syscall_arg__scnprintf_strarray()
278 return scnprintf(bf, size, "%s", sa->entries[idx]); in __syscall_arg__scnprintf_strarray()
281 static size_t syscall_arg__scnprintf_strarray(char *bf, size_t size, in syscall_arg__scnprintf_strarray() argument
284 return __syscall_arg__scnprintf_strarray(bf, size, "%d", arg); in syscall_arg__scnprintf_strarray()
294 static size_t syscall_arg__scnprintf_strhexarray(char *bf, size_t size, in syscall_arg__scnprintf_strhexarray() argument
297 return __syscall_arg__scnprintf_strarray(bf, size, "%#x", arg); in syscall_arg__scnprintf_strhexarray()
303 static size_t syscall_arg__scnprintf_fd(char *bf, size_t size,
308 static size_t syscall_arg__scnprintf_fd_at(char *bf, size_t size, in syscall_arg__scnprintf_fd_at() argument
314 return scnprintf(bf, size, "CWD"); in syscall_arg__scnprintf_fd_at()
[all …]
Dbuiltin-top.c250 char bf[160]; in perf_top__print_sym_table() local
257 perf_top__header_snprintf(top, bf, sizeof(bf)); in perf_top__print_sym_table()
258 printf("%s\n", bf); in perf_top__print_sym_table()
Dbuiltin-record.c50 static int record__write(struct record *rec, void *bf, size_t size) in record__write() argument
52 if (perf_data_file__write(rec->session->file, bf, size) < 0) { in record__write()
/linux-4.1.27/tools/perf/ui/stdio/
Dhist.c44 char bf[1024]; in ipchain__fprintf_graph() local
60 fputs(callchain_list__sym_name(chain, bf, sizeof(bf), false), fp); in ipchain__fprintf_graph()
169 char bf[1024]; in callchain__fprintf_graph() local
198 ret += fprintf(fp, "%s\n", callchain_list__sym_name(chain, bf, sizeof(bf), in callchain__fprintf_graph()
219 char bf[1024]; in __callchain__fprintf_flat() local
231 bf, sizeof(bf), false)); in __callchain__fprintf_flat()
352 char *bf, size_t bfsz, FILE *fp) in hist_entry__fprintf() argument
356 .buf = bf, in hist_entry__fprintf()
365 ret = fprintf(fp, "%s\n", bf); in hist_entry__fprintf()
382 char bf[96]; in hists__fprintf() local
[all …]
/linux-4.1.27/drivers/media/dvb-frontends/
Dzl10036.c49 u8 br, bf; member
206 u8 br, bf; in zl10036_set_bandwidth() local
245 bf = (fbw * br * 1257) / (_XTAL * 1000) - 1; in zl10036_set_bandwidth()
248 if (bf > 62) in zl10036_set_bandwidth()
249 bf = 62; in zl10036_set_bandwidth()
251 buf_bf[1] = (bf << 1) & 0x7e; in zl10036_set_bandwidth()
253 deb_info("%s: BW=%d br=%u bf=%u\n", __func__, fbw, br, bf); in zl10036_set_bandwidth()
261 if (bf != state->bf) { in zl10036_set_bandwidth()
278 state->bf = bf; in zl10036_set_bandwidth()
412 state->bf = 0xff; in zl10036_init_regs()
Dzl10039.c194 u8 bf; in zl10039_set_params() local
208 bf = ((fbw * 5088) / 1011100) - 1; in zl10039_set_params()
221 buf[5] = bf; in zl10039_set_params()
/linux-4.1.27/arch/sh/lib/
Dmemset-sh4.S27 bf/s 1b
56 bf/s 10b
77 bf/s 12b
83 bf 40f
92 bf/s 3b
103 bf/s 4b
Dcopy_page.S60 bf/s 1b
88 bf/s .L_cleanup_loop_no_pop
108 bf/s 1b
145 bf/s 2b
186 bf/s 3b
213 bf/s 2b
224 bf/s 1b
271 bf/s 2b
303 bf/s 2b
321 bf/s 1b
[all …]
Dchecksum.S86 bf 2f
146 bf 7f
225 bf 3f ! Different alignments, use slow version
227 bf 3f ! If not, do it the slow way
267 bf/s 5b
328 bf/s 1b
337 bf/s 4f
347 bf/s 3b
355 bf 7f
358 bf 5f
[all …]
Dmemset.S29 bf/s 1b
44 bf/s 3b
54 bf/s 4b
D__clear_user.S37 bf/s .L0
47 bf .Larea2
83 bf/s .L2
Dmemcpy-sh4.S207 bf/s 6f ! 108 BR (not small)
213 bf/s 4f ! 111 BR
228 bf/s 3b ! 111 BR
254 bf/s 1b ! 109 BR
268 bf/s 1f ! 111 BR
317 bf .Lcase00b ! 108 BR (big loop)
323 bf/s 4f ! 111 BR
338 bf/s 3b ! 109 BR
440 bf/s 3b ! 109 BR
702 bf/s 2b ! 109 BR
[all …]
Dudivsi3_i4i.S69 bf udiv_le128
71 bf udiv_ge64k
197 bf div_le128
201 bf/s div_ge64k
262 bf div_le128_neg
266 bf/s div_ge64k_neg
Dmemchr.S22 bf/s 1b
Dudivsi3_i4i-Os.S54 bf/s large_divisor
141 bf/s sdiv_large_divisor
Dmemmove.S18 bf 1f
Ddiv64.S17 bf.s 1f
Dmcount.S61 bf stack_panic; \
71 bf stack_panic; \
Dudiv_qrnnd.S78 bf/s 1b
Dstrlen.S45 bf/s 2b
Dudivsi3.S52 bf/s large_divisor
Dmovmem.S225 bf/s L_movmem_loop
/linux-4.1.27/arch/sh/boards/mach-se/7724/
Dsdram.S44 bf resume_rstandby
73 bf WAIT_LSTATS
91 bf WAIT_400NS
108 bf WAIT_400NS_2
/linux-4.1.27/scripts/kconfig/
Dkxgettext.c12 static char *escape(const char* text, char *bf, int len) in escape() argument
14 char *bfp = bf; in escape()
60 return bf; in escape()
153 char bf[16384]; in message__add() local
154 char *escaped = escape(msg, bf, sizeof(bf)); in message__add()
/linux-4.1.27/arch/sh/boards/mach-ecovec24/
Dsdram.S42 bf resume_rstandby
74 bf WAIT_400NS
91 bf WAIT_400NS_2
/linux-4.1.27/tools/perf/ui/browsers/
Dannotate.c105 char bf[256]; in annotate_browser__write() local
133 printed = scnprintf(bf, sizeof(bf), "%-*d ", in annotate_browser__write()
136 printed = scnprintf(bf, sizeof(bf), "%*s ", in annotate_browser__write()
138 slsmg_write_nstring(bf, printed); in annotate_browser__write()
148 printed = scnprintf(bf, sizeof(bf), "%" PRIx64 ": ", addr); in annotate_browser__write()
153 printed = scnprintf(bf, sizeof(bf), "%*d ", in annotate_browser__write()
158 slsmg_write_nstring(bf, printed); in annotate_browser__write()
162 printed = scnprintf(bf, sizeof(bf), "%*" PRIx64 ": ", in annotate_browser__write()
165 printed = scnprintf(bf, sizeof(bf), "%*s ", in annotate_browser__write()
172 slsmg_write_nstring(bf, printed); in annotate_browser__write()
[all …]
Dhists.c40 char *bf, size_t size);
586 char bf[1024], *alloc_str; in hist_browser__show_callchain() local
602 str = callchain_list__sym_name(chain, bf, sizeof(bf), in hist_browser__show_callchain()
1184 char bf[64]; in hist_browser__dump() local
1185 const char *err = strerror_r(errno, bf, sizeof(bf)); in hist_browser__dump()
1237 char *bf, size_t size) in hists__browser_title() argument
1275 printed = scnprintf(bf, size, in hists__browser_title()
1281 printed += snprintf(bf + printed, size - printed, in hists__browser_title()
1284 printed += scnprintf(bf + printed, size - printed, in hists__browser_title()
1289 printed += scnprintf(bf + printed, size - printed, in hists__browser_title()
[all …]
/linux-4.1.27/arch/openrisc/kernel/
Dentry.S228 l.bf 8f
230 l.bf 8f
232 l.bf 8f
234 l.bf 8f
236 l.bf 8f
238 l.bf 8f
334 l.bf jmp
336 l.bf jmp
338 l.bf jmp
340 l.bf jmp
[all …]
Dhead.S511 l.bf 1b
577 l.bf _fdt_found
642 l.bf 9f
681 l.bf 1b
708 l.bf 9f
744 l.bf 1b
797 l.bf exit_with_no_dtranslation //
836 l.bf 1f // goto out
893 l.bf exit_with_no_itranslation
929 l.bf 1f // goto out
[all …]
/linux-4.1.27/fs/xfs/
Dxfs_ioctl.c608 xfs_flock64_t *bf) in xfs_ioc_space() argument
649 switch (bf->l_whence) { in xfs_ioc_space()
653 bf->l_start += filp->f_pos; in xfs_ioc_space()
656 bf->l_start += XFS_ISIZE(ip); in xfs_ioc_space()
675 if (bf->l_len <= 0) { in xfs_ioc_space()
681 bf->l_len = 0; in xfs_ioc_space()
685 if (bf->l_start < 0 || in xfs_ioc_space()
686 bf->l_start > inode->i_sb->s_maxbytes || in xfs_ioc_space()
687 bf->l_start + bf->l_len < 0 || in xfs_ioc_space()
688 bf->l_start + bf->l_len >= inode->i_sb->s_maxbytes) { in xfs_ioc_space()
[all …]
Dxfs_ioctl32.c46 xfs_flock64_t *bf, in xfs_compat_flock64_copyin() argument
49 if (get_user(bf->l_type, &arg32->l_type) || in xfs_compat_flock64_copyin()
50 get_user(bf->l_whence, &arg32->l_whence) || in xfs_compat_flock64_copyin()
51 get_user(bf->l_start, &arg32->l_start) || in xfs_compat_flock64_copyin()
52 get_user(bf->l_len, &arg32->l_len) || in xfs_compat_flock64_copyin()
53 get_user(bf->l_sysid, &arg32->l_sysid) || in xfs_compat_flock64_copyin()
54 get_user(bf->l_pid, &arg32->l_pid) || in xfs_compat_flock64_copyin()
55 copy_from_user(bf->l_pad, &arg32->l_pad, 4*sizeof(u32))) in xfs_compat_flock64_copyin()
587 struct xfs_flock64 bf; in xfs_file_compat_ioctl() local
589 if (xfs_compat_flock64_copyin(&bf, arg)) in xfs_file_compat_ioctl()
[all …]
Dxfs_ioctl.h28 xfs_flock64_t *bf);
/linux-4.1.27/net/dccp/
Doptions.c26 u64 dccp_decode_value_var(const u8 *bf, const u8 len) in dccp_decode_value_var() argument
31 value += ((u64)*bf++) << 40; in dccp_decode_value_var()
33 value += ((u64)*bf++) << 32; in dccp_decode_value_var()
35 value += ((u64)*bf++) << 24; in dccp_decode_value_var()
37 value += ((u64)*bf++) << 16; in dccp_decode_value_var()
39 value += ((u64)*bf++) << 8; in dccp_decode_value_var()
41 value += *bf; in dccp_decode_value_var()
Dfeat.h131 u64 dccp_decode_value_var(const u8 *bf, const u8 len);
/linux-4.1.27/arch/openrisc/lib/
Dstring.S44 l.bf 1f
83 l.bf 1f
/linux-4.1.27/drivers/net/wireless/
Dwl3501_cs.c382 void *bf, int size) in wl3501_get_mib_value() argument
402 memcpy(bf, this->sig_get_confirm.mib_value, in wl3501_get_mib_value()
456 u16 bf, sig_bf, next, tmplen, pktlen; in wl3501_send_pkt() local
468 bf = wl3501_get_tx_buffer(this, len + 26 + 24); in wl3501_send_pkt()
469 if (!bf) { in wl3501_send_pkt()
478 sig.data = bf; in wl3501_send_pkt()
484 wl3501_set_to_wla(this, bf + 2 + in wl3501_send_pkt()
496 bf + 2 + sizeof(struct wl3501_tx_hdr), in wl3501_send_pkt()
499 wl3501_get_from_wla(this, bf, &next, sizeof(next)); in wl3501_send_pkt()
500 bf = next; in wl3501_send_pkt()
[all …]
/linux-4.1.27/drivers/video/fbdev/
Dgoldfishfb.c72 static inline u32 convert_bitfield(int val, struct fb_bitfield *bf) in convert_bitfield() argument
74 unsigned int mask = (1 << bf->length) - 1; in convert_bitfield()
76 return (val >> (16 - bf->length) & mask) << bf->offset; in convert_bitfield()
Dwm8505fb.c187 static inline u_int chan_to_field(u_int chan, struct fb_bitfield *bf) in chan_to_field() argument
190 chan >>= 16 - bf->length; in chan_to_field()
191 return chan << bf->offset; in chan_to_field()
Dvt8500lcdfb.c140 static inline u_int chan_to_field(u_int chan, struct fb_bitfield *bf) in chan_to_field() argument
143 chan >>= 16 - bf->length; in chan_to_field()
144 return chan << bf->offset; in chan_to_field()
Dnuc900fb.c293 struct fb_bitfield *bf) in chan_to_field() argument
296 chan >>= 16 - bf->length; in chan_to_field()
297 return chan << bf->offset; in chan_to_field()
Damba-clcd.c329 static inline u32 convert_bitfield(int val, struct fb_bitfield *bf) in convert_bitfield() argument
331 unsigned int mask = (1 << bf->length) - 1; in convert_bitfield()
333 return (val >> (16 - bf->length) & mask) << bf->offset; in convert_bitfield()
Djz4740_fb.c238 struct fb_bitfield *bf) in jzfb_convert_color_to_hw() argument
240 return (((val << bf->length) + 0x7FFF - val) >> 16) << bf->offset; in jzfb_convert_color_to_hw()
Dhyperv_fb.c579 static inline u32 chan_to_field(u32 chan, struct fb_bitfield *bf) in chan_to_field() argument
581 return ((chan & 0xffff) >> (16 - bf->length)) << bf->offset; in chan_to_field()
Dpxa168fb.c477 static unsigned int chan_to_field(unsigned int chan, struct fb_bitfield *bf) in chan_to_field() argument
479 return ((chan & 0xffff) >> (16 - bf->length)) << bf->offset; in chan_to_field()
Dmxsfb.c262 static inline unsigned chan_to_field(unsigned chan, struct fb_bitfield *bf) in chan_to_field() argument
265 chan >>= 16 - bf->length; in chan_to_field()
266 return chan << bf->offset; in chan_to_field()
Ds3c2410fb.c479 struct fb_bitfield *bf) in chan_to_field() argument
482 chan >>= 16 - bf->length; in chan_to_field()
483 return chan << bf->offset; in chan_to_field()
Dimxfb.c247 static inline u_int chan_to_field(u_int chan, struct fb_bitfield *bf) in chan_to_field() argument
250 chan >>= 16 - bf->length; in chan_to_field()
251 return chan << bf->offset; in chan_to_field()
Dsa1100fb.c247 static inline u_int chan_to_field(u_int chan, struct fb_bitfield *bf) in chan_to_field() argument
250 chan >>= 16 - bf->length; in chan_to_field()
251 return chan << bf->offset; in chan_to_field()
Dcyber2000fb.c265 static inline u32 convert_bitfield(u_int val, struct fb_bitfield *bf) in convert_bitfield() argument
267 u_int mask = (1 << bf->length) - 1; in convert_bitfield()
269 return (val >> (16 - bf->length) & mask) << bf->offset; in convert_bitfield()
Datmel_lcdfb.c775 static inline unsigned int chan_to_field(unsigned int chan, const struct fb_bitfield *bf) in chan_to_field() argument
778 chan >>= 16 - bf->length; in chan_to_field()
779 return chan << bf->offset; in chan_to_field()
Dmx3fb.c1021 static u32 chan_to_field(unsigned int chan, struct fb_bitfield *bf) in chan_to_field() argument
1024 chan >>= 16 - bf->length; in chan_to_field()
1025 return chan << bf->offset; in chan_to_field()
Ds3c-fb.c726 struct fb_bitfield *bf) in chan_to_field() argument
729 chan >>= 16 - bf->length; in chan_to_field()
730 return chan << bf->offset; in chan_to_field()
Dsm501fb.c902 struct fb_bitfield *bf) in chan_to_field() argument
905 chan >>= 16 - bf->length; in chan_to_field()
906 return chan << bf->offset; in chan_to_field()
Dpxafb.c130 static inline u_int chan_to_field(u_int chan, struct fb_bitfield *bf) in chan_to_field() argument
133 chan >>= 16 - bf->length; in chan_to_field()
134 return chan << bf->offset; in chan_to_field()
/linux-4.1.27/arch/sh/kernel/
Dhead_32.S179 bf/s .Lvalidate_existing_mappings
284 bf/s .Lagain
311 bf/s 9b ! while (r1 < r2)
Dentry-common.S12 ! GNU as (as of 2.9.1) changes bf/s into bt/s and bra, when the address
208 bf syscall_call
Drelocate_kernel.S215 bf 5b
/linux-4.1.27/kernel/trace/
Dtrace_probe.c468 static int __parse_bitfield_probe_arg(const char *bf, in __parse_bitfield_probe_arg() argument
476 if (*bf != 'b') in __parse_bitfield_probe_arg()
486 bw = simple_strtoul(bf + 1, &tail, 0); /* Use simple one */ in __parse_bitfield_probe_arg()
491 bf = tail + 1; in __parse_bitfield_probe_arg()
492 bo = simple_strtoul(bf, &tail, 0); in __parse_bitfield_probe_arg()
494 if (tail == bf || *tail != '/') in __parse_bitfield_probe_arg()
/linux-4.1.27/drivers/usb/host/
Dehci-dbg.c545 u16 *bf; in fill_bandwidth_buffer() local
580 bf = tt->bandwidth; in fill_bandwidth_buffer()
583 bf[0], bf[1], bf[2], bf[3], in fill_bandwidth_buffer()
584 bf[4], bf[5], bf[6], bf[7]); in fill_bandwidth_buffer()
/linux-4.1.27/arch/powerpc/include/asm/
Dkvm_booke_hv_asm.h61 bf 3, 1975f
/linux-4.1.27/arch/sh/kernel/cpu/sh3/
Dentry.S23 ! GNU as (as of 2.9.1) changes bf/s into bt/s and bra, when the address
145 bf/s 0f
315 bf/s 1f
317 bf/s 1f
Dswsusp.S55 bf/s swsusp_copy_page
/linux-4.1.27/arch/sh/boards/mach-kfr2r09/
Dsdram.S44 bf resume_rstandby
/linux-4.1.27/arch/powerpc/crypto/
Daes-tab-4k.S52 .long R(23, 9c, 9c, bf), R(53, a4, a4, f7)
101 .long R(fd, f3, f3, 0e), R(bf, d2, d2, 6d)
160 .long R(65, bf, bf, da), R(d7, e6, e6, 31)
182 .long R(bf, 6d, 7a, eb), R(95, 52, 59, da)
199 .long R(30, 28, 87, f2), R(23, bf, a5, b2)
252 .long R(da, b7, 8e, 26), R(3f, ad, bf, a4)
286 .long R(18, 14, ce, 79), R(73, c7, 37, bf)
/linux-4.1.27/drivers/infiniband/hw/mlx5/
Dqp.c758 qp->bf = &uuari->bfs[uuarn]; in create_kernel_qp()
759 uar_index = qp->bf->uar->index; in create_kernel_qp()
842 free_uuar(&dev->mdev->priv.uuari, qp->bf->uuarn); in destroy_qp_kernel()
2598 struct mlx5_bf *bf = qp->bf; in mlx5_ib_post_send() local
2861 if (bf->need_lock) in mlx5_ib_post_send()
2862 spin_lock(&bf->lock); in mlx5_ib_post_send()
2864 __acquire(&bf->lock); in mlx5_ib_post_send()
2867 if (0 && nreq == 1 && bf->uuarn && inl && size > 1 && size <= bf->buf_size / 16) { in mlx5_ib_post_send()
2868 mlx5_bf_copy(bf->reg + bf->offset, (u64 *)ctrl, ALIGN(size * 16, 64), qp); in mlx5_ib_post_send()
2871 mlx5_write64((__be32 *)ctrl, bf->regreg + bf->offset, in mlx5_ib_post_send()
[all …]
Dmlx5_ib.h207 struct mlx5_bf *bf; member
/linux-4.1.27/drivers/video/fbdev/geode/
Dgx1fb_core.c150 static inline u_int chan_to_field(u_int chan, struct fb_bitfield *bf) in chan_to_field() argument
153 chan >>= 16 - bf->length; in chan_to_field()
154 return chan << bf->offset; in chan_to_field()
Dgxfb_core.c185 static inline u_int chan_to_field(u_int chan, struct fb_bitfield *bf) in chan_to_field() argument
188 chan >>= 16 - bf->length; in chan_to_field()
189 return chan << bf->offset; in chan_to_field()
Dlxfb_core.c292 static inline u_int chan_to_field(u_int chan, struct fb_bitfield *bf) in chan_to_field() argument
295 chan >>= 16 - bf->length; in chan_to_field()
296 return chan << bf->offset; in chan_to_field()
/linux-4.1.27/arch/sh/include/asm/
Dromimage-macros.h53 bf/s 1b
/linux-4.1.27/arch/sh/boot/romimage/
Dhead.S66 bf 1b
/linux-4.1.27/arch/sh/boot/compressed/
Dhead_32.S72 bf l1
/linux-4.1.27/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.1.27/drivers/video/fbdev/mmp/fb/
Dmmpfb.c312 static unsigned int chan_to_field(unsigned int chan, struct fb_bitfield *bf) in chan_to_field() argument
314 return ((chan & 0xffff) >> (16 - bf->length)) << bf->offset; in chan_to_field()
/linux-4.1.27/arch/sh/kernel/cpu/sh2/
Dentry.S54 bf/s 1f ! previous mode check
157 bf 3f
/linux-4.1.27/arch/x86/kernel/
Duprobes.c58 #define W(row, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf)\ argument
62 (bc##UL << 0xc)|(bd##UL << 0xd)|(be##UL << 0xe)|(bf##UL << 0xf)) \
/linux-4.1.27/drivers/staging/sm7xxfb/
Dsm7xxfb.c163 struct fb_bitfield *bf) in chan_to_field() argument
166 chan >>= 16 - bf->length; in chan_to_field()
167 return chan << bf->offset; in chan_to_field()
/linux-4.1.27/include/linux/mlx5/
Dmlx5_ifc.h250 u8 bf[0x1]; member
/linux-4.1.27/arch/x86/kernel/kprobes/
Dcore.c70 #define W(row, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf)\ argument
74 (bc##UL << 0xc)|(bd##UL << 0xd)|(be##UL << 0xe)|(bf##UL << 0xf)) \
/linux-4.1.27/drivers/staging/sm750fb/
Dsm750.c403 struct fb_bitfield *bf) in chan_to_field() argument
406 chan >>= 16 - bf->length; in chan_to_field()
407 return chan << bf->offset; in chan_to_field()
/linux-4.1.27/drivers/video/fbdev/mb862xx/
Dmb862xxfbdrv.c74 struct fb_bitfield *bf) in chan_to_field() argument
77 chan >>= 16 - bf->length; in chan_to_field()
78 return chan << bf->offset; in chan_to_field()
/linux-4.1.27/arch/sh/kernel/cpu/sh2a/
Dentry.S122 bf 3f
/linux-4.1.27/Documentation/scsi/
Daacraid.txt104 9005:0285:9005:02bf ICP ICP5045BL (Marauder40LP)
/linux-4.1.27/Documentation/networking/
Dfilter.txt1155 0: (bf) r0 = r2
1162 0: (bf) r2 = r1
1180 0: (bf) r2 = r10
1195 1: (bf) r2 = r10
1212 1: (bf) r2 = r10
1231 1: (bf) r2 = r10
1255 1: (bf) r2 = r10
/linux-4.1.27/drivers/staging/fbtft/
Dfbtft-core.c560 static unsigned int chan_to_field(unsigned chan, struct fb_bitfield *bf) in chan_to_field() argument
563 chan >>= 16 - bf->length; in chan_to_field()
564 return chan << bf->offset; in chan_to_field()
/linux-4.1.27/drivers/tty/vt/
Dcp437.uni193 0xa8 U+00bf
/linux-4.1.27/include/linux/mlx4/
Ddevice.h1031 int mlx4_bf_alloc(struct mlx4_dev *dev, struct mlx4_bf *bf, int node);
1032 void mlx4_bf_free(struct mlx4_dev *dev, struct mlx4_bf *bf);
/linux-4.1.27/Documentation/DocBook/media/
Ddvbstb.png.b64101 y3McLMk5AMMMUS2kVCrx9ddfY+DAgYiPj0dubi7kcjnGjx+Ptm3bVtlynDx5UuV5YVcJipK/u+bf
Dfieldseq_bt.gif.b64394 Pf71Yr/2bf/2YZ/xCm73eb/3ff/3gT/4hV/utXD4jf/4kT/5g78FL2fmlf/5oT/6f19cR9xeSdx9
/linux-4.1.27/arch/x86/lib/
Dx86-opcode-map.txt240 bf: MOV rDI/r15,Iv
533 bf: MOVSX Gv,Ew
733 bf: vfnmsub231ss/d Vx,Hx,Wx (66),(v),(v1)
/linux-4.1.27/drivers/media/radio/
Dradio-wl1273.c1866 int bf = radio->rangelow; in wl1273_fm_vidioc_log_status() local
1872 dev_info(dev, "RX Frequency: %dkHz\n", bf + val*50); in wl1273_fm_vidioc_log_status()
/linux-4.1.27/Documentation/s390/
DDebugging390.txt628 400394: 90 bf f0 2c stm %r11,%r15,44(%r15) # Save necessary registers
643 4003b4: 98 bf f0 8c lm %r11,%r15,140(%r15)# Restore necessary registers.
702 800005bc: eb bf f0 58 00 24 stmg %r11,%r15,88(%r15)
711 800005e0: eb bf f0 f8 00 04 lmg %r11,%r15,248(%r15)