Git Product home page Git Product logo

kfifo's Introduction

kfifo

kfifo, a generic userspace FIFO implementation, port from Linux kernel

https://blog.csdn.net/liigo/article/details/100993236

20220224: added ringbuf_t (ring buffer), a simple copy of kfifo removing usage of typeof, which is not available in ANSI C and some ancient C compilers (I'm looking at you, CodeWarrior 5.1).


original source

The original source files come from Linux kernel tree (v5.3):

The latest git logs:

Age Commit message (Expand) Author Files Lines
2019-08-30 Partially revert "kfifo: fix kfifo_alloc() and kfifo_init()" Linus Torvalds 1 -1/+2
2019-05-24 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 Thomas Gleixner 1 -15/+1
2018-06-12 treewide: kmalloc() -> kmalloc_array() Kees Cook 1 -1/+1
2018-03-27 kfifo: fix inaccurate comment Martin Kelly 1 -1/+1
2014-08-08 kfifo: use BUG_ON Himangi Saraogi 1 -4/+2
2013-11-15 kfifo: kfifo_copy_{to,from}_user: fix copied bytes calculation Lars-Peter Clausen 1 -2/+2
2013-02-27 kfifo: fix kfifo_alloc() and kfifo_init() Stefani Seibold 1 -4/+2
2013-02-27 kfifo: move kfifo.c from kernel/ to lib/ Stefani Seibold 1 -0/+609

kfifo's People

Contributors

liigo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.