repo_name string | path string | copies string | size string | content string | license string |
|---|---|---|---|---|---|
Ginfred/DeathCore | dep/StormLib/src/libtomcrypt/src/math/rand_prime.c | 237 | 1911 | /* LibTomCrypt, modular cryptographic library -- Tom St Denis
*
* LibTomCrypt is a library that provides various cryptographic
* algorithms in a highly modular and flexible manner.
*
* The library is free for all purposes without any express
* guarantee it works.
*
* Tom St Denis, tomstdenis@gmail.com, http://l... | gpl-2.0 |
cpackham/git | builtin/prune-packed.c | 237 | 1546 | #include "builtin.h"
#include "cache.h"
#include "progress.h"
#include "parse-options.h"
static const char * const prune_packed_usage[] = {
N_("git prune-packed [-n | --dry-run] [-q | --quiet]"),
NULL
};
static struct progress *progress;
static int prune_subdir(int nr, const char *path, void *data)
{
int *opts = ... | gpl-2.0 |
mgross029/android_kernel | arch/arm/plat-iop/time.c | 493 | 2506 | /*
* arch/arm/plat-iop/time.c
*
* Timer code for IOP32x and IOP33x based systems
*
* Author: Deepak Saxena <dsaxena@mvista.com>
*
* Copyright 2002-2003 MontaVista Software Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as pu... | gpl-2.0 |
animania260/android_kernel_samsung_prevail2spr--Galaxy-Rush- | drivers/md/raid5.c | 1005 | 171438 | /*
* raid5.c : Multiple Devices driver for Linux
* Copyright (C) 1996, 1997 Ingo Molnar, Miguel de Icaza, Gadi Oxman
* Copyright (C) 1999, 2000 Ingo Molnar
* Copyright (C) 2002, 2003 H. Peter Anvin
*
* RAID-4/5/6 management functions.
* Thanks to Penguin Computing for making the RAID-6 development possi... | gpl-2.0 |
nopy/android_kernel_huawei_u8815 | fs/autofs4/inode.c | 1517 | 8240 | /* -*- c -*- --------------------------------------------------------------- *
*
* linux/fs/autofs/inode.c
*
* Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
* Copyright 2005-2006 Ian Kent <raven@themaw.net>
*
* This file is part of the Linux kernel and is made available under
* the terms of... | gpl-2.0 |
onejay09/kernel_HTC_msm7x30_KK | drivers/s390/scsi/zfcp_unit.c | 2541 | 6529 | /*
* zfcp device driver
*
* Tracking of manually configured LUNs and helper functions to
* register the LUNs with the SCSI midlayer.
*
* Copyright IBM Corporation 2010
*/
#include "zfcp_def.h"
#include "zfcp_ext.h"
/**
* zfcp_unit_scsi_scan - Register LUN with SCSI midlayer
* @unit: The zfcp LUN/unit to regi... | gpl-2.0 |
vbatts/linux | drivers/scsi/NCR_Q720.c | 4589 | 9371 | /* -*- mode: c; c-basic-offset: 8 -*- */
/* NCR Quad 720 MCA SCSI Driver
*
* Copyright (C) 2003 by James.Bottomley@HansenPartnership.com
*/
#include <linux/blkdev.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/mca.h>
#include <linux/slab.h>
#include <linux/types... | gpl-2.0 |
DirtyUnicorns/android_kernel_samsung_hlte | tools/perf/util/ui/setup.c | 5101 | 2613 | #include <newt.h>
#include <signal.h>
#include <stdbool.h>
#include "../cache.h"
#include "../debug.h"
#include "browser.h"
#include "helpline.h"
#include "ui.h"
#include "util.h"
#include "libslang.h"
#include "keysyms.h"
pthread_mutex_t ui__lock = PTHREAD_MUTEX_INITIALIZER;
static volatile int ui__need_resize;
vo... | gpl-2.0 |
ztemt/NX507J_Lollipop_kernel | drivers/scsi/bfa/bfa_fcbuild.c | 5613 | 38090 | /*
* Copyright (c) 2005-2010 Brocade Communications Systems, Inc.
* All rights reserved
* www.brocade.com
*
* Linux driver for Brocade Fibre Channel Host Bus Adapter.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License (GPL) Version 2 a... | gpl-2.0 |
dtalley11/android_kernel_kyocera_c5155 | drivers/scsi/aic7xxx/aic7xxx_pci.c | 10477 | 61834 | /*
* Product specific probe and attach routines for:
* 3940, 2940, aic7895, aic7890, aic7880,
* aic7870, aic7860 and aic7850 SCSI controllers
*
* Copyright (c) 1994-2001 Justin T. Gibbs.
* Copyright (c) 2000-2001 Adaptec Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, wi... | gpl-2.0 |
Split-Screen/android_kernel_motorola_msm8960-common | net/netfilter/xt_cluster.c | 11501 | 5080 | /*
* (C) 2008-2009 Pablo Neira Ayuso <pablo@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 by the Free Software Foundation.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module... | gpl-2.0 |
shesselba/linux-berlin | net/netfilter/xt_cluster.c | 11501 | 5080 | /*
* (C) 2008-2009 Pablo Neira Ayuso <pablo@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 by the Free Software Foundation.
*/
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/module... | gpl-2.0 |
LuweiLight/linux-3.14.35-vbal | net/irda/iriap_event.c | 12525 | 12753 | /*********************************************************************
*
* Filename: iriap_event.c
* Version: 0.1
* Description: IAP Finite State Machine
* Status: Experimental.
* Author: Dag Brattli <dagb@cs.uit.no>
* Created at: Thu Aug 21 00:02:07 1997
* Modified at: Wed Mar ... | gpl-2.0 |
sultanqasim/android_kernel_alcatel_alto45 | arch/arm/mach-imx/devices/platform-pata_imx.c | 2798 | 1674 | /*
* 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 "../hardware.h"
#include "devices-common.h"
#define imx_pata_imx_data_entry_single(soc, _size) \
{ \
.io... | gpl-2.0 |
CyanHacker-Lollipop/kernel_moto_shamu | arch/sh/kernel/dumpstack.c | 3566 | 3476 | /*
* Copyright (C) 1991, 1992 Linus Torvalds
* Copyright (C) 2000, 2001, 2002 Andi Kleen, SuSE Labs
* Copyright (C) 2009 Matt Fleming
* Copyright (C) 2002 - 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 directo... | gpl-2.0 |
nviennot/linux-2.6-scribe | drivers/hwmon/thmc50.c | 4334 | 14381 | /*
thmc50.c - Part of lm_sensors, Linux kernel modules for hardware
monitoring
Copyright (C) 2007 Krzysztof Helt <krzysztof.h1@wp.pl>
Based on 2.4 driver by Frodo Looijaard <frodol@dds.nl> and
Philip Edelbrock <phil@netroedge.com>
This program is free software; you can redistribute it ... | gpl-2.0 |
bilalliberty/android_kernel_htc_villec2 | arch/m68k/platform/5407/config.c | 4590 | 3287 | /***************************************************************************/
/*
* linux/arch/m68knommu/platform/5407/config.c
*
* Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com)
* Copyright (C) 2000, Lineo (www.lineo.com)
*/
/***************************************************************************/... | gpl-2.0 |
engine95/navelA-990 | arch/mips/loongson/common/irq.c | 7918 | 1577 | /*
* Copyright (C) 2007 Lemote Inc. & Insititute of Computing Technology
* Author: Fuxin Zhang, zhangfx@lemote.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 Foundation; either version ... | gpl-2.0 |
TeamExodus/kernel_google_msm | sound/pci/echoaudio/darla20_dsp.c | 12526 | 3506 | /***************************************************************************
Copyright Echo Digital Audio Corporation (c) 1998 - 2004
All rights reserved
www.echoaudio.com
This file is part of Echo Digital Audio's generic driver library.
Echo Digital Audio's generic driver library is free software;
... | gpl-2.0 |
dirty-hank/frankenlenok | arch/sh/boards/mach-cayman/panic.c | 13806 | 1031 | /*
* Copyright (C) 2003 Richard Curnow, SuperH UK Limited
*
* 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.
*/
#include <linux/kernel.h>
#include <linux/io.h>
#include <cpu/registers.h>
/* ... | gpl-2.0 |
for811/Ubuntu_kernel_golfu | arch/powerpc/boot/cuboot-85xx-cpm2.c | 14062 | 1764 | /*
* Old U-boot compatibility for 85xx
*
* Author: Scott Wood <scottwood@freescale.com>
*
* Copyright (c) 2007 Freescale Semiconductor, 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 Softw... | gpl-2.0 |
RenderBroken/dory_render_kernel | arch/powerpc/boot/cuboot-83xx.c | 14062 | 1525 | /*
* Old U-boot compatibility for 83xx
*
* Author: Scott Wood <scottwood@freescale.com>
*
* Copyright (c) 2007 Freescale Semiconductor, 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 Softw... | gpl-2.0 |
mohammadsa9/kiwi2 | drivers/net/ethernet/nxp/lpc_eth.c | 2031 | 43608 | /*
* drivers/net/ethernet/nxp/lpc_eth.c
*
* Author: Kevin Wells <kevin.wells@nxp.com>
*
* Copyright (C) 2010 NXP Semiconductors
* Copyright (C) 2012 Roland Stigge <stigge@antcom.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License a... | gpl-2.0 |
forumi0721/android_kernel_lge_batman_lgu | security/capability.c | 2031 | 23835 | /*
* Capabilities Linux Security Module
*
* This is the default security module in case no other module is loaded.
*
* 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 |
Toni5830/kernel_u8500 | drivers/media/dvb/bt8xx/dvb-bt8xx.c | 2543 | 28102 | /*
* Bt8xx based DVB adapter driver
*
* Copyright (C) 2002,2003 Florian Schirmer <jolt@tuxbox.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
*... | gpl-2.0 |
crimeofheart/android_kernel_samsung_smdk4210 | drivers/media/dvb/frontends/s5h1432.c | 3311 | 11420 | /*
* Samsung s5h1432 DVB-T demodulator driver
*
* Copyright (C) 2009 Bill Liu <Bill.Liu@Conexant.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 Foundation; either version 2 of the Licens... | gpl-2.0 |
joebonrichie/CAF_kernel-msm_M76XXUSNSKTLYA4145 | drivers/scsi/isci/probe_roms.c | 3311 | 5778 | /*
* This file is provided under a dual BSD/GPLv2 license. When using or
* redistributing this file, you may do so under either license.
*
* GPL LICENSE SUMMARY
*
* Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it un... | gpl-2.0 |
cfpeng/linux | arch/powerpc/platforms/83xx/mpc836x_rdk.c | 4079 | 1598 | /*
* MPC8360E-RDK board file.
*
* Copyright (c) 2006 Freescale Semiconductor, Inc.
* Copyright (c) 2007-2008 MontaVista Software, Inc.
*
* Author: Anton Vorontsov <avorontsov@ru.mvista.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Pub... | gpl-2.0 |
mrg666/nook_kernel | drivers/ide/ide-floppy_proc.c | 4591 | 1223 | #include <linux/kernel.h>
#include <linux/ide.h>
#include <linux/seq_file.h>
#include "ide-floppy.h"
static int idefloppy_capacity_proc_show(struct seq_file *m, void *v)
{
ide_drive_t*drive = (ide_drive_t *)m->private;
seq_printf(m, "%llu\n", (long long)ide_gd_capacity(drive));
return 0;
}
static int idefloppy_c... | gpl-2.0 |
phuthinh100/Kernel-JB--sky-A830L | drivers/acpi/acpica/hwregs.c | 4847 | 19936 |
/*******************************************************************************
*
* Module Name: hwregs - Read/write access functions for the various ACPI
* control and status registers.
*
******************************************************************************/
/*
* Copyright (C) 2... | gpl-2.0 |
VentureROM-Legacy/android_kernel_lge_d85x | arch/arm/mach-orion5x/mv2120-setup.c | 5103 | 5925 | /*
* Copyright (C) 2007 Herbert Valerio Riedel <hvr@gnu.org>
* Copyright (C) 2008 Martin Michlmayr <tbm@cyrius.com>
*
* This program 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 ... | gpl-2.0 |
BoostPop/kernel_lge_hammerhead | drivers/tty/serial/8250/8250_hp300.c | 9199 | 7821 | /*
* Driver for the 98626/98644/internal serial interface on hp300/hp400
* (based on the National Semiconductor INS8250/NS16550AF/WD16C552 UARTs)
*
* Ported from 2.2 and modified to use the normal 8250 driver
* by Kars de Jong <jongk@linux-m68k.org>, May 2004.
*/
#include <linux/module.h>
#include <linux/init.h>
... | gpl-2.0 |
android-armv7a-belalang-tempur/belalang-tempur | drivers/media/video/pwc/pwc-kiara.c | 10479 | 35376 | /* Linux driver for Philips webcam
(C) 2004-2006 Luc Saillard (luc@saillard.org)
NOTE: this version of pwc is an unofficial (modified) release of pwc & pcwx
driver and thus may have bugs that are not present in the original version.
Please send bug reports and support requests to <luc@saillard.org>.
The... | gpl-2.0 |
kamarush/caf_kernel_mm | drivers/ide/ide-park.c | 10479 | 3531 | #include <linux/kernel.h>
#include <linux/gfp.h>
#include <linux/ide.h>
#include <linux/jiffies.h>
#include <linux/blkdev.h>
DECLARE_WAIT_QUEUE_HEAD(ide_park_wq);
static void issue_park_cmd(ide_drive_t *drive, unsigned long timeout)
{
ide_hwif_t *hwif = drive->hwif;
struct request_queue *q = drive->queue;
struct r... | gpl-2.0 |
mythos234/SimplKernel-LL-BOFJ | drivers/sensorhub/atmel/ssp_input.c | 240 | 39984 | /*
* Copyright (C) 2012, Samsung Electronics Co. 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 as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any... | gpl-2.0 |
plaguemorin/mini2440-linux | arch/m68k/bvme6000/config.c | 240 | 9974 | /*
* arch/m68k/bvme6000/config.c
*
* Copyright (C) 1997 Richard Hirst [richard@sleepie.demon.co.uk]
*
* Based on:
*
* linux/amiga/config.c
*
* Copyright (C) 1993 Hamish Macdonald
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file README.legal in the m... | gpl-2.0 |
f-andrew-beal/whoi-3.2-kernel | arch/hexagon/kernel/dma.c | 240 | 5532 | /*
* DMA implementation for Hexagon
*
* Copyright (c) 2010-2011, 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.
*
... | gpl-2.0 |
jinankjain/linux | drivers/gpu/drm/qxl/qxl_fb.c | 496 | 18872 | /*
* Copyright © 2013 Red Hat
*
* 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, dist... | gpl-2.0 |
patjak/drm-gma500 | fs/ocfs2/stack_user.c | 496 | 29687 | /* -*- mode: c; c-basic-offset: 8; -*-
* vim: noexpandtab sw=8 ts=8 sts=0:
*
* stack_user.c
*
* Code which interfaces ocfs2 with fs/dlm and a userspace stack.
*
* Copyright (C) 2007 Oracle. All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of t... | gpl-2.0 |
rutvik95/android_kernel_samsung_universal-5260 | drivers/pci/pcie/aspm.c | 752 | 28161 | /*
* File: drivers/pci/pcie/aspm.c
* Enabling PCIe link L0s/L1 state and Clock Power Management
*
* Copyright (C) 2007 Intel
* Copyright (C) Zhang Yanmin (yanmin.zhang@intel.com)
* Copyright (C) Shaohua Li (shaohua.li@intel.com)
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.... | gpl-2.0 |
sntree/kernel_nk1006a | drivers/staging/msm/mdp_dma_lcdc.c | 3056 | 10125 | /* Copyright (c) 2008-2009, 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... | gpl-2.0 |
mohamaadhosein/VIPER-KERNEL-D802 | arch/arm/mach-pxa/pxa27x.c | 3312 | 12055 | /*
* linux/arch/arm/mach-pxa/pxa27x.c
*
* Author: Nicolas Pitre
* Created: Nov 05, 2002
* Copyright: MontaVista Software Inc.
*
* Code specific to PXA27x aka Bulverde.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 ... | gpl-2.0 |
pedestre/Kernel-Apolo-JB-4.1.2 | fs/jffs2/symlink.c | 3568 | 1873 | /*
* JFFS2 -- Journalling Flash File System, Version 2.
*
* Copyright © 2001-2007 Red Hat, Inc.
*
* Created by David Woodhouse <dwmw2@infradead.org>
*
* For licensing information, see the file 'LICENCE' in this directory.
*
*/
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/namei.h>
#include "... | gpl-2.0 |
Stane1983/odroidc-linux | arch/metag/mm/ioremap.c | 4336 | 2386 | /*
* Re-map IO memory to kernel address space so that we can access it.
* Needed for memory-mapped I/O devices mapped outside our normal DRAM
* window (that is, all memory-mapped I/O devices).
*
* Copyright (C) 1995,1996 Linus Torvalds
*
* Meta port based on CRIS-port by Axis Communications AB
*/
#include <lin... | gpl-2.0 |
nimengyu2/ti-arm9-linux-03.20.00.12 | drivers/usb/host/ohci-ep93xx.c | 4592 | 5037 | /*
* OHCI HCD (Host Controller Driver) for USB.
*
* (C) Copyright 1999 Roman Weissgaerber <weissg@vienna.at>
* (C) Copyright 2000-2002 David Brownell <dbrownell@users.sourceforge.net>
* (C) Copyright 2002 Hewlett-Packard Company
*
* Bus Glue for ep93xx.
*
* Written by Christopher Hoover <ch@hpl.hp.com>
* Base... | gpl-2.0 |
EnJens/android_kernel_sony_pollux_windy_stock | arch/powerpc/platforms/pasemi/setup.c | 4592 | 11014 | /*
* Copyright (C) 2006-2007 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/setup.c
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GN... | gpl-2.0 |
elektroschmock/android_kernel_google_msm | drivers/media/video/soc_mediabus.c | 5104 | 10639 | /*
* soc-camera media bus helper routines
*
* Copyright (C) 2009, Guennadi Liakhovetski <g.liakhovetski@gmx.de>
*
* 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 <... | gpl-2.0 |
kenkit/android_kernel_htc_msm7x30 | arch/sparc/kernel/leon_pmc.c | 7408 | 1921 | /* leon_pmc.c: LEON Power-down cpu_idle() handler
*
* Copyright (C) 2011 Daniel Hellstrom (daniel@gaisler.com) Aeroflex Gaisler AB
*/
#include <linux/init.h>
#include <linux/pm.h>
#include <asm/leon_amba.h>
#include <asm/leon.h>
/* List of Systems that need fixup instructions around power-down instruction */
unsi... | gpl-2.0 |
arrrghhh/android_kernel_samsung_mondrianwifi | sound/aoa/core/core.c | 14832 | 3387 | /*
* Apple Onboard Audio driver core
*
* Copyright 2006 Johannes Berg <johannes@sipsolutions.net>
*
* GPL v2, can be found in COPYING.
*/
#include <linux/init.h>
#include <linux/module.h>
#include <linux/list.h>
#include "../aoa.h"
#include "alsa.h"
MODULE_DESCRIPTION("Apple Onboard Audio Sound Driver");
MODULE... | gpl-2.0 |
syntheticpp/linux | fs/ocfs2/aops.c | 241 | 54038 | /* -*- mode: c; c-basic-offset: 8; -*-
* vim: noexpandtab sw=8 ts=8 sts=0:
*
* 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 Public
* License as published by the Free Software Foundation; eit... | gpl-2.0 |
EmcraftSystems/linux-emcraft | drivers/misc/ibmasm/module.c | 753 | 6599 |
/*
* IBM ASM Service Processor Device Driver
*
* 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.
*
* This program... | gpl-2.0 |
netarchy/Supersonic-2.6.35-Gingersense | drivers/staging/msm/staging-devices.c | 753 | 7704 | #include <linux/kernel.h>
#include <linux/irq.h>
#include <linux/gpio.h>
#include <linux/platform_device.h>
#include <linux/bootmem.h>
#include <linux/delay.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/io.h>
#include <asm/setup.h>
#include <mach/board.h>
#include <mach/irqs.h>
#include <mac... | gpl-2.0 |
kingklick/kk-evo-kernel | drivers/sbus/char/display7seg.c | 753 | 6503 | /* display7seg.c - Driver implementation for the 7-segment display
* present on Sun Microsystems CP1400 and CP1500
*
* Copyright (c) 2000 Eric Brower (ebrower@usa.net)
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/errno.h>
#include <linux/major.h>
#inc... | gpl-2.0 |
chaostic/Hima-M9 | drivers/platform/msm/ipa/ipa_intf.c | 1009 | 15235 | /* Copyright (c) 2013-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... | gpl-2.0 |
FlorinPetriuc/linux-1-moved-to-OpenChannelSSD-linux-nba_target | drivers/media/pci/bt8xx/bttv-audio-hook.c | 1009 | 10249 | /*
* Handlers for board audio hooks, splitted from bttv-cards
*
* Copyright (c) 2006 Mauro Carvalho Chehab (mchehab@infradead.org)
* This code is placed under the terms of the GNU General Public License
*/
#include "bttv-audio-hook.h"
#include <linux/delay.h>
/* -------------------------------------------------... | gpl-2.0 |
OwnROM-Devices/OwnKernel-shamu | kernel/irq_work.c | 1521 | 4576 | /*
* Copyright (C) 2010 Red Hat, Inc., Peter Zijlstra <pzijlstr@redhat.com>
*
* Provides a framework for enqueueing and running callbacks from hardirq
* context. The enqueueing is NMI-safe.
*/
#include <linux/bug.h>
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/irq_work.h>
#include <linux/pe... | gpl-2.0 |
CaptainThrowback/kernel_htc_shooter-ics | net/sched/cls_u32.c | 2545 | 17098 | /*
* net/sched/cls_u32.c Ugly (or Universal) 32bit key Packet Classifier.
*
* 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... | gpl-2.0 |
shimlee/mptcp_magw | drivers/hwmon/applesmc.c | 2801 | 33291 | /*
* drivers/hwmon/applesmc.c - driver for Apple's SMC (accelerometer, temperature
* sensors, fan control, keyboard backlight control) used in Intel-based Apple
* computers.
*
* Copyright (C) 2007 Nicolas Boichat <nicolas@boichat.ch>
* Copyright (C) 2010 Henrik Rydberg <rydberg@euromail.se>
*
* Based on hdaps.c... | gpl-2.0 |
pjsports/kernel-2.6.39.4-A500-OC1.5G | drivers/staging/msm/mdp4_overlay_mddi.c | 3057 | 6007 | /* Copyright (c) 2008-2009, 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... | gpl-2.0 |
CyanogenMod/android_kernel_motorola_otus | net/ipv6/exthdrs.c | 4337 | 21538 | /*
* Extension Header handling for IPv6
* Linux INET6 implementation
*
* Authors:
* Pedro Roque <roque@di.fc.ul.pt>
* Andi Kleen <ak@muc.de>
* Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public ... | gpl-2.0 |
de-wolff/caf_device_kernel_msm | net/ipv4/netfilter/iptable_filter.c | 4593 | 3064 | /*
* This is the 1999 rewrite of IP Firewalling, aiming for kernel 2.3.x.
*
* Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling
* Copyright (C) 2000-2004 Netfilter Core Team <coreteam@netfilter.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GN... | gpl-2.0 |
ouyanghy/nanopi2 | arch/sparc/kernel/power.c | 4849 | 1551 | /* power.c: Power management driver.
*
* Copyright (C) 1999, 2007, 2008 David S. Miller (davem@davemloft.net)
*/
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/reboot.h>
#include <linux/of_device.h>
#include <asm/prom.h>
#include <asm/io.h>
... | gpl-2.0 |
caplio/android_kernel_samsung_hltedcm | drivers/pci/iov.c | 4849 | 16934 | /*
* drivers/pci/iov.c
*
* Copyright (C) 2009 Intel Corporation, Yu Zhao <yu.zhao@intel.com>
*
* PCI Express I/O Virtualization (IOV) support.
* Single Root IOV 1.0
* Address Translation Service 1.0
*/
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/mutex.h>
#include <linux/export.h>
#includ... | gpl-2.0 |
andi34/android_kernel_samsung_espresso | fs/reiserfs/objectid.c | 4849 | 7040 | /*
* Copyright 2000 by Hans Reiser, licensing governed by reiserfs/README
*/
#include <linux/string.h>
#include <linux/random.h>
#include <linux/time.h>
#include <linux/reiserfs_fs.h>
#include <linux/reiserfs_fs_sb.h>
// find where objectid map starts
#define objectid_map(s,rs) (old_format_only (s) ? \
... | gpl-2.0 |
HackerOO7/android_kernel_huawei_u8951 | drivers/hwmon/max6639.c | 4849 | 19308 | /*
* max6639.c - Support for Maxim MAX6639
*
* 2-Channel Temperature Monitor with Dual PWM Fan-Speed Controller
*
* Copyright (C) 2010, 2011 Roland Stigge <stigge@antcom.de>
*
* based on the initial MAX6639 support from semptian.net
* by He Changqing <hechangqing@semptian.com>
*
* This program is free softwar... | gpl-2.0 |
lozohcum/kernel | sound/pci/trident/trident_main.c | 5105 | 124744 | /*
* Maintained by Jaroslav Kysela <perex@perex.cz>
* Originated by audio@tridentmicro.com
* Fri Feb 19 15:55:28 MST 1999
* Routines for control of Trident 4DWave (DX and NX) chip
*
* BUGS:
*
* TODO:
* ---
*
* This program is free software; you can redistribute it and/or modify
* it under the t... | gpl-2.0 |
mpokwsths/Z3_kernel | arch/arm/mach-dove/mpp.c | 7665 | 3908 | /*
* arch/arm/mach-dove/mpp.c
*
* MPP functions for Marvell Dove SoCs
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
*/
#include <linux/kernel.h>
#include <linux/gpio.h>
#... | gpl-2.0 |
intervigilium/android_kernel_htc_msm7x30 | arch/mips/powertv/asic/prealloc-cronuslite.c | 8689 | 4794 | /*
* Memory pre-allocations for Cronus Lite boxes.
*
* Copyright (C) 2005-2009 Scientific-Atlanta, Inc.
*
* 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, ... | gpl-2.0 |
glewarne/testing | drivers/net/wan/hdlc_raw_eth.c | 9201 | 3146 | /*
* Generic HDLC support routines for Linux
* HDLC Ethernet emulation support
*
* Copyright (C) 2002-2006 Krzysztof Halasa <khc@pm.waw.pl>
*
* 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 Free Soft... | gpl-2.0 |
ljalves/linux_media | fs/nfsd/nfs3acl.c | 242 | 6438 | /*
* Process version 3 NFSACL requests.
*
* Copyright (C) 2002-2003 Andreas Gruenbacher <agruen@suse.de>
*/
#include "nfsd.h"
/* FIXME: nfsacl.h is a broken header */
#include <linux/nfsacl.h>
#include <linux/gfp.h>
#include "cache.h"
#include "xdr3.h"
#include "vfs.h"
#define RETURN_STATUS(st) { resp->status = (... | gpl-2.0 |
rmhsilva/qemu | tests/tcg/mips/mips64-dsp/dpsq_sa_l_w.c | 242 | 1329 | #include "io.h"
int main(void)
{
long long rs, rt, dsp;
long long ach = 5, acl = 5;
long long resulth, resultl, resultdsp;
rs = 0xBC0123AD;
rt = 0x01643721;
resulth = 0xfffffffffdf4cbe0;
resultl = 0xFFFFFFFFd138776b;
resultdsp = 0x00;
__asm
("mthi %0, $ac1\n\t"
"... | gpl-2.0 |
GameTheory-/android_kernel_lge_fx1s | arch/hexagon/kernel/traps.c | 1778 | 10682 | /*
* Kernel traps/events for Hexagon processor
*
* Copyright (c) 2010-2011, 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 Foun... | gpl-2.0 |
AOSParadox/android_kernel_cyanogen_msm8916 | drivers/scsi/gdth.c | 1778 | 178554 | /************************************************************************
* Linux driver for *
* ICP vortex GmbH: GDT ISA/EISA/PCI Disk Array Controllers *
* Intel Corporation: Storage RAID Controllers *
* ... | gpl-2.0 |
V4MSHI/zte_racer_2.6.32 | arch/arm/plat-stmp3xxx/devices.c | 1778 | 8779 | /*
* Freescale STMP37XX/STMP378X platform devices
*
* Embedded Alley Solutions, Inc <source@embeddedalley.com>
*
* Copyright 2008 Freescale Semiconductor, Inc. All Rights Reserved.
* Copyright 2008 Embedded Alley Solutions, Inc All Rights Reserved.
*/
/*
* The code contained herein is licensed under the GNU General Pu... | gpl-2.0 |
umeshkrishnan/pb-bugbase-kernel | arch/arm/plat-stmp3xxx/core.c | 1778 | 3168 | /*
* Freescale STMP37XX/STMP378X core routines
*
* Embedded Alley Solutions, Inc <source@embeddedalley.com>
*
* Copyright 2008 Freescale Semiconductor, Inc. All Rights Reserved.
* Copyright 2008 Embedded Alley Solutions, Inc All Rights Reserved.
*/
/*
* The code contained herein is licensed under the GNU Gener... | gpl-2.0 |
TheTypoMaster/linux | lib/earlycpio.c | 2034 | 4028 | /* ----------------------------------------------------------------------- *
*
* Copyright 2012 Intel Corporation; author H. Peter Anvin
*
* This file is part of the Linux kernel, and is made available
* under the terms of the GNU General Public License version 2, as
* published by the Free Software Found... | gpl-2.0 |
DevSwift/Kernel-3.4-U8500 | net/compat-wireless/drivers/net/wireless/rtlwifi/rtl8192cu/table.c | 3314 | 41168 | /******************************************************************************
*
* Copyright(c) 2009-2010 Realtek Corporation.
*
* 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 Free Software Foundati... | gpl-2.0 |
PyYoshi/android_kernel_kyocera_l02 | sound/aoa/codecs/tas.c | 4850 | 26705 | /*
* Apple Onboard Audio driver for tas codec
*
* Copyright 2006 Johannes Berg <johannes@sipsolutions.net>
*
* GPL v2, can be found in COPYING.
*
* Open questions:
* - How to distinguish between 3004 and versions?
*
* FIXMEs:
* - This codec driver doesn't honour the 'connected'
* property of the aoa_co... | gpl-2.0 |
DooMLoRD/android_kernel_sony_apq8064 | net/ax25/ax25_out.c | 4850 | 9085 | /*
* 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 (C) Alan Cox GW4PTS (alan@lxorguk.ukuu.org.uk)
*... | gpl-2.0 |
utopykzebulon/android_kernel_msm7x30-3.0 | arch/blackfin/kernel/early_printk.c | 9202 | 6140 | /*
* allow a console to be used for early printk
* derived from arch/x86/kernel/early_printk.c
*
* Copyright 2007-2009 Analog Devices Inc.
*
* Licensed under the GPL-2
*/
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/console.h>
#include <linux/string.h>
#includ... | gpl-2.0 |
genopublic/kernel_u8800 | drivers/macintosh/smu.c | 755 | 31383 | /*
* PowerMac G5 SMU driver
*
* Copyright 2004 J. Mayer <l_indien@magic.fr>
* Copyright 2005 Benjamin Herrenschmidt, IBM Corp.
*
* Released under the term of the GNU GPL v2.
*/
/*
* TODO:
* - maybe add timeout to commands ?
* - blocking version of time functions
* - polling version of i2c commands (inclu... | gpl-2.0 |
Mystic-Mirage/android_kernel_gigabyte_roma_r2_plus | net/ipv4/ip_sockglue.c | 755 | 31807 | /*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* The IP to API glue.
*
* Authors: see ip.c
*
* Fixes:
* Many : Split from ip.c , see ip.c for history.
... | gpl-2.0 |
DerTeufel/cm7 | tools/perf/builtin-record.c | 755 | 21785 | /*
* builtin-record.c
*
* Builtin record command: Record the profile of a workload
* (or a CPU, or a PID) into the perf.data output file - for
* later analysis via perf report.
*/
#define _FILE_OFFSET_BITS 64
#include "builtin.h"
#include "perf.h"
#include "util/build-id.h"
#include "util/util.h"
#include "uti... | gpl-2.0 |
sktjdgns1189/android_kernel_samsung_aries_KOR | fs/jffs2/dir.c | 755 | 23642 | /*
* JFFS2 -- Journalling Flash File System, Version 2.
*
* Copyright © 2001-2007 Red Hat, Inc.
*
* Created by David Woodhouse <dwmw2@infradead.org>
*
* For licensing information, see the file 'LICENCE' in this directory.
*
*/
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/fs.h>
#include <l... | gpl-2.0 |
coolbho3k/Xoom-OC | drivers/ata/sata_sil.c | 1011 | 22696 | /*
* sata_sil.c - Silicon Image SATA
*
* Maintained by: Jeff Garzik <jgarzik@pobox.com>
* Please ALWAYS copy linux-ide@vger.kernel.org
* on emails.
*
* Copyright 2003-2005 Red Hat, Inc.
* Copyright 2003 Benjamin Herrenschmidt
*
*
* This program is free software; you can redistribute it and/... | gpl-2.0 |
stari4ek/hero_kernel | net/tipc/handler.c | 1779 | 4108 | /*
* net/tipc/handler.c: TIPC signal handling
*
* Copyright (c) 2000-2006, Ericsson AB
* Copyright (c) 2005, Wind River Systems
* 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. Red... | gpl-2.0 |
adityak74/android_kernel_micromax_doodle | drivers/tty/tty_ioctl.c | 3059 | 31647 | /*
* Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds
*
* Modified by Fred N. van Kempen, 01/29/93, to add line disciplines
* which can be dynamically activated and de-activated by the line
* discipline handling modules (like SLIP).
*/
#include <linux/types.h>
#include <linux/termios.h>
#include <linux/errn... | gpl-2.0 |
DirtyUnicorns/android_kernel_motorola_msm8992 | arch/mips/cavium-octeon/flash_setup.c | 3315 | 2005 | /*
* Octeon Bootbus flash 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) 2007, 2008 Cavium Networks
*/
#include <linux/kernel.h>
#include <linux/export.h>
#inclu... | gpl-2.0 |
sq210/android-kernel-samsung-dev | sound/pci/echoaudio/indigoio.c | 3571 | 2952 | /*
* ALSA driver for Echoaudio soundcards.
* Copyright (C) 2003-2004 Giuliano Pochini <pochini@shiny.it>
*
* 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; version 2 of the License.
*... | gpl-2.0 |
Split-Screen/android_kernel_motorola_msm8960dt-common | arch/mips/netlogic/xlp/platform.c | 4595 | 3485 | /*
* Copyright 2003-2011 NetLogic Microsystems, Inc. (NetLogic). 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 ... | gpl-2.0 |
GalaxyTab4/bliss_kernel_samsung_millet | drivers/mfd/anatop-mfd.c | 4851 | 3874 | /*
* Anatop MFD driver
*
* Copyright (C) 2012 Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
* Copyright (C) 2012 Linaro
*
* 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 versio... | gpl-2.0 |
thicklizard/cm-otg-patch | drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 4851 | 65838 | /*---------------------------------------------------------------------------
FT1000 driver for Flarion Flash OFDM NIC Device
Copyright (C) 2002 Flarion Technologies, All rights reserved.
Copyright (C) 2006 Patrik Ostrihon, All rights reserved.
Copyright (C) 2006 ProWeb Consulting, a.s, All rights reserved... | gpl-2.0 |
DevSwift/Iglo-3.4 | arch/blackfin/kernel/gptimers.c | 5107 | 7174 | /*
* gptimers.c - Blackfin General Purpose Timer core API
*
* Copyright (c) 2005-2008 Analog Devices Inc.
* Copyright (C) 2005 John DeHority
* Copyright (C) 2006 Hella Aglaia GmbH (awe@aglaia-gmbh.de)
*
* Licensed under the GPLv2.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/io.h>
#i... | gpl-2.0 |
nikhiljan93/sony_yuga_kernel | arch/xtensa/kernel/module.c | 5363 | 5064 | /*
* arch/xtensa/kernel/module.c
*
* Module 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) 2001 - 2006 Tensilica Inc.
*
* Chris Zankel <chris@zankel.net>
*
... | gpl-2.0 |
OptiPurity/kernel_lge_hammerhead | drivers/scsi/device_handler/scsi_dh_emc.c | 7667 | 19159 | /*
* Target driver for EMC CLARiiON AX/CX-series hardware.
* Based on code from Lars Marowsky-Bree <lmb@suse.de>
* and Ed Goggin <egoggin@emc.com>.
*
* Copyright (C) 2006 Red Hat, Inc. All rights reserved.
* Copyright (C) 2006 Mike Christie
*
* This program is free software; you can redistribute it and/or modi... | gpl-2.0 |
david-visteon/linux-3.0.101 | arch/sparc/mm/init_64.c | 500 | 60784 | /*
* arch/sparc64/mm/init.c
*
* Copyright (C) 1996-1999 David S. Miller (davem@caip.rutgers.edu)
* Copyright (C) 1997-1999 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/string.h>
#include <linux/init.h>
#include <linux/bo... | gpl-2.0 |
nguyenhuuthong/linux-2.6-imx-org | drivers/net/wireless/ath/ath9k/ar9003_phy.c | 756 | 66239 | /*
* Copyright (c) 2010-2011 Atheros Communications Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" A... | gpl-2.0 |
Milad1993/linux | arch/ia64/kernel/perfmon.c | 756 | 171540 | /*
* This file implements the perfmon-2 subsystem which is used
* to program the IA-64 Performance Monitoring Unit (PMU).
*
* The initial version of perfmon.c was written by
* Ganesh Venkitachalam, IBM Corp.
*
* Then it was modified for perfmon-1.x by Stephane Eranian and
* David Mosberger, Hewlett Packard Co.
... | gpl-2.0 |
c0d3z3r0/linux-rockchip | drivers/net/ethernet/atheros/alx/hw.c | 1012 | 32348 | /*
* Copyright (c) 2013 Johannes Berg <johannes@sipsolutions.net>
*
* 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 ver... | gpl-2.0 |
pornmailbox/linux-hi3518 | drivers/clk/pistachio/clk-pistachio.c | 1012 | 14389 | /*
* Pistachio SoC clock controllers
*
* Copyright (C) 2014 Google, Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*/
#include <linux/clk-provider.h>
... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.