code
stringlengths
6
250k
repo_name
stringlengths
5
70
path
stringlengths
3
177
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
6
250k
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2012, The Linux Foundation. All rights reserved. */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/types.h> #include <linux/device.h> #include <linux/io.h> #include <linux/err.h> #include <linux/export.h> #include <linux/slab.h> #include <linu...
BPI-SINOVOIP/BPI-Mainline-kernel
linux-4.19/drivers/hwtracing/coresight/coresight.c
C
gpl-2.0
25,932
/* * xslt.c: Implemetation of an XSL Transformation 1.0 engine * * Reference: * XSLT specification * http://www.w3.org/TR/1999/REC-xslt-19991116 * * Associating Style Sheets with XML documents * http://www.w3.org/1999/06/REC-xml-stylesheet-19990629 * * See Copyright for the status of this software. *...
Teamxrtc/webrtc-streaming-node
third_party/webrtc/src/chromium/src/third_party/libxslt/libxslt/xslt.c
C
mit
184,619
#include <unistd.h> #include <sys/mman.h> #include <errno.h> #include <sys/syscall.h> _syscall6 (void *, mmap, void *, start, size_t, length, int, prot, int, flags, int, fd, off_t, offset) libc_hidden_def(mmap)
Bytewerk/uClinux-ipcam
uClibc/libc/sysdeps/linux/vax/mmap.c
C
gpl-2.0
216
// SPDX-License-Identifier: GPL-2.0 #include <linux/seq_file.h> #include <linux/debugfs.h> #include "nitrox_csr.h" #include "nitrox_dev.h" static int firmware_show(struct seq_file *s, void *v) { struct nitrox_device *ndev = s->private; seq_printf(s, "Version: %s\n", ndev->hw.fw_name); return 0; } static int firm...
rneugeba/linux-stable
drivers/crypto/cavium/nitrox/nitrox_debugfs.c
C
gpl-2.0
2,808
/* * QLogic Fibre Channel HBA Driver * Copyright (c) 2003-2014 QLogic Corporation * * See LICENSE.qla2xxx for copyright and licensing details. */ #include "qla_def.h" #include "qla_target.h" #include <linux/kthread.h> #include <linux/vmalloc.h> #include <linux/slab.h> #include <linux/delay.h> static int qla24xx...
BPI-SINOVOIP/BPI-Mainline-kernel
linux-4.19/drivers/scsi/qla2xxx/qla_attr.c
C
gpl-2.0
62,816
// Support for several common scsi like command data block requests // // Copyright (C) 2010 Kevin O'Connor <kevin@koconnor.net> // Copyright (C) 2002 MandrakeSoft S.A. // // This file may be distributed under the terms of the GNU LGPLv3 license. #include "biosvar.h" // GET_GLOBAL #include "util.h" // dprintf #inclu...
rpaleari/qtrace
src/roms/seabios/src/blockcmd.c
C
gpl-2.0
8,651
/* * Revision 1.2 1996/08/20 20:41:32 jaf * Removed all static local variables that were SAVE'd in the Fortran * code, and put them in struct lpc10_decoder_state that is passed as an * argument. * * Removed init function, since all initialization is now done in * init_lpc10_decoder_state(). * * Revision 1....
ipwndev/DSLinux-Mirror
user/sox/src/lpc10/random.c
C
gpl-2.0
2,605
/* Copyright (c) 2007 Scott Lembcke * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish...
Plingot/Chipmunk-iOS-framework
src/cpSpaceQuery.c
C
mit
6,992
/* * linux/kernel/fork.c * * Copyright (C) 1991, 1992 Linus Torvalds */ /* * 'fork.c' contains the help-routines for the 'fork' system call * (see also entry.S and others). * Fork is rather simple, once you get the hang of it, but the memory * management can be a bitch. See 'mm/memory.c': 'copy_page_range(...
CyanHacker-Lollipop/kernel_htc_msm8974
kernel/fork.c
C
gpl-2.0
45,005
/* Copyright (c) 2010-2012, Code Aurora Forum. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the ho...
nazunamoe/Oxygen_united_kernel-gproj
arch/arm/mach-msm/footswitch-8x60.c
C
gpl-2.0
15,973
/* * zoom2.c -- SoC audio for Zoom2 * * Author: Misael Lopez Cruz <x0052729@ti.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. * * This program is distributed in the ...
NamelessRom/android_kernel_samsung_latona
sound/soc/omap/zoom2.c
C
gpl-2.0
16,614
/* * linux/arch/arm/mm/fault.c * * Copyright (C) 1995 Linus Torvalds * Modifications for ARM processor (c) 1995-2004 Russell King * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foun...
BPI-SINOVOIP/BPI-Mainline-kernel
linux-4.19/arch/arm/mm/fault.c
C
gpl-2.0
15,389
/* * The simplest mpeg audio layer 2 encoder * Copyright (c) 2000, 2001 Fabrice Bellard * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * vers...
ghmajx/asuswrt-merlin
release/src/router/ffmpeg/libavcodec/mpegaudioenc.c
C
gpl-2.0
23,656
/* { dg-do compile } */ #define N 64 signed short image[N][N] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__))); signed short block[N][N] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__))); /* Can't do outer-loop vectorization because of non-consecutive access. */ int foo (){ int i,j; int diff = 0; for ...
SanDisk-Open-Source/SSD_Dashboard
uefi/gcc/gcc-4.6.3/gcc/testsuite/gcc.dg/vect/vect-outer-1a.c
C
gpl-2.0
669
/* Copyright (c) 2011-2014, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
iHateWEBos/kernel_htc_m8_LolliSense
drivers/mfd/wcd9xxx-irq.c
C
gpl-2.0
17,967
/* * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
md-5/jdk10
test/hotspot/jtreg/serviceability/jvmti/GetModulesInfo/libJvmtiGetAllModulesTest.c
C
gpl-2.0
2,153
/* linux/arch/arm/mach-msm/board-villec2-wifi.c */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/platform_device.h> #include <linux/delay.h> #include <linux/err.h> #include <asm/mach-types.h> #include <asm/gpio.h> #include <asm/io.h> #include <linux/skbuff.h> #include <linux/wifi_tiwlan.h> #include...
flar2/m7-Sense-5.0.2
arch/arm/mach-msm/board-villec2-wifi.c
C
gpl-2.0
6,958
/* * %CopyrightBegin% * * Copyright Ericsson AB 1998-2016. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
neeraj9/otp
lib/ic/c_src/oe_ei_encode_pid.c
C
apache-2.0
1,294
// // Little cms // Copyright (C) 1998-2010 Marti Maria, Ignacio Ruiz de Conejo // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation //...
Enseed/lcms2
utils/matlab/icctrans.c
C
mit
16,497
/* * * Copyright (c) International Business Machines Corp., 2001 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any l...
liaoqingwei/ltp
testcases/kernel/syscalls/pwrite/pwrite01.c
C
gpl-2.0
9,235
/* * sys.c - pseudo-bus for system 'devices' (cpus, PICs, timers, etc) * * Copyright (c) 2002-3 Patrick Mochel * 2002-3 Open Source Development Lab * * This file is released under the GPLv2 * * This exports a 'system' bus type. * By default, a 'sys' bus gets added to the root of the system. There...
augustayu/fastsocket
kernel/drivers/base/sys.c
C
gpl-2.0
14,747
/* mpz_fdiv_r -- Division rounding the quotient towards -infinity. The remainder gets the same sign as the denominator. Copyright 1994, 1995, 1996, 2001, 2005 Free Software Foundation, Inc. This file is part of the GNU MP Library. The GNU MP Library is free software; you can redistribute it and/or modify it under...
jpflori/mpir
mpz/fdiv_r.c
C
gpl-3.0
1,744
/* Copyright (c) 2007-2008 CSIRO Copyright (c) 2007-2009 Xiph.Org Foundation Written by Jean-Marc Valin */ /* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the...
endlessm/chromium-browser
third_party/opus/src/celt/vq.c
C
bsd-3-clause
12,830
// SPDX-License-Identifier: GPL-2.0-only /* * RTC Driver for X-Powers AC100 * * Copyright (c) 2016 Chen-Yu Tsai * * Chen-Yu Tsai <wens@csie.org> */ #include <linux/bcd.h> #include <linux/clk-provider.h> #include <linux/device.h> #include <linux/interrupt.h> #include <linux/kernel.h> #include <linux/mfd/ac100.h> ...
GuillaumeSeren/linux
drivers/rtc/rtc-ac100.c
C
gpl-2.0
17,357
/* * IPV4 GSO/GRO offload support * Linux INET implementation * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. ...
samnazarko/linux-imx6
net/ipv4/gre_offload.c
C
gpl-2.0
7,156
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) /* Copyright (C) 2017-2018 Netronome Systems, Inc. */ #include <linux/etherdevice.h> #include <linux/inetdevice.h> #include <net/netevent.h> #include <linux/idr.h> #include <net/dst_metadata.h> #include <net/arp.h> #include "cmsg.h" #include "main.h" #include...
koct9i/linux
drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c
C
gpl-2.0
23,679
/* tan.c * * Circular tangent * * * * SYNOPSIS: * * double x, y, tan(); * * y = tan( x ); * * * * DESCRIPTION: * * Returns the circular tangent of the radian argument x. * * Range reduction is modulo pi/4. A rational function * x + x**3 P(x**2)/Q(x**2) * is employed in the basic interva...
ysleu/RTL8685
uClinux-dist/lib/libm/tan.c
C
gpl-2.0
5,831
/* * Copyright (C) 2001 Alan Robertson <alanr@unix.sh> * This software licensed under the GNU LGPL. * * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the...
vmgmedia/pacemaker
replace/unsetenv.c
C
gpl-2.0
1,532
/* PR target/56228 */ /* { dg-do assemble } */ /* { dg-options "-O2" } */ /* { dg-skip-if "accessing program memory with data memory address" { "avr-*-*" } } */ short a[14] = { 1, 2 }; short b[15] = { 3, 4 }; int foo () { void (*fna) (void) = (void (*) (void)) a; void (*fnb) (void) = (void (*) (void)) b; fna ()...
Gurgel100/gcc
gcc/testsuite/gcc.dg/pr56228.c
C
gpl-2.0
357
/* -*- linux-c -*- */ /* * Driver for USB Rio 500 * * Cesar Miquel (miquel@df.uba.ar) * * based on hp_scanner.c by David E. Nelson (dnelson@jump.net) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free So...
ipwndev/DSLinux-Mirror
linux-2.6.x/drivers/usb/misc/rio500.c
C
gpl-2.0
13,159
/* *************************************************************************** * Ralink Tech Inc. * 4F, No. 2 Technology 5th Rd. * Science-based Industrial Park * Hsin-chu, Taiwan, R.O.C. * * (c) Copyright 2002-2010, Ralink Technology, Inc. * * All rights reserved. Ralink's source code is an unpublish...
choushane/MaRa-a1a0a5aNaL
target/linux/rt305x/files/drivers/net/wireless/rt2860v2/common/p2p_action.c
C
gpl-2.0
15,602
/* GStreamer * Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu> * 2005 Wim Taymans <wim@fluendo.com> * * gstossdmabuffer.c: * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the...
jcaden/gst-plugins-good
sys/oss/gstossdmabuffer.c
C
lgpl-2.1
8,320
/* chacha-merged.c version 20080118 D. J. Bernstein Public domain. */ #include <stdint.h> #include <stdlib.h> #include <string.h> #include "utils.h" #include "crypto_stream_chacha20.h" #include "stream_chacha20_ref.h" #include "../stream_chacha20.h" struct chacha_ctx { uint32_t input[16]; }; typedef uint8_...
FuzzyHobbit/libsodium
src/libsodium/crypto_stream/chacha20/ref/stream_chacha20_ref.c
C
isc
9,104
#include "util.h" #include "parse-options.h" #include "cache.h" #include "header.h" #define OPT_SHORT 1 #define OPT_UNSET 2 static int opterror(const struct option *opt, const char *reason, int flags) { if (flags & OPT_SHORT) return error("switch `%c' %s", opt->short_name, reason); if (flags & OPT_UNSET) return...
mericon/Xp_Kernel_LGH850
virt/tools/perf/util/parse-options.c
C
gpl-2.0
16,415
/* * lms283gf05.c -- support for Samsung LMS283GF05 LCD * * Copyright (c) 2009 Marek Vasut <marek.vasut@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #includ...
JijonHyuni/HyperKernel-JB
virt/drivers/video/backlight/lms283gf05.c
C
gpl-2.0
5,030
/* * Copyright (C) 2008-2009 Samsung Electronics * Minkyu Kang <mk7.kang@samsung.com> * Kyungmin Park <kyungmin.park@samsung.com> * * See file CREDITS for list of people who contributed to this * project. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GN...
hujiafu/lpc1788_uboot
u-boot-linux-cortexm-1.10.2/board/samsung/smdkc100/smdkc100.c
C
gpl-2.0
1,387
/* Unix SMB/CIFS implementation. POSIX NTVFS backend - fsinfo Copyright (C) Andrew Tridgell 2004 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, ...
opinkerfi/winexe
source4/ntvfs/posix/pvfs_fsinfo.c
C
gpl-3.0
6,203
/* THIS FILE IS GENERATED. Original: powerpc-isa205-64l.xml */ #include "defs.h" #include "target-descriptions.h" struct target_desc *tdesc_powerpc_isa205_64l; static void initialize_tdesc_powerpc_isa205_64l (void) { struct target_desc *result = allocate_target_description (); struct tdesc_feature *feature; st...
BackupGGCode/propgcc
gdb/gdb/features/rs6000/powerpc-isa205-64l.c
C
gpl-3.0
5,482
/* Simple DirectMedia Layer Copyright (C) 1997-2013 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
michaelmarks/apitest
thirdparty/SDL2-2.0.1/src/test/SDL_test_imageFace.c
C
unlicense
16,716
/*********************************************************************/ /* Copyright 2009, 2010 The University of Texas at Austin. */ /* All rights reserved. */ /* */ /* Redistribution and use in sou...
walkerka/opentoonz
thirdparty/openblas/xianyi-OpenBLAS-e6e87a2/kernel/generic/ztrmm_ltcopy_8.c
C
bsd-3-clause
19,108
/****************************************************************************** * * Module Name: utxface - External interfaces for "global" ACPI functions * *****************************************************************************/ /* * Copyright (C) 2000 - 2005, R. Byron Moore * All rights reserved. * * R...
pengdonglin137/linux-2.6.11
drivers/acpi/utilities/utxface.c
C
gpl-2.0
14,081
/* * Copyright 2013 Red Hat Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, d...
Broadcom/linux-rdma-nxt
drivers/gpu/drm/qxl/qxl_display.c
C
gpl-2.0
34,829
/* Unit tests for GMutex * Copyright (C) 2011 Red Hat, Inc * Author: Matthias Clasen * * This work is provided "as is"; redistribution and modification * in whole or in part, in any medium, physical or electronic is * permitted without restriction. * * This work is distributed in the hope that it will be useful...
FabianKnapp/nexmon
utilities/glib/glib/tests/mutex.c
C
gpl-3.0
5,213
/***************************************************************************** Copyright (c) 2011, Intel Corp. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source cod...
zhmz90/OpenBLAS
lapack-netlib/lapacke/src/lapacke_zgetri.c
C
bsd-3-clause
3,388
/* chesvxx.f -- translated by f2c (version 20061008). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end o...
CreativeCimmons/ORB-SLAM-Android-app
slam_ext/external/clapack-3.2.1-CMAKE/SRC/chesvxx.c
C
gpl-2.0
26,340
/* Copyright (c) 2002,2007-2012, Code Aurora Forum. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in t...
raiy/android_kernel_samsung_msm8660-common-1
drivers/gpu/msm/kgsl_mmu.c
C
gpl-2.0
19,793
/* * check TSC synchronization. * * Copyright (C) 2006, Red Hat, Inc., Ingo Molnar * * We check whether all boot CPUs have their TSC's synchronized, * print a warning if not and turn off the TSC clock-source. * * The warp-check is point-to-point between two CPUs, the CPU * initiating the bootup is the 'source ...
bas-t/linux_media
arch/x86/kernel/tsc_sync.c
C
gpl-2.0
13,045
/***************************************************************************** * stream_output.c : stream output module ***************************************************************************** * Copyright (C) 2002-2007 VLC authors and VideoLAN * $Id$ * * Authors: Christophe Massiot <massiot@via.ecp.fr> * ...
u-stone/vlc
src/stream_output/stream_output.c
C
gpl-2.0
27,293
/* Test mpz_set_d and mpz_init_set_d. Copyright 2000, 2001, 2002, 2003, 2006 Free Software Foundation, Inc. This file is part of the GNU MP Library. The GNU MP Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software...
freedesktop-unofficial-mirror/gstreamer-sdk__gmp
tests/mpz/t-set_d.c
C
gpl-3.0
3,592
// SPDX-License-Identifier: GPL-2.0-or-later /* * Hardware monitoring driver for PMBus devices * * Copyright (c) 2010, 2011 Ericsson AB. */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/err.h> #include <linux/slab.h> #include <linux/mutex.h> #include <linux/i2c.h> #inc...
chenshuo/linux-study
drivers/hwmon/pmbus/pmbus.c
C
gpl-2.0
7,389
// SPDX-License-Identifier: GPL-2.0 /* * SAMA7G5 PMC code. * * Copyright (C) 2020 Microchip Technology Inc. and its subsidiaries * * Author: Claudiu Beznea <claudiu.beznea@microchip.com> * */ #include <linux/clk.h> #include <linux/clk-provider.h> #include <linux/mfd/syscon.h> #include <linux/slab.h> #include <d...
tprrt/linux-stable
drivers/clk/at91/sama7g5.c
C
gpl-2.0
30,168
/* * Copyright (C) 2012 Red Hat, Inc. * * This file is released under the GPL. */ #include "dm-array.h" #include "dm-space-map.h" #include "dm-transaction-manager.h" #include <linux/export.h> #include <linux/device-mapper.h> #define DM_MSG_PREFIX "array" /*-------------------------------------------------------...
chrisy/linux
drivers/md/persistent-data/dm-array.c
C
gpl-2.0
19,895
/******************************************************************* * * Copyright (c) 2000 ATecoM GmbH * * The author may be reached at ecd@atecom.com. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Fre...
eva-oss/linux
drivers/atm/idt77252.c
C
gpl-2.0
91,756
/******************************************************************** * * * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * * GOVERNED BY A BSD-STYLE SOURCE LICENS...
xbmc/atv2
xbmc/cores/paplayer/vorbisfile/libvorbis/lib/lsp.c
C
gpl-2.0
12,344
// SPDX-License-Identifier: GPL-2.0-only /* * LED Flash class driver for the AAT1290 * 1.5A Step-Up Current Regulator for Flash LEDs * * Copyright (C) 2015, Samsung Electronics Co., Ltd. * Author: Jacek Anaszewski <j.anaszewski@samsung.com> */ #include <linux/delay.h> #include <linux/gpio/consumer.h> #include <l...
koct9i/linux
drivers/leds/leds-aat1290.c
C
gpl-2.0
14,649
/* fstat.c -- get status of a file. * * Copyright (C) 2015 FTDI (support@ftdichip.com) * * The authors hereby grant permission to use, copy, modify, distribute, * and license this software and its documentation for any purpose, provided * that existing copyright notices are retained in all copies and that this *...
GarethNelson/Zoidberg
userland/newlib/libgloss/ft32/fstat.c
C
gpl-2.0
1,000
/* * WPA Supplicant - IEEE 802.11r - Fast BSS Transition * Copyright (c) 2006-2007, Jouni Malinen <j@w1.fi> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * Alternatively,...
OpenPANA/openpana
src/wpa_supplicant/src/rsn_supp/wpa_ft.c
C
gpl-3.0
27,613
// SPDX-License-Identifier: GPL-2.0-only /* * * Copyright (c) 2009, Microsoft Corporation. * * Authors: * Haiyang Zhang <haiyangz@microsoft.com> * Hank Janssen <hjanssen@microsoft.com> */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/kernel.h> #include <linux/sched.h> #include <linux/wait.h> ...
koct9i/linux
drivers/hv/connection.c
C
gpl-2.0
12,264
/* * linux/drivers/mmc/core/mmc_ops.h * * Copyright 2006-2007 Pierre Ossman * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) any...
jameshilliard/m8-3.4.0-gb1fa77f
drivers/mmc/core/mmc_ops.c
C
gpl-2.0
11,299
/* The oRTP library is an RTP (Realtime Transport Protocol - rfc1889) stack. Copyright (C) 2001 Simon MORLAT simon.morlat@linphone.org This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation...
scs/uclinux
user/linphone/linphone-3.0.0/oRTP/src/rtptimer.c
C
gpl-2.0
1,198
/****************************************************************************** * * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the ...
bas-t/linux_media
drivers/staging/rtl8188eu/os_dep/osdep_service.c
C
gpl-2.0
2,699
/* Copyright (c) 2012-2016, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope ...
kaneawk/android_kernel_motorola_msm8996
sound/soc/msm/qdsp6v2/msm-pcm-afe-v2.c
C
gpl-2.0
25,509
/* * Code extracted from drivers/block/genhd.c * Copyright (C) 1991-1998 Linus Torvalds * Re-organised Feb 1998 Russell King * * We now have independent partition support from the * block drivers, which allows all the partition code to * be grouped in one location, and it to be mostly self * contained. ...
jallen93/linux-vnic-dbg
block/partition-generic.c
C
gpl-2.0
17,002
/* -*- mode: c; c-basic-offset: 8; -*- * vim: noexpandtab sw=8 ts=8 sts=0: * * super.c * * load/unload driver, mount/dismount volumes * * Copyright (C) 2002, 2004 Oracle. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Publ...
bradfa/linux
fs/ocfs2/super.c
C
gpl-2.0
71,030
/* * Copyright (C) 2015 Eistec AB * * This file is subject to the terms and conditions of the GNU Lesser General * Public License v2.1. See the file LICENSE in the top level directory for more * details. */ /** * @ingroup board_mulle * @{ */ /** * @file * @brief Mulle config module implementation * ...
koenning/RIOT
boards/mulle/board_config.c
C
lgpl-2.1
637
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2015 Free Electrons * Copyright (C) 2015 NextThing Co * * Maxime Ripard <maxime.ripard@free-electrons.com> */ #include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> #include <drm/drm_gem_framebuffer_helper.h> #include <drm/drmP.h> #include "...
koct9i/linux
drivers/gpu/drm/sun4i/sun4i_framebuffer.c
C
gpl-2.0
1,291
/* i2c-core.c - a device driver for the iic-bus interface */ /* ------------------------------------------------------------------------- */ /* Copyright (C) 1995-99 Simon G. Vogl This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License a...
sfumato77/Kernel-4.8_Android-x86_BayTrail
drivers/i2c/i2c-core.c
C
gpl-2.0
93,201
/***************************************************************************** * * XVID MPEG-4 VIDEO CODEC * - Global Motion Estimation - * * Copyright(C) 2003 Christoph Lampert <gruel@web.de> * * This program is free software ; you can redistribute it and/or modify * it under the terms of the GNU General ...
ninetian/ffmpeginstaller
xvidcore/src/motion/estimation_gmc.c
C
apache-2.0
17,044
// SPDX-License-Identifier: GPL-2.0-or-later /* * pseries CPU Hotplug infrastructure. * * Split out from arch/powerpc/platforms/pseries/setup.c * arch/powerpc/kernel/rtas.c, and arch/powerpc/platforms/pseries/smp.c * * Peter Bergner, IBM March 2001. * Copyright (C) 2001 IBM. * Dave Engebretsen, Peter Bergner, ...
rperier/linux-rockchip
arch/powerpc/platforms/pseries/hotplug-cpu.c
C
gpl-2.0
21,001
/* * Generic show_mem() implementation * * Copyright (C) 2008 Johannes Weiner <hannes@saeurebad.de> * All code subject to the GPL version 2. */ #include <linux/mm.h> #include <linux/nmi.h> #include <linux/quicklist.h> void show_mem(unsigned int filter) { pg_data_t *pgdat; unsigned long total = 0, reserved = 0,...
XXLRay/linux-2.6.32-rhel6.x86_64
lib/show_mem.c
C
gpl-2.0
1,447
/* * This is the new netlink-based wireless configuration interface. * * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> */ #include <linux/if.h> #include <linux/module.h> #include <linux/err.h> #include <linux/slab.h> #include <linux/list.h> #include <linux/if_ether.h> #include <linux/ieee80211.h> #...
Toygoon/ToyKernel-Team.TCP_SGS2
net/wireless_ath/nl80211.c
C
gpl-2.0
210,846
HANDLE_OP_X_LONG_2ADDR(OP_DIV_LONG_2ADDR, "div", /, 1) OP_END
gokutek/ReverseKit
vm/mterp/c/OP_DIV_LONG_2ADDR.c
C
unlicense
62
/* * android.c - Setup IPC for shadowsocks-android * * Copyright (C) 2013 - 2015, Max Lv <max.c.lv@gmail.com> * * This file is part of the shadowsocks-libev. * * shadowsocks-libev is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * th...
JerryLeooo/shadowsocks-libev
src/android.c
C
gpl-3.0
2,551
/* * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in ...
dhiru1602/android_kernel_samsung_jf
arch/arm/mach-msm/board-8930-regulator-pm8917.c
C
gpl-2.0
29,601
/* * Detect Hung Task * * kernel/hung_task.c - kernel thread for detecting tasks stuck in D state * */ #include <linux/mm.h> #include <linux/cpu.h> #include <linux/nmi.h> #include <linux/init.h> #include <linux/delay.h> #include <linux/freezer.h> #include <linux/kthread.h> #include <linux/lockdep.h> #include <lin...
rkollataj/linux-can-next
kernel/hung_task.c
C
gpl-2.0
6,068
/* * (C) Copyright 2007-2008 * Stelian Pop <stelian.pop@leadtechdesign.com> * Lead Tech Design <www.leadtechdesign.com> * * See file CREDITS for list of people who contributed to this * project. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Pub...
indashnet/InDashNet.Open.UN2000
lichee/u-boot/board/atmel/at91sam9260ek/led.c
C
apache-2.0
1,242
// SPDX-License-Identifier: GPL-2.0-or-later /* * wm8994-irq.c -- Interrupt controller support for Wolfson WM8994 * * Copyright 2010 Wolfson Microelectronics PLC. * * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/gpio.h> #include...
tprrt/linux-stable
drivers/mfd/wm8994-irq.c
C
gpl-2.0
5,951
/* * Cryptographic API. * * MD4 Message Digest Algorithm (RFC1320). * * Implementation derived from Andrew Tridgell and Steve French's * CIFS MD4 implementation, and the cryptoapi implementation * originally based on the public domain implementation written * by Colin Plumb in 1993. * * Copyright (c) Andrew ...
sigma-random/asuswrt-merlin
release/src-rt-7.x.main/src/linux/linux-2.6.36/crypto/md4.c
C
gpl-2.0
6,242
/* * NET4: Implementation of BSD Unix domain sockets. * * Authors: Alan Cox, <alan@lxorguk.ukuu.org.uk> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the Li...
javelinanddart/android_kernel_lge_hamerhead
net/unix/af_unix.c
C
gpl-2.0
57,406
/* radare - LGPL - Copyright 2008-2015 - pancake */ #include "r_io.h" #include "r_lib.h" #include <stdio.h> #include <stdlib.h> #include <sys/types.h> typedef struct { int fd; ut8 *buf; ut32 size; } RIOMalloc; #define RIOHTTP_FD(x) (((RIOMalloc*)x->data)->fd) #define RIOHTTP_SZ(x) (((RIOMalloc*)x->data)->size) #d...
NaveenBoggarapu/radare2
libr/io/p/io_http.c
C
lgpl-3.0
2,638
/* * Kernel-based Virtual Machine driver for Linux * * derived from drivers/kvm/kvm_main.c * * Copyright (C) 2006 Qumranet, Inc. * Copyright (C) 2008 Qumranet, Inc. * Copyright IBM Corporation, 2008 * Copyright 2010 Red Hat, Inc. and/or its affiliates. * * Authors: * Avi Kivity <avi@qumranet.com> * Ya...
SunliyMonkey/linux
arch/x86/kvm/x86.c
C
gpl-2.0
209,399
/* * vsp1_lut.c -- R-Car VSP1 Look-Up Table * * Copyright (C) 2013 Renesas Corporation * * Contact: Laurent Pinchart (laurent.pinchart@ideasonboard.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free S...
dperezde/little-penguin
linux/drivers/media/platform/vsp1/vsp1_lut.c
C
gpl-2.0
6,521
/* * Conversion table for CP437 charset also known as IBM437 * * Copyright (C) Alexander Bokovoy 2003 * * Conversion tables are generated using GNU libc 2.2.5's * localedata/charmaps/IBM437 table and source/script/gen-8bit-gap.sh script * * This program is free software; you can redistribute it and/or modify...
zarboz/XBMC-PVR-mac
tools/darwin/depends/samba/samba-3.6.6/source3/modules/CP437.c
C
gpl-2.0
6,044
/* * A driver for the PCMCIA Smartcard Reader "Omnikey CardMan Mobile 4000" * * cm4000_cs.c support.linux@omnikey.com * * Tue Oct 23 11:32:43 GMT 2001 herp - cleaned up header files * Sun Jan 20 10:11:15 MET 2002 herp - added modversion header files * Thu Nov 14 16:34:11 GMT 2002 mh - added PPS functio...
tprrt/linux-stable
drivers/char/pcmcia/cm4000_cs.c
C
gpl-2.0
49,076
/* * %CopyrightBegin% * * Copyright Ericsson AB 1998-2009. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
RichMorin/otp
lib/ic/c_src/oe_ei_encode_char.c
C
apache-2.0
1,233
/* GSPCA subdrivers for Genesys Logic webcams with the GL860 chip * Subdriver core * * 2009/09/24 Olivier Lorin <o.lorin@laposte.net> * GSPCA by Jean-Francois Moine <http://moinejf.free.fr> * Thanks BUGabundo and Malmostoso for your amazing help! * * This program is free software; you can redistribute it and/or ...
chaoling/test123
linux-2.6.39/drivers/media/video/gspca/gl860/gl860.c
C
gpl-2.0
19,485
// SPDX-License-Identifier: GPL-2.0-only /* * SH SCI SPI interface * * Copyright (c) 2008 Magnus Damm * * Based on S3C24XX GPIO based SPI driver, which is: * Copyright (c) 2006 Ben Dooks * Copyright (c) 2006 Simtec Electronics */ #include <linux/kernel.h> #include <linux/delay.h> #include <linux/spinlock.h...
CSE3320/kernel-code
linux-5.8/drivers/spi/spi-sh-sci.c
C
gpl-2.0
4,784
// Copyright 2010 Google Inc. All Rights Reserved. // // Use of this source code is governed by a BSD-style license // that can be found in the COPYING file in the root of the source // tree. An additional intellectual property rights grant can be found // in the file PATENTS. All contributing project authors may // be...
OlehKulykov/iOS-Categories-OK
thirdpartylibs/libwebp/src/dec/webp.c
C
mit
29,406
/* arg.c - argument parser */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 2003,2004,2005,2007,2008 Free Software Foundation, Inc. * * GRUB is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation...
efidroid/uefi_edk2packages_GrubFSPkg
grub/grub-core/lib/arg.c
C
gpl-3.0
9,708
/******************************************************************************* * This file contains the configfs implementation for iSCSI Target mode * from the LIO-Target Project. * * \u00a9 Copyright 2007-2011 RisingTide Systems LLC. * * Licensed to the Linux Foundation under the General Public License (GPL) ...
talnoah/android_kernel_htc_dlx
virt/drivers/target/iscsi/iscsi_target_configfs.c
C
gpl-2.0
51,922
/* * Xen mmu operations * * This file contains the various mmu fetch and update operations. * The most important job they must perform is the mapping between the * domain's pfn and the overall machine mfns. * * Xen allows guests to directly update the pagetable, in a controlled * fashion. In other words, the g...
jiangweifeng04/linux_kernel_2_6_32
linux-2.6.32.61/arch/x86/xen/mmu.c
C
gpl-2.0
50,508
/* ELF strtab with GC and suffix merging support. Copyright (C) 2001-2015 Free Software Foundation, Inc. Written by Jakub Jelinek <jakub@redhat.com>. This file is part of BFD, the Binary File Descriptor library. This program is free software; you can redistribute it and/or modify it under the terms of ...
selmentdev/selment-toolchain
source/binutils-latest/bfd/elf-strtab.c
C
gpl-3.0
10,311
/** * Copyright (C) ARM Limited 2011-2014. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * */ #include <linux/cpufreq.h> #include <trace/events/power.h...
lokeshjindal15/pd-gem5
kernel_dvfs/linux-linaro-tracking-gem5/drivers/gator/gator_trace_power.c
C
bsd-3-clause
4,868
/* * PXA2xx SPI DMA engine support. * * Copyright (C) 2013, Intel Corporation * Author: Mika Westerberg <mika.westerberg@linux.intel.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software ...
shakalaca/ASUS_ZenFone_A500CG_A600CG
linux/kernel/drivers/spi/spi-pxa2xx-dma.c
C
gpl-2.0
10,118
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2016, NVIDIA Corporation */ #include <linux/clk.h> #include <linux/module.h> #include <linux/of_device.h> #include <linux/reset.h> #include <linux/usb/chipidea.h> #include "ci.h" struct tegra_udc { struct ci_hdrc_platform_data data; struct platform_device *...
BPI-SINOVOIP/BPI-Mainline-kernel
linux-4.19/drivers/usb/chipidea/ci_hdrc_tegra.c
C
gpl-2.0
3,539
/* * Copyright 2008 * Guennadi Liakhovetski, DENX Software Engineering, <lg@denx.de> * * This file is subject to the terms and conditions of version 2 of * the GNU General Public License. See the file COPYING in the main * directory of this archive for more details. * * LED driver for the DAC124S085 SPI DAC *...
go2ev-devteam/Gplus_2159_0801
openplatform/sdk/os/kernel-2.6.32/drivers/leds/leds-dac124s085.c
C
gpl-2.0
3,448
/* * RTC subsystem, sysfs interface * * Copyright (C) 2005 Tower Technologies * Author: Alessandro Zummo <a.zummo@towertech.it> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation...
ashleyjune/SM-G360T1_kernel
drivers/rtc/rtc-sysfs.c
C
gpl-2.0
6,982
/* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-vrp1" } */ unsigned foo (unsigned i) { if (i == 2) { i = i << 2; if (i != 8) link_error (); } return i; } unsigned bar (unsigned i) { if (i == 1 << (sizeof (unsigned) * 8 - 1)) { i = i << 1; if (i != 0) link_error (); ...
RenderBroken/GCC-UBER
gcc/testsuite/gcc.dg/tree-ssa/vrp67.c
C
gpl-2.0
617
// SPDX-License-Identifier: GPL-2.0-or-later /* AFS volume management * * Copyright (C) 2002, 2007 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) */ #include <linux/kernel.h> #include <linux/slab.h> #include "internal.h" unsigned __read_mostly afs_volume_gc_delay = 10; unsigne...
CSE3320/kernel-code
linux-5.8/fs/afs/volume.c
C
gpl-2.0
10,494
#include <stdio.h> #include <winpr/crt.h> #include <winpr/asn1.h> #include <winpr/winpr.h> int TestAsn1Decode(int argc, char* argv[]) { return 0; }
tc-anssi/FreeRDP
winpr/libwinpr/asn1/test/TestAsn1Decode.c
C
apache-2.0
152