repo_name
string
path
string
copies
string
size
string
content
string
license
string
tifler/linux-mainline
net/ipv6/netfilter/ip6table_mangle.c
611
4119
/* * IPv6 packet mangling table, a port of the IPv4 mangle table to IPv6 * * Copyright (C) 2000-2001 by Harald Welte <laforge@gnumonks.org> * 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 G...
gpl-2.0
arkusuma/mediapad_kernel_ics
sound/soc/msm/msm8x60-dai.c
867
3844
/* sound/soc/msm/msm-dai.c * * Copyright (C) 2008 Google, Inc. * Copyright (C) 2008 HTC Corporation * Copyright (c) 2010, Code Aurora Forum. All rights reserved. * * Derived from msm-pcm.c and msm7201.c. * * This software is licensed under the terms of the GNU General Public * License version 2, as published b...
gpl-2.0
koolkhel/linux
tools/perf/util/stat.c
1379
1075
#include <math.h> #include "stat.h" void update_stats(struct stats *stats, u64 val) { double delta; stats->n++; delta = val - stats->mean; stats->mean += delta / stats->n; stats->M2 += delta*(val - stats->mean); if (val > stats->max) stats->max = val; if (val < stats->min) stats->min = val; } double av...
gpl-2.0
mstfkaratas/kernel_htc_msm7227
arch/sh/boards/mach-edosk7705/io.c
1635
1812
/* * arch/sh/boards/renesas/edosk7705/io.c * * Copyright (C) 2001 Ian da Silva, Jeremy Siegel * Based largely on io_se.c. * * I/O routines for Hitachi EDOSK7705 board. * */ #include <linux/kernel.h> #include <linux/types.h> #include <linux/io.h> #include <mach/edosk7705.h> #include <asm/addrspace.h> #define ...
gpl-2.0
bemolxd/android_kernel_x2xtreme-test
fs/dlm/config.c
2147
27151
/****************************************************************************** ******************************************************************************* ** ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. ** Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved. ** ** This copyrig...
gpl-2.0
RichardWithnell/mptcp-rpi
arch/arm/mach-imx/mm-imx1.c
2147
1883
/* * author: Sascha Hauer * Created: april 20th, 2004 * Copyright: Synertronixx GmbH * * Common code for i.MX1 machines * * 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 vers...
gpl-2.0
AndroidGX/SimpleGX-MM-6.0_H815_20i
drivers/staging/bcm/InterfaceTx.c
2403
6561
#include "headers.h" /*this is transmit call-back(BULK OUT)*/ static void write_bulk_callback(struct urb *urb/*, struct pt_regs *regs*/) { struct bcm_usb_tcb *pTcb= (struct bcm_usb_tcb *)urb->context; struct bcm_interface_adapter *psIntfAdapter = pTcb->psIntfAdapter; struct bcm_link_request *pControlMsg = (struct b...
gpl-2.0
brieuwers/N80001600Mhz
drivers/ata/pata_arasan_cf.c
2915
26825
/* * drivers/ata/pata_arasan_cf.c * * Arasan Compact Flash host controller source file * * Copyright (C) 2011 ST Microelectronics * Viresh Kumar <viresh.kumar@st.com> * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warrant...
gpl-2.0
intel-linux-graphics/drm-intel
drivers/tty/serial/8250/8250_hp300.c
2915
7843
/* * 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
Meticulus/android_kernel_samsung_codina
drivers/net/wireless/bcm4329/siutils.c
4195
35763
/* * Misc utility routines for accessing chip-specific features * of the SiliconBackplane-based Broadcom chips. * * Copyright (C) 1999-2010, Broadcom Corporation * * Unless you and Broadcom execute a separate written software license * agreement governing use of this software, this software is licensed to ...
gpl-2.0
m7rom/android_kernel_htc_msm8960
drivers/media/common/tuners/max2165.c
4963
10282
/* * Driver for Maxim MAX2165 silicon tuner * * Copyright (c) 2009 David T. L. Wong <davidtlwong@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; either version 2 of the ...
gpl-2.0
slz/delidded-kernel-n900t-note3
fs/hfsplus/catalog.c
4963
11270
/* * linux/fs/hfsplus/catalog.c * * Copyright (C) 2001 * Brad Boyer (flar@allandria.com) * (C) 2003 Ardis Technologies <roman@ardistech.com> * * Handling of catalog records */ #include "hfsplus_fs.h" #include "hfsplus_raw.h" int hfsplus_cat_case_cmp_key(const hfsplus_btree_key *k1, const hfsplus_btr...
gpl-2.0
fat-tire/android_kernel_qcom_kfire-hdx-common
sound/pci/ctxfi/ctdaio.c
8035
17649
/** * Copyright (C) 2008, Creative Technology Ltd. All Rights Reserved. * * This source file is released under GPL v2 license (no other versions). * See the COPYING file included in the main directory of this source * distribution for the license terms and conditions. * * @File ctdaio.c * * @Brief * This file...
gpl-2.0
Pantech-Discover/android_kernel_pantech_magnus
drivers/rtc/rtc-generic.c
10083
1759
/* rtc-generic: RTC driver using the generic RTC abstraction * * Copyright (C) 2008 Kyle McMartin <kyle@mcmartin.ca> */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/time.h> #include <linux/platform_device.h> #include <linux/rtc.h> #include <asm/rtc.h> static int generic_get_time(struct devi...
gpl-2.0
joebonrichie/CAF_kernel-msm_M76XXUSNSKTLYA4145
drivers/video/sysfillrect.c
14691
7646
/* * Generic fillrect for frame buffers in system RAM with packed pixels of * any depth. * * Based almost entirely from cfbfillrect.c (which is based almost entirely * on Geert Uytterhoeven's fillrect routine) * * Copyright (C) 2007 Antonino Daplas <adaplas@pol.net> * * This file is subject to the t...
gpl-2.0
msduketown/xbmc
xbmc/windowing/egl/EGLNativeTypeWayland.cpp
100
9742
/* * Copyright (C) 2011-2013 Team XBMC * http://xbmc.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, or (at your option) * any later version. * * ...
gpl-2.0
remilia15/android_kernel_samsung_grandprimeve3g-RZ
drivers/staging/comedi/drivers/adl_pci7x3x.c
356
8136
/* * COMEDI driver for the ADLINK PCI-723x/743x series boards. * Copyright (C) 2012 H Hartley Sweeten <hsweeten@visionengravers.com> * * Based on the adl_pci7230 driver written by: * David Fernandez <dfcastelao@gmail.com> * and the adl_pci7432 driver written by: * Michel Lachaine <mike@mikelachaine.ca> * * COM...
gpl-2.0
abhijeet-dev/ll-arndale-octa
drivers/staging/vt6656/tkip.c
356
8336
/* * Copyright (c) 1996, 2003 VIA Networking Technologies, 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; either version 2 of the License, or * (at your opt...
gpl-2.0
omkar062/linux-4.0.4
drivers/gpu/drm/i915/i915_ioc32.c
356
7195
/** * \file i915_ioc32.c * * 32-bit ioctl compatibility routines for the i915 DRM. * * \author Alan Hourihane <alanh@fairlite.demon.co.uk> * * * Copyright (C) Paul Mackerras 2005 * Copyright (C) Alan Hourihane 2005 * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtain...
gpl-2.0
Compulsion/linux-stable
net/ipv4/netfilter/nf_tables_arp.c
612
2413
/* * Copyright (c) 2008-2010 Patrick McHardy <kaber@trash.net> * Copyright (c) 2013 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. * ...
gpl-2.0
Milad1993/linux
arch/arm/mach-shmobile/board-marzen-reference.c
612
1575
/* * marzen board support - Reference DT implementation * * Copyright (C) 2011 Renesas Solutions Corp. * Copyright (C) 2011 Magnus Damm * Copyright (C) 2013 Simon Horman * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publishe...
gpl-2.0
ignacio28/android_kernel_lge_msm8610
mm/bootmem.c
1380
21224
/* * bootmem - A boot-time physical memory allocator and configurator * * Copyright (C) 1999 Ingo Molnar * 1999 Kanoj Sarcar, SGI * 2008 Johannes Weiner * * Access to this subsystem has to be serialized externally (which is true * for the boot process anyway). */ #include <linux...
gpl-2.0
rchicoli/linux
arch/powerpc/sysdev/fsl_mpic_timer_wakeup.c
2404
3532
/* * MPIC timer wakeup driver * * Copyright 2013 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 as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) an...
gpl-2.0
Arc-Team/android_kernel_htc_ruby
drivers/power/bq27x00_battery.c
2660
19952
/* * BQ27x00 battery driver * * Copyright (C) 2008 Rodolfo Giometti <giometti@linux.it> * Copyright (C) 2008 Eurotech S.p.A. <info@eurotech.it> * Copyright (C) 2010-2011 Lars-Peter Clausen <lars@metafoo.de> * Copyright (C) 2011 Pali Rohár <pali.rohar@gmail.com> * * Based on a previous work by Copyright (C) 2008...
gpl-2.0
animania260/android_ani-kernel_galaxy_reverb
drivers/media/video/tvp514x.c
2916
32432
/* * drivers/media/video/tvp514x.c * * TI TVP5146/47 decoder driver * * Copyright (C) 2008 Texas Instruments Inc * Author: Vaibhav Hiremath <hvaibhav@ti.com> * * Contributors: * Sivaraj R <sivaraj@ti.com> * Brijesh R Jadav <brijesh.j@ti.com> * Hardik Shah <hardik.shah@ti.com> * Manjunath Had...
gpl-2.0
jwhitham/ppc_linux
arch/mips/jz4740/prom.c
3428
1508
/* * Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de> * JZ4740 SoC prom code * * 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 ...
gpl-2.0
jsr-d10/android_kernel_jsr_msm8226
drivers/media/rc/user-rc-input.c
3428
6543
/* Copyright (c) 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 hope...
gpl-2.0
embeddedarm/linux-2.6.35-ts4800
drivers/misc/c2port/core.c
4196
22013
/* * Silicon Labs C2 port core Linux support * * Copyright (c) 2007 Rodolfo Giometti <giometti@linux.it> * Copyright (c) 2007 Eurotech S.p.A. <info@eurotech.it> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as publishe...
gpl-2.0
HarveyHunt/CI20_linux
fs/hfs/bfind.c
4452
4653
/* * linux/fs/hfs/bfind.c * * Copyright (C) 2001 * Brad Boyer (flar@allandria.com) * (C) 2003 Ardis Technologies <roman@ardistech.com> * * Search routines for btrees */ #include <linux/slab.h> #include "btree.h" int hfs_find_init(struct hfs_btree *tree, struct hfs_find_data *fd) { void *ptr; fd->tree = tr...
gpl-2.0
theboleslaw/hammerhead_kernel
drivers/staging/iio/accel/adis16201_core.c
4964
13229
/* * ADIS16201 Programmable Digital Vibration Sensor driver * * Copyright 2010 Analog Devices Inc. * * Licensed under the GPL-2 or later. */ #include <linux/delay.h> #include <linux/mutex.h> #include <linux/device.h> #include <linux/kernel.h> #include <linux/spi/spi.h> #include <linux/slab.h> #include <linux/sys...
gpl-2.0
chadouming/canuck-3.10
arch/powerpc/oprofile/common.c
6756
6329
/* * PPC 64 oprofile support: * Copyright (C) 2004 Anton Blanchard <anton@au.ibm.com>, IBM * PPC 32 oprofile support: (based on PPC 64 support) * Copyright (C) Freescale Semiconductor, Inc 2004 * Author: Andy Fleming * * Based on alpha version. * * This program is free software; you can redistribute it and/or ...
gpl-2.0
xjljian/android_kernel_huawei_msm8226
arch/powerpc/lib/locks.c
6756
2225
/* * Spin and read/write lock operations. * * Copyright (C) 2001-2004 Paul Mackerras <paulus@au.ibm.com>, IBM * Copyright (C) 2001 Anton Blanchard <anton@au.ibm.com>, IBM * Copyright (C) 2002 Dave Engebretsen <engebret@us.ibm.com>, IBM * Rework to support virtual processors * * This program is free software; ...
gpl-2.0
HighwindONE/Kernel_GoldStar
arch/mips/cavium-octeon/executive/cvmx-cmd-queue.c
7012
9447
/***********************license start*************** * Author: Cavium Networks * * Contact: support@caviumnetworks.com * This file is part of the OCTEON SDK * * Copyright (c) 2003-2008 Cavium Networks * * This file is free software; you can redistribute it and/or modify * it under the terms of the GNU General ...
gpl-2.0
nobodyAtall/msm7x27-2.6.32.x-nAa
arch/mips/nxp/pnx833x/stb22x/board.c
9060
3926
/* * board.c: STB225 board support. * * Copyright 2008 NXP Semiconductors * Chris Steel <chris.steel@nxp.com> * Daniel Laird <daniel.j.laird@nxp.com> * * Based on software written by: * Nikita Youshchenko <yoush@debian.org>, based on PNX8550 code. * * This program is free software; you can redis...
gpl-2.0
jbott/android_kernel_rpi_rpi
Documentation/prctl/disable-tsc-test.c
12900
2121
/* * Tests for prctl(PR_GET_TSC, ...) / prctl(PR_SET_TSC, ...) * * Basic test to test behaviour of PR_GET_TSC and PR_SET_TSC */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <signal.h> #include <inttypes.h> #include <sys/prctl.h> #include <linux/prctl.h> /* Get/set the process' ability to ...
gpl-2.0
hyuh/kernel-dlx
drivers/s390/cio/fcx.c
13924
9488
/* * Functions for assembling fcx enabled I/O control blocks. * * Copyright IBM Corp. 2008 * Author(s): Peter Oberparleiter <peter.oberparleiter@de.ibm.com> */ #include <linux/kernel.h> #include <linux/types.h> #include <linux/string.h> #include <linux/errno.h> #include <linux/err.h> #include <linux/module...
gpl-2.0
Think-Silicon/linux-thinksilicon
net/sched/cls_cgroup.c
101
7370
/* * net/sched/cls_cgroup.c Control Group 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 later version. * * A...
gpl-2.0
bingfengxiaokai/u-boot-2012.04.01-tranplate
arch/arm/cpu/arm926ejs/kirkwood/cpu.c
101
11301
/* * (C) Copyright 2009 * Marvell Semiconductor <www.marvell.com> * Written-by: Prafulla Wadaskar <prafulla@marvell.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 Pu...
gpl-2.0
koying/buildroot-linux-kernel-m3-pivos
drivers/amlogic/wifi/nano_c047_12/WiFiEngine/wifi_drv/src/we_lqm.c
101
2600
/* $Id: $ */ /** @defgroup we_lqm WiFiEngine link quality management * * \brief This module implements WiFiEngine link quality management * * On recieving PEER_STATUS Warnings lqm will issue probes to the AP to * force the AP to sent responces. This will make the link less vonurable * to AP'n that tometimes 'fo...
gpl-2.0
FrozenCow/FIRE-ICE
drivers/net/wireless/bcmdhd/hnd_pktq.c
357
10681
/* * HND generic pktq operation primitives * * Copyright (C) 1999-2014, Broadcom Corporation * * Unless you and Broadcom execute a separate written software license * agreement governing use of this software, this software is licensed to you * under the terms of the GNU General Public License version 2 (th...
gpl-2.0
vmayoral/snappy-kernel
drivers/gpu/drm/msm/msm_gem_submit.c
869
10078
/* * Copyright (C) 2013 Red Hat * Author: Rob Clark <robdclark@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. * * This program is distributed in the hope that it ...
gpl-2.0
thiz11/kernel_mediatek_wiko
drivers/usb/serial/visor.c
869
21696
/* * USB HandSpring Visor, Palm m50x, and Sony Clie driver * (supports all of the Palm OS USB devices) * * Copyright (C) 1999 - 2004 * Greg Kroah-Hartman (greg@kroah.com) * * 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
WaRP7/linux-fslc
drivers/net/wan/pci200syn.c
1637
11475
/* * Goramo PCI200SYN synchronous serial card driver for Linux * * Copyright (C) 2002-2008 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 Software Foundation. ...
gpl-2.0
qkdxorjs1002/nov_kernel_razr
sound/soc/codecs/ak4104.c
2917
7467
/* * AK4104 ALSA SoC (ASoC) driver * * Copyright (c) 2009 Daniel Mack <daniel@caiaq.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 y...
gpl-2.0
emceethemouth/kernel_android
drivers/gpu/drm/nouveau/core/subdev/vm/nv44.c
3173
6933
/* * Copyright 2012 Red Hat Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, d...
gpl-2.0
Samsung-BCM/android_kernel_samsung_bcm
arch/x86/um/sys_call_table_64.c
4197
1635
/* * System call table for UML/x86-64, copied from arch/x86/kernel/syscall_*.c * with some changes for UML. */ #include <linux/linkage.h> #include <linux/sys.h> #include <linux/cache.h> #include <generated/user_constants.h> #define __NO_STUBS /* * Below you can see, in terms of #define's, the differences between...
gpl-2.0
gerard87/kernel_angler_n_mr1
arch/ia64/kernel/sys_ia64.c
4197
4501
/* * This file contains various system calls that have different calling * conventions on different platforms. * * Copyright (C) 1999-2000, 2002-2003, 2005 Hewlett-Packard Co * David Mosberger-Tang <davidm@hpl.hp.com> */ #include <linux/errno.h> #include <linux/fs.h> #include <linux/mm.h> #include <linux/mman.h> ...
gpl-2.0
samarthp/sam-tenderloin-kernel-3.4
drivers/staging/iio/dds/ad5930.c
4965
3539
/* * Driver for ADI Direct Digital Synthesis ad5930 * * Copyright (c) 2010-2010 Analog Devices 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/type...
gpl-2.0
Split-Screen/android_kernel_htc_msm8960
drivers/input/misc/gp2ap002a00f.c
4965
6166
/* * Copyright (C) 2011 Sony Ericsson Mobile Communications Inc. * * Author: Courtney Cavin <courtney.cavin@sonyericsson.com> * Prepared for up-stream by: Oskar Andero <oskar.andero@sonyericsson.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General ...
gpl-2.0
SOKP/kernel_samsung_hlte
arch/sparc/kernel/cpumap.c
7013
11009
/* cpumap.c: used for optimizing CPU assignment * * Copyright (C) 2009 Hong H. Pham <hong.pham@windriver.com> */ #include <linux/export.h> #include <linux/slab.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/cpumask.h> #include <linux/spinlock.h> #include <asm/cpudata.h> #include "cpumap.h" e...
gpl-2.0
AOKP/kernel_lge_mako
arch/x86/um/user-offsets.c
9061
2490
#include <stdio.h> #include <stddef.h> #include <signal.h> #include <sys/poll.h> #include <sys/mman.h> #include <sys/user.h> #define __FRAME_OFFSETS #include <asm/ptrace.h> #include <asm/types.h> #ifdef __i386__ #define __SYSCALL_I386(nr, sym, compat) [nr] = 1, static char syscalls[] = { #include <asm/syscalls_32.h> }...
gpl-2.0
Team-Hydra/android_kernel_htc_msm8660-caf
Documentation/prctl/disable-tsc-on-off-stress-test.c
12901
1717
/* * Tests for prctl(PR_GET_TSC, ...) / prctl(PR_SET_TSC, ...) * * Tests if the control register is updated correctly * when set with prctl() * * Warning: this test will cause a very high load for a few seconds * */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <signal.h> #include <inttyp...
gpl-2.0
iains/darwin-gcc-5
libgomp/testsuite/libgomp.fortran/udr8.f90
102
1074
! { dg-do run } module udr8m1 integer, parameter :: a = 6 integer :: b !$omp declare reduction (foo : integer : omp_out = omp_out + omp_in) !$omp declare reduction (.add. : integer : & !$omp & omp_out = omp_out .add. iand (omp_in, -4)) & !$omp & initializer (omp_priv = 3) interface operator (.add.) module pr...
gpl-2.0
sudosurootdev/linux
drivers/usb/core/hub.c
102
165602
/* * USB hub driver. * * (C) Copyright 1999 Linus Torvalds * (C) Copyright 1999 Johannes Erdfelt * (C) Copyright 1999 Gregory P. Smith * (C) Copyright 2001 Brad Hards (bhards@bigpond.net.au) * */ #include <linux/kernel.h> #include <linux/errno.h> #include <linux/module.h> #include <linux/moduleparam.h> #includ...
gpl-2.0
TeamWin/android_kernel_oppo_r7f
arch/arm64/mm/hugetlbpage.c
358
1861
/* * arch/arm64/mm/hugetlbpage.c * * Copyright (C) 2013 Linaro Ltd. * * Based on arch/x86/mm/hugetlbpage.c. * * 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 progra...
gpl-2.0
Hundsbuah/tf300t_10_6_1_8_4
fs/logfs/dir.c
358
21375
/* * fs/logfs/dir.c - directory-related code * * As should be obvious for Linux kernel code, license is GPLv2 * * Copyright (c) 2005-2008 Joern Engel <joern@logfs.org> */ #include "logfs.h" #include <linux/slab.h> /* * Atomic dir operations * * Directory operations are by default not atomic. Dentries and Ino...
gpl-2.0
Cryptoo/kernel
drivers/net/ethernet/packetengines/hamachi.c
614
64048
/* hamachi.c: A Packet Engines GNIC-II Gigabit Ethernet driver for Linux. */ /* Written 1998-2000 by Donald Becker. Updates 2000 by Keith Underwood. This software may be used and distributed according to the terms of the GNU General Public License (GPL), incorporated herein by reference. Drivers based on or deriv...
gpl-2.0
sajal/mptcp-rpi
net/nfc/rawsock.c
614
7815
/* * Copyright (C) 2011 Instituto Nokia de Tecnologia * * Authors: * Aloisio Almeida Jr <aloisio.almeida@openbossa.org> * Lauro Ramos Venancio <lauro.venancio@openbossa.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as p...
gpl-2.0
hallovveen31/ICED_COLD_Hercules_JB_Kernel
drivers/md/dm-flakey.c
1638
4953
/* * Copyright (C) 2003 Sistina Software (UK) Limited. * Copyright (C) 2004, 2010 Red Hat, Inc. All rights reserved. * * This file is released under the GPL. */ #include <linux/device-mapper.h> #include <linux/module.h> #include <linux/init.h> #include <linux/blkdev.h> #include <linux/bio.h> #include <linux/slab...
gpl-2.0
2fast4u88/Htc-Kingdom-FastKernel
arch/powerpc/platforms/cell/cpufreq_spudemand.c
1638
4449
/* * spu aware cpufreq governor for the cell processor * * © Copyright IBM Corporation 2006-2008 * * Author: Christian Krafft <krafft@de.ibm.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 F...
gpl-2.0
bigzz/big-LITTLE-MP
drivers/hid/hid-roccat-kone.c
2150
24461
/* * Roccat Kone driver for Linux * * Copyright (c) 2010 Stefan Achatz <erazor_de@users.sourceforge.net> */ /* * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the Lic...
gpl-2.0
sohkis/android_kernel_motorola_shamu
drivers/pcmcia/electra_cf.c
2406
8746
/* * Copyright (C) 2007 PA Semi, Inc * * Maintained by: Olof Johansson <olof@lixom.net> * * Based on drivers/pcmcia/omap_cf.c * * 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 ve...
gpl-2.0
bheu/odroid_linux
drivers/gpu/drm/radeon/radeon_atpx_handler.c
2662
7275
/* * Copyright (c) 2010 Red Hat Inc. * Author : Dave Airlie <airlied@redhat.com> * * Licensed under GPLv2 * * ATPX support for both Intel/ATI */ #include <linux/vga_switcheroo.h> #include <linux/slab.h> #include <acpi/acpi.h> #include <acpi/acpi_bus.h> #include <linux/pci.h> #define ATPX_VERSION 0 #define ATPX_...
gpl-2.0
theophile/SM-N920R7_MM_Kernel
net/rds/tcp_listen.c
2662
5198
/* * Copyright (c) 2006 Oracle. 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 this source tree, or t...
gpl-2.0
vakkov/android-n900-nitdroid_kernel
drivers/usb/serial/funsoft.c
4198
1526
/* * Funsoft Serial USB driver * * Copyright (C) 2006 Greg Kroah-Hartman <gregkh@suse.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 <linux/kernel.h> #inclu...
gpl-2.0
avisconti/prova
fs/bfs/dir.c
4966
9070
/* * fs/bfs/dir.c * BFS directory operations. * Copyright (C) 1999,2000 Tigran Aivazian <tigran@veritas.com> * Made endianness-clean by Andrew Stribblehill <ads@wompom.org> 2005 */ #include <linux/time.h> #include <linux/string.h> #include <linux/fs.h> #include <linux/buffer_head.h> #include <linux/sched.h>...
gpl-2.0
RenderBroken/ghost_render_kernel
fs/coda/pioctl.c
5734
2201
/* * Pioctl operations for Coda. * Original version: (C) 1996 Peter Braam * Rewritten for Linux 2.1: (C) 1997 Carnegie Mellon University * * Carnegie Mellon encourages users of this code to contribute improvements * to the Coda project. Contact Peter Braam <coda@cs.cmu.edu>. */ #include <linux/types.h> #include...
gpl-2.0
jcsullins/kernel-tenderloin-3.0
drivers/message/i2o/i2o_config.c
8038
26831
/* * I2O Configuration Interface Driver * * (C) Copyright 1999-2002 Red Hat * * Written by Alan Cox, Building Number Three Ltd * * Fixes/additions: * Deepak Saxena (04/20/1999): * Added basic ioctl() support * Deepak Saxena (06/07/1999): * Added software download ioctl (still testing) * Auvo Häkkinen (09...
gpl-2.0
coreentin/android_kernel_nvidia_s8515
Documentation/connector/cn_test.c
9062
4694
/* * cn_test.c * * 2004+ Copyright (c) Evgeniy Polyakov <zbr@ioremap.net> * 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 ...
gpl-2.0
MoKee/android_kernel_htc_dlx
arch/x86/kernel/audit_64.c
13158
1870
#include <linux/init.h> #include <linux/types.h> #include <linux/audit.h> #include <asm/unistd.h> static unsigned dir_class[] = { #include <asm-generic/audit_dir_write.h> ~0U }; static unsigned read_class[] = { #include <asm-generic/audit_read.h> ~0U }; static unsigned write_class[] = { #include <asm-generic/audit_w...
gpl-2.0
LeonardKoenig/android_kernel_coolpad_8860U
arch/x86/kernel/audit_64.c
13158
1870
#include <linux/init.h> #include <linux/types.h> #include <linux/audit.h> #include <asm/unistd.h> static unsigned dir_class[] = { #include <asm-generic/audit_dir_write.h> ~0U }; static unsigned read_class[] = { #include <asm-generic/audit_read.h> ~0U }; static unsigned write_class[] = { #include <asm-generic/audit_w...
gpl-2.0
evaautomation/linux
drivers/media/v4l2-core/videobuf2-memops.c
103
3862
/* * videobuf2-memops.c - generic memory handling routines for videobuf2 * * Copyright (C) 2010 Samsung Electronics * * Author: Pawel Osciak <pawel@osciak.com> * Marek Szyprowski <m.szyprowski@samsung.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the G...
gpl-2.0
fanyukui/linux3.12.10
arch/arm/mach-hisi/platsmp.c
359
2185
/* * Copyright (c) 2013 Linaro Ltd. * Copyright (c) 2013 Hisilicon Limited. * Based on arch/arm/mach-vexpress/platsmp.c, Copyright (C) 2002 ARM Ltd. * * 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 publ...
gpl-2.0
kbukin1/pnotify-linux-4.1.6
lib/sort.c
359
2604
/* * A fast, small, non-recursive O(nlog n) sort for the Linux kernel * * Jan 23 2005 Matt Mackall <mpm@selenic.com> */ #include <linux/types.h> #include <linux/export.h> #include <linux/sort.h> static void u32_swap(void *a, void *b, int size) { u32 t = *(u32 *)a; *(u32 *)a = *(u32 *)b; *(u32 *)b = t; } stat...
gpl-2.0
lmajewski/linux-samsung-thermal
arch/mips/loongson1/common/time.c
615
6029
/* * Copyright (c) 2014 Zhang, Keguang <keguang.zhang@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; either version 2 of the License, or (at your * option) any later vers...
gpl-2.0
jianpingye/linux
sound/soc/codecs/wm8958-dsp2.c
871
27850
/* * wm8958-dsp2.c -- WM8958 DSP2 support * * Copyright 2011 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 * published by th...
gpl-2.0
Compulsion/linux-stable
drivers/i2c/busses/i2c-designware-baytrail.c
871
3862
/* * Intel BayTrail PMIC I2C bus semaphore implementaion * Copyright (c) 2014, Intel Corporation. * * 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. * * This pr...
gpl-2.0
0x20c24/linux-psec
drivers/pci/slot.c
1127
10406
/* * drivers/pci/slot.c * Copyright (C) 2006 Matthew Wilcox <matthew@wil.cx> * Copyright (C) 2006-2009 Hewlett-Packard Development Company, L.P. * Alex Chiang <achiang@hp.com> */ #include <linux/kobject.h> #include <linux/slab.h> #include <linux/module.h> #include <linux/pci.h> #include <linux/err.h> #include "pc...
gpl-2.0
Myself5/android_kernel_sony_msm
drivers/leds/leds-blinkm.c
2407
21023
/* * leds-blinkm.c * (c) Jan-Simon Möller (dl9pf@gmx.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. ...
gpl-2.0
bigbiff/android_kernel_samsung_sm900p
net/l2tp/l2tp_ip.c
2663
16910
/* * L2TPv3 IP encapsulation support * * Copyright (c) 2008,2009,2010 Katalix Systems Ltd * * 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...
gpl-2.0
NookieDevs/android_kernel_bn_encore
drivers/net/lp486e.c
2919
33023
/* Intel Professional Workstation/panther ethernet driver */ /* lp486e.c: A panther 82596 ethernet driver for linux. */ /* History and copyrights: Driver skeleton Written 1993 by Donald Becker. Copyright 1993 United States Government as represented by the Director, National Security Age...
gpl-2.0
GameTheory-/android_kernel_lge_l1m
arch/sparc/math-emu/math_32.c
3431
17713
/* * arch/sparc/math-emu/math.c * * Copyright (C) 1998 Peter Maydell (pmaydell@chiark.greenend.org.uk) * Copyright (C) 1997, 1999 Jakub Jelinek (jj@ultra.linux.cz) * Copyright (C) 1999 David S. Miller (davem@redhat.com) * * This is a good place to start if you're trying to understand the * emulation code, becau...
gpl-2.0
hominlinx/linux-bananapi
drivers/oprofile/buffer_sync.c
8039
13822
/** * @file buffer_sync.c * * @remark Copyright 2002-2009 OProfile authors * @remark Read the file COPYING * * @author John Levon <levon@movementarian.org> * @author Barry Kasindorf * @author Robert Richter <robert.richter@amd.com> * * This is the core of the buffer management. Each * CPU buffer is processed...
gpl-2.0
AOKP/kernel_htc_m7
fs/logfs/dev_mtd.c
9319
6792
/* * fs/logfs/dev_mtd.c - Device access methods for MTD * * As should be obvious for Linux kernel code, license is GPLv2 * * Copyright (c) 2005-2008 Joern Engel <joern@logfs.org> */ #include "logfs.h" #include <linux/completion.h> #include <linux/mount.h> #include <linux/sched.h> #include <linux/slab.h> #define ...
gpl-2.0
pacificIT/edison-kernel
drivers/pcmcia/pxa2xx_cm_x270.c
9831
2472
/* * linux/drivers/pcmcia/pxa/pxa_cm_x270.c * * 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. * * Compulab Ltd., 2003, 2007, 2008 * Mike Rapoport <mike@compulab.co.il> * */ ...
gpl-2.0
ohporter/linux-am33x
drivers/mtd/maps/vmax301.c
10343
5370
/* ###################################################################### Tempustech VMAX SBC301 MTD Driver. The VMAx 301 is a SBC based on . It comes with three builtin AMD 29F016B flash chips and a socket for SRAM or more flash. Each unit has it's own 8k mapping into a settable region (0xD8000). Ther...
gpl-2.0
TeamTwisted/hells-Core-N5
drivers/net/ethernet/pasemi/pasemi_mac_ethtool.c
10855
4327
/* * Copyright (C) 2006-2008 PA Semi, Inc * * Ethtool hooks for the PA Semi PWRficient onchip 1G/10G Ethernet MACs * * 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
htc-mirror/ruby-ics-crc-3.0.16-fd362fb
arch/sh/lib/delay.c
12135
1067
/* * Precise Delay Loops for SuperH * * Copyright (C) 1999 Niibe Yutaka & Kaz Kojima */ #include <linux/sched.h> #include <linux/delay.h> void __delay(unsigned long loops) { __asm__ __volatile__( /* * ST40-300 appears to have an issue with this code, * normally taking two cycles each loop, as with all ...
gpl-2.0
matthiasdiener/kmaf
drivers/s390/cio/qdio_main.c
104
45284
/* * Linux for s390 qdio support, buffer handling, qdio API and module support. * * Copyright IBM Corp. 2000, 2008 * Author(s): Utz Bacher <utz.bacher@de.ibm.com> * Jan Glauber <jang@linux.vnet.ibm.com> * 2.6 cio integration by Cornelia Huck <cornelia.huck@de.ibm.com> */ #include <linux/module.h> #include ...
gpl-2.0
zuoyanyouwu/Telegram
TMessagesProj/jni/boringssl/crypto/x509/x509spki.c
104
4710
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999. */ /* ==================================================================== * Copyright (c) 1999 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are...
gpl-2.0
oliliango/linux-cedarview_gfx
drivers/staging/xgifb/vb_init.c
104
40553
#include <linux/delay.h> #include <linux/vmalloc.h> #include "XGIfb.h" #include "vb_def.h" #include "vb_util.h" #include "vb_setmode.h" #include "vb_init.h" static const unsigned short XGINew_DDRDRAM_TYPE340[4][2] = { { 16, 0x45}, { 8, 0x35}, { 4, 0x31}, { 2, 0x21} }; static const unsigned short XGINew_DDRDRAM...
gpl-2.0
Shimejing/linux
drivers/acpi/acpica/tbinstal.c
360
15869
/****************************************************************************** * * Module Name: tbinstal - ACPI table installation and removal * *****************************************************************************/ /* * Copyright (C) 2000 - 2015, Intel Corp. * All rights reserved. * * Redistribution ...
gpl-2.0
froggy666uk/Froggy_SensMod_CM10.1
mm/memory-failure.c
616
40340
/* * Copyright (C) 2008, 2009 Intel Corporation * Authors: Andi Kleen, Fengguang Wu * * This software may be redistributed and/or modified under the terms of * the GNU General Public License ("GPL") version 2 only as published by the * Free Software Foundation. * * High level machine check handler. Handles page...
gpl-2.0
nanata1115/linux
fs/reiserfs/xattr_trusted.c
616
1411
#include "reiserfs.h" #include <linux/capability.h> #include <linux/errno.h> #include <linux/fs.h> #include <linux/pagemap.h> #include <linux/xattr.h> #include "xattr.h" #include <linux/uaccess.h> static int trusted_get(struct dentry *dentry, const char *name, void *buffer, size_t size, int handler_flags) { if (...
gpl-2.0
Elite-Kernels/elite_bullhead
fs/ceph/ioctl.c
1896
7606
#include <linux/in.h> #include "super.h" #include "mds_client.h" #include <linux/ceph/ceph_debug.h> #include "ioctl.h" /* * ioctls */ /* * get and set the file layout */ static long ceph_ioctl_get_layout(struct file *file, void __user *arg) { struct ceph_inode_info *ci = ceph_inode(file_inode(file)); struct ...
gpl-2.0
HarveyHunt/CI20_linux
drivers/media/dvb-frontends/stv090x.c
2664
139732
/* STV0900/0903 Multistandard Broadcast Frontend driver Copyright (C) Manu Abraham <abraham.manu@gmail.com> Copyright (C) ST Microelectronics 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; ei...
gpl-2.0
wulsic/Hyper_CM11
drivers/staging/rtl8187se/r8180_dm.c
3176
47704
//#include "r8180.h" #include "r8180_dm.h" #include "r8180_hw.h" #include "r8180_93cx6.h" //{by amy 080312 // // Description: // Return TRUE if we shall perform High Power Mecahnism, FALSE otherwise. // //+by amy 080312 #define RATE_ADAPTIVE_TIMER_PERIOD 300 bool CheckHighPower(struct net_device *dev) { struct...
gpl-2.0
kamarush/sony_yuga_kernel
drivers/ata/pata_ninja32.c
8040
5498
/* * pata_ninja32.c - Ninja32 PATA for new ATA layer * (C) 2007 Red Hat Inc * * Note: The controller like many controllers has shared timings for * PIO and DMA. We thus flip to the DMA timings in dma_start and flip back * in the dma_stop function. Thus we actually don't need a set_dmamode * method as the PI...
gpl-2.0
bemolxd/android_kernel_x2xtreme-test
drivers/macintosh/nvram.c
9320
2552
/* * /dev/nvram driver for Power Macintosh. */ #define NVRAM_VERSION "1.0" #include <linux/module.h> #include <linux/types.h> #include <linux/errno.h> #include <linux/fs.h> #include <linux/miscdevice.h> #include <linux/fcntl.h> #include <linux/nvram.h> #include <linux/init.h> #include <asm/uaccess.h> #include <asm...
gpl-2.0
nimengyu2/dm37x-kernel-2.6.37-psp04.02.00.07
samples/kfifo/dma-example.c
10856
3496
/* * Sample fifo dma implementation * * Copyright (C) 2010 Stefani Seibold <stefani@seibold.net> * * Released under the GPL version 2 only. * */ #include <linux/init.h> #include <linux/module.h> #include <linux/kfifo.h> /* * This module shows how to handle fifo dma operations. */ /* fifo size in elements (b...
gpl-2.0