repo_name
string
path
string
copies
string
size
string
content
string
license
string
themasterofunderground/limbo-android
jni/qemu/tests/test-string-output-visitor.c
58
5528
/* * String Output Visitor unit-tests. * * Copyright (C) 2012 Red Hat Inc. * * Authors: * Paolo Bonzini <pbonzini@redhat.com> (based on test-qmp-output-visitor) * * This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ #include <glib....
gpl-2.0
zhantss/linux
net/core/sock.c
58
74899
/* * 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. * * Generic socket support routines. Memory allocators, socket lock/release * handler for protocols to use and g...
gpl-2.0
yangkkokk/linux
drivers/usb/host/xhci-pci.c
314
10091
/* * xHCI host controller driver PCI Bus Glue. * * Copyright (C) 2008 Intel Corp. * * Author: Sarah Sharp * Some code borrowed from the Linux EHCI driver. * * 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
tprrt/linux-stable
drivers/acpi/acpi_extlog.c
314
8549
// SPDX-License-Identifier: GPL-2.0-only /* * Extended Error Log driver * * Copyright (C) 2013 Intel Corp. * Author: Chen, Gong <gong.chen@intel.com> */ #include <linux/module.h> #include <linux/acpi.h> #include <linux/cper.h> #include <linux/ratelimit.h> #include <linux/edac.h> #include <linux/ras.h> #include <a...
gpl-2.0
PureNexusProject/android_kernel_htc_flounder
drivers/net/wireless/bcmdhd/pcie_core.c
314
2983
/** @file pcie_core.c * * Contains PCIe related functions that are shared between different driver models (e.g. firmware * builds, DHD builds, BMAC builds), in order to avoid code duplication. * * Copyright (C) 1999-2014, Broadcom Corporation * * Unless you and Broadcom execute a separate written software ...
gpl-2.0
Kcilorak/s2110_3.0.8_kernel
sound/core/pcm_misc.c
570
12900
/* * PCM Interface - misc routines * Copyright (c) 1998 by Jaroslav Kysela <perex@perex.cz> * * * 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 Free Software Foundation; either version 2 of * th...
gpl-2.0
0xD34D/android-omap-tuna
drivers/s390/block/dasd_eckd.c
826
115645
/* * File...........: linux/drivers/s390/block/dasd_eckd.c * Author(s)......: Holger Smolinski <Holger.Smolinski@de.ibm.com> * Horst Hummel <Horst.Hummel@de.ibm.com> * Carsten Otte <Cotte@de.ibm.com> * Martin Schwidefsky <schwidefsky@de.ibm.com> * Bugreports.to..: <Linux390@de.ibm.com> * Copyright...
gpl-2.0
ShadowElite22/Xperia-Z2-Z3
drivers/gpu/ion/ion_carveout_heap.c
1338
7298
/* * drivers/gpu/ion/ion_carveout_heap.c * * Copyright (C) 2011 Google, Inc. * Copyright (c) 2011-2013, The Linux Foundation. All rights reserved. * * 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, distr...
gpl-2.0
archos-sa/archos-gpl-gen9-kernel
arch/arm/plat-mxc/devices.c
1338
1163
/* * Copyright 2008 Sascha Hauer, kernel@pengutronix.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 option) any later version. * This ...
gpl-2.0
girishverma/linux_cst_bsp
lib/dynamic_debug.c
1850
25912
/* * lib/dynamic_debug.c * * make pr_debug()/dev_dbg() calls runtime configurable based upon their * source module. * * Copyright (C) 2008 Jason Baron <jbaron@redhat.com> * By Greg Banks <gnb@melbourne.sgi.com> * Copyright (c) 2008 Silicon Graphics Inc. All Rights Reserved. * Copyright (C) 2011 Bart Van Assch...
gpl-2.0
phalf/kernel_mint2g
fs/xfs/xfs_attr_leaf.c
1850
86141
/* * Copyright (c) 2000-2005 Silicon Graphics, Inc. * 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. * * This program is distributed in the hope that it would be ...
gpl-2.0
tomdean1/linux
drivers/rapidio/switches/idt_gen2.c
2106
12745
/* * IDT CPS Gen.2 Serial RapidIO switch family support * * Copyright 2010 Integrated Device Technology, Inc. * Alexandre Bounine <alexandre.bounine@idt.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 * ...
gpl-2.0
ddk50/cbc-linux-kernel
arch/arm/mach-orion5x/db88f5281-setup.c
2106
9717
/* * arch/arm/mach-orion5x/db88f5281-setup.c * * Marvell Orion-2 Development Board Setup * * Maintainer: Tzachi Perelstein <tzachi@marvell.com> * * 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 ...
gpl-2.0
jcbless/linux-xlnx
drivers/rapidio/switches/idt_gen2.c
2106
12745
/* * IDT CPS Gen.2 Serial RapidIO switch family support * * Copyright 2010 Integrated Device Technology, Inc. * Alexandre Bounine <alexandre.bounine@idt.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 * ...
gpl-2.0
Klozz/android_kernel_msm_3.10
arch/arm/mach-mv78xx0/pcie.c
2106
6429
/* * arch/arm/mach-mv78xx0/pcie.c * * PCIe functions for Marvell MV78xx0 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/p...
gpl-2.0
ibrahima/kernel_i9300
arch/arm/plat-mxc/devices/platform-imx-fb.c
2362
1645
/* * Copyright (C) 2010 Pengutronix * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.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 <mach/hardware.h> #include...
gpl-2.0
cmvega/cmvega
sound/pci/hda/patch_hdmi.c
2362
49720
/* * * patch_hdmi.c - routines for HDMI/DisplayPort codecs * * Copyright(c) 2008-2010 Intel Corporation. All rights reserved. * Copyright (c) 2006 ATI Technologies Inc. * Copyright (c) 2008 NVIDIA Corp. All rights reserved. * Copyright (c) 2008 Wei Ni <wni@nvidia.com> * * Authors: * Wu Fengguang <wfg...
gpl-2.0
KDGDev/meizu-mx-kernel
drivers/staging/usbip/vhci_hcd.c
2362
31322
/* * Copyright (C) 2003-2008 Takahiro Hirofuchi * * This 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 is distribute...
gpl-2.0
obek/linux-sunxi
arch/tile/kernel/proc.c
4410
3586
/* * Copyright 2010 Tilera Corporation. 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, version 2. * * This program is distributed in the hope that it will ...
gpl-2.0
AOKP/kernel_oppo_find5
arch/sh/boards/board-espt.c
4666
2603
/* * Data Technology Inc. ESPT-GIGA board suport * * Copyright (C) 2008, 2009 Renesas Solutions Corp. * Copyright (C) 2008, 2009 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main director...
gpl-2.0
SOKP/kernel_oneplus_msm8974
drivers/staging/keucr/smilsub.c
7482
18609
#include <linux/slab.h> #include "usb.h" #include "scsiglue.h" #include "transport.h" #include "smcommon.h" #include "smil.h" void _Set_D_SsfdcRdCmd(BYTE); void _Set_D_SsfdcRdAddr(BYTE); void _Set_D_SsfdcRdChip(void); void _Set_D_SsfdcRdStandby(void); void _Start_D_SsfdcRdHwECC(void); void _Stop_D_SsfdcRd...
gpl-2.0
SlimRoms/kernel_asus_grouper
drivers/block/drbd/drbd_proc.c
7994
9565
/* drbd_proc.c This file is part of DRBD by Philipp Reisner and Lars Ellenberg. Copyright (C) 2001-2008, LINBIT Information Technologies GmbH. Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>. Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. drbd is free sof...
gpl-2.0
NaokiXie/android_kernel_samsung_wilcox
drivers/net/fddi/skfp/srf.c
10810
10358
/****************************************************************************** * * (C)Copyright 1998,1999 SysKonnect, * a business unit of Schneider & Koch & Co. Datensysteme GmbH. * * See the file "skfddi.c" for further information. * * This program is free software; you can redistribute it and/or modify * it...
gpl-2.0
oppo-source/Neo5-kernel-source
drivers/video/geode/video_cs5530.c
14394
5791
/* * drivers/video/geode/video_cs5530.c * -- CS5530 video device * * Copyright (C) 2005 Arcom Control Systems Ltd. * * Based on AMD's original 2.4 driver: * Copyright (C) 2004 Advanced Micro Devices, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the ...
gpl-2.0
sycolon/android_kernel_lge_g3
mm/ksm.c
59
56098
/* * Memory merging support. * * This code enables dynamic sharing of identical pages found in different * memory areas, even if they are not shared by fork() * * Copyright (C) 2008-2009 Red Hat, Inc. * Authors: * Izik Eidus * Andrea Arcangeli * Chris Wright * Hugh Dickins * * This work is licensed under t...
gpl-2.0
playfulgod/kernel_lge-m695
drivers/staging/iio/imu/adis16300_trigger.c
315
3104
#include <linux/interrupt.h> #include <linux/irq.h> #include <linux/mutex.h> #include <linux/device.h> #include <linux/kernel.h> #include <linux/sysfs.h> #include <linux/list.h> #include <linux/spi/spi.h> #include "../iio.h" #include "../sysfs.h" #include "../trigger.h" #include "adis16300.h" /** * adis16300_data_rd...
gpl-2.0
AOSP-JF/platform_kernel_samsung_jf
sound/drivers/pcsp/pcsp.c
827
5670
/* * PC-Speaker driver for Linux * * Copyright (C) 1997-2001 David Woodhouse * Copyright (C) 2001-2008 Stas Sergeev */ #include <linux/init.h> #include <linux/module.h> #include <linux/platform_device.h> #include <sound/core.h> #include <sound/initval.h> #include <sound/pcm.h> #include <linux/input.h> #include ...
gpl-2.0
HandyMenny/android_kernel_sony_u8500
drivers/gpu/ion/ion_system_heap.c
1595
5081
/* * drivers/gpu/ion/ion_system_heap.c * * Copyright (C) 2011 Google, Inc. * * 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 terms. * * This program is distributed...
gpl-2.0
GustavoRD78/78Kernel-5.1.1-23.4.A.0.546
arch/arm/mach-msm/board-msm7x27.c
2107
55318
/* * Copyright (C) 2007 Google, Inc. * Copyright (c) 2008-2012, The Linux Foundation. All rights reserved. * Author: Brian Swetland <swetland@google.com> * * 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,...
gpl-2.0
bsmitty83/SpecialKang
fs/btrfs/file-item.c
2363
23232
/* * Copyright (C) 2007 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 v2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHO...
gpl-2.0
Tesla-Redux-Devices/android_kernel_samsung_trlte
arch/arm64/mm/context.c
2875
4179
/* * Based on arch/arm/mm/context.c * * Copyright (C) 2002-2003 Deep Blue Solutions Ltd, all rights reserved. * Copyright (C) 2012 ARM Ltd. * * 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 Softwar...
gpl-2.0
VirtuOR/OpenTRILL
linux-3.10.7/arch/arm/mach-omap1/serial.c
3643
6246
/* * linux/arch/arm/mach-omap1/serial.c * * OMAP1 serial support. * * 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/gpio.h> #include <linux/module.h> #includ...
gpl-2.0
DooMLoRD/android_kernel_sony_apq8064
arch/arm/mach-mxs/devices/platform-gpio-mxs.c
5435
1425
/* * Copyright 2011 Freescale Semiconductor, Inc. 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/compiler.h> #include <linux/err.h> #in...
gpl-2.0
SlimRoms/kernel_motorola_shamu
sound/soc/blackfin/bf5xx-ad193x.c
7227
4011
/* * File: sound/soc/blackfin/bf5xx-ad193x.c * Author: Barry Song <Barry.Song@analog.com> * * Created: Thur June 4 2009 * Description: Board driver for ad193x sound chip * * Bugs: Enter bugs at http://blackfin.uclinux.org/ * * This program is free software; you can redistribute it a...
gpl-2.0
speedbot/android_kernel_sony_Nicki
net/appletalk/aarp.c
7483
25491
/* * AARP: An implementation of the AppleTalk AARP protocol for * Ethernet 'ELAP'. * * Alan Cox <Alan.Cox@linux.org> * * This doesn't fit cleanly with the IP arp. Potentially we can use * the generic neighbour discovery code to clean this up. * * FIXME: * We ought to handle the retransmits with a single...
gpl-2.0
Christopher83/samsung-kernel-msm7x30
drivers/mtd/chips/chipreg.c
9787
2346
/* * Registration for chip drivers * */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/kmod.h> #include <linux/spinlock.h> #include <linux/slab.h> #include <linux/mtd/map.h> #include <linux/mtd/mtd.h> static DEFINE_SPINLOCK(chip_drvs_lock); static LIST_HEAD(chip_drvs_list); void register_mtd_...
gpl-2.0
MaxiCM-Test/android_kernel_lge_msm8226
drivers/video/msm/mdss/mdss_mdp_ctl.c
60
72793
/* Copyright (c) 2012-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
sdfd/linux-socfpga
drivers/pci/pci-acpi.c
60
9689
/* * File: pci-acpi.c * Purpose: Provide PCI support in ACPI * * Copyright (C) 2005 David Shaohua Li <shaohua.li@intel.com> * Copyright (C) 2004 Tom Long Nguyen <tom.l.nguyen@intel.com> * Copyright (C) 2004 Intel Corp. */ #include <linux/delay.h> #include <linux/init.h> #include <linux/pci.h> #include <linux/mo...
gpl-2.0
lce67/android_kernel_htc_inc
drivers/net/wimax/SQN/sdio-fw.c
60
18503
/* * This is part of the Sequans SQN1130 driver. * Copyright 2008 SEQUANS Communications * Written by Dmitriy Chumak <chumakd@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 Foundation; e...
gpl-2.0
rickyzhang82/linux-up2date
arch/um/kernel/trap.c
316
8236
/* * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) * Licensed under the GPL */ #include <linux/mm.h> #include <linux/sched.h> #include <linux/hardirq.h> #include <linux/module.h> #include <linux/uaccess.h> #include <asm/current.h> #include <asm/pgtable.h> #include <asm/tlbflush.h> #include <...
gpl-2.0
dastin1015/android_kernel_htc_villec2
fs/fat/namei_vfat.c
1340
26487
/* * linux/fs/vfat/namei.c * * Written 1992,1993 by Werner Almesberger * * Windows95/Windows NT compatible extended MSDOS filesystem * by Gordon Chaffee Copyright (C) 1995. Send bug reports for the * VFAT filesystem to <chaffee@cs.berkeley.edu>. Specify * what file operation caused you trouble and...
gpl-2.0
viaembedded/vab820-kernel-bsp-old
drivers/media/pci/cx25821/cx25821-gpio.c
4412
2516
/* * Driver for the Conexant CX25821 PCIe bridge * * Copyright (C) 2009 Conexant Systems Inc. * Authors <shu.lin@conexant.com>, <hiep.huynh@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 F...
gpl-2.0
CyanideL/android_kernel_lge_hammerhead
arch/powerpc/platforms/ps3/mm.c
4412
32572
/* * PS3 address space management. * * Copyright (C) 2006 Sony Computer Entertainment Inc. * Copyright 2006 Sony Corp. * * 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 o...
gpl-2.0
charles1018/kernel_blu_spark
arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_interconnect_data.c
5436
3309
/* * omap_hwmod_2xxx_3xxx_interconnect_data.c - common interconnect data, OMAP2/3 * * Copyright (C) 2009-2011 Nokia Corporation * Paul Walmsley * * 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 Sof...
gpl-2.0
IGGYVIP/lge-kernel-e430
net/ceph/auth_x.c
6460
16665
#include <linux/ceph/ceph_debug.h> #include <linux/err.h> #include <linux/module.h> #include <linux/random.h> #include <linux/slab.h> #include <linux/ceph/decode.h> #include <linux/ceph/auth.h> #include "crypto.h" #include "auth_x.h" #include "auth_x_protocol.h" #define TEMP_TICKET_BUF_LEN 256 static void ceph_x_...
gpl-2.0
Tesla-Redux-Devices/android_kernel_samsung_trlte
arch/alpha/kernel/sys_sx164.c
9020
4587
/* * linux/arch/alpha/kernel/sys_sx164.c * * Copyright (C) 1995 David A Rusling * Copyright (C) 1996 Jay A Estabrook * Copyright (C) 1998, 1999, 2000 Richard Henderson * * Code supporting the SX164 (PCA56+PYXIS). */ #include <linux/kernel.h> #include <linux/types.h> #include <linux/mm.h> #include <linux/sched....
gpl-2.0
PureNexusProject/android_kernel_asus_fugu
arch/alpha/kernel/sys_alcor.c
9020
7714
/* * linux/arch/alpha/kernel/sys_alcor.c * * Copyright (C) 1995 David A Rusling * Copyright (C) 1996 Jay A Estabrook * Copyright (C) 1998, 1999 Richard Henderson * * Code supporting the ALCOR and XLT (XL-300/366/433). */ #include <linux/kernel.h> #include <linux/types.h> #include <linux/mm.h> #include <linux/s...
gpl-2.0
BOOTMGR/Kernel_JB_3.4
arch/alpha/kernel/sys_eb64p.c
9020
5747
/* * linux/arch/alpha/kernel/sys_eb64p.c * * Copyright (C) 1995 David A Rusling * Copyright (C) 1996 Jay A Estabrook * Copyright (C) 1998, 1999 Richard Henderson * * Code supporting the EB64+ and EB66. */ #include <linux/kernel.h> #include <linux/types.h> #include <linux/mm.h> #include <linux/sched.h> #include...
gpl-2.0
Sudokamikaze/Darkspell-taoshan
arch/alpha/kernel/sys_sio.c
9020
12613
/* * linux/arch/alpha/kernel/sys_sio.c * * Copyright (C) 1995 David A Rusling * Copyright (C) 1996 Jay A Estabrook * Copyright (C) 1998, 1999 Richard Henderson * * Code for all boards that route the PCI interrupts through the SIO * PCI/ISA bridge. This includes Noname (AXPpci33), Multia (UDB), * Kenetics's Pl...
gpl-2.0
ReVolt-ROM/kernel_lge_mako
arch/alpha/kernel/module.c
9276
7757
/* Kernel module help for Alpha. Copyright (C) 2002 Richard Henderson. 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
go2ev-devteam/gopro-linux
arch/cris/arch-v32/mm/intmem.c
11324
3730
/* * Simple allocator for internal RAM in ETRAX FS * * Copyright (c) 2004 Axis Communications AB. */ #include <linux/list.h> #include <linux/slab.h> #include <asm/io.h> #include <memmap.h> #define STATUS_FREE 0 #define STATUS_ALLOCATED 1 #ifdef CONFIG_ETRAX_L2CACHE #define RESERVED_SIZE 66*1024 #else #define RES...
gpl-2.0
viralwang/codeaurora_kernel_msm
sound/soc/codecs/wm8962.c
61
174093
/* * wm8962.c -- WM8962 ALSA SoC Audio driver * * Copyright 2010 Wolfson Microelectronics plc * * Author: Mark Brown <broonie@opensource.wolfsonmicro.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 * publishe...
gpl-2.0
AdvancedClimateSystems/U-Boot
drivers/net/mcfmii.c
61
8328
/* * Copyright (C) 2004-2008 Freescale Semiconductor, Inc. * TsiChung Liew (Tsi-Chung.Liew@freescale.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 Public License as ...
gpl-2.0
shimabde/android_kernel_samsung_galaxys2plus-common
drivers/sensors/yas532/orientation/yas532_orient.c
61
9475
/* * Copyright (c) 2010-2011 Yamaha 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. * * This progr...
gpl-2.0
zeroblade1984/HTC-One-M7
sound/usb/card.c
61
18024
/* * (Tentative) USB Audio Driver for ALSA * * Copyright (c) 2002 by Takashi Iwai <tiwai@suse.de> * * Many codes borrowed from audio.c by * Alan Cox (alan@lxorguk.ukuu.org.uk) * Thomas Sailer (sailer@ife.ee.ethz.ch) * * * This program is free software; you can redistribute it and/or modify * ...
gpl-2.0
paalsteek/android_kernel_moto_milestone2
security/keys/key.c
573
24950
/* Basic authentication token and access key management * * Copyright (C) 2004-2008 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.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...
gpl-2.0
andyjhf/mini2440-linux-2.6.32.2
fs/stack.c
829
1172
#include <linux/module.h> #include <linux/fs.h> #include <linux/fs_stack.h> /* does _NOT_ require i_mutex to be held. * * This function cannot be inlined since i_size_{read,write} is rather * heavy-weight on 32-bit systems */ void fsstack_copy_inode_size(struct inode *dst, const struct inode *src) { i_size_write(...
gpl-2.0
totlth/android_kernel_zte_elden
lib/gen_crc32table.c
3901
2303
#include <stdio.h> #include "crc32defs.h" #include <inttypes.h> #define ENTRIES_PER_LINE 4 #define LE_TABLE_SIZE (1 << CRC_LE_BITS) #define BE_TABLE_SIZE (1 << CRC_BE_BITS) static uint32_t crc32table_le[4][LE_TABLE_SIZE]; static uint32_t crc32table_be[4][BE_TABLE_SIZE]; /** * crc32init_le() - allocate and initiali...
gpl-2.0
daivietpda/m7-gpe-l
arch/sparc/math-emu/math_64.c
4413
15826
/* * arch/sparc64/math-emu/math.c * * Copyright (C) 1997,1999 Jakub Jelinek (jj@ultra.linux.cz) * Copyright (C) 1999 David S. Miller (davem@redhat.com) * * Emulation routines originate from soft-fp package, which is part * of glibc and has appropriate copyrights in it. */ #include <linux/types.h> #include <lin...
gpl-2.0
rbheromax/raybst-kernel
drivers/mtd/mtdoops.c
4669
12483
/* * MTD Oops/Panic logger * * Copyright © 2007 Nokia Corporation. All rights reserved. * * Author: Richard Purdie <rpurdie@openedhand.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 Softwa...
gpl-2.0
poondog/m7_stock_443
drivers/gpu/drm/radeon/radeon_clocks.c
4925
26833
/* * Copyright 2008 Advanced Micro Devices, Inc. * Copyright 2008 Red Hat Inc. * Copyright 2009 Jerome Glisse. * * 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, in...
gpl-2.0
AragaoAnderson/kitkat_kernel_hammerhead
drivers/infiniband/hw/amso1100/c2_intr.c
7741
5759
/* * Copyright (c) 2005 Ammasso, Inc. All rights reserved. * Copyright (c) 2005 Open Grid Computing, 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, availabl...
gpl-2.0
AndroPlus-org/android_kernel_sony_msm8994_kitakami_r2
drivers/staging/rtl8192e/rtl819x_HTProc.c
7997
31703
/****************************************************************************** * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR ...
gpl-2.0
haoyangw/android_kernel_xiaomi_dior
arch/mips/boot/elf2ecoff.c
9277
17012
/* * Copyright (c) 1995 * Ted Lemon (hereinafter referred to as the author) * * 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...
gpl-2.0
aicjofs/android_kernel_lge_v500_stock
net/ipv6/netfilter/ip6table_security.c
9277
2853
/* * "security" table for IPv6 * * This is for use by Mandatory Access Control (MAC) security models, * which need to be able to manage security policy in separate context * to DAC. * * Based on iptable_mangle.c * * Copyright (C) 1999 Paul `Rusty' Russell & Michael J. Neuling * Copyright (C) 2000-2004 Netfilt...
gpl-2.0
samno1607/Xperia-Z-Source-Differences-JB
drivers/pcmcia/pxa2xx_trizeps4.c
9789
4676
/* * linux/drivers/pcmcia/pxa2xx_trizeps4.c * * TRIZEPS PCMCIA specific routines. * * Author: Jürgen Schindele * Created: 20 02, 2006 * Copyright: Jürgen Schindele * * 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 * pu...
gpl-2.0
Gaojiquan/android_kernel_zte_digger
arch/x86/mm/kmemcheck/kmemcheck.c
10813
14463
/** * kmemcheck - a heavyweight memory checker for the linux kernel * Copyright (C) 2007, 2008 Vegard Nossum <vegardno@ifi.uio.no> * (With a lot of help from Ingo Molnar and Pekka Enberg.) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Lice...
gpl-2.0
SerenityS/kernel_msm
drivers/crypto/msm/qcedev.c
318
57651
/* Qualcomm CE device driver. * * 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...
gpl-2.0
PennPanda/linux
drivers/net/wireless/rtlwifi/rtl8821ae/trx.c
830
28877
/****************************************************************************** * * 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
EdwinMoq/android_kernel_lge_omap4-common
drivers/staging/msm/lcdc_toshiba_wvga_pt.c
2110
9135
/* Copyright (c) 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 hope th...
gpl-2.0
koquantam/android_kernel_samsung_grandprimeve3g-CORE
drivers/acpi/acpica/dswscope.c
2622
6750
/****************************************************************************** * * Module Name: dswscope - Scope stack manipulation * *****************************************************************************/ /* * Copyright (C) 2000 - 2013, Intel Corp. * All rights reserved. * * Redistribution and use in ...
gpl-2.0
humberos/android_kernel_samsung_aries
arch/unicore32/kernel/process.c
2878
10098
/* * linux/arch/unicore32/kernel/process.c * * Code specific to PKUnity SoC and UniCore ISA * * Copyright (C) 2001-2010 GUAN Xue-tao * * 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...
gpl-2.0
robacklin/linux-2.6.39.4
drivers/staging/comedi/drivers/adl_pci7296.c
3390
5856
/* comedi/drivers/adl_pci7296.c COMEDI - Linux Control and Measurement Device Interface Copyright (C) 2000 David A. Schleef <ds@schleef.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 Softwa...
gpl-2.0
Jackeagle/kernel_samsung_kmini3g-caf
drivers/tty/synclink.c
4926
235037
/* * $Id: synclink.c,v 4.38 2005/11/07 16:30:34 paulkf Exp $ * * Device driver for Microgate SyncLink ISA and PCI * high speed multiprotocol serial adapters. * * written by Paul Fulghum for Microgate Corporation * paulkf@microgate.com * * Microgate and SyncLink are trademarks of Microgate Corporation * * Der...
gpl-2.0
nunogmartins/net-next
arch/arm/mach-ixp4xx/nas100d-pci.c
4926
1861
/* * arch/arm/mach-ixp4xx/nas100d-pci.c * * NAS 100d board-level PCI initialization * * based on ixdp425-pci.c: * Copyright (C) 2002 Intel Corporation. * Copyright (C) 2003-2004 MontaVista Software, Inc. * * Maintainer: http://www.nslu2-linux.org/ * * This program is free software; you can redistribute it an...
gpl-2.0
willcast/kernel_d851
net/atm/svc.c
7998
16833
/* net/atm/svc.c - ATM SVC sockets */ /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */ #define pr_fmt(fmt) KBUILD_MODNAME ":%s: " fmt, __func__ #include <linux/string.h> #include <linux/net.h> /* struct socket, struct proto_ops */ #include <linux/errno.h> /* error codes */ #include <linux/kernel.h> /* pr...
gpl-2.0
morfic/dow-jpx
arch/mips/pci/ops-sni.c
9534
3734
/* * 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. * * SNI specific PCI support for RM200/RM300. * * Copyright (C) 1997 - 2000, 2003 Ralf Baechle <ralf@linux-mips.org> */ #include <linux/ker...
gpl-2.0
TheNotOnly/linux-3.5
arch/mips/pci/fixup-sni.c
9534
5102
/* * 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. * * SNI specific PCI support for RM200/RM300. * * Copyright (C) 1997 - 2000, 2003, 04 Ralf Baechle (ralf@linux-mips.org) */ #include <linux...
gpl-2.0
pakohan/syso-kernel
linux-3.4.68/sound/pci/ice1712/revo.c
10046
15797
/* * ALSA driver for ICEnsemble ICE1712 (Envy24) * * Lowlevel functions for M-Audio Audiophile 192, Revolution 7.1 and 5.1 * * Copyright (c) 2003 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 a...
gpl-2.0
shinobisoft/android_kernel_lge_msm8226
arch/sh/boot/compressed/misc.c
11326
2699
/* * arch/sh/boot/compressed/misc.c * * This is a collection of several routines from gzip-1.0.3 * adapted for Linux. * * malloc by Hannu Savolainen 1993 and Matthias Urlichs 1994 * * Adapted for SH by Stuart Menefy, Aug 1999 * * Modified to use standard LinuxSH BIOS by Greg Banks 7Jul2000 */ #include <asm/...
gpl-2.0
milodky/tegra_git
arch/mips/cobalt/buttons.c
13886
1516
/* * Cobalt buttons platform device. * * Copyright (C) 2007 Yoichi Yuasa <yuasa@linux-mips.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
heptalium/rpi-sources-3.16
drivers/media/platform/coda.c
63
90730
/* * Coda multi-standard codec IP * * Copyright (C) 2012 Vista Silicon S.L. * Javier Martin, <javier.martin@vista-silicon.com> * Xavier Duret * * 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...
gpl-2.0
Jianwei-Wang/linux-drm-fsl-dcu
net/netfilter/nf_conntrack_timestamp.c
2111
2692
/* * (C) 2010 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 (or any later at your option). */ #include <linux/netfilter.h> #include <l...
gpl-2.0
trickyMan/linux-socfpga
net/netfilter/nf_conntrack_timestamp.c
2111
2692
/* * (C) 2010 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 (or any later at your option). */ #include <linux/netfilter.h> #include <l...
gpl-2.0
Guitarboarder28/android_kernel_htc_flounder
sound/sound_core.c
2111
16315
/* * Sound core. This file is composed of two parts. sound_class * which is common to both OSS and ALSA and OSS sound core which * is used OSS or emulation of it. */ /* * First, the common part. */ #include <linux/module.h> #include <linux/device.h> #include <linux/err.h> #include <linux/kdev_t.h> #include <li...
gpl-2.0
NhlalukoG/android_kernel_samsung_goyave3g
drivers/i2c/busses/i2c-isch.c
2367
9379
/* i2c-isch.c - Linux kernel driver for Intel SCH chipset SMBus - Based on i2c-piix4.c Copyright (c) 1998 - 2002 Frodo Looijaard <frodol@dds.nl> and Philip Edelbrock <phil@netroedge.com> - Intel SCH support Copyright (c) 2007 - 2008 Jacob Jun Pan <jacob.jun.pan@intel.com> This program is fr...
gpl-2.0
VirtuOR/OpenTRILL
linux-3.10.7/drivers/i2c/busses/i2c-isch.c
2367
9379
/* i2c-isch.c - Linux kernel driver for Intel SCH chipset SMBus - Based on i2c-piix4.c Copyright (c) 1998 - 2002 Frodo Looijaard <frodol@dds.nl> and Philip Edelbrock <phil@netroedge.com> - Intel SCH support Copyright (c) 2007 - 2008 Jacob Jun Pan <jacob.jun.pan@intel.com> This program is fr...
gpl-2.0
VRToxin-AOSP/android_kernel_moto_shamu
arch/arm/mach-omap2/sr_device.c
2623
4637
/* * OMAP3/OMAP4 smartreflex device file * * Author: Thara Gopinath <thara@ti.com> * * Based originally on code from smartreflex.c * Copyright (C) 2010 Texas Instruments, Inc. * Thara Gopinath <thara@ti.com> * * Copyright (C) 2008 Nokia Corporation * Kalle Jokiniemi * * Copyright (C) 2007 Texas Instruments,...
gpl-2.0
piccolo-dev/android_kernel_bq_piccolo
drivers/acpi/acpica/utmath.c
2623
9641
/******************************************************************************* * * Module Name: utmath - Integer math support routines * ******************************************************************************/ /* * Copyright (C) 2000 - 2013, Intel Corp. * All rights reserved. * * Redistribution and us...
gpl-2.0
goodhanrry/N910U_goodhanrry_kernel
drivers/acpi/acpica/exnames.c
2623
11666
/****************************************************************************** * * Module Name: exnames - interpreter/scanner name load/execute * *****************************************************************************/ /* * Copyright (C) 2000 - 2013, Intel Corp. * All rights reserved. * * Redistribution...
gpl-2.0
TeamEOS/kernel_oppo_r5
drivers/infiniband/hw/qib/qib_ruc.c
2879
22238
/* * Copyright (c) 2006, 2007, 2008, 2009 QLogic Corporation. All rights reserved. * Copyright (c) 2005, 2006 PathScale, 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)...
gpl-2.0
jeffsf/daothanhduy_kernel_aries
drivers/i2c/busses/i2c-via.c
4159
4497
/* i2c Support for Via Technologies 82C586B South Bridge Copyright (c) 1998, 1999 Kyösti Mälkki <kmalkki@cc.hut.fi> 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
schqiushui/kernel_kk442_sense_dlx
drivers/isdn/gigaset/ser-gigaset.c
4671
18758
/* This is the serial hardware link layer (HLL) for the Gigaset 307x isdn * DECT base (aka Sinus 45 isdn) using the RS232 DECT data module M101, * written as a line discipline. * * ===================================================================== * This program is free software; you can redistribute it and/or ...
gpl-2.0
wyldstallyns/B14CKB1RD_kernel_m8
drivers/memstick/host/r592.c
5183
22064
/* * Copyright (C) 2010 - Maxim Levitsky * driver for Ricoh memstick readers * * 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/modu...
gpl-2.0
lzh6710/ubuntu-trusty
drivers/net/wireless/rtlwifi/core.c
64
40591
/****************************************************************************** * * Copyright(c) 2009-2012 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
zmanji/ecryptfs
drivers/net/ethernet/tehuti/tehuti.c
64
67993
/* * Tehuti Networks(R) Network Driver * ethtool interface implementation * Copyright (C) 2007 Tehuti Networks 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; e...
gpl-2.0
imaginegit/melody_kernel
drivers/media/video/hi704.c
64
80268
/* o* Driver for MT9M001 CMOS Image Sensor from Micron * * Copyright (C) 2008, Guennadi Liakhovetski <kernel@pengutronix.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. */...
gpl-2.0
digetx/picasso-kernel
tools/perf/builtin-record.c
320
23383
/* * 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. */ #include "builtin.h" #include "perf.h" #include "util/build-id.h" #include "util/util.h" #include "util/parse-options.h" #include "u...
gpl-2.0
Myself5/android_kernel_sony_msm
drivers/i2c/busses/i2c-designware-core.c
1344
20797
/* * Synopsys DesignWare I2C adapter driver (master only). * * Based on the TI DAVINCI I2C adapter driver. * * Copyright (C) 2006 Texas Instruments. * Copyright (C) 2007 MontaVista Software Inc. * Copyright (C) 2009 Provigent Ltd. * * ----------------------------------------------------------------------------...
gpl-2.0
sleshepic/l900_MK4_Kernel
net/bluetooth/rfcomm/sock.c
1600
22391
/* RFCOMM implementation for Linux Bluetooth stack (BlueZ). Copyright (C) 2002 Maxim Krasnyansky <maxk@qualcomm.com> Copyright (C) 2002 Marcel Holtmann <marcel@holtmann.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version ...
gpl-2.0