/linux/net/ipv4/ |
H A D | inet_diag.c | 668 const void *bc = nla_data(_bc); in inet_diag_bc_run() local 673 const struct inet_diag_bc_op *op = bc; in inet_diag_bc_run() 773 bc += op->yes; in inet_diag_bc_run() 776 bc += op->no; in inet_diag_bc_run() 799 int inet_diag_bc_sk(const struct nlattr *bc, struct sock *sk) in inet_diag_bc_sk() argument 804 if (!bc) in inet_diag_bc_sk() 826 return inet_diag_bc_run(bc, &entry); in inet_diag_bc_sk() 830 static int valid_cc(const void *bc, int len, int cc) in valid_cc() argument 833 const struct inet_diag_bc_op *op = bc; in valid_cc() 842 bc += op->yes; in valid_cc() [all …]
|
H A D | raw_diag.c | 129 struct nlattr *bc, bool net_admin) in sk_diag_dump() argument 131 if (!inet_diag_bc_sk(bc, sk)) in sk_diag_dump() 147 struct nlattr *bc; in raw_diag_dump() local 153 bc = cb_data->inet_diag_nla_bc; in raw_diag_dump() 177 if (sk_diag_dump(sk, skb, cb, r, bc, net_admin) < 0) in raw_diag_dump()
|
H A D | udp_diag.c | 19 struct nlattr *bc, bool net_admin) in sk_diag_dump() argument 21 if (!inet_diag_bc_sk(bc, sk)) in sk_diag_dump() 97 struct nlattr *bc; in udp_dump() local 100 bc = cb_data->inet_diag_nla_bc; in udp_dump() 133 if (sk_diag_dump(sk, skb, cb, r, bc, net_admin) < 0) { in udp_dump()
|
/linux/tools/testing/selftests/net/forwarding/ |
H A D | sch_ets_tests.sh | 54 local ratio=$(echo "scale=2; 100 * $d / $total" | bc -l) 56 test $(echo "$ratio > 95.0" | bc -l) -eq 1 61 test $(echo "$ratio < 5" | bc -l) -eq 1 106 total=$(echo ${d[@]} | sed 's/ /+/g' | bc)
|
/linux/drivers/spmi/ |
H A D | spmi-pmic-arb.c | 235 u32 (*fmt_cmd)(u8 opc, u8 sid, u16 addr, u8 bc); 267 pmic_arb_read_data(struct spmi_pmic_arb *pmic_arb, u8 *buf, u32 reg, u8 bc) in pmic_arb_read_data() argument 271 memcpy(buf, &data, (bc & 3) + 1); in pmic_arb_read_data() 282 u32 reg, u8 bc) in pmic_arb_write_data() argument 286 memcpy(&data, buf, (bc & 3) + 1); in pmic_arb_write_data() 391 u8 bc = len - 1; in pmic_arb_fmt_read_cmd() local 400 if (bc >= PMIC_ARB_MAX_TRANS_BYTES) { in pmic_arb_fmt_read_cmd() 416 *cmd = pmic_arb->ver_ops->fmt_cmd(opc, sid, addr, bc); in pmic_arb_fmt_read_cmd() 427 u8 bc = len - 1; in pmic_arb_read_cmd_unlocked() local 437 min_t(u8, bc, 3)); in pmic_arb_read_cmd_unlocked() [all …]
|
/linux/drivers/net/ethernet/davicom/ |
H A D | dm9051.c | 112 struct rx_ctl_mach bc; member 285 db->bc.fifo_rst_counter++; in dm9051_core_reset() 723 db->bc.status_err_counter + db->bc.large_err_counter, in dm9051_all_restart() 724 db->bc.fifo_rst_counter); in dm9051_all_restart() 770 db->bc.status_err_counter++; in dm9051_loop_rx() 774 db->bc.large_err_counter++; in dm9051_loop_rx() 792 db->bc.rx_err_counter++; in dm9051_loop_rx() 856 db->bc.tx_err_counter++; in dm9051_loop_tx() 1100 db->bc.status_err_counter = 0; in dm9051_operation_clear() 1101 db->bc.large_err_counter = 0; in dm9051_operation_clear() [all …]
|
/linux/arch/mips/pci/ |
H A D | pci-ip27.c | 23 struct bridge_controller *bc = BRIDGE_CONTROLLER(bus); in pcibus_to_node() local 25 return bc->nasid; in pcibus_to_node()
|
/linux/drivers/md/ |
H A D | dm-io-rewind.c | 96 struct bio_crypt_ctx *bc = bio->bi_crypt_context; in dm_bio_crypt_rewind() local 98 dm_bio_crypt_dun_decrement(bc->bc_dun, in dm_bio_crypt_rewind() 99 bytes >> bc->bc_key->data_unit_size_bits); in dm_bio_crypt_rewind()
|
/linux/tools/testing/selftests/powerpc/signal/ |
H A D | signal.S | 14 bc 4,3,1f 31 bc 4,3,2f
|
/linux/fs/crypto/ |
H A D | inline_crypt.c | 387 const struct bio_crypt_ctx *bc = bio->bi_crypt_context; in fscrypt_mergeable_bio() local 390 if (!!bc != fscrypt_inode_uses_inline_crypto(inode)) in fscrypt_mergeable_bio() 392 if (!bc) in fscrypt_mergeable_bio() 400 if (bc->bc_key != inode->i_crypt_info->ci_enc_key.blk_key) in fscrypt_mergeable_bio() 404 return bio_crypt_dun_is_contiguous(bc, bio->bi_iter.bi_size, next_dun); in fscrypt_mergeable_bio()
|
/linux/fs/bcachefs/ |
H A D | sysfs.c | 230 struct btree_cache *bc = &c->btree_cache; in BCH_TIME_STATS() local 234 mutex_lock(&bc->lock); in BCH_TIME_STATS() 235 list_for_each_entry(b, &bc->live[0].list, list) in BCH_TIME_STATS() 237 list_for_each_entry(b, &bc->live[1].list, list) in BCH_TIME_STATS() 239 list_for_each_entry(b, &bc->freeable, list) in BCH_TIME_STATS() 241 mutex_unlock(&bc->lock); in BCH_TIME_STATS() 414 struct btree_cache *bc = &c->btree_cache; in STORE() local 419 bc->live[0].shrink->scan_objects(bc->live[0].shrink, &sc); in STORE()
|
H A D | journal_reclaim.c | 678 struct btree_cache *bc = &c->btree_cache; in __bch2_journal_reclaim() local 719 size_t btree_cache_live = bc->live[0].nr + bc->live[1].nr; in __bch2_journal_reclaim() 720 if (atomic_long_read(&bc->nr_dirty) * 2 > btree_cache_live) in __bch2_journal_reclaim() 728 atomic_long_read(&bc->nr_dirty), btree_cache_live, in __bch2_journal_reclaim()
|
/linux/tools/perf/tests/shell/ |
H A D | record.sh | 292 total_counts=$(bc <<< "$invalid_counts+$valid_counts") 293 if (( $(bc <<< "$total_counts <= 0") )) 299 …isok=$(bc <<< "scale=2; if (($invalid_counts/$total_counts) < (1-$tolerance_rate)) { 0 } else { 1 …
|
/linux/arch/parisc/kernel/ |
H A D | inventory.c | 486 memset(module_path.path.bc, 0xff, 6); in snake_inventory() 492 memset(module_path.path.bc, 0xff, 4); in snake_inventory() 493 module_path.path.bc[4] = mod; in snake_inventory() 496 module_path.path.bc[5] = 0; in snake_inventory()
|
/linux/drivers/parisc/ |
H A D | pdc_stable.c | 239 if (devpath->path.bc[i] < 0) in pdcspath_hwpath_read() 241 out += sprintf(out, "%d/", devpath->path.bc[i]); in pdcspath_hwpath_read() 296 hwpath.bc[i] = simple_strtoul(temp+1, NULL, 10); in pdcspath_hwpath_write() 298 DPRINTK("%s: bc[%d]: %d\n", __func__, i, hwpath.path.bc[i]); in pdcspath_hwpath_write() 302 hwpath.bc[i] = simple_strtoul(in, NULL, 10); in pdcspath_hwpath_write() 303 DPRINTK("%s: bc[%d]: %d\n", __func__, i, hwpath.path.bc[i]); in pdcspath_hwpath_write()
|
/linux/arch/m68k/kernel/ |
H A D | relocate_kernel.S | 143 cpusha %bc 145 cinva %bc
|
/linux/arch/powerpc/crypto/ |
H A D | aes-tab-4k.S | 91 .long R(3f, 92, 92, ad), R(21, 9d, 9d, bc) 93 .long R(63, bc, bc, df), R(77, b6, b6, c1) 111 .long R(a7, de, de, 79), R(bc, 5e, 5e, e2) 230 .long R(f7, 01, 26, 9f), R(5c, 72, f5, bc) 259 .long R(21, bc, cf, 08), R(ef, 15, e8, e6) 264 .long R(74, 4e, bc, 37), R(fc, 82, ca, a6) 286 .long R(16, 1d, c3, 72), R(bc, e2, 25, 0c)
|
/linux/drivers/isdn/hardware/mISDN/ |
H A D | hfcpci.c | 1239 mode_hfcpci(struct bchannel *bch, int bc, int protocol) in mode_hfcpci() argument 1248 bch->state, protocol, bch->nr, bc); in mode_hfcpci() 1250 fifo2 = bc; in mode_hfcpci() 1251 pcm_mode = (bc >> 24) & 0xff; in mode_hfcpci() 1257 rx_slot = (bc >> 8) & 0xff; in mode_hfcpci() 1258 tx_slot = (bc >> 16) & 0xff; in mode_hfcpci() 1259 bc = bc & 0xff; in mode_hfcpci() 1267 if (bc & 2) { in mode_hfcpci() 1284 bch->nr = bc; in mode_hfcpci() 1289 if (bc & 2) { in mode_hfcpci() [all …]
|
/linux/net/smc/ |
H A D | smc_diag.c | 75 struct nlattr *bc) in __smc_diag_dump() argument 202 struct nlattr *bc = NULL; in smc_diag_dump_proto() local 217 rc = __smc_diag_dump(sk, skb, cb, nlmsg_data(cb->nlh), bc); in smc_diag_dump_proto()
|
/linux/include/linux/mlx5/ |
H A D | device.h | 978 struct mpwrq_cqe_bc *bc = (struct mpwrq_cqe_bc *)&cqe->byte_cnt; in mpwrq_get_cqe_byte_cnt() local 980 return be16_to_cpu(bc->byte_cnt); in mpwrq_get_cqe_byte_cnt() 983 static inline u16 mpwrq_get_cqe_bc_consumed_strides(struct mpwrq_cqe_bc *bc) in mpwrq_get_cqe_bc_consumed_strides() argument 985 return 0x7fff & be16_to_cpu(bc->filler_consumed_strides); in mpwrq_get_cqe_bc_consumed_strides() 990 struct mpwrq_cqe_bc *bc = (struct mpwrq_cqe_bc *)&cqe->byte_cnt; in mpwrq_get_cqe_consumed_strides() local 992 return mpwrq_get_cqe_bc_consumed_strides(bc); in mpwrq_get_cqe_consumed_strides() 997 struct mpwrq_cqe_bc *bc = (struct mpwrq_cqe_bc *)&cqe->byte_cnt; in mpwrq_is_filler_cqe() local 999 return 0x8000 & be16_to_cpu(bc->filler_consumed_strides); in mpwrq_is_filler_cqe()
|
/linux/drivers/net/ethernet/tehuti/ |
H A D | tn40.h | 220 #define TN40_TXD_W1_VAL(bc, checksum, vtag, lgsnd, vlan_id) ( \ argument 222 FIELD_PREP(GENMASK(4, 0), (bc)) | \
|
/linux/tools/testing/selftests/lkdtm/ |
H A D | stack-entropy.sh | 41 bits=$(echo "obase=2; $seen" | bc | wc -L)
|
/linux/drivers/comedi/ |
H A D | comedi_fops.c | 891 struct comedi_bufconfig bc; in do_bufconfig_ioctl() local 897 if (copy_from_user(&bc, arg, sizeof(bc))) in do_bufconfig_ioctl() 900 if (bc.subdevice >= dev->n_subdevices) in do_bufconfig_ioctl() 903 s = &dev->subdevices[bc.subdevice]; in do_bufconfig_ioctl() 909 bc.size = 0; in do_bufconfig_ioctl() 910 bc.maximum_size = 0; in do_bufconfig_ioctl() 914 if (bc.maximum_size) { in do_bufconfig_ioctl() 918 async->max_bufsize = bc.maximum_size; in do_bufconfig_ioctl() 921 if (bc.size) { in do_bufconfig_ioctl() 922 retval = resize_async_buffer(dev, s, bc.size); in do_bufconfig_ioctl() [all …]
|
/linux/drivers/tty/vt/ |
H A D | cp437.uni | 47 0x1f U+25bc 198 0xac U+00bc 262 0xe6 U+00b5 U+03bc
|
/linux/fs/xfs/ |
H A D | xfs_buf_item_recover.c | 1195 struct xfs_buf_cancel *bc; in xlog_free_buf_cancel_table() local 1197 while ((bc = list_first_entry_or_null( in xlog_free_buf_cancel_table() 1200 list_del(&bc->bc_list); in xlog_free_buf_cancel_table() 1201 kfree(bc); in xlog_free_buf_cancel_table()
|