Searched refs:bset (Results 1 - 44 of 44) sorted by relevance

/linux-4.1.27/drivers/md/bcache/
H A DMakefile4 bcache-y := alloc.o bset.o btree.o closure.o debug.o extents.o\
H A Dbset.h39 * A bset is an array of bkeys laid out contiguously in memory in sorted order,
47 * (described below) for searching an individial bset, and on top of that we
52 * Most of the code in bcache doesn't care about an individual bset - it needs
61 * Since keys are variable length, we can't use a binary search on a bset - we
160 * better: see comments in bset.c at cacheline_to_bkey() for
175 * The nodes in the bset tree point to specific keys - this
185 struct bset *data;
241 static inline unsigned bset_byte_offset(struct btree_keys *b, struct bset *i) bset_byte_offset()
246 static inline unsigned bset_sector_offset(struct btree_keys *b, struct bset *i) bset_sector_offset()
274 static inline struct bset *bset_next_set(struct btree_keys *b, bset_next_set()
277 struct bset *i = bset_tree_last(b)->data; bset_next_set()
287 void bch_bset_init_next(struct btree_keys *, struct bset *, uint64_t);
385 static inline struct bkey *bset_bkey_idx(struct bset *i, unsigned idx) bset_bkey_idx()
534 void bch_dump_bset(struct btree_keys *, struct bset *, unsigned);
542 void bch_dump_bset(struct btree_keys *, struct bset *, unsigned); bch_dump_bucket()
H A Ddebug.c33 struct bset *ondisk, *sorted, *inmemory; bch_btree_verify()
69 struct bset *i; bch_btree_verify()
H A Dbset.c11 #include "bset.h"
19 void bch_dump_bset(struct btree_keys *b, struct bset *i, unsigned set) bch_dump_bset()
251 * It definites the number of bytes (in struct bset) per struct bkey_float in
256 * we're touching one fewer cacheline in the bset tree in exchange for one more
618 void bch_bset_init_next(struct btree_keys *b, struct bset *i, uint64_t magic) bch_bset_init_next()
823 struct bset *i = bset_tree_last(b)->data; bch_btree_insert_key()
1083 WARN_ONCE(1, "bset was corrupt!\n"); __bch_btree_iter_next()
1138 static void btree_mergesort(struct btree_keys *b, struct bset *out, btree_mergesort()
1185 struct bset *out = (void *) __get_free_pages(__GFP_NOWARN|GFP_NOWAIT, __btree_sort()
H A Dbtree.h101 #include "bset.h"
176 static inline struct bset *btree_bset_first(struct btree *b) btree_bset_first()
181 static inline struct bset *btree_bset_last(struct btree *b) btree_bset_last()
186 static inline unsigned bset_block_offset(struct btree *b, struct bset *i) bset_block_offset()
H A Dio.c9 #include "bset.h"
H A Dbtree.c157 static inline struct bset *write_block(struct btree *b) write_block()
189 static uint64_t btree_csum_set(struct btree *b, struct bset *i) btree_csum_set()
201 struct bset *i = btree_bset_first(b); bch_btree_node_read_done()
218 err = "unsupported bset version"; bch_btree_node_read_done()
389 struct bset *i = btree_bset_last(b); do_btree_node_write()
448 struct bset *i = btree_bset_last(b); __bch_btree_node_write()
520 struct bset *i = btree_bset_last(b); bch_btree_leaf_dirty()
1343 struct bset *n1 = btree_bset_first(new_nodes[i]); btree_gc_coalesce()
1344 struct bset *n2 = btree_bset_first(new_nodes[i - 1]); btree_gc_coalesce()
H A Dbcache.h190 #include "bset.h"
625 struct bset *verify_ondisk;
774 * This is used for various on disk data structures - cache_sb, prio_set, bset,
/linux-4.1.27/arch/mn10300/kernel/
H A Dgdb-io-serial-low.S64 bset 0x01,(gdbstub_busy)
69 bset 0x01,(gdbstub_rx_overflow)
H A Dgdb-io-ttysm-low.S61 bset 0x01,(gdbstub_busy)
66 bset 0x01,(gdbstub_rx_overflow)
H A Dmn10300-serial-low.S89 bset MNSCx_RX_AVAIL,(__intr_flags,a3)
101 bset MNSCx_RX_OVERF,(__intr_flags,a3)
171 bset MNSCx_TX_EMPTY,(__intr_flags,a3)
193 bset MNSCx_TX_SPACE,(__intr_flags,a3)
H A Dhead.S124 bset UART_MCR_RTS,(ASB2305_DEBUG_MCR)
386 bset d1,(a0)
H A Dfpu-low.S239 bset __THREAD_USING_FPU,(0,a2)
/linux-4.1.27/arch/mn10300/include/asm/
H A Dspinlock.h43 " bset %0,(%1) \n" arch_spin_trylock()
57 "1: bset 1,(0,%0) \n" arch_spin_lock()
70 "1: bset 1,(0,%2) \n" arch_spin_lock_flags()
H A Dirqflags.h118 " bset %2,(%1) \n" arch_safe_halt()
128 " bset %1,(%0)\n" \
H A Dbitops.h32 asm volatile("bset %2,(%1) # set_bit reg" \
101 asm volatile("bset %3,(%2) # test_set_bit reg\n" \
H A Dfpu.h39 "bset %0,(0,%1)" set_using_fpu()
/linux-4.1.27/arch/arc/lib/
H A Dmemcmp.S45 bset r0,r0,SHIFT
89 bset.cs r0,r0,31
95 bset.cs r0,r0,31
/linux-4.1.27/arch/mn10300/mm/
H A Dtlb-mn10300.S65 bset _PAGE_ACCESSED,(0,a2)
67 bset +(_PAGE_ACCESSED >> 8),(1,a2)
128 bset _PAGE_ACCESSED,(0,a2)
130 bset +(_PAGE_ACCESSED >> 8),(1,a2)
/linux-4.1.27/arch/m68k/include/asm/
H A Dbitops.h22 * ColdFire - supports standard bset/bclr/bchg with register operand only
23 * 68000 - supports standard bset/bclr/bchg with memory operand
26 * Although it is possible to use only the bset/bclr/bchg with register
35 __asm__ __volatile__ ("bset %1,(%0)" bset_reg_set_bit()
45 __asm__ __volatile__ ("bset %1,%0" bset_mem_set_bit()
163 __asm__ __volatile__ ("bset %2,(%1); sne %0" bset_reg_test_and_set_bit()
176 __asm__ __volatile__ ("bset %2,%1; sne %0" bset_mem_test_and_set_bit()
/linux-4.1.27/arch/arc/kernel/
H A Dhead.S33 bset r5, r5, 0 ; I$ exists, but is not used
45 bset r5, r5, 0 ; Disable (+Inv)
/linux-4.1.27/arch/sh/kernel/cpu/sh2a/
H A Dopcode_helper.c30 * 0011nnnn0iii1001 bclr.b, bld.b, bset.b, bst.b, band.b,
H A Dentry.S53 bset.b #6,@(0,r2) !set SR.MD
/linux-4.1.27/arch/m68k/math-emu/
H A Dfp_util.S138 bset #31,%d0 | set explizit bit
176 bset #31,%d0 | set explizit bit
637 4: bset #30,%d0
761 bset #0,%d0 | Yes, so set the "sticky bit".
776 bset #0,%d0 | Sticky bit.
780 bset #0,%d0
873 bset #0,%d0
941 bset #0,%d0 | Sticky bit.
946 bset #0,%d0 | Sticky bit.
1033 bset #0,%d0
1375 bset #FPSR_CC_NEG-24,%d0 | N bit
1393 8: bset %d1,%d0
1407 1: bset #FPSR_AEXC_IOP,%d0 | set IOP bit
1410 bset #FPSR_AEXC_OVFL,%d0 | set OVFL bit
1415 bset #FPSR_AEXC_UNFL,%d0 | set UNFL bit
1418 bset #FPSR_AEXC_DZ,%d0 | set DZ bit
1425 1: bset #FPSR_AEXC_INEX,%d0 | set INEX bit
H A Dfp_cond.S181 bset #15,%d1
182 bset #7,%d1
H A Dfp_emu.h133 bset #(\bit&7),(FPD_FPSR+3-(\bit/8),FPDATA)
/linux-4.1.27/arch/sh/include/asm/
H A Dbitops-op32.h24 "bset.b %1, @(%O2,%0) ! __set_bit\n\t" __set_bit()
/linux-4.1.27/arch/m68k/fpsp040/
H A Dkernel_ex.S143 bset #sign_bit,FP_SCR1(%a6)
483 | bset.b #SFLAG,E_BYTE(%a2)
484 | bset.b #XFLAG,T_BYTE(%a2)
H A Dbugfix.S242 bset #etemp15_bit,STAG(%a6)
336 bset #etemp15_bit,STAG(%a6)
H A Dround.S170 bset #rnd_stky_bit,%d3
H A Dget_op.S288 bset #15,%d1 |set sign bit because it is negative
/linux-4.1.27/include/uapi/linux/
H A Dbcache.h348 struct bset { struct
/linux-4.1.27/arch/m68k/lib/
H A Dudivsi3.S149 bset IMM (0),d0 | set the low order bit of a to 1,
/linux-4.1.27/arch/arc/include/asm/
H A Dbitops.h199 BIT_OPS(set, |, bset)
H A Dentry.h338 bset \reg, \reg, STATUS_L_BIT
/linux-4.1.27/arch/m68k/ifpsp060/src/
H A Dpfpsp.S2319 bset &31,%d1 # set j-bit
2343 bset &15,%d0 # set sign
2345 bset &0x7,FP_SRC_HI(%a6) # set j-bit
3035 bset &0x2,0xd(%sp) # set supervisor TM bit
3376 bset &6,%d0 # set SNAN bit
3393 bset &14,%d0 # set SNAN bit
3410 bset &30,%d0 # set SNAN bit
3489 bset &30,%d0
5463 bset &0x0,1+FP_SCR0_EX(%a6) # set exp = 1
5499 bset &0x0,1+FP_SCR1_EX(%a6) # set exp = 1
5732 bset &0x6, FP_SRC_HI(%a6) # set SNAN bit
5744 bset &0x6, FP_DST_HI(%a6) # set SNAN bit
5850 bset &29, %d0 # yes; set sticky bit
5958 bset &rnd_stky_bit, %d0 # yes; set sticky bit
6015 bset &rnd_stky_bit, %d0 # set sticky bit
6126 bset &rnd_stky_bit,%d0 # set new sticky bit
6410 bset &rnd_stky_bit, %d3 # set sticky bit
6856 bset &0x7, FTEMP_EX(%a0) # set result sgn
6866 # bset &z_bit, FPSR_CC(%a6) # yes; set zero ccode bit
6867 bset &z_bit, %d0 # yes; set zero ccode bit
6878 bset &aunfl_bit, FPSR_AEXCEPT(%a6) # yes; set aunfl
6916 bset &0x7,FTEMP_EX(%a0) # set result sgn
6926 # bset &z_bit,FPSR_CC(%a6) # yes; set zero ccode bit
6927 bset &z_bit,%d0 # yes; set zero ccode bit
6938 bset &aunfl_bit,FPSR_AEXCEPT(%a6) # yes; set aunfl
7298 bset &unfl_bit,FPSR_EXCEPT(%a6) # set underflow exc bit
7396 bset &unfl_bit,FPSR_EXCEPT(%a6) # set UNFL
7563 bset &0x7,FP_SCR0_EX(%a6) # yes
7625 bset &unfl_bit,FPSR_EXCEPT(%a6) # set UNFL
7781 bset &0x1f,%d0 # if negative, set sign
7846 bset &0x1f,%d0 # if negative, put in sign first
7949 bset &0x6,FP_SRC_HI(%a6) # set snan bit
8205 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
8514 bset &neg_bit,FPSR_CC(%a6) # yes, so set 'N' ccode bit
8527 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
8530 bset &neg_bit,FPSR_CC(%a6) # yes, so set 'N' ccode bit
8628 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
8632 bset &neg_bit,FPSR_CC(%a6) # set 'N' ccode bit
8978 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
9304 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
9408 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
9412 bset &neg_bit,FPSR_CC(%a6) # set 'N' ccode bit
9924 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
10026 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
10298 bset &31,%d0 # DENORM src; make into small norm
10307 bset &31,%d0 # DENORM src; make into small norm
10317 bset &31,%d0 # DENORM dst; make into small norm
10320 bset &31,%d0 # DENORM dst; make into small norm
10521 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
10854 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
11202 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
11655 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
12098 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
14666 bset &0x2,0xd(%sp) # set supervisor TM bit
H A Dfpsp.S2320 bset &31,%d1 # set j-bit
2344 bset &15,%d0 # set sign
2346 bset &0x7,FP_SRC_HI(%a6) # set j-bit
3036 bset &0x2,0xd(%sp) # set supervisor TM bit
3377 bset &6,%d0 # set SNAN bit
3394 bset &14,%d0 # set SNAN bit
3411 bset &30,%d0 # set SNAN bit
3490 bset &30,%d0
4994 bset &0x2,0xd(%sp) # set supervisor TM bit
10187 bset &neg_bit,FPSR_CC(%a6) # yes; set 'N' ccode bit
11774 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
12083 bset &neg_bit,FPSR_CC(%a6) # yes, so set 'N' ccode bit
12096 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
12099 bset &neg_bit,FPSR_CC(%a6) # yes, so set 'N' ccode bit
12197 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
12201 bset &neg_bit,FPSR_CC(%a6) # set 'N' ccode bit
12547 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
12873 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
12977 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
12981 bset &neg_bit,FPSR_CC(%a6) # set 'N' ccode bit
13493 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
13595 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
13867 bset &31,%d0 # DENORM src; make into small norm
13876 bset &31,%d0 # DENORM src; make into small norm
13886 bset &31,%d0 # DENORM dst; make into small norm
13889 bset &31,%d0 # DENORM dst; make into small norm
14090 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
14423 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
14771 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
15224 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
15667 bset &unfl_bit,FPSR_EXCEPT(%a6) # set unfl exc bit
15917 bset &0x0,1+FP_SCR0_EX(%a6) # set exp = 1
15953 bset &0x0,1+FP_SCR1_EX(%a6) # set exp = 1
16186 bset &0x6, FP_SRC_HI(%a6) # set SNAN bit
16198 bset &0x6, FP_DST_HI(%a6) # set SNAN bit
19977 bset &0x7, FP_SRC_EX(%a6) # set sgn of xprec value
20000 bset &0x7, FP_SRC_EX(%a6)
20063 bset &0x7, FP_SRC_EX(%a6) # set sgn of xprec value
20089 bset &0x7, FP_SRC_EX(%a6)
20397 bset &unfl_bit,FPSR_EXCEPT(%a6) # set underflow exc bit
20495 bset &unfl_bit,FPSR_EXCEPT(%a6) # set UNFL
20662 bset &0x7,FP_SCR0_EX(%a6) # yes
20724 bset &unfl_bit,FPSR_EXCEPT(%a6) # set UNFL
20880 bset &0x1f,%d0 # if negative, set sign
20945 bset &0x1f,%d0 # if negative, put in sign first
21048 bset &0x6,FP_SRC_HI(%a6) # set snan bit
21728 bset &29, %d0 # yes; set sticky bit
21836 bset &rnd_stky_bit, %d0 # yes; set sticky bit
21893 bset &rnd_stky_bit, %d0 # set sticky bit
22004 bset &rnd_stky_bit,%d0 # set new sticky bit
22288 bset &rnd_stky_bit, %d3 # set sticky bit
22734 bset &0x7, FTEMP_EX(%a0) # set result sgn
22744 # bset &z_bit, FPSR_CC(%a6) # yes; set zero ccode bit
22745 bset &z_bit, %d0 # yes; set zero ccode bit
22756 bset &aunfl_bit, FPSR_AEXCEPT(%a6) # yes; set aunfl
22794 bset &0x7,FTEMP_EX(%a0) # set result sgn
22804 # bset &z_bit,FPSR_CC(%a6) # yes; set zero ccode bit
22805 bset &z_bit,%d0 # yes; set zero ccode bit
22816 bset &aunfl_bit,FPSR_AEXCEPT(%a6) # yes; set aunfl
24706 bset &0x2,0xd(%sp) # set supervisor TM bit
H A Disp.S841 bset &0x2,0xd(%sp) # set supervisor TM bit
2207 bset &0x1, EXC_CC+1(%a6) # 'V' set on overflow
/linux-4.1.27/drivers/staging/emxx_udc/
H A Demxx_udc.c1498 static inline int _nbu2ss_req_feature(struct nbu2ss_udc *udc, bool bset) _nbu2ss_req_feature() argument
1514 if (bset) _nbu2ss_req_feature()
1523 if (bset == FALSE) { _nbu2ss_req_feature()
1529 udc, ep_adrs, bset); _nbu2ss_req_feature()
/linux-4.1.27/drivers/staging/rtl8712/
H A Drtl871x_ioctl_linux.c1903 u8 *pparmbuf, bset; r871x_mp_ioctl_hdl() local
1911 bset = (u8)(p->flags & 0xFFFF); r871x_mp_ioctl_hdl()
1938 if (bset) { r871x_mp_ioctl_hdl()
1956 if (bset == 0x00) { /* query info */ r871x_mp_ioctl_hdl()
/linux-4.1.27/arch/m68k/kernel/
H A Dhead.S668 bset #CPUTYPE_060,%d1
669 bset #CPUTYPE_0460,%d1
677 bset #CPUTYPE_040,%d1
678 bset #CPUTYPE_0460,%d1
686 bset #CPUTYPE_020,%d1
2859 bset #5,%d0
2888 bset #1,%a1@(LMFP_TSR)
3042 bset #5,%d0
/linux-4.1.27/kernel/
H A Dkmod.c674 .procname = "bset",
/linux-4.1.27/drivers/tty/
H A Dn_hdlc.c194 #define bset(p,b) ((p)[(b) >> 5] |= (1 << ((b) & 0x1f))) macro
/linux-4.1.27/security/
H A Dcommoncap.c567 * Number 1 above might fail if you don't have a full bset, but I think cap_bprm_set_creds()

Completed in 1667 milliseconds