COMPLETE(9) Driver Basics COMPLETE(9)NAME
complete - signals a single thread waiting on this completion
SYNOPSIS
void complete(struct completion * x);
ARGUMENTS
x
holds the state of this particular completion
DESCRIPTION
This will wake up a single thread waiting on this completion. Threads will be awakened in the same order in which they were queued.
See also complete_all, wait_for_completion and related routines.
It may be assumed that this function implies a write memory barrier before changing the task state if and only if any tasks are woken up.
COPYRIGHT Kernel Hackers Manual 2.6. July 2010 COMPLETE(9)
Check Out this Related Man Page
SPI_ASYNC(9) Serial Peripheral Interface (S SPI_ASYNC(9)NAME
spi_async - asynchronous SPI transfer
SYNOPSIS
int spi_async(struct spi_device * spi, struct spi_message * message);
ARGUMENTS
spi
device with which data will be exchanged
message
describes the data transfers, including completion callback
CONTEXT
any (irqs may be blocked, etc)
DESCRIPTION
This call may be used in_irq and other contexts which can't sleep, as well as from task contexts which can sleep.
The completion callback is invoked in a context which can't sleep. Before that invocation, the value of message->status is undefined. When
the callback is issued, message->status holds either zero (to indicate complete success) or a negative error code. After that callback
returns, the driver which issued the transfer request may deallocate the associated memory; it's no longer in use by any SPI core or
controller driver code.
Note that although all messages to a spi_device are handled in FIFO order, messages may go to different devices in other orders. Some
device might be higher priority, or have various "hard" access time requirements, for example.
On detection of any fault during the transfer, processing of the entire message is aborted, and the device is deselected. Until returning
from the associated message completion callback, no other spi_message queued to that device will be processed. (This rule applies equally
to all the synchronous transfer calls, which are wrappers around this core asynchronous primitive.)
COPYRIGHT Kernel Hackers Manual 2.6. July 2010 SPI_ASYNC(9)
Hi,
I am an NT MCSE who has decided to abandon the MSCE Win2K path and take the UNIX/Linux Path.
But since I am very new to that field, I am not sure exactly what Certification I should get that would cover the biggest area of that field as possible. Not to mention if I should got with... (10 Replies)
ok, i've figured out my problem with distributed, in Solaris GUI if you click on a tar file it will untar it for you, using paramiters I don't know.
now, I've got a tar file in / called
dnetc-solaris26-x86.tar
i want to install it to the "/Veitch" directory
how exactly do I use the tar... (17 Replies)
I receive files by FTP in an input directory. Every 10 seconds a process checks if some new file has arrived to the input directory and then the process moves them to another directory to be read by a second process.
The problem is that there is no way to know if the download has finished... (11 Replies)
Hi all,
I wrote this shell script to validate filed numbers for input file. But it take forever to complete validation on a file. The average speed is like 9mins/MB.
Can anyone tell me how to improve the performance of a shell script?
Thanks (12 Replies)
how would a make a complete backup of all files spanning all file systems on my SCO box to tape?
i read somewhere:
find . -print | cpio -ocv > /dev/rStp0
from / ... will this do it??
(yes /dev/rStp0 is my tape drive) (11 Replies)
Hi
Is there any way GREP command can return word and not complete line.
My file has following data:
Hello Everyone I am NitinrajSrivastava
Hi Friends Welcome VrajSrivastava
I am using grep 'raj' which is returning me complete line.However I want only the word having keyword 'raj'.
Required... (11 Replies)
Hi Friends,
I don't have much experience in shell scripting & have a urgent scripting job to complete. Need your help to do the following.
I have a input file like below:
CDR #1
----------
Name James
Age 30
Country Japan
CDR #2
----------
Name Robin
Age 31
Country Germany
... (18 Replies)
Hi,
I'm unable to execute the below command completely ; it's not allowing me to type the complete command. It is allowing till "xargs" and i cannot even press enter after that.
I'm using Solaris. Let me know if anything needs to be added so as to execute the complete command. Appreciate... (12 Replies)
Hi,
When I query using ps -ef, the complete command is not displayed and is truncated.
Can you please tell me a method to resolve this ?
I have tried the below.
ps -ef | cat
ps -ef | grep imp >/tmp/t1.txt
/usr/ucb/ps -auxw
pargs <pid>
/usr/ucb/ps -aefyl | grep imp
Thanks (11 Replies)
HI,
I need to move all files from a dir & its all subdir to Archive folder which is indise dir only. and moved filename should changed to complete path ( Like Dir_subdir_subdir2_.._filename ). also all files names shoud capture in a file in order to mail
I written below code ... (11 Replies)
Hi Gurus,
I have to perform some oracle database task so i have written a test scripts which open the database connection and perform a select . once it is done i want it to come out from data base to unix prompt which is not happening. the below command will be a part of shell scripts and once... (11 Replies)
I'm a programming noob. I'm trying to run a memory intensive process for many files. But when I use the following script, it runs fine for the first 5-7 files, then runs out of memory. Monitoring the output files, it's clear the processes are going on in parallel. Once 5-7 of the files are being... (18 Replies)
Let's say I start process A.sh, then start process B.sh. I call both of them in my C.sh
How can I make sure that B starts its execution only after A.sh finishes.
I have to do this in loop.Execution time of A.sh may vary everytime.
It is a parameterized script. (17 Replies)
So I need to write a script that can parse our logs and give me the amount of daily activity per user on our website. Unfortunately I'm still learning the very basics so please bear with me :eek:. Below is an example snippet from a log to give you a basic idea of what each entry in the log... (21 Replies)