repo_name string | path string | copies string | size string | content string | license string |
|---|---|---|---|---|---|
marioaugustorama/linux | arch/arm/mach-orion5x/tsx09-common.c | 419 | 2548 | /*
* QNAP TS-x09 Boards common functions
*
* Maintainers: Lennert Buytenhek <buytenh@marvell.com>
* Byron Bradley <byron.bbradley@gmail.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 Software Founda... | gpl-2.0 |
mir-ror/linux-yocto-dev | drivers/net/ethernet/mellanox/mlx5/core/port.c | 419 | 3035 | /*
* Copyright (c) 2013, Mellanox Technologies inc. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of th... | gpl-2.0 |
again4you/linux | block/blk-exec.c | 675 | 3273 | /*
* Functions related to setting various queue properties from drivers
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/bio.h>
#include <linux/blkdev.h>
#include <linux/blk-mq.h>
#include <linux/sched/sysctl.h>
#include "blk.h"
/*
* for max sense size
*/
#include <scsi/scsi_cmnd.h>
/**
* ... | gpl-2.0 |
glewarne/S6-UniBase | net/netfilter/interceptor/debug_linux.c | 931 | 1092 | /**
@copyright
Copyright (c) 2011 - 2013, INSIDE Secure Oy. All rights reserved.
*/
#include "implementation_defs.h"
#include "debug_filter.h"
#include <linux/module.h>
int vprintk(const char *fmt, va_list args);
extern void
assert_outputf(
const char *condition,
const char *file,
int l... | gpl-2.0 |
MinimalOS/android_kernel_moto_shamu | arch/s390/kvm/priv.c | 1443 | 16147 | /*
* handling privileged instructions
*
* Copyright IBM Corp. 2008
*
* This program 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 Software Foundation.
*
* Author(s): Carsten Otte <cotte@de.ibm.com>
... | gpl-2.0 |
denggww123/IMX6_DB_Kernel_3.0.35 | drivers/w1/w1.c | 1699 | 26216 | /*
* w1.c
*
* Copyright (c) 2004 Evgeniy Polyakov <johnpol@2ka.mipt.ru>
*
*
* 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 la... | gpl-2.0 |
fourthwall/GT-N7000-ICS-3.0.y | arch/arm/mach-s3c2412/mach-vstms.c | 2979 | 3547 | /* linux/arch/arm/mach-s3c2412/mach-vstms.c
*
* (C) 2006 Thomas Gleixner <tglx@linutronix.de>
*
* Derived from mach-smdk2413.c - (C) 2006 Simtec Electronics
*
* 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... | gpl-2.0 |
sktjdgns1189/android_kernel_pantech_ef63l-cm | drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 3235 | 334919 | /* bnx2x_main.c: Broadcom Everest network driver.
*
* Copyright (c) 2007-2012 Broadcom Corporation
*
* 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.
*
* Maintained by: Eilon Greenstein <... | gpl-2.0 |
pranaysahith/android_kernel_msm_beni | drivers/input/keyboard/imx_keypad.c | 4003 | 16362 | /*
* Driver for the IMX keypad port.
* Copyright (C) 2009 Alberto Panizzo <maramaopercheseimorto@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.
*
* <<Power manage... | gpl-2.0 |
AODP/android_kernel_asus_moorefield | arch/sh/mm/tlbflush_64.c | 4515 | 3604 | /*
* arch/sh/mm/tlb-flush_64.c
*
* Copyright (C) 2000, 2001 Paolo Alberelli
* Copyright (C) 2003 Richard Curnow (/proc/tlb, bug fixes)
* Copyright (C) 2003 - 2012 Paul Mundt
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory ... | gpl-2.0 |
tobigun/samsung-kernel-smg800y | arch/arm/mach-realview/hotplug.c | 4515 | 2630 | /*
* linux/arch/arm/mach-realview/hotplug.c
*
* Copyright (C) 2002 ARM Ltd.
* 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/kerne... | gpl-2.0 |
kamma/ace_kernel | arch/sparc/kernel/muldiv.c | 4771 | 5820 | /*
* muldiv.c: Hardware multiply/division illegal instruction trap
* for sun4c/sun4 (which do not have those instructions)
*
* Copyright (C) 1996 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
* Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
*
* 2004-12-25 Krzysztof Helt (krzysztof.h1@wp.pl)
* - fixed r... | gpl-2.0 |
nbr11/android_kernel_lge_hammerhead | net/netfilter/ipvs/ip_vs_proto.c | 4771 | 8990 | /*
* ip_vs_proto.c: transport protocol load balancing support for IPVS
*
* Authors: Wensong Zhang <wensong@linuxvirtualserver.org>
* Julian Anastasov <ja@ssi.bg>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Gen... | gpl-2.0 |
rootbalance/Kernel_source_jfltexx | drivers/input/mouse/pxa930_trkball.c | 5027 | 6405 | /*
* PXA930 track ball mouse driver
*
* Copyright (C) 2007 Marvell International Ltd.
* 2008-02-28: Yong Yao <yaoyong@marvell.com>
* initial version
*
* 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
* publ... | gpl-2.0 |
AMohseni76/Prime_Kernel | drivers/input/keyboard/pxa930_rotary.c | 5027 | 4679 | /*
* Driver for the enhanced rotary controller on pxa930 and pxa935
*
* 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/kernel.h>
#include <linux/module.h>
#inc... | gpl-2.0 |
Sudokamikaze/XKernel-taoshan | drivers/media/dvb/frontends/dvb-pll.c | 5027 | 20509 | /*
* descriptions + helper functions for simple dvb plls.
*
* (c) 2004 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]
*
* 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... | gpl-2.0 |
h8rift/android_kernel_htc_apq8064 | arch/powerpc/platforms/cell/axon_msi.c | 7331 | 11916 | /*
* Copyright 2007, Michael Ellerman, IBM Corporation.
*
* 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.
*/
#i... | gpl-2.0 |
TheTypoMaster/ghost | fs/sysfs/bin.c | 7843 | 10980 | /*
* fs/sysfs/bin.c - sysfs binary file implementation
*
* Copyright (c) 2003 Patrick Mochel
* Copyright (c) 2003 Matthew Wilcox
* Copyright (c) 2004 Silicon Graphics, Inc.
* Copyright (c) 2007 SUSE Linux Products GmbH
* Copyright (c) 2007 Tejun Heo <teheo@suse.de>
*
* This file is released under the GPLv2.
*... | gpl-2.0 |
gabry3795/android_kernel_huawei_mt7_l09 | arch/parisc/lib/memset.c | 14243 | 2442 | /* Copyright (C) 1991, 1997 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C 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... | gpl-2.0 |
coredumb/linux-grsecurity | sound/soc/soc-core.c | 164 | 120379 | /*
* soc-core.c -- ALSA SoC Audio Layer
*
* Copyright 2005 Wolfson Microelectronics PLC.
* Copyright 2005 Openedhand Ltd.
* Copyright (C) 2010 Slimlogic Ltd.
* Copyright (C) 2010 Texas Instruments Inc.
*
* Author: Liam Girdwood <lrg@slimlogic.co.uk>
* with code, comments and ideas from :-
* ... | gpl-2.0 |
prototype-U/Hells-Fusion-SGYD | arch/arm/mach-omap2/omap-iommu.c | 676 | 3455 | /*
* omap iommu: omap device registration
*
* Copyright (C) 2008-2009 Nokia Corporation
*
* Written by Hiroshi DOYU <Hiroshi.DOYU@nokia.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 Softw... | gpl-2.0 |
MojieBuddhist/linux | drivers/power/apm_power.c | 1956 | 10386 | /*
* Copyright © 2007 Anton Vorontsov <cbou@mail.ru>
* Copyright © 2007 Eugeny Boger <eugenyboger@dgap.mipt.ru>
*
* Author: Eugeny Boger <eugenyboger@dgap.mipt.ru>
*
* Use consistent with the GNU GPL is permitted,
* provided that this copyright notice is
* preserved in its entirety in all copies and derived wor... | gpl-2.0 |
TheTypoMaster/android_kernel_htc_a31ul | drivers/vlynq/vlynq.c | 2468 | 19737 | /*
* Copyright (C) 2006, 2007 Eugene Konev <ejka@openwrt.org>
*
* 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.
*... | gpl-2.0 |
defreez/thesis-ics-kernel | arch/blackfin/kernel/traps.c | 2980 | 16057 | /*
* Main exception handling logic.
*
* Copyright 2004-2010 Analog Devices Inc.
*
* Licensed under the GPL-2 or later
*/
#include <linux/bug.h>
#include <linux/uaccess.h>
#include <linux/module.h>
#include <asm/traps.h>
#include <asm/cplb.h>
#include <asm/blackfin.h>
#include <asm/irq_handler.h>
#include <linux/... | gpl-2.0 |
ronasimi/aosp-kernel_lge_geeb | sound/soc/blackfin/bf5xx-ssm2602.c | 4772 | 4141 | /*
* File: sound/soc/blackfin/bf5xx-ssm2602.c
* Author: Cliff Cai <Cliff.Cai@analog.com>
*
* Created: Tue June 06 2008
* Description: board driver for SSM2602 sound chip
*
* Modified:
* Copyright 2008 Analog Devices Inc.
*
* Bugs: Enter bugs at http://blackfin.uclinux... | gpl-2.0 |
ffolkes/android_kernel_samsung_smdk4412 | arch/powerpc/platforms/pasemi/pci.c | 4772 | 5727 | /*
* Copyright (C) 2006 PA Semi, Inc
*
* Authors: Kip Walker, PA Semi
* Olof Johansson, PA Semi
*
* Maintained by: Olof Johansson <olof@lixom.net>
*
* Based on arch/powerpc/platforms/maple/pci.c
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Gener... | gpl-2.0 |
C-Aniruddh/Axiom_totoro | arch/sh/kernel/dwarf.c | 10916 | 30049 | /*
* Copyright (C) 2009 Matt Fleming <matt@console-pimps.org>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* This is an implementation of a DWARF unwinder. Its main purpose is
* for g... | gpl-2.0 |
3EleVen/kernel_common | sound/synth/emux/emux_hwdep.c | 11940 | 3731 | /*
* Interface for hwdep device
*
* Copyright (C) 2004 Takashi Iwai <tiwai@suse.de>
*
* 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 ... | gpl-2.0 |
touchpro/android_kernel_lge_msm8226 | arch/alpha/lib/fls.c | 11940 | 1117 | /*
* arch/alpha/lib/fls.c
*/
#include <linux/module.h>
#include <linux/bitops.h>
/* This is fls(x)-1, except zero is held to zero. This allows most
efficient input into extbl, plus it allows easy handling of fls(0)=0. */
const unsigned char __flsm1_tab[256] =
{
0,
0,
1, 1,
2, 2, 2, 2,
3, 3, 3, 3, ... | gpl-2.0 |
intervigilium/android_kernel_htc_msm8660 | arch/alpha/kernel/err_titan.c | 11940 | 23439 | /*
* linux/arch/alpha/kernel/err_titan.c
*
* Copyright (C) 2000 Jeff Wiedemeier (Compaq Computer Corporation)
*
* Error handling code supporting TITAN systems
*/
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/sched.h>
#include <asm/io.h>
#include <asm/core_titan.h>
#include <asm/hwrpb.h>
#includ... | gpl-2.0 |
kevinzhang1986/android_kernel_oneplus_msm8994 | fs/isofs/util.c | 13476 | 2441 | /*
* linux/fs/isofs/util.c
*/
#include "isofs.h"
/*
* We have to convert from a MM/DD/YY format to the Unix ctime format.
* We have to take into account leap years and all of that good stuff.
* Unfortunately, the kernel does not have the information on hand to
* take into account daylight savings time, but it... | gpl-2.0 |
SdtBarbarossa/kernel-m8qlul | arch/m32r/lib/usercopy.c | 13732 | 9059 | /*
* User address space access functions.
* The non inlined parts of asm-m32r/uaccess.h are here.
*
* Copyright 1997 Andi Kleen <ak@muc.de>
* Copyright 1997 Linus Torvalds
* Copyright 2001, 2002, 2004 Hirokazu Takata
*/
#include <linux/prefetch.h>
#include <linux/string.h>
#include <linux/thread_info.h>
#include... | gpl-2.0 |
silverbullettechnology/linux-adi | drivers/dma/acpi-dma.c | 165 | 12612 | /*
* ACPI helpers for DMA request / controller
*
* Based on of-dma.c
*
* Copyright (C) 2013, Intel Corporation
* Authors: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
* Mika Westerberg <mika.westerberg@linux.intel.com>
*
* This program is free software; you can redistribute it and/or modify
* it un... | gpl-2.0 |
thicklizard/m9-patches | net/bluetooth/lib.c | 165 | 2979 | /*
BlueZ - Bluetooth protocol stack for Linux
Copyright (C) 2000-2001 Qualcomm Incorporated
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.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 t... | gpl-2.0 |
bbedward/ZenKernel_G920 | drivers/usb/serial/usb-serial.c | 677 | 40918 | /*
* USB Serial Converter driver
*
* Copyright (C) 2009 - 2013 Johan Hovold (jhovold@gmail.com)
* Copyright (C) 1999 - 2012 Greg Kroah-Hartman (greg@kroah.com)
* Copyright (C) 2000 Peter Berger (pberger@brimson.com)
* Copyright (C) 2000 Al Borchers (borchers@steinerpoint.com)
*
* This program is free software; ... | gpl-2.0 |
necioerrante/kernel | fs/ecryptfs/file.c | 933 | 10940 | /**
* eCryptfs: Linux filesystem encryption layer
*
* Copyright (C) 1997-2004 Erez Zadok
* Copyright (C) 2001-2004 Stony Brook University
* Copyright (C) 2004-2007 International Business Machines Corp.
* Author(s): Michael A. Halcrow <mhalcrow@us.ibm.com>
* Michael C. Thompson <mcthomps@us.ibm.com>
*
* T... | gpl-2.0 |
johnhubbard/pnotify-linux-3.12.20 | drivers/mtd/maps/physmap.c | 933 | 6936 | /*
* Normal mappings of chips in physical memory
*
* Copyright (C) 2003 MontaVista Software Inc.
* Author: Jun Sun, jsun@mvista.com or jsun@junsun.net
*
* 031022 - [jsun] add run-time configure and partition setup
*/
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/in... | gpl-2.0 |
bryan2894/D851_Kernel | drivers/char/rdbg.c | 1701 | 30244 | /*
* Copyright (c) 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 the h... | gpl-2.0 |
davidmueller13/android_kernel_lge_msm8974 | drivers/char/rdbg.c | 1701 | 30244 | /*
* Copyright (c) 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 the h... | gpl-2.0 |
drowningchild/msm-2.6.38 | drivers/net/ibm_newemac/debug.c | 3493 | 7498 | /*
* drivers/net/ibm_newemac/debug.c
*
* Driver for PowerPC 4xx on-chip ethernet controller, debug print routines.
*
* Copyright 2007 Benjamin Herrenschmidt, IBM Corp.
* <benh@kernel.crashing.org>
*
* Based on the arch/ppc version of the driver:
*
* Copyright (c) 2004, 2005 Zultys Technologies
... | gpl-2.0 |
MoKee/android_kernel_oppo_find5 | arch/x86/kernel/cpu/common.c | 4005 | 31731 | #include <linux/bootmem.h>
#include <linux/linkage.h>
#include <linux/bitops.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/percpu.h>
#include <linux/string.h>
#include <linux/delay.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/kgdb.h>
#include <linux/smp.h>
#include <linux... | gpl-2.0 |
profglavcho/test | drivers/macintosh/windfarm_pm112.c | 4261 | 18443 | /*
* Windfarm PowerMac thermal control.
* Control loops for machines with SMU and PPC970MP processors.
*
* Copyright (C) 2005 Paul Mackerras, IBM Corp. <paulus@samba.org>
* Copyright (C) 2006 Benjamin Herrenschmidt, IBM Corp.
*
* Use and redistribute under the terms of the GNU GPL v2.
*/
#include <linux/types.h... | gpl-2.0 |
jthatch12/SKJT | arch/arm/mach-s3c64xx/setup-ide.c | 8101 | 1223 | /* linux/arch/arm/mach-s3c64xx/setup-ide.c
*
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* S3C64XX setup information for IDE
*
* 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
* publish... | gpl-2.0 |
billchen1977/kernel_sony_msm8x60 | drivers/input/joystick/magellan.c | 9893 | 5973 | /*
* Copyright (c) 1999-2001 Vojtech Pavlik
*/
/*
* Magellan and Space Mouse 6dof controller driver for Linux
*/
/*
* 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 ... | gpl-2.0 |
arnavgosain/android_kernel_sony_msm8x27 | arch/alpha/kernel/core_lca.c | 11941 | 14094 | /*
* linux/arch/alpha/kernel/core_lca.c
*
* Written by David Mosberger (davidm@cs.arizona.edu) with some code
* taken from Dave Rusling's (david.rusling@reo.mts.dec.com) 32-bit
* bios code.
*
* Code common to all LCA core logic chips.
*/
#define __EXTERN_INLINE inline
#include <asm/io.h>
#include <asm/core_lca... | gpl-2.0 |
SlimForce/kernel_lge_hammerhead | arch/alpha/kernel/core_mcpcia.c | 11941 | 16130 | /*
* linux/arch/alpha/kernel/core_mcpcia.c
*
* Based on code written by David A Rusling (david.rusling@reo.mts.dec.com).
*
* Code common to all MCbus-PCI Adaptor core logic chipsets
*/
#define __EXTERN_INLINE inline
#include <asm/io.h>
#include <asm/core_mcpcia.h>
#undef __EXTERN_INLINE
#include <linux/types.h>... | gpl-2.0 |
SlimRoms/kernel_lge_hammerhead | tools/perf/util/run-command.c | 12197 | 4121 | #include "cache.h"
#include "run-command.h"
#include "exec_cmd.h"
static inline void close_pair(int fd[2])
{
close(fd[0]);
close(fd[1]);
}
static inline void dup_devnull(int to)
{
int fd = open("/dev/null", O_RDWR);
dup2(fd, to);
close(fd);
}
int start_command(struct child_process *cmd)
{
int need_in, need_out... | gpl-2.0 |
RomanHargrave/pf-kernel | net/netfilter/xt_state.c | 12709 | 2008 | /* Kernel module to match connection tracking information. */
/* (C) 1999-2001 Paul `Rusty' Russell
* (C) 2002-2005 Netfilter Core Team <coreteam@netfilter.org>
*
* 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 ... | gpl-2.0 |
thepasto/kernel_acer_salsa | arch/mips/sgi-ip32/ip32-setup.c | 13477 | 2405 | /*
* IP32 basic setup
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2000 Harald Koerfgen
* Copyright (C) 2002, 2003, 2005 Ilya A. Volynets
* Copyright (C) 2006 Ralf Ba... | gpl-2.0 |
leshak/i5700-leshak-kernel | fs/char_dev.c | 166 | 13526 | /*
* linux/fs/char_dev.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*/
#include <linux/init.h>
#include <linux/fs.h>
#include <linux/kdev_t.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/major.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/smp_lock.h>
#include <lin... | gpl-2.0 |
sudipm-mukherjee/parport | arch/alpha/lib/udelay.c | 678 | 1143 | /*
* Copyright (C) 1993, 2000 Linus Torvalds
*
* Delay routines, using a pre-computed "loops_per_jiffy" value.
*/
#include <linux/module.h>
#include <linux/sched.h> /* for udelay's use of smp_processor_id */
#include <asm/param.h>
#include <asm/smp.h>
#include <linux/delay.h>
/*
* Use only for very small delays ... | gpl-2.0 |
pavgup/WRT1900AC | target/linux/ar71xx/files/arch/mips/ath79/mach-whr-hp-g300n.c | 678 | 4125 | /*
* Buffalo WHR-HP-G300N board support
*
* based on ...
*
* TP-LINK TL-WR741ND board support
*
* Copyright (C) 2009-2010 Gabor Juhos <juhosg@openwrt.org>
*
* 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 publishe... | gpl-2.0 |
mukulsoni/android_kernel_samsung_ms013g-1 | drivers/usb/core/urb.c | 2726 | 28965 | #include <linux/module.h>
#include <linux/string.h>
#include <linux/bitops.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/log2.h>
#include <linux/usb.h>
#include <linux/wait.h>
#include <linux/usb/hcd.h>
#define to_urb(d) container_of(d, struct urb, kref)
static void urb_destroy(struct kref *kref... | gpl-2.0 |
BanBxda/Linux-3.0.X | drivers/of/irq.c | 2726 | 10923 | /*
* Derived from arch/i386/kernel/irq.c
* Copyright (C) 1992 Linus Torvalds
* Adapted from arch/i386 by Gary Thomas
* Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
* Updated and modified by Cort Dougan <cort@fsmlabs.com>
* Copyright (C) 1996-2001 Cort Dougan
* Adapted for Power Macintosh b... | gpl-2.0 |
sbreen94/Zeus_d2spr | arch/sh/kernel/setup.c | 2726 | 7930 | /*
* arch/sh/kernel/setup.c
*
* This file handles the architecture-dependent parts of initialization
*
* Copyright (C) 1999 Niibe Yutaka
* Copyright (C) 2002 - 2010 Paul Mundt
*/
#include <linux/screen_info.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/initrd.h>
#include <linux/bootmem.... | gpl-2.0 |
zeroprobe/ZeroGolf-Overclocked | kernel/sched_stoptask.c | 2726 | 2148 | /*
* stop-task scheduling class.
*
* The stop task is the highest priority task in the system, it preempts
* everything and will be preempted by nothing.
*
* See kernel/stop_machine.c
*/
#ifdef CONFIG_SMP
static int
select_task_rq_stop(struct task_struct *p, int sd_flag, int flags)
{
return task_cpu(p); /* sto... | gpl-2.0 |
4u2ore/memul-aurora | drivers/ata/libata-eh.c | 3238 | 108312 | /*
* libata-eh.c - libata error handling
*
* Maintained by: Jeff Garzik <jgarzik@pobox.com>
* Please ALWAYS copy linux-ide@vger.kernel.org
* on emails.
*
* Copyright 2006 Tejun Heo <htejun@gmail.com>
*
*
* This program is free software; you can redistribute it and/or
* modify it under the... | gpl-2.0 |
FreonRoms/freon_kernel_samsung_d2 | drivers/usb/gadget/tcm_usb_gadget.c | 3494 | 2970 | /* Target based USB-Gadget Function
*
* UAS protocol handling, target callbacks, configfs handling,
* BBB (USB Mass Storage Class Bulk-Only (BBB) and Transport protocol handling.
*
* Author: Sebastian Andrzej Siewior <bigeasy at linutronix dot de>
* License: GPLv2 as published by FSF.
*/
#include <linux/init.h>... | gpl-2.0 |
CyanideL/android_kernel_lge_g3 | drivers/tty/serial/sunsab.c | 4262 | 30015 | /* sunsab.c: ASYNC Driver for the SIEMENS SAB82532 DUSCC.
*
* Copyright (C) 1997 Eddie C. Dost (ecd@skynet.be)
* Copyright (C) 2002, 2006 David S. Miller (davem@davemloft.net)
*
* Rewrote buffer handling to use CIRC(Circular Buffer) macros.
* Maxim Krasnyanskiy <maxk@qualcomm.com>
*
* Fixed to use tty_get_... | gpl-2.0 |
SiddheshK15/android_kernel_cyanogen_msm8916 | drivers/ide/sis5513.c | 4518 | 18494 | /*
* Copyright (C) 1999-2000 Andre Hedrick <andre@linux-ide.org>
* Copyright (C) 2002 Lionel Bouton <Lionel.Bouton@inet6.fr>, Maintainer
* Copyright (C) 2003 Vojtech Pavlik <vojtech@suse.cz>
* Copyright (C) 2007-2009 Bartlomiej Zolnierkiewicz
*
* May be copied or modified under the terms of the GNU General Publ... | gpl-2.0 |
Grace5921/android_kernel_kylevexx | scripts/kconfig/symbol.c | 4774 | 27852 | /*
* Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
* Released under the terms of the GNU GPL v2.0.
*/
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include <regex.h>
#include <sys/utsname.h>
#include "lkc.h"
struct symbol symbol_yes = {
.name = "y",
.curr = { "y", yes },
.flags = SYMBOL... | gpl-2.0 |
pacerom/kernel_google_msm | drivers/staging/omapdrm/omap_drv.c | 4774 | 21092 | /*
* drivers/staging/omapdrm/omap_drv.c
*
* Copyright (C) 2011 Texas Instruments
* Author: Rob Clark <rob@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 p... | gpl-2.0 |
Tomoms/android_kernel_sony_msm8x60 | fs/nfs/objlayout/objlayout.c | 4774 | 20449 | /*
* pNFS Objects layout driver high level definitions
*
* Copyright (C) 2007 Panasas Inc. [year of first publication]
* All rights reserved.
*
* Benny Halevy <bhalevy@panasas.com>
* Boaz Harrosh <bharrosh@panasas.com>
*
* This program is free software; you can redistribute it and/or modify
* it under ... | gpl-2.0 |
CyanogenMod/android_kernel_htc_msm8960 | drivers/staging/media/easycap/easycap_low.c | 5030 | 24963 | /*****************************************************************************
* *
* *
* easycap_low.c *
* ... | gpl-2.0 |
simar7/singhdroid | kernel/drivers/media/dvb/dvb-usb/dvb-usb-dvb.c | 5030 | 8081 | /* dvb-usb-dvb.c is part of the DVB USB library.
*
* Copyright (C) 2004-6 Patrick Boettcher (patrick.boettcher@desy.de)
* see dvb-usb-init.c for copyright information.
*
* This file contains functions for initializing and handling the
* linux-dvb API.
*/
#include "dvb-usb-common.h"
/* does the complete input tr... | gpl-2.0 |
Desterly/android_kernel_motorola_msm8994 | arch/ia64/sn/kernel/sn2/sn2_smp.c | 7334 | 15742 | /*
* SN2 Platform specific SMP Support
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2000-2006 Silicon Graphics, Inc. All rights reserved.
*/
#include <linux/init.h>
#... | gpl-2.0 |
davros-/elite_kernel_jf | arch/ia64/sn/kernel/sn2/sn2_smp.c | 7334 | 15742 | /*
* SN2 Platform specific SMP Support
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2000-2006 Silicon Graphics, Inc. All rights reserved.
*/
#include <linux/init.h>
#... | gpl-2.0 |
h0tw1r3/kernel_samsung_sghi717 | drivers/block/mg_disk.c | 8358 | 26577 | /*
* drivers/block/mg_disk.c
*
* Support for the mGine m[g]flash IO mode.
* Based on legacy hd.c
*
* (c) 2008 mGine Co.,LTD
* (c) 2008 unsik Kim <donari75@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 a... | gpl-2.0 |
balika011/android_kernel_lenovo_spark | arch/x86/mm/kmemcheck/opcode.c | 12710 | 1920 | #include <linux/types.h>
#include "opcode.h"
static bool opcode_is_prefix(uint8_t b)
{
return
/* Group 1 */
b == 0xf0 || b == 0xf2 || b == 0xf3
/* Group 2 */
|| b == 0x2e || b == 0x36 || b == 0x3e || b == 0x26
|| b == 0x64 || b == 0x65
/* Group 3 */
|| b == 0x66
/* Group 4 */
|| b == 0x67;
}
#ifde... | gpl-2.0 |
110440/fastsocket | kernel/sound/isa/gus/gus_mixer.c | 13734 | 6149 | /*
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
* Routines for control of ICS 2101 chip and "mixer" in GF1 chip
*
*
* 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 v... | gpl-2.0 |
TeamWin/android_kernel_samsung_goyave | sound/pci/au88x0/au88x0_a3ddata.c | 15014 | 2908 | /***************************************************************************
* au88x0_a3ddata.c
*
* Wed Nov 19 21:11:32 2003
* Copyright 2003 mjander
* mjander@users.sourceforge.org
****************************************************************************/
/*
* This program is free software;... | gpl-2.0 |
shirishpargaonkar/cifsclient | drivers/staging/iio/accel/lis3l02dq_ring.c | 423 | 10478 | #include <linux/interrupt.h>
#include <linux/gpio.h>
#include <linux/mutex.h>
#include <linux/kernel.h>
#include <linux/spi/spi.h>
#include <linux/slab.h>
#include <linux/export.h>
#include <linux/iio/iio.h>
#include <linux/iio/kfifo_buf.h>
#include <linux/iio/trigger.h>
#include <linux/iio/trigger_consumer.h>
#includ... | gpl-2.0 |
CTCaer/CTCaer-ICS-Xperia2011 | drivers/net/hamradio/6pack.c | 423 | 24736 | /*
* 6pack.c This module implements the 6pack protocol for kernel-based
* devices like TTY. It interfaces between a raw TTY and the
* kernel's AX.25 protocol layers.
*
* Authors: Andreas Könsgen <ajk@comnets.uni-bremen.de>
* Ralf Baechle DL5RB <ralf@linux-mips.org>
*
* Quite a lot of stuff "stole... | gpl-2.0 |
cherifyass/s4-gpe-kernel | sound/soc/msm/msm-multi-ch-pcm-q6.c | 679 | 24397 | /* Copyright (c) 2011-2012, 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... | gpl-2.0 |
shuiziliuBUPT/linuxkernel | drivers/usb/atm/usbatm.c | 1191 | 36538 | /******************************************************************************
* usbatm.c - Generic USB xDSL driver core
*
* Copyright (C) 2001, Alcatel
* Copyright (C) 2003, Duncan Sands, SolNegro, Josep Comas
* Copyright (C) 2004, David Woodhouse, Roman Kagan
*
* This program is free software; you can re... | gpl-2.0 |
TeamRefuse/android_kernel_samsung_dempsey | arch/arm/mach-at91/board-usb-a9263.c | 1447 | 5692 | /*
* linux/arch/arm/mach-at91/board-usb-a9263.c
*
* Copyright (C) 2005 SAN People
* Copyright (C) 2007 Atmel Corporation.
* Copyright (C) 2007 Calao-systems
*
* 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 F... | gpl-2.0 |
Ander-Alvarez/UltraKernel | kernel/relay.c | 1959 | 33563 | /*
* Public API and common code for kernel->userspace relay file support.
*
* See Documentation/filesystems/relay.txt for an overview.
*
* Copyright (C) 2002-2005 - Tom Zanussi (zanussi@us.ibm.com), IBM Corp
* Copyright (C) 1999-2005 - Karim Yaghmour (karim@opersys.com)
*
* Moved to kernel/relay.c by Paul Mundt... | gpl-2.0 |
CyanogenMod/android_kernel_hardkernel_odroidc1 | drivers/platform/x86/panasonic-laptop.c | 2215 | 18669 | /*
* Panasonic HotKey and LCD brightness control driver
* (C) 2004 Hiroshi Miura <miura@da-cha.org>
* (C) 2004 NTT DATA Intellilink Co. http://www.intellilink.co.jp/
* (C) YOKOTA Hiroshi <yokota (at) netlab. is. tsukuba. ac. jp>
* (C) 2004 David Bronaugh <dbronaugh>
* (C) 2006-2008 Harald Welte <laforge@gnu... | gpl-2.0 |
XileForce/Vindicator-S6-Uni-Old | drivers/edac/i82975x_edac.c | 2471 | 18760 | /*
* Intel 82975X Memory Controller kernel module
* (C) 2007 aCarLab (India) Pvt. Ltd. (http://acarlab.com)
* (C) 2007 jetzbroadband (http://jetzbroadband.com)
* This file may be distributed under the terms of the
* GNU General Public License.
*
* Written by Arvind R.
* Copied from i82875p_edac.c source:
*/
... | gpl-2.0 |
Garcia98/kernel-amami | fs/lockd/mon.c | 3239 | 13881 | /*
* linux/fs/lockd/mon.c
*
* The kernel statd client.
*
* Copyright (C) 1996, Olaf Kirch <okir@monad.swb.de>
*/
#include <linux/types.h>
#include <linux/utsname.h>
#include <linux/kernel.h>
#include <linux/ktime.h>
#include <linux/slab.h>
#include <linux/sunrpc/clnt.h>
#include <linux/sunrpc/xprtsock.h>
#inclu... | gpl-2.0 |
IllusionRom-deprecated/android_kernel_lge_zee | drivers/net/ethernet/davicom/dm9000.c | 3495 | 39386 | /*
* Davicom DM9000 Fast Ethernet driver for Linux.
* Copyright (C) 1997 Sten Wang
*
* 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 y... | gpl-2.0 |
argentinos/kernel-s5pc100 | drivers/rtc/rtc-vt8500.c | 3495 | 8998 | /*
* drivers/rtc/rtc-vt8500.c
*
* Copyright (C) 2010 Alexey Charkov <alchark@gmail.com>
*
* Based on rtc-pxa.c
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those t... | gpl-2.0 |
dh-harald/android_kernel_samsung_codina | arch/powerpc/sysdev/ppc4xx_soc.c | 3751 | 6114 | /*
* IBM/AMCC PPC4xx SoC setup code
*
* Copyright 2008 DENX Software Engineering, Stefan Roese <sr@denx.de>
*
* L2 cache routines cloned from arch/ppc/syslib/ibm440gx_common.c which is:
* Eugene Surovegin <eugene.surovegin@zultys.com> or <ebs@ebshome.net>
* Copyright (c) 2003 - 2006 Zultys Technologies
*
*... | gpl-2.0 |
SlimKat-U8950/chil360-kernel | drivers/gpu/drm/ttm/ttm_lock.c | 6055 | 7397 | /**************************************************************************
*
* Copyright (c) 2007-2009 VMware, Inc., Palo Alto, CA., USA
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"... | gpl-2.0 |
FXITech/kernel | fs/notify/dnotify/dnotify.c | 8359 | 11681 | /*
* Directory notifications for Linux.
*
* Copyright (C) 2000,2001,2002 Stephen Rothwell
*
* Copyright (C) 2009 Eric Paris <Red Hat Inc>
* dnotify was largly rewritten to use the new fsnotify infrastructure
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GN... | gpl-2.0 |
matsu/linux-stable | drivers/scsi/aic7xxx/aic79xx_proc.c | 8615 | 10544 | /*
* Copyright (c) 2000-2001 Adaptec Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of co... | gpl-2.0 |
henrix/rpi-linux | arch/powerpc/math-emu/fmsubs.c | 13735 | 1154 | #include <linux/types.h>
#include <linux/errno.h>
#include <asm/uaccess.h>
#include <asm/sfp-machine.h>
#include <math-emu/soft-fp.h>
#include <math-emu/double.h>
#include <math-emu/single.h>
int
fmsubs(void *frD, void *frA, void *frB, void *frC)
{
FP_DECL_D(R);
FP_DECL_D(A);
FP_DECL_D(B);
FP_DECL_D(C);
FP_DECL_... | gpl-2.0 |
C-Aniruddh/Axiom_totoro | arch/alpha/lib/memcpy.c | 13735 | 4108 | /*
* linux/arch/alpha/lib/memcpy.c
*
* Copyright (C) 1995 Linus Torvalds
*/
/*
* This is a reasonably optimized memcpy() routine.
*/
/*
* Note that the C code is written to be optimized into good assembly. However,
* at this point gcc is unable to sanely compile "if (n >= 0)", resulting in a
* explicit co... | gpl-2.0 |
mdalexca/marlin | sound/drivers/opl4/opl4_mixer.c | 15015 | 2867 | /*
* OPL4 mixer functions
* Copyright (c) 2003 by Clemens Ladisch <clemens@ladisch.de>
*
* 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 opt... | gpl-2.0 |
honor6-dev/android_kernel_huawei_h60 | sound/drivers/opl4/opl4_mixer.c | 15015 | 2867 | /*
* OPL4 mixer functions
* Copyright (c) 2003 by Clemens Ladisch <clemens@ladisch.de>
*
* 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 opt... | gpl-2.0 |
loverlucia/linux-3.10.101 | net/sctp/socket.c | 168 | 207827 | /* SCTP kernel implementation
* (C) Copyright IBM Corp. 2001, 2004
* Copyright (c) 1999-2000 Cisco, Inc.
* Copyright (c) 1999-2001 Motorola, Inc.
* Copyright (c) 2001-2003 Intel Corp.
* Copyright (c) 2001-2002 Nokia, Inc.
* Copyright (c) 2001 La Monte H.P. Yarroll
*
* This file is part of the SCTP kernel implem... | gpl-2.0 |
davet321/rpi-linux | arch/cris/arch-v32/drivers/pci/dma.c | 168 | 2000 | /*
* Dynamic DMA mapping support.
*
* On cris there is no hardware dynamic DMA address translation,
* so consistent alloc/free are merely page allocation/freeing.
* The rest of the dynamic DMA mapping interface is implemented
* in asm/pci.h.
*
* Borrowed from i386.
*/
#include <linux/types.h>
#include <linux/... | gpl-2.0 |
arm-embedded/newlib.debian | newlib/libm/test/asinf_vec.c | 168 | 27646 | #include "test.h"
one_line_type asinf_vec[] = {
{ 0,13, 37,__LINE__, 0x40500000, 0x00000000, 0xbff33333, 0x33333333}, /* 64.0000=f(-1.20000)*/
{ 0,13, 37,__LINE__, 0x40500000, 0x00000000, 0xbff30a3d, 0x70a3d70a}, /* 64.0000=f(-1.19000)*/
{ 0,13, 37,__LINE__, 0x40500000, 0x00000000, 0xbff2e147, 0xae147ae1}, /* 64... | gpl-2.0 |
chenyu105/linux | sound/soc/pxa/magician.c | 936 | 13668 | /*
* SoC audio for HTC Magician
*
* Copyright (c) 2006 Philipp Zabel <philipp.zabel@gmail.com>
*
* based on spitz.c,
* Authors: Liam Girdwood <lrg@slimlogic.co.uk>
* Richard Purdie <richard@openedhand.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the ter... | gpl-2.0 |
Quarx2k/msm8260_kernel_fly_iq285 | net/mac80211/aes_ccm.c | 1704 | 3589 | /*
* Copyright 2003-2004, Instant802 Networks, Inc.
* Copyright 2005-2006, Devicescape Software, Inc.
*
* 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/kerne... | gpl-2.0 |
hiikezoe/android_kernel_fujitsu_f11d | net/netrom/af_netrom.c | 1960 | 33166 | /*
* 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.
*
* Copyright Jonathan Naylor G4KLX (g4klx@g4klx.demon.co.uk)
... | gpl-2.0 |
sktjdgns1189/android_kernel_samsung_SHV-E160S | arch/powerpc/kernel/ibmebus.c | 2728 | 16442 | /*
* IBM PowerPC IBM eBus Infrastructure Support.
*
* Copyright (c) 2005 IBM Corporation
* Joachim Fenkes <fenkes@de.ibm.com>
* Heiko J Schick <schickhj@de.ibm.com>
*
* All rights reserved.
*
* This source code is distributed under a dual license of GPL v2.0 and OpenIB
* BSD.
*
* OpenIB BSD License
*
* ... | gpl-2.0 |
CyanideL/android_kernel_moto_shamu | tools/perf/ui/util.c | 4520 | 1588 | #include "util.h"
#include "../debug.h"
/*
* Default error logging functions
*/
static int perf_stdio__error(const char *format, va_list args)
{
fprintf(stderr, "Error:\n");
vfprintf(stderr, format, args);
return 0;
}
static int perf_stdio__warning(const char *format, va_list args)
{
fprintf(stderr, "Warning:\... | gpl-2.0 |
nbr11/android_kernel_lge_hammerhead | drivers/media/video/bt8xx/bttv-driver.c | 4776 | 120295 | /*
bttv - Bt848 frame grabber driver
Copyright (C) 1996,97,98 Ralph Metzler <rjkm@thp.uni-koeln.de>
& Marcus Metzler <mocm@thp.uni-koeln.de>
(c) 1999-2002 Gerd Knorr <kraxel@bytesex.org>
some v4l2 code lines are taken from Justin's bttv2 driver which is
(c) 2000 Justin Schoeman <justin@sun... | gpl-2.0 |
widz4rd/WIDzard-A850K | drivers/net/wireless/ath/ath5k/debug.c | 4776 | 31602 | /*
* Copyright (c) 2007-2008 Bruno Randolf <bruno@thinktube.com>
*
* This file is free software: you may copy, redistribute 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 vers... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.