" Vim syntax file " Language: Berkeley Packet Filter " Maintainer: Daniel Borkmann " Latest Revision: 08/16/2011 " " In order to make syntax highlighting for BPFs work in vim, copy this file " to ~/.vim/syntax/ and activate it in vim by entering: " " :set syntax=bpf " " If you want to automatically load the BPF syntax highlighting for *.bpf " files create the ~/.vim/filetype.vim with the following content: " " my filetype file " if exists("did_load_filetypes") " finish " endif " " augroup filetypedetect " au! BufRead,BufNewFile *.bpf setfiletype bpf " augroup END " if exists("b:current_syntax") finish endif syn keyword bpfTodo contained TODO FIXME XXX NOTE syn keyword bpfKeywords ldb ldh ld ldi ldx ldxi ldxb st stx jmp ja jeq jneq jne skipwhite syn keyword bpfKeywords jlt jle jgt jge jset add sub mul div mod neg and or xor skipwhite syn keyword bpfKeywords lsh rsh ret tax txa skipwhite syn match bpfLabel /[a-zA-Z0-9_]\+/ syn match bpfSpChar /[:,#\[\]\(\)+*&]\?/ contains=bpfNumber,bpfLabel syn match bpfNumber /\(0[xX]\x\+\|\d\+\)/ syn match bpfComment ";.*$" contains=bpfTodo hi def link bpfTodo Todo hi def link bpfComment Comment hi def link bpfKeywords Keyword hi def link bpfLabel Type hi def link bpfNumber Number hi def link bpfSpChar Special let b:current_syntax = "bpf" cket-rx-pump-back'>packet-rx-pump-back net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-12-14 17:21:53 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2016-12-14 17:21:53 -0800
commitcf1b3341afab9d3ad02a76b3a619ea027dcf4e28 (patch)
tree99d5e2df998556c6ba1e9022eaa361aee74bf4a8 /block
parent80eabba70260dcb55b05098f6c1fecbe5c0e518b (diff)
parentd1b1cea1e58477dad88ff769f54c0d2dfa56d923 (diff)
Merge branch 'for-linus' of git://git.kernel.dk/linux-block
Pull block IO fixes from Jens Axboe: "A few fixes that I collected as post-merge. I was going to wait a bit with sending this out, but the O_DIRECT fix should really go in sooner rather than later" * 'for-linus' of git://git.kernel.dk/linux-block: blk-mq: Fix failed allocation path when mapping queues blk-mq: Avoid memory reclaim when remapping queues block_dev: don't update file access position for sync direct IO nvme/pci: Log PCI_STATUS when the controller dies block_dev: don't test bdev->bd_contains when it is not stable
Diffstat (limited to 'block')