search for: name_offset

Displaying 14 results from an estimated 14 matches for "name_offset".

2010 Sep 21
1
understand the struct message_header_line
...your tips to jump my desired header value, but i need to store the value from the Header filtered. In the Exemple, the callback is this: static void filter_callback(struct message_header_line *hdr, bool *matched, void *context ATTR_UNUSED) { if (hdr != NULL && hdr->name_offset == 0) { /* drop first header */ *matched = TRUE; } } What i try to understand is how the structs work, it's save the entire header or every line from header call the callback function ? hdr->name_offset is the size of elements in the struct ? (like a array of message_he...
2009 Jul 13
1
[PATCH] Fix compilation warning for fs/ocfs2/xattr.c
...om>, --- --- a/fs/ocfs2/xattr.c 2009-06-17 17:47:21.000000000 +0530 +++ b/fs/ocfs2/xattr.c 2009-07-14 01:02:22.000000000 +0530 @@ -1052,7 +1052,8 @@ static int ocfs2_xattr_block_get(struct struct ocfs2_xattr_block *xb; struct ocfs2_xattr_value_root *xv; size_t size; - int ret = -ENODATA, name_offset, name_len, block_off, i; + int ret = -ENODATA, name_offset, name_len, i; + int uninitialized_var(block_off); xs->bucket = ocfs2_xattr_bucket_new(inode); if (!xs->bucket) { --- Regards-- Subrata
2008 Oct 26
1
[PATCH 1/1] ocfs2/xattr: Proper hash collision handle in bucket division.v3
...u32 *first_hash, - int new_bucket_head) +static int ocfs2_divide_xattr_bucket(struct inode *inode, + handle_t *handle, + u64 blk, + u64 new_blk, + u32 *first_hash, + int new_bucket_head) { int ret, i; - u16 count, start, len, name_value_len, xe_len, name_offset; + int count, start, len, name_value_len = 0, xe_len, name_offset = 0; u16 blk_per_bucket = ocfs2_blocks_per_xattr_bucket(inode->i_sb); struct buffer_head **s_bhs, **t_bhs = NULL; struct ocfs2_xattr_header *xh; struct ocfs2_xattr_entry *xe; int blocksize = inode->i_sb->s_blocksiz...
2008 Oct 28
14
[PATCH 0/13] ocfs2: xattr bucket API
When the extended attribute namespace grows to a b-tree, the leaf clusters are organized by means of 'buckets'. Each bucket is 4K in size, regardless of blocksize. Thus, a bucket may be made of more than one block. fs/ocfs2/xattr.c has a nice little abstraction to wrap this, struct ocfs2_xattr_bucket. It contains a list of buffer_heads representing these blocks, and there is even an
2005 Jun 16
1
imap crash
...ffff64c) at message-parser.c:755 msg = (const unsigned char *) 0x0 i = Variable "i" is not available. (gdb) p *ctx $1 = {line = {name = 0x0, name_len = 0, value = 0x0, value_len = 0, full_value = 0x0, full_value_len = 0, middle = 0x0, middle_len = 0, name_offset = 14794827, full_value_offset = 0, continues = 0, continued = 0, eoh = 0, no_newline = 0, use_full_value = 0}, input = 0x80c9cfc, hdr_size = 0x0, name = 0x80cf030, value_buf = 0x0, skip = 0, skip_initial_lwsp = 0, has_nuls = 0} (gdb) p *hdr_r $2 = (struct message_header_line *) 0x0...
2006 Jan 31
1
beta2: strange assert
...iverse.com [216.164.95.211])\r\nP id k0RJwIOM028905\r\n", full_value_len = 37, middle = 0xcc3eb ": <customerservice@studentuniverse.com>\r\nReceived: from stage2.wdc.studentuniverse.com (stage2.studentuniverse.com [216.164.95.211])\r\nP id k0RJwIOM028905\r\n", middle_len = 2, name_offset = 0, full_value_offset = 13, continues = 0, continued = 0, eoh = 0, no_newline = 0, use_full_value = 0} (gdb) print *mail $3 = {mail = {mail = {box = 0xb6ff8, transaction = 0xbb1b8, seq = 4, uid = 1233, expunged = 0, has_nuls = 1, has_no_nuls = 0}, v = { free = 0x490e0 <index_mai...
2008 Sep 16
1
another assertion failure in current 1.1 hg (1.1.3 was working fine) - file message-address.c: line 43 (parse_local_part): assertion failed: (ctx->parser.data != ctx->parser.end)
...0xbfe92e38, data = 0x0, size = 0} hdr = {name = 0x811a0f0 "", name_len = 0, value = 0x90fba88 "undisclosed-recipients:", value_len = 23, full_value = 0x90fba88 "undisclosed-recipients:", full_value_len = 23, middle = 0x90fdd53 ": ", middle_len = 0, name_offset = 0, full_value_offset = 4, continues = 0, continued = 0, eoh = 0, no_newline = 0, crlf_newline = 0, use_full_value = 0} ret = 0 #16 0x080b537a in search_arg_foreach (arg=0x90ef6c0, callback=0x80abe09 <search_header_arg>, context=0xbfe92f80) at mail-search.c:85 subarg = (struc...
2004 Feb 04
1
Signal 11 in smbd 3.0.2rc2 on printer operation!
...0, msrcnt=0, mdrcnt=3208, mprcnt=0) at smbd/ipc.c:350 vuid = 100 #19 0x0808f80b in reply_trans (conn=0x83ccf88, inbuf=0x40483008 "", outbuf=0x404a4008 "", size=1180, bufsize=131072) at smbd/ipc.c:558 name = "\\PIPE\\", '\0' <repeats 249 times> name_offset = 6 data = 0x83ef2b8 "\005" params = 0x0 setup = (short unsigned int *) 0x83cf230 outsize = 0 vuid = 100 tpscnt = 0 tdscnt = 1092 mprcnt = 0 mdrcnt = 3208 msrcnt = 0 close_on_completion = 0 one_way = 0 pscnt = 0 psoff = 84 dscnt = 1092 dsoff = 84 suwcnt = 2 #20 0x080d5d1f...
2009 Mar 27
42
[PATCH 00/42] ocfs2: Add reflink file support. V1
Hi all, So I have finally finished the v1 of reflink for ocfs2. It has some bugs that I am still investigating, but the schema is almost there. So I'd like to send it out first for review. And Tristan and I will continue to work on the stability of the code. The general information for reflink, please see http://oss.oracle.com/osswiki/OCFS2/DesignDocs/Reflink. For the design doc, please
2009 Apr 03
42
[PATCH 00/42] ocfs2: Add reflink file support. V2
Hi all, Change from v1 to v2: bug fix and metadata/credits reservation improvement. The general information for reflink, please see http://oss.oracle.com/osswiki/OCFS2/DesignDocs/Reflink. For the design doc, please see http://oss.oracle.com/osswiki/OCFS2/DesignDocs/RefcountTrees http://oss.oracle.com/osswiki/OCFS2/DesignDocs/ReflinkOperation
2009 Apr 30
42
[PATCH 00/39] ocfs2: Add reflink file support. V3
Hi all, So I have finally finished the v3 of reflink for ocfs2. The biggest change is that we support 64bit cluster offset now(Thank Mark and Joel for it). [View] http://oss.oracle.com/git/?p=tma/linux-2.6.git;a=shortlog;h=refcount [Pull] git://oss.oracle.com/git/tma/linux-2.6.git refcount The general information for reflink, please see http://oss.oracle.com/osswiki/OCFS2/DesignDocs/Reflink.
2017 Apr 04
3
RFC: Adding a string table to the bitcode format
On Tue, Apr 4, 2017 at 12:36 PM, Duncan P. N. Exon Smith < dexonsmith at apple.com> wrote: > > On 2017-Apr-04, at 12:12, Peter Collingbourne <peter at pcc.me.uk> wrote: > > On Mon, Apr 3, 2017 at 8:13 PM, Mehdi Amini <mehdi.amini at apple.com> wrote: > >> >> On Apr 3, 2017, at 7:08 PM, Peter Collingbourne <peter at pcc.me.uk> wrote: >>
2014 Jan 10
1
samba 4.1.3 -- multiple bugs & 1, 297 coredumps -- coredump backtrace + full-backtrace included
...6 "LANMAN", req=0x7f6cb69c6040, vuid=31545, conn=0x7f6cb69cb620) at ../source3/smbd/ipc.c:543 No locals. #10 handle_trans (conn=0x7f6cb69cb620, req=0x7f6cb69c6040, state=0x7f6cb69cc660) at ../source3/smbd/ipc.c:623 local_machine_name = <optimized out> name_offset = <optimized out> __FUNCTION__ = "handle_trans" #11 0x00007f6cb516bfb9 in reply_trans (req=0x7f6cb69c6040) at ../source3/smbd/ipc.c:830 conn = 0x7f6cb69cb620 dsoff = <optimized out> dscnt = <optimized out> psoff = <opt...
2003 Dec 01
0
No subject
...name = 0xbffffaeb "" setup = (short unsigned int *) 0x81ed6c0 #14 0x8055e2d in reply_trans (conn=0x81ec938, inbuf=0x81c9271 "", outbuf=0x81d96b9 "", size=272, bufsize=2920) at smbd/ipc.c:505 name = "\\PIPE\\", '\000' <repeats 249 times> name_offset = 6 data = 0x81ed5f8 "\005" params = 0x0 setup = (short unsigned int *) 0x81ed6c0 outsize = -1073743132 vuid = 100 tpscnt = 0 tdscnt = 192 mprcnt = 0 mdrcnt = 512 msrcnt = 0 close_on_completion = 0 one_way = 0 pscnt = 0 psoff = 74 dscnt = 192 dsoff = -1073743132 suwcnt =...